Debian Codegraph @

Documentation/devicetree/bindings/watchdog/loongson,ls1x-wdt.yaml

raw symbols SCIP
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/watchdog/loongson,ls1x-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Loongson Watchdog Timer
8
9 maintainers:
10 - Keguang Zhang <[email protected]>
11
12 allOf:
13 - $ref: watchdog.yaml#
14
15 properties:
16 compatible:
17 enum:
18 - loongson,ls1b-wdt
19 - loongson,ls1c-wdt
20 - loongson,ls2k0300-wdt
21
22 reg:
23 maxItems: 1
24
25 clocks:
26 maxItems: 1
27
28 required:
29 - compatible
30 - reg
31 - clocks
32
33 unevaluatedProperties: false
34
35 examples:
36 - |
37 #include <dt-bindings/clock/loongson,ls1x-clk.h>
38 watchdog: watchdog@1fe5c060 {
39 compatible = "loongson,ls1b-wdt";
40 reg = <0x1fe5c060 0xc>;
41
42 clocks = <&clkc LS1X_CLKID_APB>;
43 };