xref: /freebsd/sys/contrib/device-tree/Bindings/watchdog/amlogic,meson-gxbb-wdt.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
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,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
36required:
37  - compatible
38  - reg
39  - clocks
40
41unevaluatedProperties: false
42
43examples:
44  - |
45    watchdog@98d0 {
46        compatible = "amlogic,meson-gxbb-wdt";
47        reg = <0x98d0 0x10>;
48        clocks = <&xtal>;
49    };
50