blob: 6e0ea7976e04cb5904a0709d337819df460fd7e4 [file] [log] [blame]
Masahiro Yamada0bc56842018-04-16 12:35:33 +09001// SPDX-License-Identifier: GPL-2.0+ OR MIT
2//
3// Device Tree Source for UniPhier Pro5 SoC
4//
5// Copyright (C) 2015-2016 Socionext Inc.
6// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadac857ded2015-08-28 22:33:14 +09007
Masahiro Yamadac857ded2015-08-28 22:33:14 +09008/ {
Masahiro Yamada39a67ff2016-10-07 16:43:00 +09009 compatible = "socionext,uniphier-pro5";
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090010 #address-cells = <1>;
11 #size-cells = <1>;
Masahiro Yamadac857ded2015-08-28 22:33:14 +090012
13 cpus {
14 #address-cells = <1>;
15 #size-cells = <0>;
Masahiro Yamadac857ded2015-08-28 22:33:14 +090016
17 cpu@0 {
18 device_type = "cpu";
19 compatible = "arm,cortex-a9";
20 reg = <0>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090021 clocks = <&sys_clk 32>;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090022 enable-method = "psci";
Masahiro Yamadab36f3052015-12-16 10:54:08 +090023 next-level-cache = <&l2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090024 operating-points-v2 = <&cpu_opp>;
Masahiro Yamadac857ded2015-08-28 22:33:14 +090025 };
26
27 cpu@1 {
28 device_type = "cpu";
29 compatible = "arm,cortex-a9";
30 reg = <1>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090031 clocks = <&sys_clk 32>;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090032 enable-method = "psci";
Masahiro Yamadab36f3052015-12-16 10:54:08 +090033 next-level-cache = <&l2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090034 operating-points-v2 = <&cpu_opp>;
Masahiro Yamadac857ded2015-08-28 22:33:14 +090035 };
36 };
37
Masahiro Yamada6c086d02017-11-25 00:25:35 +090038 cpu_opp: opp-table {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090039 compatible = "operating-points-v2";
40 opp-shared;
41
Masahiro Yamada552acbf2017-04-20 16:54:44 +090042 opp-100000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090043 opp-hz = /bits/ 64 <100000000>;
44 clock-latency-ns = <300>;
45 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090046 opp-116667000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090047 opp-hz = /bits/ 64 <116667000>;
48 clock-latency-ns = <300>;
49 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090050 opp-150000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090051 opp-hz = /bits/ 64 <150000000>;
52 clock-latency-ns = <300>;
53 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090054 opp-175000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090055 opp-hz = /bits/ 64 <175000000>;
56 clock-latency-ns = <300>;
57 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090058 opp-200000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090059 opp-hz = /bits/ 64 <200000000>;
60 clock-latency-ns = <300>;
61 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090062 opp-233334000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090063 opp-hz = /bits/ 64 <233334000>;
64 clock-latency-ns = <300>;
65 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090066 opp-300000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090067 opp-hz = /bits/ 64 <300000000>;
68 clock-latency-ns = <300>;
69 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090070 opp-350000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090071 opp-hz = /bits/ 64 <350000000>;
72 clock-latency-ns = <300>;
73 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090074 opp-400000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090075 opp-hz = /bits/ 64 <400000000>;
76 clock-latency-ns = <300>;
77 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090078 opp-466667000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090079 opp-hz = /bits/ 64 <466667000>;
80 clock-latency-ns = <300>;
81 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090082 opp-600000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090083 opp-hz = /bits/ 64 <600000000>;
84 clock-latency-ns = <300>;
85 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090086 opp-700000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090087 opp-hz = /bits/ 64 <700000000>;
88 clock-latency-ns = <300>;
89 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090090 opp-800000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090091 opp-hz = /bits/ 64 <800000000>;
92 clock-latency-ns = <300>;
93 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090094 opp-933334000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090095 opp-hz = /bits/ 64 <933334000>;
96 clock-latency-ns = <300>;
97 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090098 opp-1200000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090099 opp-hz = /bits/ 64 <1200000000>;
100 clock-latency-ns = <300>;
101 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +0900102 opp-1400000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900103 opp-hz = /bits/ 64 <1400000000>;
104 clock-latency-ns = <300>;
105 };
106 };
107
108 psci {
109 compatible = "arm,psci-0.2";
110 method = "smc";
111 };
112
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900113 clocks {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900114 refclk: ref {
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900115 compatible = "fixed-clock";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900116 #clock-cells = <0>;
117 clock-frequency = <20000000>;
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900118 };
119
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900120 arm_timer_clk: arm-timer {
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900121 #clock-cells = <0>;
122 compatible = "fixed-clock";
123 clock-frequency = <50000000>;
124 };
125 };
126
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900127 soc {
128 compatible = "simple-bus";
129 #address-cells = <1>;
130 #size-cells = <1>;
131 ranges;
132 interrupt-parent = <&intc>;
Masahiro Yamadab36f3052015-12-16 10:54:08 +0900133
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900134 l2: l2-cache@500c0000 {
135 compatible = "socionext,uniphier-system-cache";
136 reg = <0x500c0000 0x2000>, <0x503c0100 0x8>,
137 <0x506c0000 0x400>;
138 interrupts = <0 190 4>, <0 191 4>;
139 cache-unified;
140 cache-size = <(2 * 1024 * 1024)>;
141 cache-sets = <512>;
142 cache-line-size = <128>;
143 cache-level = <2>;
144 next-level-cache = <&l3>;
145 };
Masahiro Yamadab36f3052015-12-16 10:54:08 +0900146
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900147 l3: l3-cache@500c8000 {
148 compatible = "socionext,uniphier-system-cache";
149 reg = <0x500c8000 0x2000>, <0x503c8100 0x8>,
150 <0x506c8000 0x400>;
151 interrupts = <0 174 4>, <0 175 4>;
152 cache-unified;
153 cache-size = <(2 * 1024 * 1024)>;
154 cache-sets = <512>;
155 cache-line-size = <256>;
156 cache-level = <3>;
157 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900158
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900159 serial0: serial@54006800 {
160 compatible = "socionext,uniphier-uart";
161 status = "disabled";
162 reg = <0x54006800 0x40>;
163 interrupts = <0 33 4>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_uart0>;
166 clocks = <&peri_clk 0>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900167 resets = <&peri_rst 0>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900168 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900169
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900170 serial1: serial@54006900 {
171 compatible = "socionext,uniphier-uart";
172 status = "disabled";
173 reg = <0x54006900 0x40>;
174 interrupts = <0 35 4>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_uart1>;
177 clocks = <&peri_clk 1>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900178 resets = <&peri_rst 1>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900179 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900180
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900181 serial2: serial@54006a00 {
182 compatible = "socionext,uniphier-uart";
183 status = "disabled";
184 reg = <0x54006a00 0x40>;
185 interrupts = <0 37 4>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&pinctrl_uart2>;
188 clocks = <&peri_clk 2>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900189 resets = <&peri_rst 2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900190 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900191
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900192 serial3: serial@54006b00 {
193 compatible = "socionext,uniphier-uart";
194 status = "disabled";
195 reg = <0x54006b00 0x40>;
196 interrupts = <0 177 4>;
197 pinctrl-names = "default";
198 pinctrl-0 = <&pinctrl_uart3>;
199 clocks = <&peri_clk 3>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900200 resets = <&peri_rst 3>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900201 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900202
Masahiro Yamada964edbf2017-10-13 19:21:52 +0900203 gpio: gpio@55000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900204 compatible = "socionext,uniphier-gpio";
Masahiro Yamada964edbf2017-10-13 19:21:52 +0900205 reg = <0x55000000 0x200>;
206 interrupt-parent = <&aidet>;
207 interrupt-controller;
208 #interrupt-cells = <2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900209 gpio-controller;
210 #gpio-cells = <2>;
Masahiro Yamada964edbf2017-10-13 19:21:52 +0900211 gpio-ranges = <&pinctrl 0 0 0>;
212 gpio-ranges-group-names = "gpio_range";
213 ngpios = <248>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900214 socionext,interrupt-ranges = <0 48 16>, <16 154 5>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900215 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900216
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900217 i2c0: i2c@58780000 {
218 compatible = "socionext,uniphier-fi2c";
219 status = "disabled";
220 reg = <0x58780000 0x80>;
221 #address-cells = <1>;
222 #size-cells = <0>;
223 interrupts = <0 41 4>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&pinctrl_i2c0>;
226 clocks = <&peri_clk 4>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900227 resets = <&peri_rst 4>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900228 clock-frequency = <100000>;
229 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900230
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900231 i2c1: i2c@58781000 {
232 compatible = "socionext,uniphier-fi2c";
233 status = "disabled";
234 reg = <0x58781000 0x80>;
235 #address-cells = <1>;
236 #size-cells = <0>;
237 interrupts = <0 42 4>;
238 pinctrl-names = "default";
239 pinctrl-0 = <&pinctrl_i2c1>;
240 clocks = <&peri_clk 5>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900241 resets = <&peri_rst 5>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900242 clock-frequency = <100000>;
243 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900244
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900245 i2c2: i2c@58782000 {
246 compatible = "socionext,uniphier-fi2c";
247 status = "disabled";
248 reg = <0x58782000 0x80>;
249 #address-cells = <1>;
250 #size-cells = <0>;
251 interrupts = <0 43 4>;
252 pinctrl-names = "default";
253 pinctrl-0 = <&pinctrl_i2c2>;
254 clocks = <&peri_clk 6>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900255 resets = <&peri_rst 6>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900256 clock-frequency = <100000>;
257 };
Masahiro Yamada2707e832016-06-29 19:39:02 +0900258
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900259 i2c3: i2c@58783000 {
260 compatible = "socionext,uniphier-fi2c";
261 status = "disabled";
262 reg = <0x58783000 0x80>;
263 #address-cells = <1>;
264 #size-cells = <0>;
265 interrupts = <0 44 4>;
266 pinctrl-names = "default";
267 pinctrl-0 = <&pinctrl_i2c3>;
268 clocks = <&peri_clk 7>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900269 resets = <&peri_rst 7>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900270 clock-frequency = <100000>;
271 };
Masahiro Yamada299307d2016-02-18 19:52:50 +0900272
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900273 /* i2c4 does not exist */
Masahiro Yamada299307d2016-02-18 19:52:50 +0900274
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900275 /* chip-internal connection for DMD */
276 i2c5: i2c@58785000 {
277 compatible = "socionext,uniphier-fi2c";
278 reg = <0x58785000 0x80>;
279 #address-cells = <1>;
280 #size-cells = <0>;
281 interrupts = <0 25 4>;
282 clocks = <&peri_clk 9>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900283 resets = <&peri_rst 9>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900284 clock-frequency = <400000>;
285 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900286
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900287 /* chip-internal connection for HDMI */
288 i2c6: i2c@58786000 {
289 compatible = "socionext,uniphier-fi2c";
290 reg = <0x58786000 0x80>;
291 #address-cells = <1>;
292 #size-cells = <0>;
293 interrupts = <0 26 4>;
294 clocks = <&peri_clk 10>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900295 resets = <&peri_rst 10>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900296 clock-frequency = <400000>;
297 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900298
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900299 system_bus: system-bus@58c00000 {
300 compatible = "socionext,uniphier-system-bus";
301 status = "disabled";
302 reg = <0x58c00000 0x400>;
303 #address-cells = <2>;
304 #size-cells = <1>;
305 pinctrl-names = "default";
306 pinctrl-0 = <&pinctrl_system_bus>;
307 };
Masahiro Yamada224e2f72016-02-02 21:11:33 +0900308
Masahiro Yamada938ab162017-05-15 14:23:46 +0900309 smpctrl@59801000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900310 compatible = "socionext,uniphier-smpctrl";
311 reg = <0x59801000 0x400>;
312 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900313
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900314 sdctrl@59810000 {
315 compatible = "socionext,uniphier-pro5-sdctrl",
316 "simple-mfd", "syscon";
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900317 reg = <0x59810000 0x400>;
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +0900318
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900319 sd_clk: clock {
320 compatible = "socionext,uniphier-pro5-sd-clock";
321 #clock-cells = <1>;
322 };
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +0900323
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900324 sd_rst: reset {
325 compatible = "socionext,uniphier-pro5-sd-reset";
326 #reset-cells = <1>;
327 };
328 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900329
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900330 perictrl@59820000 {
331 compatible = "socionext,uniphier-pro5-perictrl",
332 "simple-mfd", "syscon";
333 reg = <0x59820000 0x200>;
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900334
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900335 peri_clk: clock {
336 compatible = "socionext,uniphier-pro5-peri-clock";
337 #clock-cells = <1>;
338 };
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900339
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900340 peri_rst: reset {
341 compatible = "socionext,uniphier-pro5-peri-reset";
342 #reset-cells = <1>;
343 };
344 };
Masahiro Yamada1d5df7b2016-02-02 21:11:36 +0900345
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900346 soc-glue@5f800000 {
347 compatible = "socionext,uniphier-pro5-soc-glue",
348 "simple-mfd", "syscon";
349 reg = <0x5f800000 0x2000>;
Masahiro Yamada80951832016-02-02 21:11:35 +0900350
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900351 pinctrl: pinctrl {
352 compatible = "socionext,uniphier-pro5-pinctrl";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900353 };
354 };
Masahiro Yamadae84513b2016-02-02 21:11:34 +0900355
Masahiro Yamadab61327d2018-03-15 11:43:03 +0900356 soc-glue@5f900000 {
357 compatible = "socionext,uniphier-pro5-soc-glue-debug",
358 "simple-mfd";
359 #address-cells = <1>;
360 #size-cells = <1>;
361 ranges = <0 0x5f900000 0x2000>;
362
363 efuse@100 {
364 compatible = "socionext,uniphier-efuse";
365 reg = <0x100 0x28>;
366 };
367
368 efuse@130 {
369 compatible = "socionext,uniphier-efuse";
370 reg = <0x130 0x8>;
371 };
372
373 efuse@200 {
374 compatible = "socionext,uniphier-efuse";
375 reg = <0x200 0x28>;
376 };
377
378 efuse@300 {
379 compatible = "socionext,uniphier-efuse";
380 reg = <0x300 0x14>;
381 };
382
383 efuse@400 {
384 compatible = "socionext,uniphier-efuse";
385 reg = <0x400 0x8>;
386 };
387 };
388
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900389 aidet: aidet@5fc20000 {
390 compatible = "socionext,uniphier-pro5-aidet";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900391 reg = <0x5fc20000 0x200>;
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900392 interrupt-controller;
393 #interrupt-cells = <2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900394 };
395
396 timer@60000200 {
397 compatible = "arm,cortex-a9-global-timer";
398 reg = <0x60000200 0x20>;
399 interrupts = <1 11 0x304>;
400 clocks = <&arm_timer_clk>;
401 };
402
403 timer@60000600 {
404 compatible = "arm,cortex-a9-twd-timer";
405 reg = <0x60000600 0x20>;
406 interrupts = <1 13 0x304>;
407 clocks = <&arm_timer_clk>;
408 };
409
410 intc: interrupt-controller@60001000 {
411 compatible = "arm,cortex-a9-gic";
412 reg = <0x60001000 0x1000>,
413 <0x60000100 0x100>;
414 #interrupt-cells = <3>;
415 interrupt-controller;
416 };
417
418 sysctrl@61840000 {
419 compatible = "socionext,uniphier-pro5-sysctrl",
420 "simple-mfd", "syscon";
421 reg = <0x61840000 0x10000>;
422
423 sys_clk: clock {
424 compatible = "socionext,uniphier-pro5-clock";
425 #clock-cells = <1>;
426 };
427
428 sys_rst: reset {
429 compatible = "socionext,uniphier-pro5-reset";
430 #reset-cells = <1>;
431 };
432 };
433
434 usb0: usb@65b00000 {
435 compatible = "socionext,uniphier-pro5-dwc3";
436 status = "disabled";
437 reg = <0x65b00000 0x1000>;
438 #address-cells = <1>;
439 #size-cells = <1>;
440 ranges;
441 pinctrl-names = "default";
442 pinctrl-0 = <&pinctrl_usb0>;
443 dwc3@65a00000 {
444 compatible = "snps,dwc3";
445 reg = <0x65a00000 0x10000>;
446 interrupts = <0 134 4>;
Masahiro Yamadad2c8abd2017-08-13 09:01:17 +0900447 dr_mode = "host";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900448 tx-fifo-resize;
449 };
450 };
451
452 usb1: usb@65d00000 {
453 compatible = "socionext,uniphier-pro5-dwc3";
454 status = "disabled";
455 reg = <0x65d00000 0x1000>;
456 #address-cells = <1>;
457 #size-cells = <1>;
458 ranges;
459 pinctrl-names = "default";
460 pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb2>;
461 dwc3@65c00000 {
462 compatible = "snps,dwc3";
463 reg = <0x65c00000 0x10000>;
464 interrupts = <0 137 4>;
Masahiro Yamadad2c8abd2017-08-13 09:01:17 +0900465 dr_mode = "host";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900466 tx-fifo-resize;
467 };
468 };
469
470 nand: nand@68000000 {
Masahiro Yamada552acbf2017-04-20 16:54:44 +0900471 compatible = "socionext,uniphier-denali-nand-v5b";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900472 status = "disabled";
473 reg-names = "nand_data", "denali_reg";
474 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
475 interrupts = <0 65 4>;
476 pinctrl-names = "default";
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900477 pinctrl-0 = <&pinctrl_nand2cs>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900478 clocks = <&sys_clk 2>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900479 resets = <&sys_rst 2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900480 };
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900481
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900482 emmc: sdhc@68400000 {
Masahiro Yamada6c7ad4d2018-09-10 12:58:35 +0900483 compatible = "socionext,uniphier-sd-v3.1";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900484 status = "disabled";
485 reg = <0x68400000 0x800>;
486 interrupts = <0 78 4>;
487 pinctrl-names = "default";
488 pinctrl-0 = <&pinctrl_emmc>;
489 clocks = <&sd_clk 1>;
Masahiro Yamada6c7ad4d2018-09-10 12:58:35 +0900490 reset-names = "host", "hw";
491 resets = <&sd_rst 1>, <&sd_rst 6>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900492 bus-width = <8>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900493 cap-mmc-highspeed;
494 cap-mmc-hw-reset;
Masahiro Yamada6c7ad4d2018-09-10 12:58:35 +0900495 non-removable;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900496 };
497
498 sd: sdhc@68800000 {
Masahiro Yamada6c7ad4d2018-09-10 12:58:35 +0900499 compatible = "socionext,uniphier-sd-v3.1";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900500 status = "disabled";
501 reg = <0x68800000 0x800>;
502 interrupts = <0 76 4>;
Masahiro Yamada6c7ad4d2018-09-10 12:58:35 +0900503 pinctrl-names = "default", "uhs";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900504 pinctrl-0 = <&pinctrl_sd>;
Masahiro Yamada6c7ad4d2018-09-10 12:58:35 +0900505 pinctrl-1 = <&pinctrl_sd_uhs>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900506 clocks = <&sd_clk 0>;
507 reset-names = "host";
508 resets = <&sd_rst 0>;
509 bus-width = <4>;
510 cap-sd-highspeed;
511 sd-uhs-sdr12;
512 sd-uhs-sdr25;
513 sd-uhs-sdr50;
514 };
515 };
Masahiro Yamadae84513b2016-02-02 21:11:34 +0900516};
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900517
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900518#include "uniphier-pinctrl.dtsi"