blob: 7822c9e128bc2d88f5e3b57689ff03b1daa1f7ce [file] [log] [blame]
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +09001/*
Masahiro Yamada52159d22016-10-07 16:43:00 +09002 * Device Tree Source for UniPhier PXs2 SoC
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +09003 *
Masahiro Yamada52159d22016-10-07 16:43:00 +09004 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +09006 *
Masahiro Yamadad9403002017-06-22 16:46:40 +09007 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +09008 */
9
Masahiro Yamadab443fb42017-11-25 00:25:35 +090010#include <dt-bindings/gpio/uniphier-gpio.h>
11#include <dt-bindings/thermal/thermal.h>
12
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090013/ {
Masahiro Yamada52159d22016-10-07 16:43:00 +090014 compatible = "socionext,uniphier-pxs2";
Masahiro Yamadaf16eda92017-03-13 00:16:39 +090015 #address-cells = <1>;
16 #size-cells = <1>;
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090017
18 cpus {
19 #address-cells = <1>;
20 #size-cells = <0>;
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090021
Masahiro Yamadab443fb42017-11-25 00:25:35 +090022 cpu0: cpu@0 {
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090023 device_type = "cpu";
24 compatible = "arm,cortex-a9";
25 reg = <0>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090026 clocks = <&sys_clk 32>;
Masahiro Yamada52159d22016-10-07 16:43:00 +090027 enable-method = "psci";
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090028 next-level-cache = <&l2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090029 operating-points-v2 = <&cpu_opp>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +090030 #cooling-cells = <2>;
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090031 };
32
Masahiro Yamadab443fb42017-11-25 00:25:35 +090033 cpu1: cpu@1 {
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090034 device_type = "cpu";
35 compatible = "arm,cortex-a9";
36 reg = <1>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090037 clocks = <&sys_clk 32>;
Masahiro Yamada52159d22016-10-07 16:43:00 +090038 enable-method = "psci";
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090039 next-level-cache = <&l2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090040 operating-points-v2 = <&cpu_opp>;
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090041 };
42
Masahiro Yamadab443fb42017-11-25 00:25:35 +090043 cpu2: cpu@2 {
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +090044 device_type = "cpu";
45 compatible = "arm,cortex-a9";
46 reg = <2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090047 clocks = <&sys_clk 32>;
Masahiro Yamada52159d22016-10-07 16:43:00 +090048 enable-method = "psci";
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090049 next-level-cache = <&l2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +090050 operating-points-v2 = <&cpu_opp>;
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 Yamadaf875bbb2015-08-28 22:33:15 +090061 };
62 };
63
Masahiro Yamadab443fb42017-11-25 00:25:35 +090064 cpu_opp: opp-table {
Masahiro Yamadacd622142016-12-05 18:31:39 +090065 compatible = "operating-points-v2";
66 opp-shared;
67
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090068 opp-100000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090069 opp-hz = /bits/ 64 <100000000>;
70 clock-latency-ns = <300>;
71 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090072 opp-150000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090073 opp-hz = /bits/ 64 <150000000>;
74 clock-latency-ns = <300>;
75 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090076 opp-200000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090077 opp-hz = /bits/ 64 <200000000>;
78 clock-latency-ns = <300>;
79 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090080 opp-300000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090081 opp-hz = /bits/ 64 <300000000>;
82 clock-latency-ns = <300>;
83 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090084 opp-400000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090085 opp-hz = /bits/ 64 <400000000>;
86 clock-latency-ns = <300>;
87 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090088 opp-600000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090089 opp-hz = /bits/ 64 <600000000>;
90 clock-latency-ns = <300>;
91 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090092 opp-800000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090093 opp-hz = /bits/ 64 <800000000>;
94 clock-latency-ns = <300>;
95 };
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +090096 opp-1200000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +090097 opp-hz = /bits/ 64 <1200000000>;
98 clock-latency-ns = <300>;
99 };
100 };
101
102 psci {
103 compatible = "arm,psci-0.2";
104 method = "smc";
105 };
106
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900107 clocks {
Masahiro Yamadacd622142016-12-05 18:31:39 +0900108 refclk: ref {
109 compatible = "fixed-clock";
110 #clock-cells = <0>;
111 clock-frequency = <25000000>;
112 };
113
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900114 arm_timer_clk: arm-timer {
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900115 #clock-cells = <0>;
116 compatible = "fixed-clock";
117 clock-frequency = <50000000>;
118 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900119 };
120
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900121 thermal-zones {
122 cpu-thermal {
123 polling-delay-passive = <250>; /* 250ms */
124 polling-delay = <1000>; /* 1000ms */
125 thermal-sensors = <&pvtctl>;
126
127 trips {
128 cpu_crit: cpu-crit {
129 temperature = <95000>; /* 95C */
130 hysteresis = <2000>;
131 type = "critical";
132 };
133 cpu_alert: cpu-alert {
134 temperature = <85000>; /* 85C */
135 hysteresis = <2000>;
136 type = "passive";
137 };
138 };
139
140 cooling-maps {
141 map {
142 trip = <&cpu_alert>;
143 cooling-device = <&cpu0
144 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
145 };
146 };
147 };
148 };
149
Masahiro Yamadacd622142016-12-05 18:31:39 +0900150 soc {
151 compatible = "simple-bus";
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900152 #address-cells = <1>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900153 #size-cells = <1>;
154 ranges;
155 interrupt-parent = <&intc>;
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900156
Masahiro Yamadacd622142016-12-05 18:31:39 +0900157 l2: l2-cache@500c0000 {
158 compatible = "socionext,uniphier-system-cache";
159 reg = <0x500c0000 0x2000>, <0x503c0100 0x8>,
160 <0x506c0000 0x400>;
161 interrupts = <0 174 4>, <0 175 4>, <0 190 4>, <0 191 4>;
162 cache-unified;
163 cache-size = <(1280 * 1024)>;
164 cache-sets = <512>;
165 cache-line-size = <128>;
166 cache-level = <2>;
167 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900168
Masahiro Yamadacd622142016-12-05 18:31:39 +0900169 serial0: serial@54006800 {
170 compatible = "socionext,uniphier-uart";
171 status = "disabled";
172 reg = <0x54006800 0x40>;
173 interrupts = <0 33 4>;
174 pinctrl-names = "default";
175 pinctrl-0 = <&pinctrl_uart0>;
176 clocks = <&peri_clk 0>;
177 clock-frequency = <88900000>;
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>;
189 clock-frequency = <88900000>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900190 resets = <&peri_rst 1>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900191 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900192
Masahiro Yamadacd622142016-12-05 18:31:39 +0900193 serial2: serial@54006a00 {
194 compatible = "socionext,uniphier-uart";
195 status = "disabled";
196 reg = <0x54006a00 0x40>;
197 interrupts = <0 37 4>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&pinctrl_uart2>;
200 clocks = <&peri_clk 2>;
201 clock-frequency = <88900000>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900202 resets = <&peri_rst 2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900203 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900204
Masahiro Yamadacd622142016-12-05 18:31:39 +0900205 serial3: serial@54006b00 {
206 compatible = "socionext,uniphier-uart";
207 status = "disabled";
208 reg = <0x54006b00 0x40>;
209 interrupts = <0 177 4>;
210 pinctrl-names = "default";
211 pinctrl-0 = <&pinctrl_uart3>;
212 clocks = <&peri_clk 3>;
213 clock-frequency = <88900000>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900214 resets = <&peri_rst 3>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900215 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900216
Masahiro Yamada0f72b742017-10-13 19:21:52 +0900217 gpio: gpio@55000000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +0900218 compatible = "socionext,uniphier-gpio";
Masahiro Yamada0f72b742017-10-13 19:21:52 +0900219 reg = <0x55000000 0x200>;
220 interrupt-parent = <&aidet>;
221 interrupt-controller;
222 #interrupt-cells = <2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900223 gpio-controller;
224 #gpio-cells = <2>;
Masahiro Yamada0f72b742017-10-13 19:21:52 +0900225 gpio-ranges = <&pinctrl 0 0 0>,
226 <&pinctrl 96 0 0>;
227 gpio-ranges-group-names = "gpio_range0",
228 "gpio_range1";
229 ngpios = <232>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900230 socionext,interrupt-ranges = <0 48 16>, <16 154 5>,
231 <21 217 3>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900232 };
233
234 i2c0: i2c@58780000 {
235 compatible = "socionext,uniphier-fi2c";
236 status = "disabled";
237 reg = <0x58780000 0x80>;
238 #address-cells = <1>;
239 #size-cells = <0>;
240 interrupts = <0 41 4>;
241 pinctrl-names = "default";
242 pinctrl-0 = <&pinctrl_i2c0>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900243 clocks = <&peri_clk 4>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900244 resets = <&peri_rst 4>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900245 clock-frequency = <100000>;
246 };
247
248 i2c1: i2c@58781000 {
249 compatible = "socionext,uniphier-fi2c";
250 status = "disabled";
251 reg = <0x58781000 0x80>;
252 #address-cells = <1>;
253 #size-cells = <0>;
254 interrupts = <0 42 4>;
255 pinctrl-names = "default";
256 pinctrl-0 = <&pinctrl_i2c1>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900257 clocks = <&peri_clk 5>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900258 resets = <&peri_rst 5>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900259 clock-frequency = <100000>;
260 };
261
262 i2c2: i2c@58782000 {
263 compatible = "socionext,uniphier-fi2c";
264 status = "disabled";
265 reg = <0x58782000 0x80>;
266 #address-cells = <1>;
267 #size-cells = <0>;
268 interrupts = <0 43 4>;
269 pinctrl-names = "default";
270 pinctrl-0 = <&pinctrl_i2c2>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900271 clocks = <&peri_clk 6>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900272 resets = <&peri_rst 6>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900273 clock-frequency = <100000>;
274 };
275
276 i2c3: i2c@58783000 {
277 compatible = "socionext,uniphier-fi2c";
278 status = "disabled";
279 reg = <0x58783000 0x80>;
280 #address-cells = <1>;
281 #size-cells = <0>;
282 interrupts = <0 44 4>;
283 pinctrl-names = "default";
284 pinctrl-0 = <&pinctrl_i2c3>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900285 clocks = <&peri_clk 7>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900286 resets = <&peri_rst 7>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900287 clock-frequency = <100000>;
288 };
289
290 /* chip-internal connection for DMD */
291 i2c4: i2c@58784000 {
292 compatible = "socionext,uniphier-fi2c";
293 reg = <0x58784000 0x80>;
294 #address-cells = <1>;
295 #size-cells = <0>;
296 interrupts = <0 45 4>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900297 clocks = <&peri_clk 8>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900298 resets = <&peri_rst 8>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900299 clock-frequency = <400000>;
300 };
301
302 /* chip-internal connection for STM */
303 i2c5: i2c@58785000 {
304 compatible = "socionext,uniphier-fi2c";
305 reg = <0x58785000 0x80>;
306 #address-cells = <1>;
307 #size-cells = <0>;
308 interrupts = <0 25 4>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900309 clocks = <&peri_clk 9>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900310 resets = <&peri_rst 9>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900311 clock-frequency = <400000>;
312 };
313
314 /* chip-internal connection for HDMI */
315 i2c6: i2c@58786000 {
316 compatible = "socionext,uniphier-fi2c";
317 reg = <0x58786000 0x80>;
318 #address-cells = <1>;
319 #size-cells = <0>;
320 interrupts = <0 26 4>;
Masahiro Yamada7317a942017-03-13 00:16:41 +0900321 clocks = <&peri_clk 10>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900322 resets = <&peri_rst 10>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900323 clock-frequency = <400000>;
324 };
325
326 system_bus: system-bus@58c00000 {
327 compatible = "socionext,uniphier-system-bus";
328 status = "disabled";
329 reg = <0x58c00000 0x400>;
330 #address-cells = <2>;
331 #size-cells = <1>;
332 pinctrl-names = "default";
333 pinctrl-0 = <&pinctrl_system_bus>;
334 };
335
Masahiro Yamadaabb6ac22017-05-15 14:23:46 +0900336 smpctrl@59801000 {
Masahiro Yamadacd622142016-12-05 18:31:39 +0900337 compatible = "socionext,uniphier-smpctrl";
338 reg = <0x59801000 0x400>;
339 };
340
341 sdctrl@59810000 {
342 compatible = "socionext,uniphier-pxs2-sdctrl",
343 "simple-mfd", "syscon";
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +0900344 reg = <0x59810000 0x400>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900345
346 sd_clk: clock {
347 compatible = "socionext,uniphier-pxs2-sd-clock";
348 #clock-cells = <1>;
349 };
350
351 sd_rst: reset {
352 compatible = "socionext,uniphier-pxs2-sd-reset";
353 #reset-cells = <1>;
354 };
355 };
356
357 perictrl@59820000 {
358 compatible = "socionext,uniphier-pxs2-perictrl",
359 "simple-mfd", "syscon";
360 reg = <0x59820000 0x200>;
361
362 peri_clk: clock {
363 compatible = "socionext,uniphier-pxs2-peri-clock";
364 #clock-cells = <1>;
365 };
366
367 peri_rst: reset {
368 compatible = "socionext,uniphier-pxs2-peri-reset";
369 #reset-cells = <1>;
370 };
371 };
372
373 emmc: sdhc@5a000000 {
374 compatible = "socionext,uniphier-sdhc";
375 status = "disabled";
376 reg = <0x5a000000 0x800>;
377 interrupts = <0 78 4>;
378 pinctrl-names = "default";
379 pinctrl-0 = <&pinctrl_emmc>;
380 clocks = <&sd_clk 1>;
381 reset-names = "host";
382 resets = <&sd_rst 1>;
383 bus-width = <8>;
384 non-removable;
385 cap-mmc-highspeed;
386 cap-mmc-hw-reset;
387 no-3-3-v;
388 };
389
390 sd: sdhc@5a400000 {
391 compatible = "socionext,uniphier-sdhc";
392 status = "disabled";
393 reg = <0x5a400000 0x800>;
394 interrupts = <0 76 4>;
395 pinctrl-names = "default", "1.8v";
396 pinctrl-0 = <&pinctrl_sd>;
397 pinctrl-1 = <&pinctrl_sd_1v8>;
398 clocks = <&sd_clk 0>;
399 reset-names = "host";
400 resets = <&sd_rst 0>;
401 bus-width = <4>;
402 cap-sd-highspeed;
403 sd-uhs-sdr12;
404 sd-uhs-sdr25;
405 sd-uhs-sdr50;
406 };
407
408 soc-glue@5f800000 {
409 compatible = "socionext,uniphier-pxs2-soc-glue",
410 "simple-mfd", "syscon";
411 reg = <0x5f800000 0x2000>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900412
413 pinctrl: pinctrl {
414 compatible = "socionext,uniphier-pxs2-pinctrl";
Masahiro Yamadacd622142016-12-05 18:31:39 +0900415 };
416 };
417
Masahiro Yamada46820e32018-03-15 11:43:03 +0900418 soc-glue@5f900000 {
419 compatible = "socionext,uniphier-pxs2-soc-glue-debug",
420 "simple-mfd";
421 #address-cells = <1>;
422 #size-cells = <1>;
423 ranges = <0 0x5f900000 0x2000>;
424
425 efuse@100 {
426 compatible = "socionext,uniphier-efuse";
427 reg = <0x100 0x28>;
428 };
429
430 efuse@200 {
431 compatible = "socionext,uniphier-efuse";
432 reg = <0x200 0x58>;
433 };
434 };
435
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +0900436 aidet: aidet@5fc20000 {
437 compatible = "socionext,uniphier-pxs2-aidet";
Masahiro Yamadacd622142016-12-05 18:31:39 +0900438 reg = <0x5fc20000 0x200>;
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +0900439 interrupt-controller;
440 #interrupt-cells = <2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900441 };
442
443 timer@60000200 {
444 compatible = "arm,cortex-a9-global-timer";
445 reg = <0x60000200 0x20>;
446 interrupts = <1 11 0xf04>;
447 clocks = <&arm_timer_clk>;
448 };
449
450 timer@60000600 {
451 compatible = "arm,cortex-a9-twd-timer";
452 reg = <0x60000600 0x20>;
453 interrupts = <1 13 0xf04>;
454 clocks = <&arm_timer_clk>;
455 };
456
457 intc: interrupt-controller@60001000 {
458 compatible = "arm,cortex-a9-gic";
459 reg = <0x60001000 0x1000>,
460 <0x60000100 0x100>;
461 #interrupt-cells = <3>;
462 interrupt-controller;
463 };
464
465 sysctrl@61840000 {
466 compatible = "socionext,uniphier-pxs2-sysctrl",
467 "simple-mfd", "syscon";
Masahiro Yamada7317a942017-03-13 00:16:41 +0900468 reg = <0x61840000 0x10000>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900469
470 sys_clk: clock {
471 compatible = "socionext,uniphier-pxs2-clock";
472 #clock-cells = <1>;
473 };
474
475 sys_rst: reset {
476 compatible = "socionext,uniphier-pxs2-reset";
477 #reset-cells = <1>;
478 };
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900479
480 pvtctl: pvtctl {
481 compatible = "socionext,uniphier-pxs2-thermal";
482 interrupts = <0 3 4>;
483 #thermal-sensor-cells = <0>;
484 socionext,tmod-calibration = <0x0f86 0x6844>;
485 };
Masahiro Yamadacd622142016-12-05 18:31:39 +0900486 };
487
488 usb0: usb@65b00000 {
489 compatible = "socionext,uniphier-pxs2-dwc3";
490 status = "disabled";
491 reg = <0x65b00000 0x1000>;
492 #address-cells = <1>;
493 #size-cells = <1>;
494 ranges;
495 pinctrl-names = "default";
496 pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
497 dwc3@65a00000 {
498 compatible = "snps,dwc3";
499 reg = <0x65a00000 0x10000>;
500 interrupts = <0 134 4>;
Masahiro Yamada3444d1d2017-08-13 09:01:17 +0900501 dr_mode = "host";
Masahiro Yamadacd622142016-12-05 18:31:39 +0900502 tx-fifo-resize;
503 };
504 };
505
506 usb1: usb@65d00000 {
507 compatible = "socionext,uniphier-pxs2-dwc3";
508 status = "disabled";
509 reg = <0x65d00000 0x1000>;
510 #address-cells = <1>;
511 #size-cells = <1>;
512 ranges;
513 pinctrl-names = "default";
514 pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
515 dwc3@65c00000 {
516 compatible = "snps,dwc3";
517 reg = <0x65c00000 0x10000>;
518 interrupts = <0 137 4>;
Masahiro Yamada3444d1d2017-08-13 09:01:17 +0900519 dr_mode = "host";
Masahiro Yamadacd622142016-12-05 18:31:39 +0900520 tx-fifo-resize;
521 };
522 };
523
524 nand: nand@68000000 {
Masahiro Yamada4e7f8de2017-04-20 16:54:44 +0900525 compatible = "socionext,uniphier-denali-nand-v5b";
Masahiro Yamadacd622142016-12-05 18:31:39 +0900526 status = "disabled";
527 reg-names = "nand_data", "denali_reg";
528 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
529 interrupts = <0 65 4>;
530 pinctrl-names = "default";
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +0900531 pinctrl-0 = <&pinctrl_nand2cs>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900532 clocks = <&sys_clk 2>;
Masahiro Yamadab443fb42017-11-25 00:25:35 +0900533 resets = <&sys_rst 2>;
Masahiro Yamadacd622142016-12-05 18:31:39 +0900534 };
Masahiro Yamadaf875bbb2015-08-28 22:33:15 +0900535 };
536};
537
Masahiro Yamada6c9e46e2017-08-29 12:20:52 +0900538#include "uniphier-pinctrl.dtsi"