xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/allwinner,sun4i-a10-wdt.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2*c66ec88fSEmmanuel Vadot%YAML 1.2
3*c66ec88fSEmmanuel Vadot---
4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/watchdog/allwinner,sun4i-a10-wdt.yaml#
5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadottitle: Allwinner A10 Watchdog Device Tree Bindings
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotallOf:
10*c66ec88fSEmmanuel Vadot  - $ref: "watchdog.yaml#"
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadotmaintainers:
13*c66ec88fSEmmanuel Vadot  - Chen-Yu Tsai <wens@csie.org>
14*c66ec88fSEmmanuel Vadot  - Maxime Ripard <mripard@kernel.org>
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadotproperties:
17*c66ec88fSEmmanuel Vadot  compatible:
18*c66ec88fSEmmanuel Vadot    oneOf:
19*c66ec88fSEmmanuel Vadot      - const: allwinner,sun4i-a10-wdt
20*c66ec88fSEmmanuel Vadot      - const: allwinner,sun6i-a31-wdt
21*c66ec88fSEmmanuel Vadot      - items:
22*c66ec88fSEmmanuel Vadot          - const: allwinner,sun50i-a64-wdt
23*c66ec88fSEmmanuel Vadot          - const: allwinner,sun6i-a31-wdt
24*c66ec88fSEmmanuel Vadot      - items:
25*c66ec88fSEmmanuel Vadot          - const: allwinner,sun50i-h6-wdt
26*c66ec88fSEmmanuel Vadot          - const: allwinner,sun6i-a31-wdt
27*c66ec88fSEmmanuel Vadot      - items:
28*c66ec88fSEmmanuel Vadot          - const: allwinner,suniv-f1c100s-wdt
29*c66ec88fSEmmanuel Vadot          - const: allwinner,sun4i-a10-wdt
30*c66ec88fSEmmanuel Vadot
31*c66ec88fSEmmanuel Vadot  reg:
32*c66ec88fSEmmanuel Vadot    maxItems: 1
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot  clocks:
35*c66ec88fSEmmanuel Vadot    maxItems: 1
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadot  interrupts:
38*c66ec88fSEmmanuel Vadot    maxItems: 1
39*c66ec88fSEmmanuel Vadot
40*c66ec88fSEmmanuel Vadotrequired:
41*c66ec88fSEmmanuel Vadot  - compatible
42*c66ec88fSEmmanuel Vadot  - reg
43*c66ec88fSEmmanuel Vadot  - clocks
44*c66ec88fSEmmanuel Vadot  - interrupts
45*c66ec88fSEmmanuel Vadot
46*c66ec88fSEmmanuel VadotunevaluatedProperties: false
47*c66ec88fSEmmanuel Vadot
48*c66ec88fSEmmanuel Vadotexamples:
49*c66ec88fSEmmanuel Vadot  - |
50*c66ec88fSEmmanuel Vadot    wdt: watchdog@1c20c90 {
51*c66ec88fSEmmanuel Vadot        compatible = "allwinner,sun4i-a10-wdt";
52*c66ec88fSEmmanuel Vadot        reg = <0x01c20c90 0x10>;
53*c66ec88fSEmmanuel Vadot        interrupts = <24>;
54*c66ec88fSEmmanuel Vadot        clocks = <&osc24M>;
55*c66ec88fSEmmanuel Vadot        timeout-sec = <10>;
56*c66ec88fSEmmanuel Vadot    };
57*c66ec88fSEmmanuel Vadot
58*c66ec88fSEmmanuel Vadot...
59