blob: 48782a567af81a51a4e3777c3f865cdb69816b20 [file] [log] [blame]
Masahiro Yamada3e98fc12018-04-16 12:35:33 +09001// SPDX-License-Identifier: GPL-2.0+ OR MIT
2//
3// Device Tree Source for UniPhier PXs2 SoC
4//
5// Copyright (C) 2015-2016 Socionext Inc.
6// Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +09007
Masahiro Yamadab443fb42017-11-25 00:25:35 +09008#include <dt-bindings/gpio/uniphier-gpio.h>
9#include <dt-bindings/thermal/thermal.h>
10
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090011/ {
Masahiro Yamada52159d22016-10-07 16:43:00 +090012 compatible = "socionext,uniphier-pxs2";
Masahiro Yamadaf16eda92017-03-13 00:16:39 +090013 #address-cells = <1>;
14 #size-cells = <1>;
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090015
16 cpus {
17 #address-cells = <1>;
18 #size-cells = <0>;
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090019
Masahiro Yamadab443fb42017-11-25 00:25:35 +090020 cpu0: cpu@0 {
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090021 device_type = "cpu";
22 compatible = "arm,cortex-a9";
23 reg = <0>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090024 clocks = <&sys_clk 32>;
Masahiro Yamada52159d22016-10-07 16:43:00 +090025 enable-method = "psci";
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090026 next-level-cache = <&l2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090027 operating-points-v2 = <&cpu_opp>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +090028 #cooling-cells = <2>;
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090029 };
30
Masahiro Yamadab443fb42017-11-25 00:25:35 +090031 cpu1: cpu@1 {
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090032 device_type = "cpu";
33 compatible = "arm,cortex-a9";
34 reg = <1>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090035 clocks = <&sys_clk 32>;
Masahiro Yamada52159d22016-10-07 16:43:00 +090036 enable-method = "psci";
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090037 next-level-cache = <&l2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090038 operating-points-v2 = <&cpu_opp>;
Masahiro Yamada33aae6b2018-09-10 12:58:32 +090039 #cooling-cells = <2>;
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090040 };
41
Masahiro Yamadab443fb42017-11-25 00:25:35 +090042 cpu2: cpu@2 {
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090043 device_type = "cpu";
44 compatible = "arm,cortex-a9";
45 reg = <2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090046 clocks = <&sys_clk 32>;
Masahiro Yamada52159d22016-10-07 16:43:00 +090047 enable-method = "psci";
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090048 next-level-cache = <&l2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090049 operating-points-v2 = <&cpu_opp>;
Masahiro Yamada33aae6b2018-09-10 12:58:32 +090050 #cooling-cells = <2>;
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090051 };
52
Masahiro Yamadab443fb42017-11-25 00:25:35 +090053 cpu3: cpu@3 {
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090054 device_type = "cpu";
55 compatible = "arm,cortex-a9";
56 reg = <3>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090057 clocks = <&sys_clk 32>;
Masahiro Yamada52159d22016-10-07 16:43:00 +090058 enable-method = "psci";
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090059 next-level-cache = <&l2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090060 operating-points-v2 = <&cpu_opp>;
Masahiro Yamada33aae6b2018-09-10 12:58:32 +090061 #cooling-cells = <2>;
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090062 };
63 };
64
Masahiro Yamadab443fb42017-11-25 00:25:35 +090065 cpu_opp: opp-table {
Masahiro Yamadacd622142016-12-05 18:31:39 +090066 compatible = "operating-points-v2";
67 opp-shared;
68
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090069 opp-100000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090070 opp-hz = /bits/ 64 <100000000>;
71 clock-latency-ns = <300>;
72 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090073 opp-150000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090074 opp-hz = /bits/ 64 <150000000>;
75 clock-latency-ns = <300>;
76 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090077 opp-200000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090078 opp-hz = /bits/ 64 <200000000>;
79 clock-latency-ns = <300>;
80 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090081 opp-300000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090082 opp-hz = /bits/ 64 <300000000>;
83 clock-latency-ns = <300>;
84 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090085 opp-400000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090086 opp-hz = /bits/ 64 <400000000>;
87 clock-latency-ns = <300>;
88 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090089 opp-600000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090090 opp-hz = /bits/ 64 <600000000>;
91 clock-latency-ns = <300>;
92 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090093 opp-800000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090094 opp-hz = /bits/ 64 <800000000>;
95 clock-latency-ns = <300>;
96 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090097 opp-1200000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090098 opp-hz = /bits/ 64 <1200000000>;
99 clock-latency-ns = <300>;
100 };
101 };
102
103 psci {
104 compatible = "arm,psci-0.2";
105 method = "smc";
106 };
107
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900108 clocks {
Masahiro Yamadacd622142016-12-05 18:31:39 +0900109 refclk: ref {
110 compatible = "fixed-clock";
111 #clock-cells = <0>;
112 clock-frequency = <25000000>;
113 };
114
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900115 arm_timer_clk: arm-timer {
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900116 #clock-cells = <0>;
117 compatible = "fixed-clock";
118 clock-frequency = <50000000>;
119 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900120 };
121
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900122 thermal-zones {
123 cpu-thermal {
124 polling-delay-passive = <250>; /* 250ms */
125 polling-delay = <1000>; /* 1000ms */
126 thermal-sensors = <&pvtctl>;
127
128 trips {
129 cpu_crit: cpu-crit {
130 temperature = <95000>; /* 95C */
131 hysteresis = <2000>;
132 type = "critical";
133 };
134 cpu_alert: cpu-alert {
135 temperature = <85000>; /* 85C */
136 hysteresis = <2000>;
137 type = "passive";
138 };
139 };
140
141 cooling-maps {
142 map {
143 trip = <&cpu_alert>;
144 cooling-device = <&cpu0
145 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
146 };
147 };
148 };
149 };
150
Masahiro Yamadacd622142016-12-05 18:31:39 +0900151 soc {
152 compatible = "simple-bus";
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900153 #address-cells = <1>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900154 #size-cells = <1>;
155 ranges;
156 interrupt-parent = <&intc>;
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900157
Masahiro Yamadacd622142016-12-05 18:31:39 +0900158 l2: l2-cache@500c0000 {
159 compatible = "socionext,uniphier-system-cache";
160 reg = <0x500c0000 0x2000>, <0x503c0100 0x8>,
161 <0x506c0000 0x400>;
162 interrupts = <0 174 4>, <0 175 4>, <0 190 4>, <0 191 4>;
163 cache-unified;
164 cache-size = <(1280 * 1024)>;
165 cache-sets = <512>;
166 cache-line-size = <128>;
167 cache-level = <2>;
168 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900169
Masahiro Yamadacd622142016-12-05 18:31:39 +0900170 serial0: serial@54006800 {
171 compatible = "socionext,uniphier-uart";
172 status = "disabled";
173 reg = <0x54006800 0x40>;
174 interrupts = <0 33 4>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_uart0>;
177 clocks = <&peri_clk 0>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900178 resets = <&peri_rst 0>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900179 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900180
Masahiro Yamadacd622142016-12-05 18:31:39 +0900181 serial1: serial@54006900 {
182 compatible = "socionext,uniphier-uart";
183 status = "disabled";
184 reg = <0x54006900 0x40>;
185 interrupts = <0 35 4>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&pinctrl_uart1>;
188 clocks = <&peri_clk 1>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900189 resets = <&peri_rst 1>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900190 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900191
Masahiro Yamadacd622142016-12-05 18:31:39 +0900192 serial2: serial@54006a00 {
193 compatible = "socionext,uniphier-uart";
194 status = "disabled";
195 reg = <0x54006a00 0x40>;
196 interrupts = <0 37 4>;
197 pinctrl-names = "default";
198 pinctrl-0 = <&pinctrl_uart2>;
199 clocks = <&peri_clk 2>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900200 resets = <&peri_rst 2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900201 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900202
Masahiro Yamadacd622142016-12-05 18:31:39 +0900203 serial3: serial@54006b00 {
204 compatible = "socionext,uniphier-uart";
205 status = "disabled";
206 reg = <0x54006b00 0x40>;
207 interrupts = <0 177 4>;
208 pinctrl-names = "default";
209 pinctrl-0 = <&pinctrl_uart3>;
210 clocks = <&peri_clk 3>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900211 resets = <&peri_rst 3>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900212 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900213
Masahiro Yamada0f72b742017-10-13 19:21:52 +0900214 gpio: gpio@55000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +0900215 compatible = "socionext,uniphier-gpio";
Masahiro Yamada0f72b742017-10-13 19:21:52 +0900216 reg = <0x55000000 0x200>;
217 interrupt-parent = <&aidet>;
218 interrupt-controller;
219 #interrupt-cells = <2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900220 gpio-controller;
221 #gpio-cells = <2>;
Masahiro Yamada0f72b742017-10-13 19:21:52 +0900222 gpio-ranges = <&pinctrl 0 0 0>,
223 <&pinctrl 96 0 0>;
224 gpio-ranges-group-names = "gpio_range0",
225 "gpio_range1";
226 ngpios = <232>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900227 socionext,interrupt-ranges = <0 48 16>, <16 154 5>,
228 <21 217 3>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900229 };
230
Masahiro Yamada3e98fc12018-04-16 12:35:33 +0900231 audio@56000000 {
232 compatible = "socionext,uniphier-pxs2-aio";
233 reg = <0x56000000 0x80000>;
234 interrupts = <0 144 4>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&pinctrl_ain1>,
237 <&pinctrl_ain2>,
238 <&pinctrl_ainiec1>,
239 <&pinctrl_aout2>,
240 <&pinctrl_aout3>,
241 <&pinctrl_aoutiec1>,
242 <&pinctrl_aoutiec2>;
243 clock-names = "aio";
244 clocks = <&sys_clk 40>;
245 reset-names = "aio";
246 resets = <&sys_rst 40>;
247 #sound-dai-cells = <1>;
248 socionext,syscon = <&soc_glue>;
249
250 i2s_port0: port@0 {
251 i2s_hdmi: endpoint {
252 };
253 };
254
255 i2s_port1: port@1 {
256 i2s_line: endpoint {
257 };
258 };
259
260 i2s_port2: port@2 {
261 i2s_aux: endpoint {
262 };
263 };
264
265 spdif_port0: port@3 {
266 spdif_hiecout1: endpoint {
267 };
268 };
269
270 spdif_port1: port@4 {
271 spdif_iecout1: endpoint {
272 };
273 };
274
275 comp_spdif_port0: port@5 {
276 comp_spdif_hiecout1: endpoint {
277 };
278 };
279
280 comp_spdif_port1: port@6 {
281 comp_spdif_iecout1: endpoint {
282 };
283 };
284 };
285
Masahiro Yamadacd622142016-12-05 18:31:39 +0900286 i2c0: i2c@58780000 {
287 compatible = "socionext,uniphier-fi2c";
288 status = "disabled";
289 reg = <0x58780000 0x80>;
290 #address-cells = <1>;
291 #size-cells = <0>;
292 interrupts = <0 41 4>;
293 pinctrl-names = "default";
294 pinctrl-0 = <&pinctrl_i2c0>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900295 clocks = <&peri_clk 4>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900296 resets = <&peri_rst 4>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900297 clock-frequency = <100000>;
298 };
299
300 i2c1: i2c@58781000 {
301 compatible = "socionext,uniphier-fi2c";
302 status = "disabled";
303 reg = <0x58781000 0x80>;
304 #address-cells = <1>;
305 #size-cells = <0>;
306 interrupts = <0 42 4>;
307 pinctrl-names = "default";
308 pinctrl-0 = <&pinctrl_i2c1>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900309 clocks = <&peri_clk 5>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900310 resets = <&peri_rst 5>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900311 clock-frequency = <100000>;
312 };
313
314 i2c2: i2c@58782000 {
315 compatible = "socionext,uniphier-fi2c";
316 status = "disabled";
317 reg = <0x58782000 0x80>;
318 #address-cells = <1>;
319 #size-cells = <0>;
320 interrupts = <0 43 4>;
321 pinctrl-names = "default";
322 pinctrl-0 = <&pinctrl_i2c2>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900323 clocks = <&peri_clk 6>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900324 resets = <&peri_rst 6>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900325 clock-frequency = <100000>;
326 };
327
328 i2c3: i2c@58783000 {
329 compatible = "socionext,uniphier-fi2c";
330 status = "disabled";
331 reg = <0x58783000 0x80>;
332 #address-cells = <1>;
333 #size-cells = <0>;
334 interrupts = <0 44 4>;
335 pinctrl-names = "default";
336 pinctrl-0 = <&pinctrl_i2c3>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900337 clocks = <&peri_clk 7>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900338 resets = <&peri_rst 7>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900339 clock-frequency = <100000>;
340 };
341
342 /* chip-internal connection for DMD */
343 i2c4: i2c@58784000 {
344 compatible = "socionext,uniphier-fi2c";
345 reg = <0x58784000 0x80>;
346 #address-cells = <1>;
347 #size-cells = <0>;
348 interrupts = <0 45 4>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900349 clocks = <&peri_clk 8>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900350 resets = <&peri_rst 8>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900351 clock-frequency = <400000>;
352 };
353
354 /* chip-internal connection for STM */
355 i2c5: i2c@58785000 {
356 compatible = "socionext,uniphier-fi2c";
357 reg = <0x58785000 0x80>;
358 #address-cells = <1>;
359 #size-cells = <0>;
360 interrupts = <0 25 4>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900361 clocks = <&peri_clk 9>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900362 resets = <&peri_rst 9>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900363 clock-frequency = <400000>;
364 };
365
366 /* chip-internal connection for HDMI */
367 i2c6: i2c@58786000 {
368 compatible = "socionext,uniphier-fi2c";
369 reg = <0x58786000 0x80>;
370 #address-cells = <1>;
371 #size-cells = <0>;
372 interrupts = <0 26 4>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900373 clocks = <&peri_clk 10>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900374 resets = <&peri_rst 10>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900375 clock-frequency = <400000>;
376 };
377
378 system_bus: system-bus@58c00000 {
379 compatible = "socionext,uniphier-system-bus";
380 status = "disabled";
381 reg = <0x58c00000 0x400>;
382 #address-cells = <2>;
383 #size-cells = <1>;
384 pinctrl-names = "default";
385 pinctrl-0 = <&pinctrl_system_bus>;
386 };
387
Masahiro Yamadaabb6ac22017-05-15 14:23:46 +0900388 smpctrl@59801000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +0900389 compatible = "socionext,uniphier-smpctrl";
390 reg = <0x59801000 0x400>;
391 };
392
393 sdctrl@59810000 {
394 compatible = "socionext,uniphier-pxs2-sdctrl",
395 "simple-mfd", "syscon";
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +0900396 reg = <0x59810000 0x400>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900397
398 sd_clk: clock {
399 compatible = "socionext,uniphier-pxs2-sd-clock";
400 #clock-cells = <1>;
401 };
402
403 sd_rst: reset {
404 compatible = "socionext,uniphier-pxs2-sd-reset";
405 #reset-cells = <1>;
406 };
407 };
408
409 perictrl@59820000 {
410 compatible = "socionext,uniphier-pxs2-perictrl",
411 "simple-mfd", "syscon";
412 reg = <0x59820000 0x200>;
413
414 peri_clk: clock {
415 compatible = "socionext,uniphier-pxs2-peri-clock";
416 #clock-cells = <1>;
417 };
418
419 peri_rst: reset {
420 compatible = "socionext,uniphier-pxs2-peri-reset";
421 #reset-cells = <1>;
422 };
423 };
424
425 emmc: sdhc@5a000000 {
426 compatible = "socionext,uniphier-sdhc";
427 status = "disabled";
428 reg = <0x5a000000 0x800>;
429 interrupts = <0 78 4>;
430 pinctrl-names = "default";
431 pinctrl-0 = <&pinctrl_emmc>;
432 clocks = <&sd_clk 1>;
433 reset-names = "host";
434 resets = <&sd_rst 1>;
435 bus-width = <8>;
436 non-removable;
437 cap-mmc-highspeed;
438 cap-mmc-hw-reset;
439 no-3-3-v;
440 };
441
442 sd: sdhc@5a400000 {
443 compatible = "socionext,uniphier-sdhc";
444 status = "disabled";
445 reg = <0x5a400000 0x800>;
446 interrupts = <0 76 4>;
447 pinctrl-names = "default", "1.8v";
448 pinctrl-0 = <&pinctrl_sd>;
449 pinctrl-1 = <&pinctrl_sd_1v8>;
450 clocks = <&sd_clk 0>;
451 reset-names = "host";
452 resets = <&sd_rst 0>;
453 bus-width = <4>;
454 cap-sd-highspeed;
455 sd-uhs-sdr12;
456 sd-uhs-sdr25;
457 sd-uhs-sdr50;
458 };
459
Masahiro Yamada3e98fc12018-04-16 12:35:33 +0900460 soc_glue: soc-glue@5f800000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +0900461 compatible = "socionext,uniphier-pxs2-soc-glue",
462 "simple-mfd", "syscon";
463 reg = <0x5f800000 0x2000>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900464
465 pinctrl: pinctrl {
466 compatible = "socionext,uniphier-pxs2-pinctrl";
Masahiro Yamadacd622142016-12-05 18:31:39 +0900467 };
468 };
469
Masahiro Yamada46820e32018-03-15 11:43:03 +0900470 soc-glue@5f900000 {
471 compatible = "socionext,uniphier-pxs2-soc-glue-debug",
472 "simple-mfd";
473 #address-cells = <1>;
474 #size-cells = <1>;
475 ranges = <0 0x5f900000 0x2000>;
476
477 efuse@100 {
478 compatible = "socionext,uniphier-efuse";
479 reg = <0x100 0x28>;
480 };
481
482 efuse@200 {
483 compatible = "socionext,uniphier-efuse";
484 reg = <0x200 0x58>;
485 };
486 };
487
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +0900488 aidet: aidet@5fc20000 {
489 compatible = "socionext,uniphier-pxs2-aidet";
Masahiro Yamadacd622142016-12-05 18:31:39 +0900490 reg = <0x5fc20000 0x200>;
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +0900491 interrupt-controller;
492 #interrupt-cells = <2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900493 };
494
495 timer@60000200 {
496 compatible = "arm,cortex-a9-global-timer";
497 reg = <0x60000200 0x20>;
498 interrupts = <1 11 0xf04>;
499 clocks = <&arm_timer_clk>;
500 };
501
502 timer@60000600 {
503 compatible = "arm,cortex-a9-twd-timer";
504 reg = <0x60000600 0x20>;
505 interrupts = <1 13 0xf04>;
506 clocks = <&arm_timer_clk>;
507 };
508
509 intc: interrupt-controller@60001000 {
510 compatible = "arm,cortex-a9-gic";
511 reg = <0x60001000 0x1000>,
512 <0x60000100 0x100>;
513 #interrupt-cells = <3>;
514 interrupt-controller;
515 };
516
517 sysctrl@61840000 {
518 compatible = "socionext,uniphier-pxs2-sysctrl",
519 "simple-mfd", "syscon";
Masahiro Yamada7317a942017-03-13 00:16:41 +0900520 reg = <0x61840000 0x10000>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900521
522 sys_clk: clock {
523 compatible = "socionext,uniphier-pxs2-clock";
524 #clock-cells = <1>;
525 };
526
527 sys_rst: reset {
528 compatible = "socionext,uniphier-pxs2-reset";
529 #reset-cells = <1>;
530 };
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900531
532 pvtctl: pvtctl {
533 compatible = "socionext,uniphier-pxs2-thermal";
534 interrupts = <0 3 4>;
535 #thermal-sensor-cells = <0>;
536 socionext,tmod-calibration = <0x0f86 0x6844>;
537 };
Masahiro Yamadacd622142016-12-05 18:31:39 +0900538 };
539
Masahiro Yamada3e98fc12018-04-16 12:35:33 +0900540 eth: ethernet@65000000 {
541 compatible = "socionext,uniphier-pxs2-ave4";
542 status = "disabled";
543 reg = <0x65000000 0x8500>;
544 interrupts = <0 66 4>;
545 pinctrl-names = "default";
546 pinctrl-0 = <&pinctrl_ether_rgmii>;
Kunihiko Hayashi3c0fa6c2018-05-11 18:49:16 +0900547 clock-names = "ether";
Masahiro Yamada3e98fc12018-04-16 12:35:33 +0900548 clocks = <&sys_clk 6>;
Kunihiko Hayashi3c0fa6c2018-05-11 18:49:16 +0900549 reset-names = "ether";
Masahiro Yamada3e98fc12018-04-16 12:35:33 +0900550 resets = <&sys_rst 6>;
551 phy-mode = "rgmii";
552 local-mac-address = [00 00 00 00 00 00];
Kunihiko Hayashi69b3d4e2018-05-11 18:49:14 +0900553 socionext,syscon-phy-mode = <&soc_glue 0>;
Masahiro Yamada3e98fc12018-04-16 12:35:33 +0900554
555 mdio: mdio {
556 #address-cells = <1>;
557 #size-cells = <0>;
558 };
559 };
560
Masahiro Yamadacd622142016-12-05 18:31:39 +0900561 usb0: usb@65b00000 {
562 compatible = "socionext,uniphier-pxs2-dwc3";
563 status = "disabled";
564 reg = <0x65b00000 0x1000>;
565 #address-cells = <1>;
566 #size-cells = <1>;
567 ranges;
568 pinctrl-names = "default";
569 pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
570 dwc3@65a00000 {
571 compatible = "snps,dwc3";
572 reg = <0x65a00000 0x10000>;
573 interrupts = <0 134 4>;
Masahiro Yamada3444d1d2017-08-13 09:01:17 +0900574 dr_mode = "host";
Masahiro Yamadacd622142016-12-05 18:31:39 +0900575 tx-fifo-resize;
576 };
577 };
578
579 usb1: usb@65d00000 {
580 compatible = "socionext,uniphier-pxs2-dwc3";
581 status = "disabled";
582 reg = <0x65d00000 0x1000>;
583 #address-cells = <1>;
584 #size-cells = <1>;
585 ranges;
586 pinctrl-names = "default";
587 pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
588 dwc3@65c00000 {
589 compatible = "snps,dwc3";
590 reg = <0x65c00000 0x10000>;
591 interrupts = <0 137 4>;
Masahiro Yamada3444d1d2017-08-13 09:01:17 +0900592 dr_mode = "host";
Masahiro Yamadacd622142016-12-05 18:31:39 +0900593 tx-fifo-resize;
594 };
595 };
596
597 nand: nand@68000000 {
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +0900598 compatible = "socionext,uniphier-denali-nand-v5b";
Masahiro Yamadacd622142016-12-05 18:31:39 +0900599 status = "disabled";
600 reg-names = "nand_data", "denali_reg";
601 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
602 interrupts = <0 65 4>;
603 pinctrl-names = "default";
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +0900604 pinctrl-0 = <&pinctrl_nand2cs>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900605 clocks = <&sys_clk 2>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900606 resets = <&sys_rst 2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900607 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900608 };
609};
610
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +0900611#include "uniphier-pinctrl.dtsi"