blob: 549d930ceefec028f9c853d40d3d949ae289194a [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 Yamada6c086d02017-11-25 00:25:35 +090010#include <dt-bindings/gpio/uniphier-gpio.h>
11#include <dt-bindings/thermal/thermal.h>
12
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090013/ {
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090014 compatible = "socionext,uniphier-pxs2";
Masahiro Yamada6cd78f72017-03-13 00:16:39 +090015 #address-cells = <1>;
16 #size-cells = <1>;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090017
18 cpus {
19 #address-cells = <1>;
20 #size-cells = <0>;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090021
Masahiro Yamada6c086d02017-11-25 00:25:35 +090022 cpu0: cpu@0 {
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090023 device_type = "cpu";
24 compatible = "arm,cortex-a9";
25 reg = <0>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090026 clocks = <&sys_clk 32>;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090027 enable-method = "psci";
Masahiro Yamadab36f3052015-12-16 10:54:08 +090028 next-level-cache = <&l2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090029 operating-points-v2 = <&cpu_opp>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +090030 #cooling-cells = <2>;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090031 };
32
Masahiro Yamada6c086d02017-11-25 00:25:35 +090033 cpu1: cpu@1 {
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090034 device_type = "cpu";
35 compatible = "arm,cortex-a9";
36 reg = <1>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090037 clocks = <&sys_clk 32>;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090038 enable-method = "psci";
Masahiro Yamadab36f3052015-12-16 10:54:08 +090039 next-level-cache = <&l2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090040 operating-points-v2 = <&cpu_opp>;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090041 };
42
Masahiro Yamada6c086d02017-11-25 00:25:35 +090043 cpu2: cpu@2 {
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090044 device_type = "cpu";
45 compatible = "arm,cortex-a9";
46 reg = <2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090047 clocks = <&sys_clk 32>;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090048 enable-method = "psci";
Masahiro Yamadab36f3052015-12-16 10:54:08 +090049 next-level-cache = <&l2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090050 operating-points-v2 = <&cpu_opp>;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090051 };
52
Masahiro Yamada6c086d02017-11-25 00:25:35 +090053 cpu3: cpu@3 {
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090054 device_type = "cpu";
55 compatible = "arm,cortex-a9";
56 reg = <3>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090057 clocks = <&sys_clk 32>;
Masahiro Yamada39a67ff2016-10-07 16:43:00 +090058 enable-method = "psci";
Masahiro Yamadab36f3052015-12-16 10:54:08 +090059 next-level-cache = <&l2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +090060 operating-points-v2 = <&cpu_opp>;
Masahiro Yamadaedbecf52015-08-28 22:33:15 +090061 };
62 };
63
Masahiro Yamada6c086d02017-11-25 00:25:35 +090064 cpu_opp: opp-table {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090065 compatible = "operating-points-v2";
66 opp-shared;
67
Masahiro Yamada552acbf2017-04-20 16:54:44 +090068 opp-100000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090069 opp-hz = /bits/ 64 <100000000>;
70 clock-latency-ns = <300>;
71 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090072 opp-150000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090073 opp-hz = /bits/ 64 <150000000>;
74 clock-latency-ns = <300>;
75 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090076 opp-200000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090077 opp-hz = /bits/ 64 <200000000>;
78 clock-latency-ns = <300>;
79 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090080 opp-300000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090081 opp-hz = /bits/ 64 <300000000>;
82 clock-latency-ns = <300>;
83 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090084 opp-400000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090085 opp-hz = /bits/ 64 <400000000>;
86 clock-latency-ns = <300>;
87 };
Masahiro Yamada552acbf2017-04-20 16:54:44 +090088 opp-600000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +090089 opp-hz = /bits/ 64 <600000000>;
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-1200000000 {
Masahiro Yamada6e485b22016-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 Yamadaedbecf52015-08-28 22:33:15 +0900107 clocks {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900108 refclk: ref {
109 compatible = "fixed-clock";
110 #clock-cells = <0>;
111 clock-frequency = <25000000>;
112 };
113
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900114 arm_timer_clk: arm-timer {
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900115 #clock-cells = <0>;
116 compatible = "fixed-clock";
117 clock-frequency = <50000000>;
118 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900119 };
120
Masahiro Yamada6c086d02017-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 Yamada6e485b22016-12-05 18:31:39 +0900150 soc {
151 compatible = "simple-bus";
152 #address-cells = <1>;
153 #size-cells = <1>;
154 ranges;
155 interrupt-parent = <&intc>;
Masahiro Yamadab36f3052015-12-16 10:54:08 +0900156
Masahiro Yamada6e485b22016-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 Yamada6835b452016-02-16 17:03:51 +0900168
Masahiro Yamada6e485b22016-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 Yamada6c086d02017-11-25 00:25:35 +0900178 resets = <&peri_rst 0>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900179 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900180
Masahiro Yamada6e485b22016-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 Yamada6c086d02017-11-25 00:25:35 +0900190 resets = <&peri_rst 1>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900191 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900192
Masahiro Yamada6e485b22016-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 Yamada6c086d02017-11-25 00:25:35 +0900202 resets = <&peri_rst 2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900203 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900204
Masahiro Yamada6e485b22016-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 Yamada6c086d02017-11-25 00:25:35 +0900214 resets = <&peri_rst 3>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900215 };
Masahiro Yamada6835b452016-02-16 17:03:51 +0900216
Masahiro Yamada964edbf2017-10-13 19:21:52 +0900217 gpio: gpio@55000000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900218 compatible = "socionext,uniphier-gpio";
Masahiro Yamada964edbf2017-10-13 19:21:52 +0900219 reg = <0x55000000 0x200>;
220 interrupt-parent = <&aidet>;
221 interrupt-controller;
222 #interrupt-cells = <2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900223 gpio-controller;
224 #gpio-cells = <2>;
Masahiro Yamada964edbf2017-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 Yamada6c086d02017-11-25 00:25:35 +0900230 socionext,interrupt-ranges = <0 48 16>, <16 154 5>,
231 <21 217 3>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900232 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900233
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900234 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 Yamadabf3b7212017-03-13 00:16:41 +0900243 clocks = <&peri_clk 4>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900244 resets = <&peri_rst 4>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900245 clock-frequency = <100000>;
246 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900247
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900248 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 Yamadabf3b7212017-03-13 00:16:41 +0900257 clocks = <&peri_clk 5>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900258 resets = <&peri_rst 5>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900259 clock-frequency = <100000>;
260 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900261
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900262 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 Yamadabf3b7212017-03-13 00:16:41 +0900271 clocks = <&peri_clk 6>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900272 resets = <&peri_rst 6>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900273 clock-frequency = <100000>;
274 };
Masahiro Yamada299307d2016-02-18 19:52:50 +0900275
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900276 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 Yamadabf3b7212017-03-13 00:16:41 +0900285 clocks = <&peri_clk 7>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900286 resets = <&peri_rst 7>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900287 clock-frequency = <100000>;
288 };
Masahiro Yamada299307d2016-02-18 19:52:50 +0900289
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900290 /* 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 Yamadabf3b7212017-03-13 00:16:41 +0900297 clocks = <&peri_clk 8>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900298 resets = <&peri_rst 8>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900299 clock-frequency = <400000>;
300 };
Masahiro Yamada2707e832016-06-29 19:39:02 +0900301
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900302 /* 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 Yamadabf3b7212017-03-13 00:16:41 +0900309 clocks = <&peri_clk 9>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900310 resets = <&peri_rst 9>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900311 clock-frequency = <400000>;
312 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900313
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900314 /* 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 Yamadabf3b7212017-03-13 00:16:41 +0900321 clocks = <&peri_clk 10>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900322 resets = <&peri_rst 10>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900323 clock-frequency = <400000>;
324 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900325
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900326 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 };
Masahiro Yamada224e2f72016-02-02 21:11:33 +0900335
Masahiro Yamada938ab162017-05-15 14:23:46 +0900336 smpctrl@59801000 {
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900337 compatible = "socionext,uniphier-smpctrl";
338 reg = <0x59801000 0x400>;
339 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900340
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900341 sdctrl@59810000 {
342 compatible = "socionext,uniphier-pxs2-sdctrl",
343 "simple-mfd", "syscon";
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900344 reg = <0x59810000 0x400>;
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +0900345
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900346 sd_clk: clock {
347 compatible = "socionext,uniphier-pxs2-sd-clock";
348 #clock-cells = <1>;
349 };
Masahiro Yamadaa4e54cc2015-11-04 21:56:07 +0900350
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900351 sd_rst: reset {
352 compatible = "socionext,uniphier-pxs2-sd-reset";
353 #reset-cells = <1>;
354 };
355 };
Masahiro Yamadaedbecf52015-08-28 22:33:15 +0900356
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900357 perictrl@59820000 {
358 compatible = "socionext,uniphier-pxs2-perictrl",
359 "simple-mfd", "syscon";
360 reg = <0x59820000 0x200>;
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900361
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900362 peri_clk: clock {
363 compatible = "socionext,uniphier-pxs2-peri-clock";
364 #clock-cells = <1>;
365 };
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900366
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900367 peri_rst: reset {
368 compatible = "socionext,uniphier-pxs2-peri-reset";
369 #reset-cells = <1>;
370 };
371 };
Masahiro Yamada1d5df7b2016-02-02 21:11:36 +0900372
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900373 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 };
Masahiro Yamada80951832016-02-02 21:11:35 +0900389
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900390 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 };
Masahiro Yamadae84513b2016-02-02 21:11:34 +0900407
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900408 soc-glue@5f800000 {
409 compatible = "socionext,uniphier-pxs2-soc-glue",
410 "simple-mfd", "syscon";
411 reg = <0x5f800000 0x2000>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900412
413 pinctrl: pinctrl {
414 compatible = "socionext,uniphier-pxs2-pinctrl";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900415 };
416 };
Masahiro Yamada02bf5b82016-09-22 07:42:23 +0900417
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900418 aidet: aidet@5fc20000 {
419 compatible = "socionext,uniphier-pxs2-aidet";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900420 reg = <0x5fc20000 0x200>;
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900421 interrupt-controller;
422 #interrupt-cells = <2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900423 };
424
425 timer@60000200 {
426 compatible = "arm,cortex-a9-global-timer";
427 reg = <0x60000200 0x20>;
428 interrupts = <1 11 0xf04>;
429 clocks = <&arm_timer_clk>;
430 };
431
432 timer@60000600 {
433 compatible = "arm,cortex-a9-twd-timer";
434 reg = <0x60000600 0x20>;
435 interrupts = <1 13 0xf04>;
436 clocks = <&arm_timer_clk>;
437 };
438
439 intc: interrupt-controller@60001000 {
440 compatible = "arm,cortex-a9-gic";
441 reg = <0x60001000 0x1000>,
442 <0x60000100 0x100>;
443 #interrupt-cells = <3>;
444 interrupt-controller;
445 };
446
447 sysctrl@61840000 {
448 compatible = "socionext,uniphier-pxs2-sysctrl",
449 "simple-mfd", "syscon";
Masahiro Yamadabf3b7212017-03-13 00:16:41 +0900450 reg = <0x61840000 0x10000>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900451
452 sys_clk: clock {
453 compatible = "socionext,uniphier-pxs2-clock";
454 #clock-cells = <1>;
455 };
456
457 sys_rst: reset {
458 compatible = "socionext,uniphier-pxs2-reset";
459 #reset-cells = <1>;
460 };
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900461
462 pvtctl: pvtctl {
463 compatible = "socionext,uniphier-pxs2-thermal";
464 interrupts = <0 3 4>;
465 #thermal-sensor-cells = <0>;
466 socionext,tmod-calibration = <0x0f86 0x6844>;
467 };
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900468 };
469
470 usb0: usb@65b00000 {
471 compatible = "socionext,uniphier-pxs2-dwc3";
472 status = "disabled";
473 reg = <0x65b00000 0x1000>;
474 #address-cells = <1>;
475 #size-cells = <1>;
476 ranges;
477 pinctrl-names = "default";
478 pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
479 dwc3@65a00000 {
480 compatible = "snps,dwc3";
481 reg = <0x65a00000 0x10000>;
482 interrupts = <0 134 4>;
Masahiro Yamadad2c8abd2017-08-13 09:01:17 +0900483 dr_mode = "host";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900484 tx-fifo-resize;
485 };
486 };
487
488 usb1: usb@65d00000 {
489 compatible = "socionext,uniphier-pxs2-dwc3";
490 status = "disabled";
491 reg = <0x65d00000 0x1000>;
492 #address-cells = <1>;
493 #size-cells = <1>;
494 ranges;
495 pinctrl-names = "default";
496 pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
497 dwc3@65c00000 {
498 compatible = "snps,dwc3";
499 reg = <0x65c00000 0x10000>;
500 interrupts = <0 137 4>;
Masahiro Yamadad2c8abd2017-08-13 09:01:17 +0900501 dr_mode = "host";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900502 tx-fifo-resize;
503 };
504 };
505
506 nand: nand@68000000 {
Masahiro Yamada552acbf2017-04-20 16:54:44 +0900507 compatible = "socionext,uniphier-denali-nand-v5b";
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900508 status = "disabled";
509 reg-names = "nand_data", "denali_reg";
510 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
511 interrupts = <0 65 4>;
512 pinctrl-names = "default";
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900513 pinctrl-0 = <&pinctrl_nand2cs>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900514 clocks = <&sys_clk 2>;
Masahiro Yamada6c086d02017-11-25 00:25:35 +0900515 resets = <&sys_rst 2>;
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900516 };
517 };
Masahiro Yamadae84513b2016-02-02 21:11:34 +0900518};
Masahiro Yamada6e485b22016-12-05 18:31:39 +0900519
Masahiro Yamada1a420bd2017-08-29 12:20:52 +0900520#include "uniphier-pinctrl.dtsi"