blob: c21b1596745f401e2460d341b8eaeeecea6aec9c [file] [log] [blame]
Masahiro Yamada53f6ec62014-11-26 18:33:59 +09001/*
Masahiro Yamada39a67ff2016-10-07 16:43:00 +09002 * Device Tree Source for UniPhier Pro4 SoC
Masahiro Yamada53f6ec62014-11-26 18:33:59 +09003 *
Masahiro Yamada39a67ff2016-10-07 16:43:00 +09004 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada53f6ec62014-11-26 18:33:59 +09006 *
Masahiro Yamada938ab162017-05-15 14:23:46 +09007 * This file is dual-licensed: you can use it either under the terms
8 * of the GPL or the X11 license, at your option. Note that this dual
9 * licensing only applies to this file, and not this project as a
10 * whole.
11 *
12 * a) This file is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of the
15 * License, or (at your option) any later version.
16 *
17 * This file is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * Or, alternatively,
23 *
24 * b) Permission is hereby granted, free of charge, to any person
25 * obtaining a copy of this software and associated documentation
26 * files (the "Software"), to deal in the Software without
27 * restriction, including without limitation the rights to use,
28 * copy, modify, merge, publish, distribute, sublicense, and/or
29 * sell copies of the Software, and to permit persons to whom the
30 * Software is furnished to do so, subject to the following
31 * conditions:
32 *
33 * The above copyright notice and this permission notice shall be
34 * included in all copies or substantial portions of the Software.
35 *
36 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
37 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
38 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
39 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
40 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
41 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
42 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
43 * OTHER DEALINGS IN THE SOFTWARE.
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090044 */
45
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090046/ {
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090047 compatible = "socionext,uniphier-pro4";
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090048 #address-cells = <1>;
49 #size-cells = <1>;
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090050
51 cpus {
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090052 #address-cells = <1>;
Masahiro Yamadaff7bf562014-12-06 00:03:23 +090053 #size-cells = <0>;
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090054
55 cpu@0 {
56 device_type = "cpu";
57 compatible = "arm,cortex-a9";
58 reg = <0>;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090059 enable-method = "psci";
Masahiro Yamadab36f3052015-12-16 10:54:08 +090060 next-level-cache = <&l2>;
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090061 };
62
63 cpu@1 {
64 device_type = "cpu";
65 compatible = "arm,cortex-a9";
66 reg = <1>;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090067 enable-method = "psci";
Masahiro Yamadab36f3052015-12-16 10:54:08 +090068 next-level-cache = <&l2>;
Masahiro Yamada53f6ec62014-11-26 18:33:59 +090069 };
70 };
71
Masahiro Yamada6e485b22016-12-05 18:31:39 +090072 psci {
73 compatible = "arm,psci-0.2";
74 method = "smc";
75 };
76
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +090077 clocks {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090078 refclk: ref {
79 compatible = "fixed-clock";
80 #clock-cells = <0>;
81 clock-frequency = <25000000>;
82 };
83
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +090084 arm_timer_clk: arm_timer_clk {
85 #clock-cells = <0>;
86 compatible = "fixed-clock";
87 clock-frequency = <50000000>;
88 };
Masahiro Yamada6e485b22016-12-05 18:31:39 +090089 };
Masahiro Yamada37649af2015-08-28 22:33:13 +090090
Masahiro Yamada6e485b22016-12-05 18:31:39 +090091 soc {
92 compatible = "simple-bus";
93 #address-cells = <1>;
94 #size-cells = <1>;
95 ranges;
96 interrupt-parent = <&intc>;
97 u-boot,dm-pre-reloc;
98
99 l2: l2-cache@500c0000 {
100 compatible = "socionext,uniphier-system-cache";
101 reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
102 <0x506c0000 0x400>;
103 interrupts = <0 174 4>, <0 175 4>;
104 cache-unified;
105 cache-size = <(768 * 1024)>;
106 cache-sets = <256>;
107 cache-line-size = <128>;
108 cache-level = <2>;
109 };
110
111 serial0: serial@54006800 {
112 compatible = "socionext,uniphier-uart";
113 status = "disabled";
114 reg = <0x54006800 0x40>;
115 interrupts = <0 33 4>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&pinctrl_uart0>;
118 clocks = <&peri_clk 0>;
Masahiro Yamada37649af2015-08-28 22:33:13 +0900119 clock-frequency = <73728000>;
120 };
121
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900122 serial1: serial@54006900 {
123 compatible = "socionext,uniphier-uart";
124 status = "disabled";
125 reg = <0x54006900 0x40>;
126 interrupts = <0 35 4>;
127 pinctrl-names = "default";
128 pinctrl-0 = <&pinctrl_uart1>;
129 clocks = <&peri_clk 1>;
130 clock-frequency = <73728000>;
Masahiro Yamada37649af2015-08-28 22:33:13 +0900131 };
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +0900132
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900133 serial2: serial@54006a00 {
134 compatible = "socionext,uniphier-uart";
135 status = "disabled";
136 reg = <0x54006a00 0x40>;
137 interrupts = <0 37 4>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&pinctrl_uart2>;
140 clocks = <&peri_clk 2>;
141 clock-frequency = <73728000>;
142 };
Masahiro Yamadab36f3052015-12-16 10:54:08 +0900143
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900144 serial3: serial@54006b00 {
145 compatible = "socionext,uniphier-uart";
146 status = "disabled";
147 reg = <0x54006b00 0x40>;
148 interrupts = <0 177 4>;
149 pinctrl-names = "default";
150 pinctrl-0 = <&pinctrl_uart3>;
151 clocks = <&peri_clk 3>;
152 clock-frequency = <73728000>;
153 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900154
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900155 port0x: gpio@55000008 {
156 compatible = "socionext,uniphier-gpio";
157 reg = <0x55000008 0x8>;
158 gpio-controller;
159 #gpio-cells = <2>;
160 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900161
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900162 port1x: gpio@55000010 {
163 compatible = "socionext,uniphier-gpio";
164 reg = <0x55000010 0x8>;
165 gpio-controller;
166 #gpio-cells = <2>;
167 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900168
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900169 port2x: gpio@55000018 {
170 compatible = "socionext,uniphier-gpio";
171 reg = <0x55000018 0x8>;
172 gpio-controller;
173 #gpio-cells = <2>;
174 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900175
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900176 port3x: gpio@55000020 {
177 compatible = "socionext,uniphier-gpio";
178 reg = <0x55000020 0x8>;
179 gpio-controller;
180 #gpio-cells = <2>;
181 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900182
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900183 port4: gpio@55000028 {
184 compatible = "socionext,uniphier-gpio";
185 reg = <0x55000028 0x8>;
186 gpio-controller;
187 #gpio-cells = <2>;
188 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900189
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900190 port5x: gpio@55000030 {
191 compatible = "socionext,uniphier-gpio";
192 reg = <0x55000030 0x8>;
193 gpio-controller;
194 #gpio-cells = <2>;
195 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900196
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900197 port6x: gpio@55000038 {
198 compatible = "socionext,uniphier-gpio";
199 reg = <0x55000038 0x8>;
200 gpio-controller;
201 #gpio-cells = <2>;
202 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900203
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900204 port7x: gpio@55000040 {
205 compatible = "socionext,uniphier-gpio";
206 reg = <0x55000040 0x8>;
207 gpio-controller;
208 #gpio-cells = <2>;
209 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900210
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900211 port8x: gpio@55000048 {
212 compatible = "socionext,uniphier-gpio";
213 reg = <0x55000048 0x8>;
214 gpio-controller;
215 #gpio-cells = <2>;
216 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900217
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900218 port9x: gpio@55000050 {
219 compatible = "socionext,uniphier-gpio";
220 reg = <0x55000050 0x8>;
221 gpio-controller;
222 #gpio-cells = <2>;
223 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900224
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900225 port10x: gpio@55000058 {
226 compatible = "socionext,uniphier-gpio";
227 reg = <0x55000058 0x8>;
228 gpio-controller;
229 #gpio-cells = <2>;
230 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900231
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900232 port11x: gpio@55000060 {
233 compatible = "socionext,uniphier-gpio";
234 reg = <0x55000060 0x8>;
235 gpio-controller;
236 #gpio-cells = <2>;
237 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900238
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900239 port12x: gpio@55000068 {
240 compatible = "socionext,uniphier-gpio";
241 reg = <0x55000068 0x8>;
242 gpio-controller;
243 #gpio-cells = <2>;
244 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900245
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900246 port13x: gpio@55000070 {
247 compatible = "socionext,uniphier-gpio";
248 reg = <0x55000070 0x8>;
249 gpio-controller;
250 #gpio-cells = <2>;
251 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900252
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900253 port14x: gpio@55000078 {
254 compatible = "socionext,uniphier-gpio";
255 reg = <0x55000078 0x8>;
256 gpio-controller;
257 #gpio-cells = <2>;
258 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900259
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900260 port17x: gpio@550000a0 {
261 compatible = "socionext,uniphier-gpio";
262 reg = <0x550000a0 0x8>;
263 gpio-controller;
264 #gpio-cells = <2>;
265 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900266
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900267 port18x: gpio@550000a8 {
268 compatible = "socionext,uniphier-gpio";
269 reg = <0x550000a8 0x8>;
270 gpio-controller;
271 #gpio-cells = <2>;
272 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900273
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900274 port19x: gpio@550000b0 {
275 compatible = "socionext,uniphier-gpio";
276 reg = <0x550000b0 0x8>;
277 gpio-controller;
278 #gpio-cells = <2>;
279 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900280
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900281 port20x: gpio@550000b8 {
282 compatible = "socionext,uniphier-gpio";
283 reg = <0x550000b8 0x8>;
284 gpio-controller;
285 #gpio-cells = <2>;
286 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900287
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900288 port21x: gpio@550000c0 {
289 compatible = "socionext,uniphier-gpio";
290 reg = <0x550000c0 0x8>;
291 gpio-controller;
292 #gpio-cells = <2>;
293 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900294
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900295 port22x: gpio@550000c8 {
296 compatible = "socionext,uniphier-gpio";
297 reg = <0x550000c8 0x8>;
298 gpio-controller;
299 #gpio-cells = <2>;
300 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900301
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900302 port23x: gpio@550000d0 {
303 compatible = "socionext,uniphier-gpio";
304 reg = <0x550000d0 0x8>;
305 gpio-controller;
306 #gpio-cells = <2>;
307 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900308
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900309 port24x: gpio@550000d8 {
310 compatible = "socionext,uniphier-gpio";
311 reg = <0x550000d8 0x8>;
312 gpio-controller;
313 #gpio-cells = <2>;
314 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900315
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900316 port25x: gpio@550000e0 {
317 compatible = "socionext,uniphier-gpio";
318 reg = <0x550000e0 0x8>;
319 gpio-controller;
320 #gpio-cells = <2>;
321 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900322
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900323 port26x: gpio@550000e8 {
324 compatible = "socionext,uniphier-gpio";
325 reg = <0x550000e8 0x8>;
326 gpio-controller;
327 #gpio-cells = <2>;
328 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900329
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900330 port27x: gpio@550000f0 {
331 compatible = "socionext,uniphier-gpio";
332 reg = <0x550000f0 0x8>;
333 gpio-controller;
334 #gpio-cells = <2>;
335 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900336
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900337 port28x: gpio@550000f8 {
338 compatible = "socionext,uniphier-gpio";
339 reg = <0x550000f8 0x8>;
340 gpio-controller;
341 #gpio-cells = <2>;
342 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900343
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900344 port29x: gpio@55000100 {
345 compatible = "socionext,uniphier-gpio";
346 reg = <0x55000100 0x8>;
347 gpio-controller;
348 #gpio-cells = <2>;
349 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900350
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900351 port30x: gpio@55000108 {
352 compatible = "socionext,uniphier-gpio";
353 reg = <0x55000108 0x8>;
354 gpio-controller;
355 #gpio-cells = <2>;
356 };
Masahiro Yamadaff7bf562014-12-06 00:03:23 +0900357
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900358 i2c0: i2c@58780000 {
359 compatible = "socionext,uniphier-fi2c";
360 status = "disabled";
361 reg = <0x58780000 0x80>;
362 #address-cells = <1>;
363 #size-cells = <0>;
364 interrupts = <0 41 4>;
365 pinctrl-names = "default";
366 pinctrl-0 = <&pinctrl_i2c0>;
367 clocks = <&peri_clk 4>;
368 clock-frequency = <100000>;
369 };
Masahiro Yamadaff7bf562014-12-06 00:03:23 +0900370
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900371 i2c1: i2c@58781000 {
372 compatible = "socionext,uniphier-fi2c";
373 status = "disabled";
374 reg = <0x58781000 0x80>;
375 #address-cells = <1>;
376 #size-cells = <0>;
377 interrupts = <0 42 4>;
378 pinctrl-names = "default";
379 pinctrl-0 = <&pinctrl_i2c1>;
380 clocks = <&peri_clk 5>;
381 clock-frequency = <100000>;
382 };
Masahiro Yamadaff7bf562014-12-06 00:03:23 +0900383
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900384 i2c2: i2c@58782000 {
385 compatible = "socionext,uniphier-fi2c";
386 status = "disabled";
387 reg = <0x58782000 0x80>;
388 #address-cells = <1>;
389 #size-cells = <0>;
390 interrupts = <0 43 4>;
391 pinctrl-names = "default";
392 pinctrl-0 = <&pinctrl_i2c2>;
393 clocks = <&peri_clk 6>;
394 clock-frequency = <100000>;
395 };
Masahiro Yamadaff7bf562014-12-06 00:03:23 +0900396
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900397 i2c3: i2c@58783000 {
398 compatible = "socionext,uniphier-fi2c";
399 status = "disabled";
400 reg = <0x58783000 0x80>;
401 #address-cells = <1>;
402 #size-cells = <0>;
403 interrupts = <0 44 4>;
404 pinctrl-names = "default";
405 pinctrl-0 = <&pinctrl_i2c3>;
406 clocks = <&peri_clk 7>;
407 clock-frequency = <100000>;
408 };
Masahiro Yamadaff7bf562014-12-06 00:03:23 +0900409
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900410 /* i2c4 does not exist */
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +0900411
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900412 /* chip-internal connection for DMD */
413 i2c5: i2c@58785000 {
414 compatible = "socionext,uniphier-fi2c";
415 reg = <0x58785000 0x80>;
416 #address-cells = <1>;
417 #size-cells = <0>;
418 interrupts = <0 25 4>;
419 clocks = <&peri_clk 9>;
420 clock-frequency = <400000>;
421 };
Masahiro Yamada9a724622014-11-26 18:34:01 +0900422
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900423 /* chip-internal connection for HDMI */
424 i2c6: i2c@58786000 {
425 compatible = "socionext,uniphier-fi2c";
426 reg = <0x58786000 0x80>;
427 #address-cells = <1>;
428 #size-cells = <0>;
429 interrupts = <0 26 4>;
430 clocks = <&peri_clk 10>;
431 clock-frequency = <400000>;
432 };
Masahiro Yamada299307d2016-02-18 19:52:50 +0900433
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900434 system_bus: system-bus@58c00000 {
435 compatible = "socionext,uniphier-system-bus";
436 status = "disabled";
437 reg = <0x58c00000 0x400>;
438 #address-cells = <2>;
439 #size-cells = <1>;
440 pinctrl-names = "default";
441 pinctrl-0 = <&pinctrl_system_bus>;
442 };
Masahiro Yamada299307d2016-02-18 19:52:50 +0900443
Masahiro Yamada938ab162017-05-15 14:23:46 +0900444 smpctrl@59801000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900445 compatible = "socionext,uniphier-smpctrl";
446 reg = <0x59801000 0x400>;
447 };
Masahiro Yamada299307d2016-02-18 19:52:50 +0900448
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900449 mioctrl@59810000 {
450 compatible = "socionext,uniphier-pro4-mioctrl",
451 "simple-mfd", "syscon";
452 reg = <0x59810000 0x800>;
453 u-boot,dm-pre-reloc;
Masahiro Yamadaff7bf562014-12-06 00:03:23 +0900454
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900455 mio_clk: clock {
456 compatible = "socionext,uniphier-pro4-mio-clock";
457 #clock-cells = <1>;
458 };
Masahiro Yamada73e8efc2015-02-27 02:26:59 +0900459
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900460 mio_rst: reset {
461 compatible = "socionext,uniphier-pro4-mio-reset";
462 #reset-cells = <1>;
463 };
464 };
Masahiro Yamada2707e832016-06-29 19:39:02 +0900465
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900466 perictrl@59820000 {
467 compatible = "socionext,uniphier-pro4-perictrl",
468 "simple-mfd", "syscon";
469 reg = <0x59820000 0x200>;
Masahiro Yamada73e8efc2015-02-27 02:26:59 +0900470
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900471 peri_clk: clock {
472 compatible = "socionext,uniphier-pro4-peri-clock";
473 #clock-cells = <1>;
474 };
Masahiro Yamada37649af2015-08-28 22:33:13 +0900475
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900476 peri_rst: reset {
477 compatible = "socionext,uniphier-pro4-peri-reset";
478 #reset-cells = <1>;
479 };
480 };
Masahiro Yamada224e2f72016-02-02 21:11:33 +0900481
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900482 sd: sdhc@5a400000 {
483 compatible = "socionext,uniphier-sdhc";
484 status = "disabled";
485 reg = <0x5a400000 0x200>;
486 interrupts = <0 76 4>;
487 pinctrl-names = "default", "1.8v";
488 pinctrl-0 = <&pinctrl_sd>;
489 pinctrl-1 = <&pinctrl_sd_1v8>;
490 clocks = <&mio_clk 0>;
491 reset-names = "host", "bridge";
492 resets = <&mio_rst 0>, <&mio_rst 3>;
493 bus-width = <4>;
494 cap-sd-highspeed;
495 sd-uhs-sdr12;
496 sd-uhs-sdr25;
497 sd-uhs-sdr50;
498 };
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +0900499
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900500 emmc: sdhc@5a500000 {
501 compatible = "socionext,uniphier-sdhc";
502 status = "disabled";
503 reg = <0x5a500000 0x200>;
504 interrupts = <0 78 4>;
505 pinctrl-names = "default", "1.8v";
506 pinctrl-0 = <&pinctrl_emmc>;
507 pinctrl-1 = <&pinctrl_emmc_1v8>;
508 clocks = <&mio_clk 1>;
509 reset-names = "host", "bridge";
510 resets = <&mio_rst 1>, <&mio_rst 4>;
511 bus-width = <8>;
512 non-removable;
513 cap-mmc-highspeed;
514 cap-mmc-hw-reset;
515 };
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +0900516
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900517 sd1: sdhc@5a600000 {
518 compatible = "socionext,uniphier-sdhc";
519 status = "disabled";
520 reg = <0x5a600000 0x200>;
521 interrupts = <0 85 4>;
522 pinctrl-names = "default", "1.8v";
523 pinctrl-0 = <&pinctrl_sd1>;
524 pinctrl-1 = <&pinctrl_sd1_1v8>;
525 clocks = <&mio_clk 2>;
526 resets = <&mio_rst 2>, <&mio_rst 5>;
527 bus-width = <4>;
528 cap-sd-highspeed;
529 sd-uhs-sdr12;
530 sd-uhs-sdr25;
531 sd-uhs-sdr50;
532 };
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +0900533
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900534 usb2: usb@5a800100 {
535 compatible = "socionext,uniphier-ehci", "generic-ehci";
536 status = "disabled";
537 reg = <0x5a800100 0x100>;
538 interrupts = <0 80 4>;
539 pinctrl-names = "default";
540 pinctrl-0 = <&pinctrl_usb2>;
541 clocks = <&mio_clk 7>, <&mio_clk 8>, <&mio_clk 12>;
542 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
543 <&mio_rst 12>;
544 };
Masahiro Yamada37649af2015-08-28 22:33:13 +0900545
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900546 usb3: usb@5a810100 {
547 compatible = "socionext,uniphier-ehci", "generic-ehci";
548 status = "disabled";
549 reg = <0x5a810100 0x100>;
550 interrupts = <0 81 4>;
551 pinctrl-names = "default";
552 pinctrl-0 = <&pinctrl_usb3>;
553 clocks = <&mio_clk 7>, <&mio_clk 9>, <&mio_clk 13>;
554 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
555 <&mio_rst 13>;
556 };
Masahiro Yamada1d5df7b2016-02-02 21:11:36 +0900557
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900558 soc-glue@5f800000 {
559 compatible = "socionext,uniphier-pro4-soc-glue",
560 "simple-mfd", "syscon";
561 reg = <0x5f800000 0x2000>;
562 u-boot,dm-pre-reloc;
Masahiro Yamada80951832016-02-02 21:11:35 +0900563
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900564 pinctrl: pinctrl {
565 compatible = "socionext,uniphier-pro4-pinctrl";
566 u-boot,dm-pre-reloc;
567 };
568 };
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900569
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900570 aidet@5fc20000 {
571 compatible = "simple-mfd", "syscon";
572 reg = <0x5fc20000 0x200>;
573 };
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900574
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900575 timer@60000200 {
576 compatible = "arm,cortex-a9-global-timer";
577 reg = <0x60000200 0x20>;
578 interrupts = <1 11 0x304>;
579 clocks = <&arm_timer_clk>;
580 };
Masahiro Yamadae84513b2016-02-02 21:11:34 +0900581
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900582 timer@60000600 {
583 compatible = "arm,cortex-a9-twd-timer";
584 reg = <0x60000600 0x20>;
585 interrupts = <1 13 0x304>;
586 clocks = <&arm_timer_clk>;
587 };
588
589 intc: interrupt-controller@60001000 {
590 compatible = "arm,cortex-a9-gic";
591 reg = <0x60001000 0x1000>,
592 <0x60000100 0x100>;
593 #interrupt-cells = <3>;
594 interrupt-controller;
595 };
596
597 sysctrl@61840000 {
598 compatible = "socionext,uniphier-pro4-sysctrl",
599 "simple-mfd", "syscon";
600 reg = <0x61840000 0x10000>;
601
602 sys_clk: clock {
603 compatible = "socionext,uniphier-pro4-clock";
604 #clock-cells = <1>;
605 };
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900606
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900607 sys_rst: reset {
608 compatible = "socionext,uniphier-pro4-reset";
609 #reset-cells = <1>;
610 };
611 };
612
613 usb0: usb@65b00000 {
614 compatible = "socionext,uniphier-pro4-dwc3";
615 status = "disabled";
616 reg = <0x65b00000 0x1000>;
617 #address-cells = <1>;
618 #size-cells = <1>;
619 ranges;
620 pinctrl-names = "default";
621 pinctrl-0 = <&pinctrl_usb0>;
622 dwc3@65a00000 {
623 compatible = "snps,dwc3";
624 reg = <0x65a00000 0x10000>;
625 interrupts = <0 134 4>;
626 tx-fifo-resize;
627 };
628 };
629
630 usb1: usb@65d00000 {
631 compatible = "socionext,uniphier-pro4-dwc3";
632 status = "disabled";
633 reg = <0x65d00000 0x1000>;
634 #address-cells = <1>;
635 #size-cells = <1>;
636 ranges;
637 pinctrl-names = "default";
638 pinctrl-0 = <&pinctrl_usb1>;
639 dwc3@65c00000 {
640 compatible = "snps,dwc3";
641 reg = <0x65c00000 0x10000>;
642 interrupts = <0 137 4>;
643 tx-fifo-resize;
644 };
645 };
646
647 nand: nand@68000000 {
Masahiro Yamada938ab162017-05-15 14:23:46 +0900648 compatible = "socionext,uniphier-denali-nand-v5a";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900649 status = "disabled";
650 reg-names = "nand_data", "denali_reg";
651 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
652 interrupts = <0 65 4>;
653 pinctrl-names = "default";
654 pinctrl-0 = <&pinctrl_nand>;
655 clocks = <&sys_clk 2>;
656 nand-ecc-strength = <8>;
657 };
658 };
Masahiro Yamadae84513b2016-02-02 21:11:34 +0900659};
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900660
661/include/ "uniphier-pinctrl.dtsi"