Linux 6.7-rc7
[linux-modified.git] / Documentation / devicetree / bindings / watchdog / amlogic,meson-gxbb-wdt.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019 BayLibre, SAS
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/watchdog/amlogic,meson-gxbb-wdt.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
7
8 title: Meson GXBB SoCs Watchdog timer
9
10 maintainers:
11   - Neil Armstrong <neil.armstrong@linaro.org>
12
13 allOf:
14   - $ref: watchdog.yaml#
15
16 properties:
17   compatible:
18     oneOf:
19       - enum:
20           - amlogic,meson-gxbb-wdt
21           - amlogic,t7-wdt
22       - items:
23           - enum:
24               - amlogic,c3-wdt
25               - amlogic,s4-wdt
26           - const: amlogic,t7-wdt
27
28   reg:
29     maxItems: 1
30
31   clocks:
32     maxItems: 1
33     description:
34       A phandle to the clock of this PHY
35
36 required:
37   - compatible
38   - reg
39   - clocks
40
41 unevaluatedProperties: false
42
43 examples:
44   - |
45     watchdog@98d0 {
46         compatible = "amlogic,meson-gxbb-wdt";
47         reg = <0x98d0 0x10>;
48         clocks = <&xtal>;
49     };