xref: /linux/Documentation/devicetree/bindings/clock/ti,keystone,psc-clock.yaml (revision 502d45774af09f1c681c754c4b7cdfb5d7f72fd9)
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,keystone,psc-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TI Keystone PSC clock
8
9maintainers:
10  - Santosh Shilimkar <santosh.shilimkar@ti.com>
11  - Murali Karicheri <m-karicheri2@ti.com>
12
13properties:
14  compatible:
15    const: ti,keystone,psc-clock
16
17  reg:
18    items:
19      - description: PSC control
20      - description: Domain
21
22  reg-names:
23    items:
24      - const: control
25      - const: domain
26
27  domain-id:
28    $ref: /schemas/types.yaml#/definitions/uint32
29    description: PSC domain id needed to check the transition state register
30
31  clocks:
32    maxItems: 1
33
34  clock-output-names:
35    maxItems: 1
36
37  "#clock-cells":
38    const: 0
39
40required:
41  - compatible
42  - reg
43  - reg-names
44  - domain-id
45  - clocks
46  - "#clock-cells"
47
48additionalProperties: false
49
50examples:
51  - |
52    clkusb@2350008 {
53        compatible = "ti,keystone,psc-clock";
54        reg = <0x02350008 0xb00>, <0x02350000 0x400>;
55        reg-names = "control", "domain";
56        domain-id = <0>;
57        clocks = <&chipclk16>;
58        clock-output-names = "usb";
59        #clock-cells = <0>;
60    };
61