xref: /linux/Documentation/devicetree/bindings/watchdog/amlogic,meson-gxbb-wdt.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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
8title: Meson GXBB SoCs Watchdog timer
9
10maintainers:
11  - Neil Armstrong <neil.armstrong@linaro.org>
12
13allOf:
14  - $ref: watchdog.yaml#
15
16properties:
17  compatible:
18    oneOf:
19      - enum:
20          - amlogic,meson-gxbb-wdt
21          - amlogic,t7-wdt
22      - items:
23          - enum:
24              - amlogic,a4-wdt
25              - amlogic,c3-wdt
26              - amlogic,s4-wdt
27          - const: amlogic,t7-wdt
28
29  reg:
30    maxItems: 1
31
32  clocks:
33    maxItems: 1
34    description:
35      A phandle to the clock of this PHY
36
37required:
38  - compatible
39  - reg
40  - clocks
41
42unevaluatedProperties: false
43
44examples:
45  - |
46    watchdog@98d0 {
47        compatible = "amlogic,meson-gxbb-wdt";
48        reg = <0x98d0 0x10>;
49        clocks = <&xtal>;
50    };
51