blob: c304d90874f1efd0d5428f34d842513cc829ae74 [file] [log] [blame]
Masahiro Yamadaedbecf52015-08-28 22:33:15 +09001/*
Masahiro Yamada39a67ff2016-10-07 16:43:00 +09002 * Device Tree Source for UniPhier PXs2 SoC
Masahiro Yamadaedbecf52015-08-28 22:33:15 +09003 *
Masahiro Yamada39a67ff2016-10-07 16:43:00 +09004 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadaedbecf52015-08-28 22:33:15 +09006 *
Masahiro Yamada31a17882017-06-22 16:46:40 +09007 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Masahiro Yamadaedbecf52015-08-28 22:33:15 +09008 */
9
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090010/ {
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090011 compatible = "socionext,uniphier-pxs2";
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090012 #address-cells = <1>;
13 #size-cells = <1>;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090014
15 cpus {
16 #address-cells = <1>;
17 #size-cells = <0>;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +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 Yamadaedbecf52015-08-28 22:33:15 +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 Yamadaedbecf52015-08-28 22:33:15 +090037 };
38
39 cpu@2 {
40 device_type = "cpu";
41 compatible = "arm,cortex-a9";
42 reg = <2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090043 clocks = <&sys_clk 32>;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090044 enable-method = "psci";
Masahiro Yamadab36f3052015-12-16 10:54:08 +090045 next-level-cache = <&l2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090046 operating-points-v2 = <&cpu_opp>;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090047 };
48
49 cpu@3 {
50 device_type = "cpu";
51 compatible = "arm,cortex-a9";
52 reg = <3>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090053 clocks = <&sys_clk 32>;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090054 enable-method = "psci";
Masahiro Yamadab36f3052015-12-16 10:54:08 +090055 next-level-cache = <&l2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090056 operating-points-v2 = <&cpu_opp>;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090057 };
58 };
59
Masahiro Yamada6e485b22016-12-05 18:31:39 +090060 cpu_opp: opp_table {
61 compatible = "operating-points-v2";
62 opp-shared;
63
Masahiro Yamada552acbf2017-04-20 16:54:44 +090064 opp-100000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090065 opp-hz = /bits/ 64 <100000000>;
66 clock-latency-ns = <300>;
67 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090068 opp-150000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090069 opp-hz = /bits/ 64 <150000000>;
70 clock-latency-ns = <300>;
71 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090072 opp-200000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090073 opp-hz = /bits/ 64 <200000000>;
74 clock-latency-ns = <300>;
75 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090076 opp-300000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090077 opp-hz = /bits/ 64 <300000000>;
78 clock-latency-ns = <300>;
79 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090080 opp-400000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090081 opp-hz = /bits/ 64 <400000000>;
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-800000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090089 opp-hz = /bits/ 64 <800000000>;
90 clock-latency-ns = <300>;
91 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090092 opp-1200000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090093 opp-hz = /bits/ 64 <1200000000>;
94 clock-latency-ns = <300>;
95 };
96 };
97
98 psci {
99 compatible = "arm,psci-0.2";
100 method = "smc";
101 };
102
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900103 clocks {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900104 refclk: ref {
105 compatible = "fixed-clock";
106 #clock-cells = <0>;
107 clock-frequency = <25000000>;
108 };
109
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900110 arm_timer_clk: arm_timer_clk {
111 #clock-cells = <0>;
112 compatible = "fixed-clock";
113 clock-frequency = <50000000>;
114 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900115 };
116
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900117 soc {
118 compatible = "simple-bus";
119 #address-cells = <1>;
120 #size-cells = <1>;
121 ranges;
122 interrupt-parent = <&intc>;
123 u-boot,dm-pre-reloc;
Masahiro Yamadab36f3052015-12-16 10:54:08 +0900124
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900125 l2: l2-cache@500c0000 {
126 compatible = "socionext,uniphier-system-cache";
127 reg = <0x500c0000 0x2000>, <0x503c0100 0x8>,
128 <0x506c0000 0x400>;
129 interrupts = <0 174 4>, <0 175 4>, <0 190 4>, <0 191 4>;
130 cache-unified;
131 cache-size = <(1280 * 1024)>;
132 cache-sets = <512>;
133 cache-line-size = <128>;
134 cache-level = <2>;
135 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900136
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900137 serial0: serial@54006800 {
138 compatible = "socionext,uniphier-uart";
139 status = "disabled";
140 reg = <0x54006800 0x40>;
141 interrupts = <0 33 4>;
142 pinctrl-names = "default";
143 pinctrl-0 = <&pinctrl_uart0>;
144 clocks = <&peri_clk 0>;
145 clock-frequency = <88900000>;
146 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900147
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900148 serial1: serial@54006900 {
149 compatible = "socionext,uniphier-uart";
150 status = "disabled";
151 reg = <0x54006900 0x40>;
152 interrupts = <0 35 4>;
153 pinctrl-names = "default";
154 pinctrl-0 = <&pinctrl_uart1>;
155 clocks = <&peri_clk 1>;
156 clock-frequency = <88900000>;
157 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900158
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900159 serial2: serial@54006a00 {
160 compatible = "socionext,uniphier-uart";
161 status = "disabled";
162 reg = <0x54006a00 0x40>;
163 interrupts = <0 37 4>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_uart2>;
166 clocks = <&peri_clk 2>;
167 clock-frequency = <88900000>;
168 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900169
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900170 serial3: serial@54006b00 {
171 compatible = "socionext,uniphier-uart";
172 status = "disabled";
173 reg = <0x54006b00 0x40>;
174 interrupts = <0 177 4>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_uart3>;
177 clocks = <&peri_clk 3>;
178 clock-frequency = <88900000>;
179 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900180
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900181 port0x: gpio@55000008 {
182 compatible = "socionext,uniphier-gpio";
183 reg = <0x55000008 0x8>;
184 gpio-controller;
185 #gpio-cells = <2>;
186 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900187
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900188 port1x: gpio@55000010 {
189 compatible = "socionext,uniphier-gpio";
190 reg = <0x55000010 0x8>;
191 gpio-controller;
192 #gpio-cells = <2>;
193 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900194
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900195 port2x: gpio@55000018 {
196 compatible = "socionext,uniphier-gpio";
197 reg = <0x55000018 0x8>;
198 gpio-controller;
199 #gpio-cells = <2>;
200 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900201
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900202 port3x: gpio@55000020 {
203 compatible = "socionext,uniphier-gpio";
204 reg = <0x55000020 0x8>;
205 gpio-controller;
206 #gpio-cells = <2>;
207 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900208
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900209 port4: gpio@55000028 {
210 compatible = "socionext,uniphier-gpio";
211 reg = <0x55000028 0x8>;
212 gpio-controller;
213 #gpio-cells = <2>;
214 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900215
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900216 port5x: gpio@55000030 {
217 compatible = "socionext,uniphier-gpio";
218 reg = <0x55000030 0x8>;
219 gpio-controller;
220 #gpio-cells = <2>;
221 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900222
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900223 port6x: gpio@55000038 {
224 compatible = "socionext,uniphier-gpio";
225 reg = <0x55000038 0x8>;
226 gpio-controller;
227 #gpio-cells = <2>;
228 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900229
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900230 port7x: gpio@55000040 {
231 compatible = "socionext,uniphier-gpio";
232 reg = <0x55000040 0x8>;
233 gpio-controller;
234 #gpio-cells = <2>;
235 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900236
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900237 port8x: gpio@55000048 {
238 compatible = "socionext,uniphier-gpio";
239 reg = <0x55000048 0x8>;
240 gpio-controller;
241 #gpio-cells = <2>;
242 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900243
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900244 port9x: gpio@55000050 {
245 compatible = "socionext,uniphier-gpio";
246 reg = <0x55000050 0x8>;
247 gpio-controller;
248 #gpio-cells = <2>;
249 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900250
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900251 port10x: gpio@55000058 {
252 compatible = "socionext,uniphier-gpio";
253 reg = <0x55000058 0x8>;
254 gpio-controller;
255 #gpio-cells = <2>;
256 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900257
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900258 port12x: gpio@55000068 {
259 compatible = "socionext,uniphier-gpio";
260 reg = <0x55000068 0x8>;
261 gpio-controller;
262 #gpio-cells = <2>;
263 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900264
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900265 port13x: gpio@55000070 {
266 compatible = "socionext,uniphier-gpio";
267 reg = <0x55000070 0x8>;
268 gpio-controller;
269 #gpio-cells = <2>;
270 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900271
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900272 port14x: gpio@55000078 {
273 compatible = "socionext,uniphier-gpio";
274 reg = <0x55000078 0x8>;
275 gpio-controller;
276 #gpio-cells = <2>;
277 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900278
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900279 port15x: gpio@55000080 {
280 compatible = "socionext,uniphier-gpio";
281 reg = <0x55000080 0x8>;
282 gpio-controller;
283 #gpio-cells = <2>;
284 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900285
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900286 port16x: gpio@55000088 {
287 compatible = "socionext,uniphier-gpio";
288 reg = <0x55000088 0x8>;
289 gpio-controller;
290 #gpio-cells = <2>;
291 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900292
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900293 port17x: gpio@550000a0 {
294 compatible = "socionext,uniphier-gpio";
295 reg = <0x550000a0 0x8>;
296 gpio-controller;
297 #gpio-cells = <2>;
298 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900299
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900300 port18x: gpio@550000a8 {
301 compatible = "socionext,uniphier-gpio";
302 reg = <0x550000a8 0x8>;
303 gpio-controller;
304 #gpio-cells = <2>;
305 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900306
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900307 port19x: gpio@550000b0 {
308 compatible = "socionext,uniphier-gpio";
309 reg = <0x550000b0 0x8>;
310 gpio-controller;
311 #gpio-cells = <2>;
312 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900313
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900314 port20x: gpio@550000b8 {
315 compatible = "socionext,uniphier-gpio";
316 reg = <0x550000b8 0x8>;
317 gpio-controller;
318 #gpio-cells = <2>;
319 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900320
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900321 port21x: gpio@550000c0 {
322 compatible = "socionext,uniphier-gpio";
323 reg = <0x550000c0 0x8>;
324 gpio-controller;
325 #gpio-cells = <2>;
326 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900327
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900328 port22x: gpio@550000c8 {
329 compatible = "socionext,uniphier-gpio";
330 reg = <0x550000c8 0x8>;
331 gpio-controller;
332 #gpio-cells = <2>;
333 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900334
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900335 port23x: gpio@550000d0 {
336 compatible = "socionext,uniphier-gpio";
337 reg = <0x550000d0 0x8>;
338 gpio-controller;
339 #gpio-cells = <2>;
340 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900341
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900342 port24x: gpio@550000d8 {
343 compatible = "socionext,uniphier-gpio";
344 reg = <0x550000d8 0x8>;
345 gpio-controller;
346 #gpio-cells = <2>;
347 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900348
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900349 port25x: gpio@550000e0 {
350 compatible = "socionext,uniphier-gpio";
351 reg = <0x550000e0 0x8>;
352 gpio-controller;
353 #gpio-cells = <2>;
354 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900355
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900356 port26x: gpio@550000e8 {
357 compatible = "socionext,uniphier-gpio";
358 reg = <0x550000e8 0x8>;
359 gpio-controller;
360 #gpio-cells = <2>;
361 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900362
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900363 port27x: gpio@550000f0 {
364 compatible = "socionext,uniphier-gpio";
365 reg = <0x550000f0 0x8>;
366 gpio-controller;
367 #gpio-cells = <2>;
368 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900369
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900370 port28x: gpio@550000f8 {
371 compatible = "socionext,uniphier-gpio";
372 reg = <0x550000f8 0x8>;
373 gpio-controller;
374 #gpio-cells = <2>;
375 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900376
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900377 i2c0: i2c@58780000 {
378 compatible = "socionext,uniphier-fi2c";
379 status = "disabled";
380 reg = <0x58780000 0x80>;
381 #address-cells = <1>;
382 #size-cells = <0>;
383 interrupts = <0 41 4>;
384 pinctrl-names = "default";
385 pinctrl-0 = <&pinctrl_i2c0>;
Masahiro Yamadabf3b7212017-03-13 00:16:41 +0900386 clocks = <&peri_clk 4>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900387 clock-frequency = <100000>;
388 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900389
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900390 i2c1: i2c@58781000 {
391 compatible = "socionext,uniphier-fi2c";
392 status = "disabled";
393 reg = <0x58781000 0x80>;
394 #address-cells = <1>;
395 #size-cells = <0>;
396 interrupts = <0 42 4>;
397 pinctrl-names = "default";
398 pinctrl-0 = <&pinctrl_i2c1>;
Masahiro Yamadabf3b7212017-03-13 00:16:41 +0900399 clocks = <&peri_clk 5>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900400 clock-frequency = <100000>;
401 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900402
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900403 i2c2: i2c@58782000 {
404 compatible = "socionext,uniphier-fi2c";
405 status = "disabled";
406 reg = <0x58782000 0x80>;
407 #address-cells = <1>;
408 #size-cells = <0>;
409 interrupts = <0 43 4>;
410 pinctrl-names = "default";
411 pinctrl-0 = <&pinctrl_i2c2>;
Masahiro Yamadabf3b7212017-03-13 00:16:41 +0900412 clocks = <&peri_clk 6>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900413 clock-frequency = <100000>;
414 };
Masahiro Yamada299307d2016-02-18 19:52:50 +0900415
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900416 i2c3: i2c@58783000 {
417 compatible = "socionext,uniphier-fi2c";
418 status = "disabled";
419 reg = <0x58783000 0x80>;
420 #address-cells = <1>;
421 #size-cells = <0>;
422 interrupts = <0 44 4>;
423 pinctrl-names = "default";
424 pinctrl-0 = <&pinctrl_i2c3>;
Masahiro Yamadabf3b7212017-03-13 00:16:41 +0900425 clocks = <&peri_clk 7>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900426 clock-frequency = <100000>;
427 };
Masahiro Yamada299307d2016-02-18 19:52:50 +0900428
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900429 /* chip-internal connection for DMD */
430 i2c4: i2c@58784000 {
431 compatible = "socionext,uniphier-fi2c";
432 reg = <0x58784000 0x80>;
433 #address-cells = <1>;
434 #size-cells = <0>;
435 interrupts = <0 45 4>;
Masahiro Yamadabf3b7212017-03-13 00:16:41 +0900436 clocks = <&peri_clk 8>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900437 clock-frequency = <400000>;
438 };
Masahiro Yamada2707e832016-06-29 19:39:02 +0900439
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900440 /* chip-internal connection for STM */
441 i2c5: i2c@58785000 {
442 compatible = "socionext,uniphier-fi2c";
443 reg = <0x58785000 0x80>;
444 #address-cells = <1>;
445 #size-cells = <0>;
446 interrupts = <0 25 4>;
Masahiro Yamadabf3b7212017-03-13 00:16:41 +0900447 clocks = <&peri_clk 9>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900448 clock-frequency = <400000>;
449 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900450
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900451 /* chip-internal connection for HDMI */
452 i2c6: i2c@58786000 {
453 compatible = "socionext,uniphier-fi2c";
454 reg = <0x58786000 0x80>;
455 #address-cells = <1>;
456 #size-cells = <0>;
457 interrupts = <0 26 4>;
Masahiro Yamadabf3b7212017-03-13 00:16:41 +0900458 clocks = <&peri_clk 10>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900459 clock-frequency = <400000>;
460 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900461
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900462 system_bus: system-bus@58c00000 {
463 compatible = "socionext,uniphier-system-bus";
464 status = "disabled";
465 reg = <0x58c00000 0x400>;
466 #address-cells = <2>;
467 #size-cells = <1>;
468 pinctrl-names = "default";
469 pinctrl-0 = <&pinctrl_system_bus>;
470 };
Masahiro Yamada224e2f72016-02-02 21:11:33 +0900471
Masahiro Yamada938ab162017-05-15 14:23:46 +0900472 smpctrl@59801000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900473 compatible = "socionext,uniphier-smpctrl";
474 reg = <0x59801000 0x400>;
475 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900476
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900477 sdctrl@59810000 {
478 compatible = "socionext,uniphier-pxs2-sdctrl",
479 "simple-mfd", "syscon";
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900480 reg = <0x59810000 0x400>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900481 u-boot,dm-pre-reloc;
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +0900482
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900483 sd_clk: clock {
484 compatible = "socionext,uniphier-pxs2-sd-clock";
485 #clock-cells = <1>;
486 };
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +0900487
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900488 sd_rst: reset {
489 compatible = "socionext,uniphier-pxs2-sd-reset";
490 #reset-cells = <1>;
491 };
492 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900493
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900494 perictrl@59820000 {
495 compatible = "socionext,uniphier-pxs2-perictrl",
496 "simple-mfd", "syscon";
497 reg = <0x59820000 0x200>;
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900498
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900499 peri_clk: clock {
500 compatible = "socionext,uniphier-pxs2-peri-clock";
501 #clock-cells = <1>;
502 };
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900503
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900504 peri_rst: reset {
505 compatible = "socionext,uniphier-pxs2-peri-reset";
506 #reset-cells = <1>;
507 };
508 };
Masahiro Yamada1d5df7b2016-02-02 21:11:36 +0900509
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900510 emmc: sdhc@5a000000 {
511 compatible = "socionext,uniphier-sdhc";
512 status = "disabled";
513 reg = <0x5a000000 0x800>;
514 interrupts = <0 78 4>;
515 pinctrl-names = "default";
516 pinctrl-0 = <&pinctrl_emmc>;
517 clocks = <&sd_clk 1>;
518 reset-names = "host";
519 resets = <&sd_rst 1>;
520 bus-width = <8>;
521 non-removable;
522 cap-mmc-highspeed;
523 cap-mmc-hw-reset;
524 no-3-3-v;
525 };
Masahiro Yamada80951832016-02-02 21:11:35 +0900526
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900527 sd: sdhc@5a400000 {
528 compatible = "socionext,uniphier-sdhc";
529 status = "disabled";
530 reg = <0x5a400000 0x800>;
531 interrupts = <0 76 4>;
532 pinctrl-names = "default", "1.8v";
533 pinctrl-0 = <&pinctrl_sd>;
534 pinctrl-1 = <&pinctrl_sd_1v8>;
535 clocks = <&sd_clk 0>;
536 reset-names = "host";
537 resets = <&sd_rst 0>;
538 bus-width = <4>;
539 cap-sd-highspeed;
540 sd-uhs-sdr12;
541 sd-uhs-sdr25;
542 sd-uhs-sdr50;
543 };
Masahiro Yamadae84513b2016-02-02 21:11:34 +0900544
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900545 soc-glue@5f800000 {
546 compatible = "socionext,uniphier-pxs2-soc-glue",
547 "simple-mfd", "syscon";
548 reg = <0x5f800000 0x2000>;
549 u-boot,dm-pre-reloc;
550
551 pinctrl: pinctrl {
552 compatible = "socionext,uniphier-pxs2-pinctrl";
553 u-boot,dm-pre-reloc;
554 };
555 };
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900556
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900557 aidet: aidet@5fc20000 {
558 compatible = "socionext,uniphier-pxs2-aidet";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900559 reg = <0x5fc20000 0x200>;
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900560 interrupt-controller;
561 #interrupt-cells = <2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900562 };
563
564 timer@60000200 {
565 compatible = "arm,cortex-a9-global-timer";
566 reg = <0x60000200 0x20>;
567 interrupts = <1 11 0xf04>;
568 clocks = <&arm_timer_clk>;
569 };
570
571 timer@60000600 {
572 compatible = "arm,cortex-a9-twd-timer";
573 reg = <0x60000600 0x20>;
574 interrupts = <1 13 0xf04>;
575 clocks = <&arm_timer_clk>;
576 };
577
578 intc: interrupt-controller@60001000 {
579 compatible = "arm,cortex-a9-gic";
580 reg = <0x60001000 0x1000>,
581 <0x60000100 0x100>;
582 #interrupt-cells = <3>;
583 interrupt-controller;
584 };
585
586 sysctrl@61840000 {
587 compatible = "socionext,uniphier-pxs2-sysctrl",
588 "simple-mfd", "syscon";
Masahiro Yamadabf3b7212017-03-13 00:16:41 +0900589 reg = <0x61840000 0x10000>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900590
591 sys_clk: clock {
592 compatible = "socionext,uniphier-pxs2-clock";
593 #clock-cells = <1>;
594 };
595
596 sys_rst: reset {
597 compatible = "socionext,uniphier-pxs2-reset";
598 #reset-cells = <1>;
599 };
600 };
601
602 usb0: usb@65b00000 {
603 compatible = "socionext,uniphier-pxs2-dwc3";
604 status = "disabled";
605 reg = <0x65b00000 0x1000>;
606 #address-cells = <1>;
607 #size-cells = <1>;
608 ranges;
609 pinctrl-names = "default";
610 pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
611 dwc3@65a00000 {
612 compatible = "snps,dwc3";
613 reg = <0x65a00000 0x10000>;
614 interrupts = <0 134 4>;
Masahiro Yamadad2c8abd2017-08-13 09:01:17 +0900615 dr_mode = "host";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900616 tx-fifo-resize;
617 };
618 };
619
620 usb1: usb@65d00000 {
621 compatible = "socionext,uniphier-pxs2-dwc3";
622 status = "disabled";
623 reg = <0x65d00000 0x1000>;
624 #address-cells = <1>;
625 #size-cells = <1>;
626 ranges;
627 pinctrl-names = "default";
628 pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
629 dwc3@65c00000 {
630 compatible = "snps,dwc3";
631 reg = <0x65c00000 0x10000>;
632 interrupts = <0 137 4>;
Masahiro Yamadad2c8abd2017-08-13 09:01:17 +0900633 dr_mode = "host";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900634 tx-fifo-resize;
635 };
636 };
637
638 nand: nand@68000000 {
Masahiro Yamada552acbf2017-04-20 16:54:44 +0900639 compatible = "socionext,uniphier-denali-nand-v5b";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900640 status = "disabled";
641 reg-names = "nand_data", "denali_reg";
642 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
643 interrupts = <0 65 4>;
644 pinctrl-names = "default";
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900645 pinctrl-0 = <&pinctrl_nand2cs>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900646 clocks = <&sys_clk 2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900647 };
648 };
Masahiro Yamadae84513b2016-02-02 21:11:34 +0900649};
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900650
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900651#include "uniphier-pinctrl.dtsi"