1*2500df55SKeguang Zhang# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*2500df55SKeguang Zhang%YAML 1.2
3*2500df55SKeguang Zhang---
4*2500df55SKeguang Zhang$id: http://devicetree.org/schemas/watchdog/loongson,ls1x-wdt.yaml#
5*2500df55SKeguang Zhang$schema: http://devicetree.org/meta-schemas/core.yaml#
6*2500df55SKeguang Zhang
7*2500df55SKeguang Zhangtitle: Loongson-1 Watchdog Timer
8*2500df55SKeguang Zhang
9*2500df55SKeguang Zhangmaintainers:
10*2500df55SKeguang Zhang  - Keguang Zhang <keguang.zhang@gmail.com>
11*2500df55SKeguang Zhang
12*2500df55SKeguang ZhangallOf:
13*2500df55SKeguang Zhang  - $ref: watchdog.yaml#
14*2500df55SKeguang Zhang
15*2500df55SKeguang Zhangproperties:
16*2500df55SKeguang Zhang  compatible:
17*2500df55SKeguang Zhang    enum:
18*2500df55SKeguang Zhang      - loongson,ls1b-wdt
19*2500df55SKeguang Zhang      - loongson,ls1c-wdt
20*2500df55SKeguang Zhang
21*2500df55SKeguang Zhang  reg:
22*2500df55SKeguang Zhang    maxItems: 1
23*2500df55SKeguang Zhang
24*2500df55SKeguang Zhang  clocks:
25*2500df55SKeguang Zhang    maxItems: 1
26*2500df55SKeguang Zhang
27*2500df55SKeguang Zhangrequired:
28*2500df55SKeguang Zhang  - compatible
29*2500df55SKeguang Zhang  - reg
30*2500df55SKeguang Zhang  - clocks
31*2500df55SKeguang Zhang
32*2500df55SKeguang ZhangunevaluatedProperties: false
33*2500df55SKeguang Zhang
34*2500df55SKeguang Zhangexamples:
35*2500df55SKeguang Zhang  - |
36*2500df55SKeguang Zhang    #include <dt-bindings/clock/loongson,ls1x-clk.h>
37*2500df55SKeguang Zhang    watchdog: watchdog@1fe5c060 {
38*2500df55SKeguang Zhang        compatible = "loongson,ls1b-wdt";
39*2500df55SKeguang Zhang        reg = <0x1fe5c060 0xc>;
40*2500df55SKeguang Zhang
41*2500df55SKeguang Zhang        clocks = <&clkc LS1X_CLKID_APB>;
42*2500df55SKeguang Zhang    };
43