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 77ef62cebSEmmanuel Vadottitle: Allwinner A10 Watchdog 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Chen-Yu Tsai <wens@csie.org> 11c66ec88fSEmmanuel Vadot - Maxime Ripard <mripard@kernel.org> 12c66ec88fSEmmanuel Vadot 13*8d13bc63SEmmanuel VadotallOf: 14*8d13bc63SEmmanuel Vadot - $ref: watchdog.yaml# 15*8d13bc63SEmmanuel 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 278cc087a1SEmmanuel Vadot - allwinner,sun50i-r329-wdt 288cc087a1SEmmanuel Vadot - allwinner,sun50i-r329-wdt-reset 29d5b0e70fSEmmanuel Vadot - allwinner,suniv-f1c100s-wdt 30c66ec88fSEmmanuel Vadot - const: allwinner,sun6i-a31-wdt 318cc087a1SEmmanuel Vadot - const: allwinner,sun20i-d1-wdt 328cc087a1SEmmanuel Vadot - items: 338cc087a1SEmmanuel Vadot - const: allwinner,sun20i-d1-wdt-reset 348cc087a1SEmmanuel Vadot - const: allwinner,sun20i-d1-wdt 35c66ec88fSEmmanuel Vadot 36c66ec88fSEmmanuel Vadot reg: 37c66ec88fSEmmanuel Vadot maxItems: 1 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadot clocks: 408cc087a1SEmmanuel Vadot minItems: 1 418cc087a1SEmmanuel Vadot items: 42d5b0e70fSEmmanuel Vadot - description: 32 KHz input clock 43d5b0e70fSEmmanuel Vadot - description: secondary clock source 44c66ec88fSEmmanuel Vadot 45c66ec88fSEmmanuel Vadot interrupts: 46c66ec88fSEmmanuel Vadot maxItems: 1 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadotrequired: 49c66ec88fSEmmanuel Vadot - compatible 50c66ec88fSEmmanuel Vadot - reg 51c66ec88fSEmmanuel Vadot - clocks 52c66ec88fSEmmanuel Vadot - interrupts 53c66ec88fSEmmanuel Vadot 548cc087a1SEmmanuel Vadotif: 558cc087a1SEmmanuel Vadot properties: 568cc087a1SEmmanuel Vadot compatible: 578cc087a1SEmmanuel Vadot contains: 588cc087a1SEmmanuel Vadot enum: 598cc087a1SEmmanuel Vadot - allwinner,sun20i-d1-wdt 608cc087a1SEmmanuel Vadot - allwinner,sun20i-d1-wdt-reset 618cc087a1SEmmanuel Vadot - allwinner,sun50i-r329-wdt 628cc087a1SEmmanuel Vadot - allwinner,sun50i-r329-wdt-reset 638cc087a1SEmmanuel Vadot 648cc087a1SEmmanuel Vadotthen: 658cc087a1SEmmanuel Vadot properties: 668cc087a1SEmmanuel Vadot clocks: 67d5b0e70fSEmmanuel Vadot items: 68d5b0e70fSEmmanuel Vadot - description: High-frequency oscillator input, divided internally 69d5b0e70fSEmmanuel Vadot - description: Low-frequency oscillator input 708cc087a1SEmmanuel Vadot 718cc087a1SEmmanuel Vadot clock-names: 72d5b0e70fSEmmanuel Vadot items: 73d5b0e70fSEmmanuel Vadot - const: hosc 74d5b0e70fSEmmanuel Vadot - const: losc 758cc087a1SEmmanuel Vadot 768cc087a1SEmmanuel Vadot required: 778cc087a1SEmmanuel Vadot - clock-names 788cc087a1SEmmanuel Vadot 798cc087a1SEmmanuel Vadotelse: 808cc087a1SEmmanuel Vadot properties: 818cc087a1SEmmanuel Vadot clocks: 828cc087a1SEmmanuel Vadot maxItems: 1 838cc087a1SEmmanuel Vadot 84c66ec88fSEmmanuel VadotunevaluatedProperties: false 85c66ec88fSEmmanuel Vadot 86c66ec88fSEmmanuel Vadotexamples: 87c66ec88fSEmmanuel Vadot - | 88c66ec88fSEmmanuel Vadot wdt: watchdog@1c20c90 { 89c66ec88fSEmmanuel Vadot compatible = "allwinner,sun4i-a10-wdt"; 90c66ec88fSEmmanuel Vadot reg = <0x01c20c90 0x10>; 91c66ec88fSEmmanuel Vadot interrupts = <24>; 92c66ec88fSEmmanuel Vadot clocks = <&osc24M>; 93c66ec88fSEmmanuel Vadot timeout-sec = <10>; 94c66ec88fSEmmanuel Vadot }; 95c66ec88fSEmmanuel Vadot 96c66ec88fSEmmanuel Vadot... 97