aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/devicetree/bindings/clock/ti,keystone,psc-clock.yaml
blob: ed42adb278324c84016227390c53019d3e45e06c (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/ti,keystone,psc-clock.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TI Keystone PSC clock

maintainers:
  - Santosh Shilimkar <santosh.shilimkar@ti.com>
  - Murali Karicheri <m-karicheri2@ti.com>

properties:
  compatible:
    const: ti,keystone,psc-clock

  reg:
    items:
      - description: PSC control
      - description: Domain

  reg-names:
    items:
      - const: control
      - const: domain

  domain-id:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: PSC domain id needed to check the transition state register

  clocks:
    maxItems: 1

  clock-output-names:
    maxItems: 1

  "#clock-cells":
    const: 0

required:
  - compatible
  - reg
  - reg-names
  - domain-id
  - clocks
  - "#clock-cells"

additionalProperties: false

examples:
  - |
    clkusb@2350008 {
        compatible = "ti,keystone,psc-clock";
        reg = <0x02350008 0xb00>, <0x02350000 0x400>;
        reg-names = "control", "domain";
        domain-id = <0>;
        clocks = <&chipclk16>;
        clock-output-names = "usb";
        #clock-cells = <0>;
    };