xref: /freebsd/sys/contrib/device-tree/Bindings/clock/socionext,uniphier-clock.yaml (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
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      - description: Media I/O (MIO) clock, SD clock
27        enum:
28          - socionext,uniphier-ld4-mio-clock
29          - socionext,uniphier-pro4-mio-clock
30          - socionext,uniphier-sld8-mio-clock
31          - socionext,uniphier-pro5-sd-clock
32          - socionext,uniphier-pxs2-sd-clock
33          - socionext,uniphier-ld11-mio-clock
34          - socionext,uniphier-ld20-sd-clock
35          - socionext,uniphier-pxs3-sd-clock
36      - description: Peripheral clock
37        enum:
38          - socionext,uniphier-ld4-peri-clock
39          - socionext,uniphier-pro4-peri-clock
40          - socionext,uniphier-sld8-peri-clock
41          - socionext,uniphier-pro5-peri-clock
42          - socionext,uniphier-pxs2-peri-clock
43          - socionext,uniphier-ld11-peri-clock
44          - socionext,uniphier-ld20-peri-clock
45          - socionext,uniphier-pxs3-peri-clock
46
47  "#clock-cells":
48    const: 1
49
50additionalProperties: false
51
52required:
53  - compatible
54  - "#clock-cells"
55
56examples:
57  - |
58    sysctrl@61840000 {
59        compatible = "socionext,uniphier-sysctrl", "simple-mfd", "syscon";
60        reg = <0x61840000 0x4000>;
61
62        clock {
63            compatible = "socionext,uniphier-ld11-clock";
64            #clock-cells = <1>;
65        };
66
67        // other nodes ...
68    };
69
70  - |
71    mioctrl@59810000 {
72        compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon";
73        reg = <0x59810000 0x800>;
74
75        clock {
76            compatible = "socionext,uniphier-ld11-mio-clock";
77            #clock-cells = <1>;
78        };
79
80        // other nodes ...
81    };
82
83  - |
84    perictrl@59820000 {
85        compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon";
86        reg = <0x59820000 0x200>;
87
88        clock {
89            compatible = "socionext,uniphier-ld11-peri-clock";
90            #clock-cells = <1>;
91        };
92
93        // other nodes ...
94    };
95