xref: /freebsd/sys/contrib/device-tree/Bindings/clock/ti,am654-ehrpwm-tbclk.yaml (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/ti,am654-ehrpwm-tbclk.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TI EHRPWM Time Base Clock
8
9maintainers:
10  - Vignesh Raghavendra <vigneshr@ti.com>
11
12properties:
13  compatible:
14    items:
15      - enum:
16          - ti,am654-ehrpwm-tbclk
17          - ti,am64-epwm-tbclk
18          - ti,am62-epwm-tbclk
19      - const: syscon
20
21  "#clock-cells":
22    const: 1
23
24  reg:
25    maxItems: 1
26
27required:
28  - compatible
29  - "#clock-cells"
30  - reg
31
32additionalProperties: false
33
34examples:
35  - |
36    ehrpwm_tbclk: syscon@4140 {
37        compatible = "ti,am654-ehrpwm-tbclk", "syscon";
38        reg = <0x4140 0x18>;
39        #clock-cells = <1>;
40    };
41