FILE
allwinner,sun4i-a10-wdt.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml
1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/watchdog/allwinner,sun4i-a10-wdt.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Allwinner A10 Watchdog 8 9maintainers: 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 12 13allOf: 14 - $ref: watchdog.yaml# 15 16properties: 17 compatible: 18 oneOf: 19 - const: allwinner,sun4i-a10-wdt 20 - const: allwinner,sun6i-a31-wdt 21 - items: 22 - enum: 23 - allwinner,sun50i-a64-wdt 24 - allwinner,sun50i-a100-wdt 25 - allwinner,sun50i-h6-wdt 26 - allwinner,sun50i-h616-wdt 27 - allwinner,sun50i-r329-wdt 28 - allwinner,sun50i-r329-wdt-reset 29 - allwinner,suniv-f1c100s-wdt 30 - const: allwinner,sun6i-a31-wdt 31 - const: allwinner,sun20i-d1-wdt 32 - items: 33 - const: allwinner,sun20i-d1-wdt-reset 34 - const: allwinner,sun20i-d1-wdt 35 - const: allwinner,sun55i-a523-wdt 36 37 reg: 38 maxItems: 1 39 40 clocks: 41 minItems: 1 42 items: 43 - description: 32 KHz input clock 44 - description: secondary clock source 45 46 interrupts: 47 maxItems: 1 48 49required: 50 - compatible 51 - reg 52 - clocks 53 - interrupts 54 55if: 56 properties: 57 compatible: 58 contains: 59 enum: 60 - allwinner,sun20i-d1-wdt 61 - allwinner,sun20i-d1-wdt-reset 62 - allwinner,sun50i-r329-wdt 63 - allwinner,sun50i-r329-wdt-reset 64 - allwinner,sun55i-a523-wdt 65 66then: 67 properties: 68 clocks: 69 items: 70 - description: High-frequency oscillator input, divided internally 71 - description: Low-frequency oscillator input 72 73 clock-names: 74 items: 75 - const: hosc 76 - const: losc 77 78 required: 79 - clock-names 80 81else: 82 properties: 83 clocks: 84 maxItems: 1 85 86unevaluatedProperties: false 87 88examples: 89 - | 90 wdt: watchdog@1c20c90 { 91 compatible = "allwinner,sun4i-a10-wdt"; 92 reg = <0x01c20c90 0x10>; 93 interrupts = <24>; 94 clocks = <&osc24M>; 95 timeout-sec = <10>; 96 }; 97 98...
~/
Read-only file preview.