1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/watchdog/allwinner,sun4i-a10-wdt.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Allwinner A10 Watchdog Device Tree Bindings 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel VadotallOf: 10c66ec88fSEmmanuel Vadot - $ref: "watchdog.yaml#" 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotmaintainers: 13c66ec88fSEmmanuel Vadot - Chen-Yu Tsai <wens@csie.org> 14c66ec88fSEmmanuel Vadot - Maxime Ripard <mripard@kernel.org> 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadotproperties: 17c66ec88fSEmmanuel Vadot compatible: 18c66ec88fSEmmanuel Vadot oneOf: 19c66ec88fSEmmanuel Vadot - const: allwinner,sun4i-a10-wdt 20c66ec88fSEmmanuel Vadot - const: allwinner,sun6i-a31-wdt 21c66ec88fSEmmanuel Vadot - items: 225def4c47SEmmanuel Vadot - enum: 235def4c47SEmmanuel Vadot - allwinner,sun50i-a64-wdt 245def4c47SEmmanuel Vadot - allwinner,sun50i-a100-wdt 255def4c47SEmmanuel Vadot - allwinner,sun50i-h6-wdt 265def4c47SEmmanuel Vadot - allwinner,sun50i-h616-wdt 27*8cc087a1SEmmanuel Vadot - allwinner,sun50i-r329-wdt 28*8cc087a1SEmmanuel Vadot - allwinner,sun50i-r329-wdt-reset 29c66ec88fSEmmanuel Vadot - const: allwinner,sun6i-a31-wdt 30c66ec88fSEmmanuel Vadot - items: 31c66ec88fSEmmanuel Vadot - const: allwinner,suniv-f1c100s-wdt 32c66ec88fSEmmanuel Vadot - const: allwinner,sun4i-a10-wdt 33*8cc087a1SEmmanuel Vadot - const: allwinner,sun20i-d1-wdt 34*8cc087a1SEmmanuel Vadot - items: 35*8cc087a1SEmmanuel Vadot - const: allwinner,sun20i-d1-wdt-reset 36*8cc087a1SEmmanuel Vadot - const: allwinner,sun20i-d1-wdt 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel Vadot reg: 39c66ec88fSEmmanuel Vadot maxItems: 1 40c66ec88fSEmmanuel Vadot 41c66ec88fSEmmanuel Vadot clocks: 42*8cc087a1SEmmanuel Vadot minItems: 1 43*8cc087a1SEmmanuel Vadot items: 44*8cc087a1SEmmanuel Vadot - description: High-frequency oscillator input, divided internally 45*8cc087a1SEmmanuel Vadot - description: Low-frequency oscillator input, only found on some variants 46*8cc087a1SEmmanuel Vadot 47*8cc087a1SEmmanuel Vadot clock-names: 48*8cc087a1SEmmanuel Vadot minItems: 1 49*8cc087a1SEmmanuel Vadot items: 50*8cc087a1SEmmanuel Vadot - const: hosc 51*8cc087a1SEmmanuel Vadot - const: losc 52c66ec88fSEmmanuel Vadot 53c66ec88fSEmmanuel Vadot interrupts: 54c66ec88fSEmmanuel Vadot maxItems: 1 55c66ec88fSEmmanuel Vadot 56c66ec88fSEmmanuel Vadotrequired: 57c66ec88fSEmmanuel Vadot - compatible 58c66ec88fSEmmanuel Vadot - reg 59c66ec88fSEmmanuel Vadot - clocks 60c66ec88fSEmmanuel Vadot - interrupts 61c66ec88fSEmmanuel Vadot 62*8cc087a1SEmmanuel Vadotif: 63*8cc087a1SEmmanuel Vadot properties: 64*8cc087a1SEmmanuel Vadot compatible: 65*8cc087a1SEmmanuel Vadot contains: 66*8cc087a1SEmmanuel Vadot enum: 67*8cc087a1SEmmanuel Vadot - allwinner,sun20i-d1-wdt 68*8cc087a1SEmmanuel Vadot - allwinner,sun20i-d1-wdt-reset 69*8cc087a1SEmmanuel Vadot - allwinner,sun50i-r329-wdt 70*8cc087a1SEmmanuel Vadot - allwinner,sun50i-r329-wdt-reset 71*8cc087a1SEmmanuel Vadot 72*8cc087a1SEmmanuel Vadotthen: 73*8cc087a1SEmmanuel Vadot properties: 74*8cc087a1SEmmanuel Vadot clocks: 75*8cc087a1SEmmanuel Vadot minItems: 2 76*8cc087a1SEmmanuel Vadot 77*8cc087a1SEmmanuel Vadot clock-names: 78*8cc087a1SEmmanuel Vadot minItems: 2 79*8cc087a1SEmmanuel Vadot 80*8cc087a1SEmmanuel Vadot required: 81*8cc087a1SEmmanuel Vadot - clock-names 82*8cc087a1SEmmanuel Vadot 83*8cc087a1SEmmanuel Vadotelse: 84*8cc087a1SEmmanuel Vadot properties: 85*8cc087a1SEmmanuel Vadot clocks: 86*8cc087a1SEmmanuel Vadot maxItems: 1 87*8cc087a1SEmmanuel Vadot 88*8cc087a1SEmmanuel Vadot clock-names: 89*8cc087a1SEmmanuel Vadot maxItems: 1 90*8cc087a1SEmmanuel Vadot 91c66ec88fSEmmanuel VadotunevaluatedProperties: false 92c66ec88fSEmmanuel Vadot 93c66ec88fSEmmanuel Vadotexamples: 94c66ec88fSEmmanuel Vadot - | 95c66ec88fSEmmanuel Vadot wdt: watchdog@1c20c90 { 96c66ec88fSEmmanuel Vadot compatible = "allwinner,sun4i-a10-wdt"; 97c66ec88fSEmmanuel Vadot reg = <0x01c20c90 0x10>; 98c66ec88fSEmmanuel Vadot interrupts = <24>; 99c66ec88fSEmmanuel Vadot clocks = <&osc24M>; 100c66ec88fSEmmanuel Vadot timeout-sec = <10>; 101c66ec88fSEmmanuel Vadot }; 102c66ec88fSEmmanuel Vadot 103c66ec88fSEmmanuel Vadot... 104