blob: a29597ae88e0c94f4705182e9ea3c78a17bea3b0 [file] [log] [blame]
Masahiro Yamadac857ded2015-08-28 22:33:14 +09001/*
Masahiro Yamada39a67ff2016-10-07 16:43:00 +09002 * Device Tree Source for UniPhier Pro5 SoC
Masahiro Yamadac857ded2015-08-28 22:33:14 +09003 *
Masahiro Yamada39a67ff2016-10-07 16:43:00 +09004 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadac857ded2015-08-28 22:33:14 +09006 *
Masahiro Yamada31a17882017-06-22 16:46:40 +09007 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Masahiro Yamadac857ded2015-08-28 22:33:14 +09008 */
9
Masahiro Yamadac857ded2015-08-28 22:33:14 +090010/ {
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090011 compatible = "socionext,uniphier-pro5";
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090012 #address-cells = <1>;
13 #size-cells = <1>;
Masahiro Yamadac857ded2015-08-28 22:33:14 +090014
15 cpus {
16 #address-cells = <1>;
17 #size-cells = <0>;
Masahiro Yamadac857ded2015-08-28 22:33:14 +090018
19 cpu@0 {
20 device_type = "cpu";
21 compatible = "arm,cortex-a9";
22 reg = <0>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090023 clocks = <&sys_clk 32>;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090024 enable-method = "psci";
Masahiro Yamadab36f3052015-12-16 10:54:08 +090025 next-level-cache = <&l2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090026 operating-points-v2 = <&cpu_opp>;
Masahiro Yamadac857ded2015-08-28 22:33:14 +090027 };
28
29 cpu@1 {
30 device_type = "cpu";
31 compatible = "arm,cortex-a9";
32 reg = <1>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090033 clocks = <&sys_clk 32>;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090034 enable-method = "psci";
Masahiro Yamadab36f3052015-12-16 10:54:08 +090035 next-level-cache = <&l2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090036 operating-points-v2 = <&cpu_opp>;
Masahiro Yamadac857ded2015-08-28 22:33:14 +090037 };
38 };
39
Masahiro Yamada6e485b22016-12-05 18:31:39 +090040 cpu_opp: opp_table {
41 compatible = "operating-points-v2";
42 opp-shared;
43
Masahiro Yamada552acbf2017-04-20 16:54:44 +090044 opp-100000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090045 opp-hz = /bits/ 64 <100000000>;
46 clock-latency-ns = <300>;
47 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090048 opp-116667000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090049 opp-hz = /bits/ 64 <116667000>;
50 clock-latency-ns = <300>;
51 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090052 opp-150000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090053 opp-hz = /bits/ 64 <150000000>;
54 clock-latency-ns = <300>;
55 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090056 opp-175000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090057 opp-hz = /bits/ 64 <175000000>;
58 clock-latency-ns = <300>;
59 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090060 opp-200000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090061 opp-hz = /bits/ 64 <200000000>;
62 clock-latency-ns = <300>;
63 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090064 opp-233334000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090065 opp-hz = /bits/ 64 <233334000>;
66 clock-latency-ns = <300>;
67 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090068 opp-300000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090069 opp-hz = /bits/ 64 <300000000>;
70 clock-latency-ns = <300>;
71 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090072 opp-350000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090073 opp-hz = /bits/ 64 <350000000>;
74 clock-latency-ns = <300>;
75 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090076 opp-400000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090077 opp-hz = /bits/ 64 <400000000>;
78 clock-latency-ns = <300>;
79 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090080 opp-466667000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090081 opp-hz = /bits/ 64 <466667000>;
82 clock-latency-ns = <300>;
83 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090084 opp-600000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090085 opp-hz = /bits/ 64 <600000000>;
86 clock-latency-ns = <300>;
87 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090088 opp-700000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090089 opp-hz = /bits/ 64 <700000000>;
90 clock-latency-ns = <300>;
91 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090092 opp-800000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090093 opp-hz = /bits/ 64 <800000000>;
94 clock-latency-ns = <300>;
95 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090096 opp-933334000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090097 opp-hz = /bits/ 64 <933334000>;
98 clock-latency-ns = <300>;
99 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +0900100 opp-1200000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900101 opp-hz = /bits/ 64 <1200000000>;
102 clock-latency-ns = <300>;
103 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +0900104 opp-1400000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900105 opp-hz = /bits/ 64 <1400000000>;
106 clock-latency-ns = <300>;
107 };
108 };
109
110 psci {
111 compatible = "arm,psci-0.2";
112 method = "smc";
113 };
114
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900115 clocks {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900116 refclk: ref {
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900117 compatible = "fixed-clock";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900118 #clock-cells = <0>;
119 clock-frequency = <20000000>;
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900120 };
121
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900122 arm_timer_clk: arm_timer_clk {
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900123 #clock-cells = <0>;
124 compatible = "fixed-clock";
125 clock-frequency = <50000000>;
126 };
127 };
128
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900129 soc {
130 compatible = "simple-bus";
131 #address-cells = <1>;
132 #size-cells = <1>;
133 ranges;
134 interrupt-parent = <&intc>;
135 u-boot,dm-pre-reloc;
Masahiro Yamadab36f3052015-12-16 10:54:08 +0900136
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900137 l2: l2-cache@500c0000 {
138 compatible = "socionext,uniphier-system-cache";
139 reg = <0x500c0000 0x2000>, <0x503c0100 0x8>,
140 <0x506c0000 0x400>;
141 interrupts = <0 190 4>, <0 191 4>;
142 cache-unified;
143 cache-size = <(2 * 1024 * 1024)>;
144 cache-sets = <512>;
145 cache-line-size = <128>;
146 cache-level = <2>;
147 next-level-cache = <&l3>;
148 };
Masahiro Yamadab36f3052015-12-16 10:54:08 +0900149
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900150 l3: l3-cache@500c8000 {
151 compatible = "socionext,uniphier-system-cache";
152 reg = <0x500c8000 0x2000>, <0x503c8100 0x8>,
153 <0x506c8000 0x400>;
154 interrupts = <0 174 4>, <0 175 4>;
155 cache-unified;
156 cache-size = <(2 * 1024 * 1024)>;
157 cache-sets = <512>;
158 cache-line-size = <256>;
159 cache-level = <3>;
160 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900161
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900162 serial0: serial@54006800 {
163 compatible = "socionext,uniphier-uart";
164 status = "disabled";
165 reg = <0x54006800 0x40>;
166 interrupts = <0 33 4>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&pinctrl_uart0>;
169 clocks = <&peri_clk 0>;
170 clock-frequency = <73728000>;
171 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900172
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900173 serial1: serial@54006900 {
174 compatible = "socionext,uniphier-uart";
175 status = "disabled";
176 reg = <0x54006900 0x40>;
177 interrupts = <0 35 4>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_uart1>;
180 clocks = <&peri_clk 1>;
181 clock-frequency = <73728000>;
182 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900183
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900184 serial2: serial@54006a00 {
185 compatible = "socionext,uniphier-uart";
186 status = "disabled";
187 reg = <0x54006a00 0x40>;
188 interrupts = <0 37 4>;
189 pinctrl-names = "default";
190 pinctrl-0 = <&pinctrl_uart2>;
191 clocks = <&peri_clk 2>;
192 clock-frequency = <73728000>;
193 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900194
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900195 serial3: serial@54006b00 {
196 compatible = "socionext,uniphier-uart";
197 status = "disabled";
198 reg = <0x54006b00 0x40>;
199 interrupts = <0 177 4>;
200 pinctrl-names = "default";
201 pinctrl-0 = <&pinctrl_uart3>;
202 clocks = <&peri_clk 3>;
203 clock-frequency = <73728000>;
204 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900205
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900206 port0x: gpio@55000008 {
207 compatible = "socionext,uniphier-gpio";
208 reg = <0x55000008 0x8>;
209 gpio-controller;
210 #gpio-cells = <2>;
211 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900212
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900213 port1x: gpio@55000010 {
214 compatible = "socionext,uniphier-gpio";
215 reg = <0x55000010 0x8>;
216 gpio-controller;
217 #gpio-cells = <2>;
218 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900219
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900220 port2x: gpio@55000018 {
221 compatible = "socionext,uniphier-gpio";
222 reg = <0x55000018 0x8>;
223 gpio-controller;
224 #gpio-cells = <2>;
225 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900226
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900227 port3x: gpio@55000020 {
228 compatible = "socionext,uniphier-gpio";
229 reg = <0x55000020 0x8>;
230 gpio-controller;
231 #gpio-cells = <2>;
232 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900233
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900234 port4: gpio@55000028 {
235 compatible = "socionext,uniphier-gpio";
236 reg = <0x55000028 0x8>;
237 gpio-controller;
238 #gpio-cells = <2>;
239 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900240
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900241 port5x: gpio@55000030 {
242 compatible = "socionext,uniphier-gpio";
243 reg = <0x55000030 0x8>;
244 gpio-controller;
245 #gpio-cells = <2>;
246 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900247
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900248 port6x: gpio@55000038 {
249 compatible = "socionext,uniphier-gpio";
250 reg = <0x55000038 0x8>;
251 gpio-controller;
252 #gpio-cells = <2>;
253 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900254
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900255 port7x: gpio@55000040 {
256 compatible = "socionext,uniphier-gpio";
257 reg = <0x55000040 0x8>;
258 gpio-controller;
259 #gpio-cells = <2>;
260 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900261
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900262 port8x: gpio@55000048 {
263 compatible = "socionext,uniphier-gpio";
264 reg = <0x55000048 0x8>;
265 gpio-controller;
266 #gpio-cells = <2>;
267 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900268
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900269 port9x: gpio@55000050 {
270 compatible = "socionext,uniphier-gpio";
271 reg = <0x55000050 0x8>;
272 gpio-controller;
273 #gpio-cells = <2>;
274 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900275
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900276 port10x: gpio@55000058 {
277 compatible = "socionext,uniphier-gpio";
278 reg = <0x55000058 0x8>;
279 gpio-controller;
280 #gpio-cells = <2>;
281 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900282
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900283 port11x: gpio@55000060 {
284 compatible = "socionext,uniphier-gpio";
285 reg = <0x55000060 0x8>;
286 gpio-controller;
287 #gpio-cells = <2>;
288 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900289
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900290 port12x: gpio@55000068 {
291 compatible = "socionext,uniphier-gpio";
292 reg = <0x55000068 0x8>;
293 gpio-controller;
294 #gpio-cells = <2>;
295 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900296
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900297 port13x: gpio@55000070 {
298 compatible = "socionext,uniphier-gpio";
299 reg = <0x55000070 0x8>;
300 gpio-controller;
301 #gpio-cells = <2>;
302 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900303
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900304 port14x: gpio@55000078 {
305 compatible = "socionext,uniphier-gpio";
306 reg = <0x55000078 0x8>;
307 gpio-controller;
308 #gpio-cells = <2>;
309 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900310
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900311 port17x: gpio@550000a0 {
312 compatible = "socionext,uniphier-gpio";
313 reg = <0x550000a0 0x8>;
314 gpio-controller;
315 #gpio-cells = <2>;
316 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900317
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900318 port18x: gpio@550000a8 {
319 compatible = "socionext,uniphier-gpio";
320 reg = <0x550000a8 0x8>;
321 gpio-controller;
322 #gpio-cells = <2>;
323 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900324
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900325 port19x: gpio@550000b0 {
326 compatible = "socionext,uniphier-gpio";
327 reg = <0x550000b0 0x8>;
328 gpio-controller;
329 #gpio-cells = <2>;
330 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900331
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900332 port20x: gpio@550000b8 {
333 compatible = "socionext,uniphier-gpio";
334 reg = <0x550000b8 0x8>;
335 gpio-controller;
336 #gpio-cells = <2>;
337 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900338
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900339 port21x: gpio@550000c0 {
340 compatible = "socionext,uniphier-gpio";
341 reg = <0x550000c0 0x8>;
342 gpio-controller;
343 #gpio-cells = <2>;
344 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900345
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900346 port22x: gpio@550000c8 {
347 compatible = "socionext,uniphier-gpio";
348 reg = <0x550000c8 0x8>;
349 gpio-controller;
350 #gpio-cells = <2>;
351 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900352
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900353 port23x: gpio@550000d0 {
354 compatible = "socionext,uniphier-gpio";
355 reg = <0x550000d0 0x8>;
356 gpio-controller;
357 #gpio-cells = <2>;
358 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900359
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900360 port24x: gpio@550000d8 {
361 compatible = "socionext,uniphier-gpio";
362 reg = <0x550000d8 0x8>;
363 gpio-controller;
364 #gpio-cells = <2>;
365 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900366
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900367 port25x: gpio@550000e0 {
368 compatible = "socionext,uniphier-gpio";
369 reg = <0x550000e0 0x8>;
370 gpio-controller;
371 #gpio-cells = <2>;
372 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900373
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900374 port26x: gpio@550000e8 {
375 compatible = "socionext,uniphier-gpio";
376 reg = <0x550000e8 0x8>;
377 gpio-controller;
378 #gpio-cells = <2>;
379 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900380
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900381 port27x: gpio@550000f0 {
382 compatible = "socionext,uniphier-gpio";
383 reg = <0x550000f0 0x8>;
384 gpio-controller;
385 #gpio-cells = <2>;
386 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900387
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900388 port28x: gpio@550000f8 {
389 compatible = "socionext,uniphier-gpio";
390 reg = <0x550000f8 0x8>;
391 gpio-controller;
392 #gpio-cells = <2>;
393 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900394
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900395 port29x: gpio@55000100 {
396 compatible = "socionext,uniphier-gpio";
397 reg = <0x55000100 0x8>;
398 gpio-controller;
399 #gpio-cells = <2>;
400 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900401
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900402 port30x: gpio@55000108 {
403 compatible = "socionext,uniphier-gpio";
404 reg = <0x55000108 0x8>;
405 gpio-controller;
406 #gpio-cells = <2>;
407 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900408
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900409 i2c0: i2c@58780000 {
410 compatible = "socionext,uniphier-fi2c";
411 status = "disabled";
412 reg = <0x58780000 0x80>;
413 #address-cells = <1>;
414 #size-cells = <0>;
415 interrupts = <0 41 4>;
416 pinctrl-names = "default";
417 pinctrl-0 = <&pinctrl_i2c0>;
418 clocks = <&peri_clk 4>;
419 clock-frequency = <100000>;
420 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900421
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900422 i2c1: i2c@58781000 {
423 compatible = "socionext,uniphier-fi2c";
424 status = "disabled";
425 reg = <0x58781000 0x80>;
426 #address-cells = <1>;
427 #size-cells = <0>;
428 interrupts = <0 42 4>;
429 pinctrl-names = "default";
430 pinctrl-0 = <&pinctrl_i2c1>;
431 clocks = <&peri_clk 5>;
432 clock-frequency = <100000>;
433 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900434
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900435 i2c2: i2c@58782000 {
436 compatible = "socionext,uniphier-fi2c";
437 status = "disabled";
438 reg = <0x58782000 0x80>;
439 #address-cells = <1>;
440 #size-cells = <0>;
441 interrupts = <0 43 4>;
442 pinctrl-names = "default";
443 pinctrl-0 = <&pinctrl_i2c2>;
444 clocks = <&peri_clk 6>;
445 clock-frequency = <100000>;
446 };
Masahiro Yamada2707e832016-06-29 19:39:02 +0900447
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900448 i2c3: i2c@58783000 {
449 compatible = "socionext,uniphier-fi2c";
450 status = "disabled";
451 reg = <0x58783000 0x80>;
452 #address-cells = <1>;
453 #size-cells = <0>;
454 interrupts = <0 44 4>;
455 pinctrl-names = "default";
456 pinctrl-0 = <&pinctrl_i2c3>;
457 clocks = <&peri_clk 7>;
458 clock-frequency = <100000>;
459 };
Masahiro Yamada299307d2016-02-18 19:52:50 +0900460
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900461 /* i2c4 does not exist */
Masahiro Yamada299307d2016-02-18 19:52:50 +0900462
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900463 /* chip-internal connection for DMD */
464 i2c5: i2c@58785000 {
465 compatible = "socionext,uniphier-fi2c";
466 reg = <0x58785000 0x80>;
467 #address-cells = <1>;
468 #size-cells = <0>;
469 interrupts = <0 25 4>;
470 clocks = <&peri_clk 9>;
471 clock-frequency = <400000>;
472 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900473
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900474 /* chip-internal connection for HDMI */
475 i2c6: i2c@58786000 {
476 compatible = "socionext,uniphier-fi2c";
477 reg = <0x58786000 0x80>;
478 #address-cells = <1>;
479 #size-cells = <0>;
480 interrupts = <0 26 4>;
481 clocks = <&peri_clk 10>;
482 clock-frequency = <400000>;
483 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900484
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900485 system_bus: system-bus@58c00000 {
486 compatible = "socionext,uniphier-system-bus";
487 status = "disabled";
488 reg = <0x58c00000 0x400>;
489 #address-cells = <2>;
490 #size-cells = <1>;
491 pinctrl-names = "default";
492 pinctrl-0 = <&pinctrl_system_bus>;
493 };
Masahiro Yamada224e2f72016-02-02 21:11:33 +0900494
Masahiro Yamada938ab162017-05-15 14:23:46 +0900495 smpctrl@59801000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900496 compatible = "socionext,uniphier-smpctrl";
497 reg = <0x59801000 0x400>;
498 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900499
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900500 sdctrl@59810000 {
501 compatible = "socionext,uniphier-pro5-sdctrl",
502 "simple-mfd", "syscon";
503 reg = <0x59810000 0x800>;
504 u-boot,dm-pre-reloc;
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +0900505
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900506 sd_clk: clock {
507 compatible = "socionext,uniphier-pro5-sd-clock";
508 #clock-cells = <1>;
509 };
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +0900510
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900511 sd_rst: reset {
512 compatible = "socionext,uniphier-pro5-sd-reset";
513 #reset-cells = <1>;
514 };
515 };
Masahiro Yamadac857ded2015-08-28 22:33:14 +0900516
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900517 perictrl@59820000 {
518 compatible = "socionext,uniphier-pro5-perictrl",
519 "simple-mfd", "syscon";
520 reg = <0x59820000 0x200>;
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900521
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900522 peri_clk: clock {
523 compatible = "socionext,uniphier-pro5-peri-clock";
524 #clock-cells = <1>;
525 };
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900526
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900527 peri_rst: reset {
528 compatible = "socionext,uniphier-pro5-peri-reset";
529 #reset-cells = <1>;
530 };
531 };
Masahiro Yamada1d5df7b2016-02-02 21:11:36 +0900532
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900533 soc-glue@5f800000 {
534 compatible = "socionext,uniphier-pro5-soc-glue",
535 "simple-mfd", "syscon";
536 reg = <0x5f800000 0x2000>;
537 u-boot,dm-pre-reloc;
Masahiro Yamada80951832016-02-02 21:11:35 +0900538
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900539 pinctrl: pinctrl {
540 compatible = "socionext,uniphier-pro5-pinctrl";
541 u-boot,dm-pre-reloc;
542 };
543 };
Masahiro Yamadae84513b2016-02-02 21:11:34 +0900544
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900545 aidet@5fc20000 {
546 compatible = "simple-mfd", "syscon";
547 reg = <0x5fc20000 0x200>;
548 };
549
550 timer@60000200 {
551 compatible = "arm,cortex-a9-global-timer";
552 reg = <0x60000200 0x20>;
553 interrupts = <1 11 0x304>;
554 clocks = <&arm_timer_clk>;
555 };
556
557 timer@60000600 {
558 compatible = "arm,cortex-a9-twd-timer";
559 reg = <0x60000600 0x20>;
560 interrupts = <1 13 0x304>;
561 clocks = <&arm_timer_clk>;
562 };
563
564 intc: interrupt-controller@60001000 {
565 compatible = "arm,cortex-a9-gic";
566 reg = <0x60001000 0x1000>,
567 <0x60000100 0x100>;
568 #interrupt-cells = <3>;
569 interrupt-controller;
570 };
571
572 sysctrl@61840000 {
573 compatible = "socionext,uniphier-pro5-sysctrl",
574 "simple-mfd", "syscon";
575 reg = <0x61840000 0x10000>;
576
577 sys_clk: clock {
578 compatible = "socionext,uniphier-pro5-clock";
579 #clock-cells = <1>;
580 };
581
582 sys_rst: reset {
583 compatible = "socionext,uniphier-pro5-reset";
584 #reset-cells = <1>;
585 };
586 };
587
588 usb0: usb@65b00000 {
589 compatible = "socionext,uniphier-pro5-dwc3";
590 status = "disabled";
591 reg = <0x65b00000 0x1000>;
592 #address-cells = <1>;
593 #size-cells = <1>;
594 ranges;
595 pinctrl-names = "default";
596 pinctrl-0 = <&pinctrl_usb0>;
597 dwc3@65a00000 {
598 compatible = "snps,dwc3";
599 reg = <0x65a00000 0x10000>;
600 interrupts = <0 134 4>;
601 tx-fifo-resize;
602 };
603 };
604
605 usb1: usb@65d00000 {
606 compatible = "socionext,uniphier-pro5-dwc3";
607 status = "disabled";
608 reg = <0x65d00000 0x1000>;
609 #address-cells = <1>;
610 #size-cells = <1>;
611 ranges;
612 pinctrl-names = "default";
613 pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb2>;
614 dwc3@65c00000 {
615 compatible = "snps,dwc3";
616 reg = <0x65c00000 0x10000>;
617 interrupts = <0 137 4>;
618 tx-fifo-resize;
619 };
620 };
621
622 nand: nand@68000000 {
Masahiro Yamada552acbf2017-04-20 16:54:44 +0900623 compatible = "socionext,uniphier-denali-nand-v5b";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900624 status = "disabled";
625 reg-names = "nand_data", "denali_reg";
626 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
627 interrupts = <0 65 4>;
628 pinctrl-names = "default";
629 pinctrl-0 = <&pinctrl_nand>;
630 clocks = <&sys_clk 2>;
631 nand-ecc-strength = <8>;
632 };
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900633
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900634 emmc: sdhc@68400000 {
635 compatible = "socionext,uniphier-sdhc";
636 status = "disabled";
637 reg = <0x68400000 0x800>;
638 interrupts = <0 78 4>;
639 pinctrl-names = "default";
640 pinctrl-0 = <&pinctrl_emmc>;
641 clocks = <&sd_clk 1>;
642 reset-names = "host";
643 resets = <&sd_rst 1>;
644 bus-width = <8>;
645 non-removable;
646 cap-mmc-highspeed;
647 cap-mmc-hw-reset;
648 no-3-3-v;
649 };
650
651 sd: sdhc@68800000 {
652 compatible = "socionext,uniphier-sdhc";
653 status = "disabled";
654 reg = <0x68800000 0x800>;
655 interrupts = <0 76 4>;
656 pinctrl-names = "default", "1.8v";
657 pinctrl-0 = <&pinctrl_sd>;
658 pinctrl-1 = <&pinctrl_sd_1v8>;
659 clocks = <&sd_clk 0>;
660 reset-names = "host";
661 resets = <&sd_rst 0>;
662 bus-width = <4>;
663 cap-sd-highspeed;
664 sd-uhs-sdr12;
665 sd-uhs-sdr25;
666 sd-uhs-sdr50;
667 };
668 };
Masahiro Yamadae84513b2016-02-02 21:11:34 +0900669};
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900670
671/include/ "uniphier-pinctrl.dtsi"