xref: /linux/Documentation/devicetree/bindings/clock/socionext,uniphier-clock.yaml (revision e65e175b07bef5974045cc42238de99057669ca7)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/socionext,uniphier-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: UniPhier clock controller
8
9maintainers:
10  - Masahiro Yamada <yamada.masahiro@socionext.com>
11
12properties:
13  compatible:
14    oneOf:
15      - description: System clock
16        enum:
17          - socionext,uniphier-ld4-clock
18          - socionext,uniphier-pro4-clock
19          - socionext,uniphier-sld8-clock
20          - socionext,uniphier-pro5-clock
21          - socionext,uniphier-pxs2-clock
22          - socionext,uniphier-ld6b-clock
23          - socionext,uniphier-ld11-clock
24          - socionext,uniphier-ld20-clock
25          - socionext,uniphier-pxs3-clock
26          - socionext,uniphier-nx1-clock
27      - description: Media I/O (MIO) clock, SD clock
28        enum:
29          - socionext,uniphier-ld4-mio-clock
30          - socionext,uniphier-pro4-mio-clock
31          - socionext,uniphier-sld8-mio-clock
32          - socionext,uniphier-pro5-sd-clock
33          - socionext,uniphier-pxs2-sd-clock
34          - socionext,uniphier-ld11-mio-clock
35          - socionext,uniphier-ld20-sd-clock
36          - socionext,uniphier-pxs3-sd-clock
37          - socionext,uniphier-nx1-sd-clock
38      - description: Peripheral clock
39        enum:
40          - socionext,uniphier-ld4-peri-clock
41          - socionext,uniphier-pro4-peri-clock
42          - socionext,uniphier-sld8-peri-clock
43          - socionext,uniphier-pro5-peri-clock
44          - socionext,uniphier-pxs2-peri-clock
45          - socionext,uniphier-ld11-peri-clock
46          - socionext,uniphier-ld20-peri-clock
47          - socionext,uniphier-pxs3-peri-clock
48          - socionext,uniphier-nx1-peri-clock
49      - description: SoC-glue clock
50        enum:
51          - socionext,uniphier-pro4-sg-clock
52
53  "#clock-cells":
54    const: 1
55
56additionalProperties: false
57
58required:
59  - compatible
60  - "#clock-cells"
61
62examples:
63  - |
64    sysctrl@61840000 {
65        compatible = "socionext,uniphier-sysctrl", "simple-mfd", "syscon";
66        reg = <0x61840000 0x4000>;
67
68        clock {
69            compatible = "socionext,uniphier-ld11-clock";
70            #clock-cells = <1>;
71        };
72
73        // other nodes ...
74    };
75
76  - |
77    mioctrl@59810000 {
78        compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon";
79        reg = <0x59810000 0x800>;
80
81        clock {
82            compatible = "socionext,uniphier-ld11-mio-clock";
83            #clock-cells = <1>;
84        };
85
86        // other nodes ...
87    };
88
89  - |
90    perictrl@59820000 {
91        compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon";
92        reg = <0x59820000 0x200>;
93
94        clock {
95            compatible = "socionext,uniphier-ld11-peri-clock";
96            #clock-cells = <1>;
97        };
98
99        // other nodes ...
100    };
101