xref: /linux/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml (revision 06d07429858317ded2db7986113a9e0129cd599b)
12de4de20SMaxime Ripard# SPDX-License-Identifier: GPL-2.0
22de4de20SMaxime Ripard%YAML 1.2
32de4de20SMaxime Ripard---
42de4de20SMaxime Ripard$id: http://devicetree.org/schemas/watchdog/allwinner,sun4i-a10-wdt.yaml#
52de4de20SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
62de4de20SMaxime Ripard
7dd3cb467SAndrew Lunntitle: Allwinner A10 Watchdog
82de4de20SMaxime Ripard
92de4de20SMaxime Ripardmaintainers:
102de4de20SMaxime Ripard  - Chen-Yu Tsai <wens@csie.org>
115c7404bbSMaxime Ripard  - Maxime Ripard <mripard@kernel.org>
122de4de20SMaxime Ripard
13*0f108ccbSKrzysztof KozlowskiallOf:
14*0f108ccbSKrzysztof Kozlowski  - $ref: watchdog.yaml#
15*0f108ccbSKrzysztof Kozlowski
162de4de20SMaxime Ripardproperties:
172de4de20SMaxime Ripard  compatible:
182de4de20SMaxime Ripard    oneOf:
192de4de20SMaxime Ripard      - const: allwinner,sun4i-a10-wdt
202de4de20SMaxime Ripard      - const: allwinner,sun6i-a31-wdt
212de4de20SMaxime Ripard      - items:
22a2fa9f57SAndre Przywara          - enum:
23a2fa9f57SAndre Przywara              - allwinner,sun50i-a64-wdt
24a2fa9f57SAndre Przywara              - allwinner,sun50i-a100-wdt
25a2fa9f57SAndre Przywara              - allwinner,sun50i-h6-wdt
26a2fa9f57SAndre Przywara              - allwinner,sun50i-h616-wdt
2755f36df9SSamuel Holland              - allwinner,sun50i-r329-wdt
2855f36df9SSamuel Holland              - allwinner,sun50i-r329-wdt-reset
296d41e130SAndre Przywara              - allwinner,suniv-f1c100s-wdt
302de4de20SMaxime Ripard          - const: allwinner,sun6i-a31-wdt
31601db217SSamuel Holland      - const: allwinner,sun20i-d1-wdt
32601db217SSamuel Holland      - items:
33601db217SSamuel Holland          - const: allwinner,sun20i-d1-wdt-reset
34601db217SSamuel Holland          - const: allwinner,sun20i-d1-wdt
352de4de20SMaxime Ripard
362de4de20SMaxime Ripard  reg:
372de4de20SMaxime Ripard    maxItems: 1
382de4de20SMaxime Ripard
39284ec100SMaxime Ripard  clocks:
4055f36df9SSamuel Holland    minItems: 1
4155f36df9SSamuel Holland    items:
4242b91bb1SAndre Przywara      - description: 32 KHz input clock
4342b91bb1SAndre Przywara      - description: secondary clock source
44284ec100SMaxime Ripard
45f285e78fSMaxime Ripard  interrupts:
46f285e78fSMaxime Ripard    maxItems: 1
47f285e78fSMaxime Ripard
482de4de20SMaxime Ripardrequired:
492de4de20SMaxime Ripard  - compatible
502de4de20SMaxime Ripard  - reg
51284ec100SMaxime Ripard  - clocks
52f285e78fSMaxime Ripard  - interrupts
532de4de20SMaxime Ripard
5455f36df9SSamuel Hollandif:
5555f36df9SSamuel Holland  properties:
5655f36df9SSamuel Holland    compatible:
5755f36df9SSamuel Holland      contains:
5855f36df9SSamuel Holland        enum:
59601db217SSamuel Holland          - allwinner,sun20i-d1-wdt
60601db217SSamuel Holland          - allwinner,sun20i-d1-wdt-reset
6155f36df9SSamuel Holland          - allwinner,sun50i-r329-wdt
6255f36df9SSamuel Holland          - allwinner,sun50i-r329-wdt-reset
6355f36df9SSamuel Holland
6455f36df9SSamuel Hollandthen:
6555f36df9SSamuel Holland  properties:
6655f36df9SSamuel Holland    clocks:
6742b91bb1SAndre Przywara      items:
6842b91bb1SAndre Przywara        - description: High-frequency oscillator input, divided internally
6942b91bb1SAndre Przywara        - description: Low-frequency oscillator input
7055f36df9SSamuel Holland
7155f36df9SSamuel Holland    clock-names:
7242b91bb1SAndre Przywara      items:
7342b91bb1SAndre Przywara        - const: hosc
7442b91bb1SAndre Przywara        - const: losc
7555f36df9SSamuel Holland
7655f36df9SSamuel Holland  required:
7755f36df9SSamuel Holland    - clock-names
7855f36df9SSamuel Holland
7955f36df9SSamuel Hollandelse:
8055f36df9SSamuel Holland  properties:
8155f36df9SSamuel Holland    clocks:
8255f36df9SSamuel Holland      maxItems: 1
8355f36df9SSamuel Holland
842de4de20SMaxime RipardunevaluatedProperties: false
852de4de20SMaxime Ripard
862de4de20SMaxime Ripardexamples:
872de4de20SMaxime Ripard  - |
882de4de20SMaxime Ripard    wdt: watchdog@1c20c90 {
892de4de20SMaxime Ripard        compatible = "allwinner,sun4i-a10-wdt";
902de4de20SMaxime Ripard        reg = <0x01c20c90 0x10>;
91f285e78fSMaxime Ripard        interrupts = <24>;
92284ec100SMaxime Ripard        clocks = <&osc24M>;
932de4de20SMaxime Ripard        timeout-sec = <10>;
942de4de20SMaxime Ripard    };
952de4de20SMaxime Ripard
962de4de20SMaxime Ripard...
97