File Index
Files and directories
Sign in
FILE

nuvoton,npcm750-wdt.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/watchdog/nuvoton,npcm750-wdt.yaml YAML
 1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/watchdog/nuvoton,npcm750-wdt.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Nuvoton NPCM Watchdog
 8
 9maintainers:
10  - Joel Stanley <joel@jms.id.au>
11
12description:
13  Nuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog.
14  The watchdog supports a pre-timeout interrupt that fires 10ms before the
15  expiry.
16
17allOf:
18  - $ref: watchdog.yaml#
19
20properties:
21  compatible:
22    oneOf:
23      - enum:
24          - nuvoton,npcm750-wdt
25          - nuvoton,wpcm450-wdt
26      - items:
27          - enum:
28              - nuvoton,npcm845-wdt
29          - const: nuvoton,npcm750-wdt
30
31  reg:
32    maxItems: 1
33
34  interrupts:
35    maxItems: 1
36
37  clocks:
38    maxItems: 1
39
40  clock-frequency:
41    description: Frequency in Hz of the clock that drives the NPCM timer.
42
43required:
44  - compatible
45  - reg
46  - interrupts
47
48unevaluatedProperties: false
49
50examples:
51  - |
52    #include <dt-bindings/interrupt-controller/arm-gic.h>
53    #include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>
54
55    watchdog@f000801c {
56        compatible = "nuvoton,npcm750-wdt";
57        interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
58        reg = <0xf000801c 0x4>;
59        clocks = <&clk NPCM7XX_CLK_TIMER>;
60    };
~/ Read-only file preview.