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
7title: UniPhier reset controller
8
9maintainers:
10  - Masahiro Yamada <yamada.masahiro@socionext.com>
11
12properties:
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
58additionalProperties: false
59
60required:
61  - compatible
62  - "#reset-cells"
63
64examples:
65  - |
66    sysctrl@61840000 {
67        compatible = "socionext,uniphier-sysctrl", "simple-mfd", "syscon";
68        reg = <0x61840000 0x4000>;
69
70        reset {
71            compatible = "socionext,uniphier-ld11-reset";
72            #reset-cells = <1>;
73        };
74
75        // other nodes ...
76    };
77
78  - |
79    mioctrl@59810000 {
80        compatible = "socionext,uniphier-mioctrl", "simple-mfd", "syscon";
81        reg = <0x59810000 0x800>;
82
83        reset {
84            compatible = "socionext,uniphier-ld11-mio-reset";
85            #reset-cells = <1>;
86        };
87
88        // other nodes ...
89    };
90
91  - |
92    perictrl@59820000 {
93        compatible = "socionext,uniphier-perictrl", "simple-mfd", "syscon";
94        reg = <0x59820000 0x200>;
95
96        reset {
97            compatible = "socionext,uniphier-ld11-peri-reset";
98            #reset-cells = <1>;
99        };
100
101        // other nodes ...
102    };
103
104  - |
105    adamv@57920000 {
106        compatible = "socionext,uniphier-ld11-adamv", "simple-mfd", "syscon";
107        reg = <0x57920000 0x1000>;
108
109        reset {
110            compatible = "socionext,uniphier-ld11-adamv-reset";
111            #reset-cells = <1>;
112        };
113
114        // other nodes ...
115    };
116