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/qc 4 $id: http://devicetree.org/schemas/watchdog/qcom,pm8916-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm PM8916 watchdog timer controll 7 title: Qualcomm PM8916 watchdog timer controller 8 8 9 maintainers: 9 maintainers: 10 - Krzysztof Kozlowski <krzysztof.kozlowski@li 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 11 12 allOf: 12 allOf: 13 - $ref: watchdog.yaml# 13 - $ref: watchdog.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 const: qcom,pm8916-wdt 17 const: qcom,pm8916-wdt 18 18 19 interrupts: 19 interrupts: 20 maxItems: 1 20 maxItems: 1 21 21 22 required: 22 required: 23 - compatible 23 - compatible 24 - interrupts 24 - interrupts 25 25 26 unevaluatedProperties: false 26 unevaluatedProperties: false 27 27 28 examples: 28 examples: 29 - | 29 - | 30 #include <dt-bindings/interrupt-controller 30 #include <dt-bindings/interrupt-controller/irq.h> 31 #include <dt-bindings/spmi/spmi.h> 31 #include <dt-bindings/spmi/spmi.h> 32 32 33 spmi { !! 33 pmic@0 { 34 #address-cells = <2>; !! 34 compatible = "qcom,pm8916", "qcom,spmi-pmic"; >> 35 reg = <0x0 SPMI_USID>; >> 36 #address-cells = <1>; 35 #size-cells = <0>; 37 #size-cells = <0>; 36 38 37 pmic@0 { !! 39 pon@800 { 38 compatible = "qcom,pm8916", "qcom, !! 40 compatible = "qcom,pm8916-pon"; 39 reg = <0x0 SPMI_USID>; !! 41 reg = <0x800>; 40 #address-cells = <1>; !! 42 mode-bootloader = <0x2>; 41 #size-cells = <0>; !! 43 mode-recovery = <0x1>; 42 44 43 pon@800 { !! 45 watchdog { 44 compatible = "qcom,pm8916-pon" !! 46 compatible = "qcom,pm8916-wdt"; 45 reg = <0x800>; !! 47 interrupts = <0x0 0x8 6 IRQ_TYPE_EDGE_RISING>; 46 mode-bootloader = <0x2>; !! 48 timeout-sec = <60>; 47 mode-recovery = <0x1>; << 48 << 49 watchdog { << 50 compatible = "qcom,pm8916- << 51 interrupts = <0x0 0x8 6 IR << 52 timeout-sec = <60>; << 53 }; << 54 }; 49 }; 55 }; 50 }; 56 }; 51 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.