GNU Linux-libre 6.1.90-gnu
[releases.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           - socionext,uniphier-nx1-reset
27       - description: Media I/O (MIO) reset, SD reset
28         enum:
29           - socionext,uniphier-ld4-mio-reset
30           - socionext,uniphier-pro4-mio-reset
31           - socionext,uniphier-sld8-mio-reset
32           - socionext,uniphier-pro5-sd-reset
33           - socionext,uniphier-pxs2-sd-reset
34           - socionext,uniphier-ld11-mio-reset
35           - socionext,uniphier-ld11-sd-reset
36           - socionext,uniphier-ld20-sd-reset
37           - socionext,uniphier-pxs3-sd-reset
38           - socionext,uniphier-nx1-sd-reset
39       - description: Peripheral reset
40         enum:
41           - socionext,uniphier-ld4-peri-reset
42           - socionext,uniphier-pro4-peri-reset
43           - socionext,uniphier-sld8-peri-reset
44           - socionext,uniphier-pro5-peri-reset
45           - socionext,uniphier-pxs2-peri-reset
46           - socionext,uniphier-ld11-peri-reset
47           - socionext,uniphier-ld20-peri-reset
48           - socionext,uniphier-pxs3-peri-reset
49           - socionext,uniphier-nx1-peri-reset
50       - description: Analog signal amplifier reset
51         enum:
52           - socionext,uniphier-ld11-adamv-reset
53           - socionext,uniphier-ld20-adamv-reset
54
55   "#reset-cells":
56     const: 1
57
58   resets:
59     maxItems: 1
60
61 additionalProperties: false
62
63 required:
64   - compatible
65   - "#reset-cells"
66
67 examples:
68   - |
69     sysctrl@61840000 {
70         compatible = "socionext,uniphier-sysctrl", "simple-mfd", "syscon";
71         reg = <0x61840000 0x4000>;
72
73         reset {
74             compatible = "socionext,uniphier-ld11-reset";
75             #reset-cells = <1>;
76         };
77
78         // other nodes ...
79     };
80
81   - |
82     mioctrl@59810000 {
83         compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon";
84         reg = <0x59810000 0x800>;
85
86         reset {
87             compatible = "socionext,uniphier-ld11-mio-reset";
88             #reset-cells = <1>;
89         };
90
91         // other nodes ...
92     };
93
94   - |
95     perictrl@59820000 {
96         compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon";
97         reg = <0x59820000 0x200>;
98
99         reset {
100             compatible = "socionext,uniphier-ld11-peri-reset";
101             #reset-cells = <1>;
102         };
103
104         // other nodes ...
105     };
106
107   - |
108     adamv@57920000 {
109         compatible = "socionext,uniphier-ld11-adamv", "simple-mfd", "syscon";
110         reg = <0x57920000 0x1000>;
111
112         reset {
113             compatible = "socionext,uniphier-ld11-adamv-reset";
114             #reset-cells = <1>;
115         };
116
117         // other nodes ...
118     };