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