Linux 6.9-rc1
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / clock / socionext,uniphier-clock.yaml
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
7 title: UniPhier clock controller
8
9 maintainers:
10   - Masahiro Yamada <yamada.masahiro@socionext.com>
11
12 properties:
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
56 additionalProperties: false
57
58 required:
59   - compatible
60   - "#clock-cells"
61
62 examples:
63   - |
64     clock-controller {
65         compatible = "socionext,uniphier-ld11-clock";
66         #clock-cells = <1>;
67     };