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/lo 4 $id: http://devicetree.org/schemas/watchdog/loongson,ls1x-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Loongson-1 Watchdog Timer 7 title: Loongson-1 Watchdog Timer 8 8 9 maintainers: 9 maintainers: 10 - Keguang Zhang <keguang.zhang@gmail.com> 10 - Keguang Zhang <keguang.zhang@gmail.com> 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 enum: 17 enum: 18 - loongson,ls1b-wdt 18 - loongson,ls1b-wdt 19 - loongson,ls1c-wdt 19 - loongson,ls1c-wdt 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 clocks: 24 clocks: 25 maxItems: 1 25 maxItems: 1 26 26 27 required: 27 required: 28 - compatible 28 - compatible 29 - reg 29 - reg 30 - clocks 30 - clocks 31 31 32 unevaluatedProperties: false 32 unevaluatedProperties: false 33 33 34 examples: 34 examples: 35 - | 35 - | 36 #include <dt-bindings/clock/loongson,ls1x- 36 #include <dt-bindings/clock/loongson,ls1x-clk.h> 37 watchdog: watchdog@1fe5c060 { 37 watchdog: watchdog@1fe5c060 { 38 compatible = "loongson,ls1b-wdt"; 38 compatible = "loongson,ls1b-wdt"; 39 reg = <0x1fe5c060 0xc>; 39 reg = <0x1fe5c060 0xc>; 40 40 41 clocks = <&clkc LS1X_CLKID_APB>; 41 clocks = <&clkc LS1X_CLKID_APB>; 42 }; 42 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.