1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/watchdog/am 4 $id: http://devicetree.org/schemas/watchdog/amlogic,meson6-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Amlogic Meson6 SoCs Watchdog timer 7 title: Amlogic Meson6 SoCs Watchdog timer 8 8 9 maintainers: 9 maintainers: 10 - Neil Armstrong <neil.armstrong@linaro.org> 10 - Neil Armstrong <neil.armstrong@linaro.org> 11 - Martin Blumenstingl <martin.blumenstingl@go 11 - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 12 12 13 allOf: 13 allOf: 14 - $ref: watchdog.yaml# 14 - $ref: watchdog.yaml# 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 oneOf: 18 oneOf: 19 - enum: 19 - enum: 20 - amlogic,meson6-wdt 20 - amlogic,meson6-wdt 21 - amlogic,meson8-wdt 21 - amlogic,meson8-wdt 22 - amlogic,meson8b-wdt 22 - amlogic,meson8b-wdt 23 - items: 23 - items: 24 - const: amlogic,meson8m2-wdt 24 - const: amlogic,meson8m2-wdt 25 - const: amlogic,meson8b-wdt 25 - const: amlogic,meson8b-wdt 26 26 27 interrupts: 27 interrupts: 28 maxItems: 1 28 maxItems: 1 29 29 30 reg: 30 reg: 31 maxItems: 1 31 maxItems: 1 32 32 33 required: 33 required: 34 - compatible 34 - compatible 35 - interrupts 35 - interrupts 36 - reg 36 - reg 37 37 38 unevaluatedProperties: false 38 unevaluatedProperties: false 39 39 40 examples: 40 examples: 41 - | 41 - | 42 #include <dt-bindings/interrupt-controller 42 #include <dt-bindings/interrupt-controller/irq.h> 43 #include <dt-bindings/interrupt-controller 43 #include <dt-bindings/interrupt-controller/arm-gic.h> 44 44 45 wdt: watchdog@c1109900 { 45 wdt: watchdog@c1109900 { 46 compatible = "amlogic,meson6-wdt"; 46 compatible = "amlogic,meson6-wdt"; 47 reg = <0xc1109900 0x8>; 47 reg = <0xc1109900 0x8>; 48 interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_ 48 interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>; 49 timeout-sec = <10>; 49 timeout-sec = <10>; 50 }; 50 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.