summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock/ti,am654-ehrpwm-tbclk.yaml
blob: 9b537bc876b5c8a2f824e438a1c9ffe61fcd4a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/ti,am654-ehrpwm-tbclk.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TI EHRPWM Time Base Clock

maintainers:
  - Vignesh Raghavendra <vigneshr@ti.com>

properties:
  compatible:
    items:
      - enum:
          - ti,am654-ehrpwm-tbclk
          - ti,am64-epwm-tbclk
      - const: syscon

  "#clock-cells":
    const: 1

  reg:
    maxItems: 1

required:
  - compatible
  - "#clock-cells"
  - reg

additionalProperties: false

examples:
  - |
    ehrpwm_tbclk: syscon@4140 {
        compatible = "ti,am654-ehrpwm-tbclk", "syscon";
        reg = <0x4140 0x18>;
        #clock-cells = <1>;
    };