blob: 6637aeaa07b3a04422f5db3119ed4309597759b0 [file] [log] [blame]
Masahiro Yamada509eb672014-11-26 18:33:59 +09001/*
2 * Device Tree Source for UniPhier PH1-Pro4 SoC
3 *
Masahiro Yamadaedcfaeb2015-06-30 18:27:00 +09004 * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamada509eb672014-11-26 18:33:59 +09005 *
Masahiro Yamada13b2ba12015-06-30 18:27:01 +09006 * SPDX-License-Identifier: GPL-2.0+ X11
Masahiro Yamada509eb672014-11-26 18:33:59 +09007 */
8
Masahiro Yamada8f062432015-12-16 10:54:07 +09009/include/ "uniphier-common32.dtsi"
Masahiro Yamada509eb672014-11-26 18:33:59 +090010
11/ {
Masahiro Yamada6462cde2015-03-11 15:54:46 +090012 compatible = "socionext,ph1-pro4";
Masahiro Yamada509eb672014-11-26 18:33:59 +090013
14 cpus {
Masahiro Yamada509eb672014-11-26 18:33:59 +090015 #address-cells = <1>;
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +090016 #size-cells = <0>;
Masahiro Yamadaedcfaeb2015-06-30 18:27:00 +090017 enable-method = "socionext,uniphier-smp";
Masahiro Yamada509eb672014-11-26 18:33:59 +090018
19 cpu@0 {
20 device_type = "cpu";
21 compatible = "arm,cortex-a9";
22 reg = <0>;
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090023 next-level-cache = <&l2>;
Masahiro Yamada509eb672014-11-26 18:33:59 +090024 };
25
26 cpu@1 {
27 device_type = "cpu";
28 compatible = "arm,cortex-a9";
29 reg = <1>;
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090030 next-level-cache = <&l2>;
Masahiro Yamada509eb672014-11-26 18:33:59 +090031 };
32 };
33
Masahiro Yamadaedcfaeb2015-06-30 18:27:00 +090034 clocks {
35 arm_timer_clk: arm_timer_clk {
36 #clock-cells = <0>;
37 compatible = "fixed-clock";
38 clock-frequency = <50000000>;
39 };
Masahiro Yamadad243c182015-08-28 22:33:13 +090040
41 uart_clk: uart_clk {
42 #clock-cells = <0>;
43 compatible = "fixed-clock";
44 clock-frequency = <73728000>;
45 };
46
47 i2c_clk: i2c_clk {
48 #clock-cells = <0>;
49 compatible = "fixed-clock";
50 clock-frequency = <50000000>;
51 };
Masahiro Yamadaedcfaeb2015-06-30 18:27:00 +090052 };
Masahiro Yamada8f062432015-12-16 10:54:07 +090053};
Masahiro Yamadaedcfaeb2015-06-30 18:27:00 +090054
Masahiro Yamada8f062432015-12-16 10:54:07 +090055&soc {
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +090056 l2: l2-cache@500c0000 {
57 compatible = "socionext,uniphier-system-cache";
58 reg = <0x500c0000 0x2000>, <0x503c0100 0x4>, <0x506c0000 0x400>;
59 interrupts = <0 174 4>, <0 175 4>;
60 cache-unified;
61 cache-size = <(768 * 1024)>;
62 cache-sets = <256>;
63 cache-line-size = <128>;
64 cache-level = <2>;
65 };
66
Masahiro Yamada595dc1e2016-02-16 17:03:51 +090067 port0x: gpio@55000008 {
68 compatible = "socionext,uniphier-gpio";
69 reg = <0x55000008 0x8>;
70 gpio-controller;
71 #gpio-cells = <2>;
72 };
73
74 port1x: gpio@55000010 {
75 compatible = "socionext,uniphier-gpio";
76 reg = <0x55000010 0x8>;
77 gpio-controller;
78 #gpio-cells = <2>;
79 };
80
81 port2x: gpio@55000018 {
82 compatible = "socionext,uniphier-gpio";
83 reg = <0x55000018 0x8>;
84 gpio-controller;
85 #gpio-cells = <2>;
86 };
87
88 port3x: gpio@55000020 {
89 compatible = "socionext,uniphier-gpio";
90 reg = <0x55000020 0x8>;
91 gpio-controller;
92 #gpio-cells = <2>;
93 };
94
95 port4: gpio@55000028 {
96 compatible = "socionext,uniphier-gpio";
97 reg = <0x55000028 0x8>;
98 gpio-controller;
99 #gpio-cells = <2>;
100 };
101
102 port5x: gpio@55000030 {
103 compatible = "socionext,uniphier-gpio";
104 reg = <0x55000030 0x8>;
105 gpio-controller;
106 #gpio-cells = <2>;
107 };
108
109 port6x: gpio@55000038 {
110 compatible = "socionext,uniphier-gpio";
111 reg = <0x55000038 0x8>;
112 gpio-controller;
113 #gpio-cells = <2>;
114 };
115
116 port7x: gpio@55000040 {
117 compatible = "socionext,uniphier-gpio";
118 reg = <0x55000040 0x8>;
119 gpio-controller;
120 #gpio-cells = <2>;
121 };
122
123 port8x: gpio@55000048 {
124 compatible = "socionext,uniphier-gpio";
125 reg = <0x55000048 0x8>;
126 gpio-controller;
127 #gpio-cells = <2>;
128 };
129
130 port9x: gpio@55000050 {
131 compatible = "socionext,uniphier-gpio";
132 reg = <0x55000050 0x8>;
133 gpio-controller;
134 #gpio-cells = <2>;
135 };
136
137 port10x: gpio@55000058 {
138 compatible = "socionext,uniphier-gpio";
139 reg = <0x55000058 0x8>;
140 gpio-controller;
141 #gpio-cells = <2>;
142 };
143
144 port11x: gpio@55000060 {
145 compatible = "socionext,uniphier-gpio";
146 reg = <0x55000060 0x8>;
147 gpio-controller;
148 #gpio-cells = <2>;
149 };
150
151 port12x: gpio@55000068 {
152 compatible = "socionext,uniphier-gpio";
153 reg = <0x55000068 0x8>;
154 gpio-controller;
155 #gpio-cells = <2>;
156 };
157
158 port13x: gpio@55000070 {
159 compatible = "socionext,uniphier-gpio";
160 reg = <0x55000070 0x8>;
161 gpio-controller;
162 #gpio-cells = <2>;
163 };
164
165 port14x: gpio@55000078 {
166 compatible = "socionext,uniphier-gpio";
167 reg = <0x55000078 0x8>;
168 gpio-controller;
169 #gpio-cells = <2>;
170 };
171
172 port17x: gpio@550000a0 {
173 compatible = "socionext,uniphier-gpio";
174 reg = <0x550000a0 0x8>;
175 gpio-controller;
176 #gpio-cells = <2>;
177 };
178
179 port18x: gpio@550000a8 {
180 compatible = "socionext,uniphier-gpio";
181 reg = <0x550000a8 0x8>;
182 gpio-controller;
183 #gpio-cells = <2>;
184 };
185
186 port19x: gpio@550000b0 {
187 compatible = "socionext,uniphier-gpio";
188 reg = <0x550000b0 0x8>;
189 gpio-controller;
190 #gpio-cells = <2>;
191 };
192
193 port20x: gpio@550000b8 {
194 compatible = "socionext,uniphier-gpio";
195 reg = <0x550000b8 0x8>;
196 gpio-controller;
197 #gpio-cells = <2>;
198 };
199
200 port21x: gpio@550000c0 {
201 compatible = "socionext,uniphier-gpio";
202 reg = <0x550000c0 0x8>;
203 gpio-controller;
204 #gpio-cells = <2>;
205 };
206
207 port22x: gpio@550000c8 {
208 compatible = "socionext,uniphier-gpio";
209 reg = <0x550000c8 0x8>;
210 gpio-controller;
211 #gpio-cells = <2>;
212 };
213
214 port23x: gpio@550000d0 {
215 compatible = "socionext,uniphier-gpio";
216 reg = <0x550000d0 0x8>;
217 gpio-controller;
218 #gpio-cells = <2>;
219 };
220
221 port24x: gpio@550000d8 {
222 compatible = "socionext,uniphier-gpio";
223 reg = <0x550000d8 0x8>;
224 gpio-controller;
225 #gpio-cells = <2>;
226 };
227
228 port25x: gpio@550000e0 {
229 compatible = "socionext,uniphier-gpio";
230 reg = <0x550000e0 0x8>;
231 gpio-controller;
232 #gpio-cells = <2>;
233 };
234
235 port26x: gpio@550000e8 {
236 compatible = "socionext,uniphier-gpio";
237 reg = <0x550000e8 0x8>;
238 gpio-controller;
239 #gpio-cells = <2>;
240 };
241
242 port27x: gpio@550000f0 {
243 compatible = "socionext,uniphier-gpio";
244 reg = <0x550000f0 0x8>;
245 gpio-controller;
246 #gpio-cells = <2>;
247 };
248
249 port28x: gpio@550000f8 {
250 compatible = "socionext,uniphier-gpio";
251 reg = <0x550000f8 0x8>;
252 gpio-controller;
253 #gpio-cells = <2>;
254 };
255
256 port29x: gpio@55000100 {
257 compatible = "socionext,uniphier-gpio";
258 reg = <0x55000100 0x8>;
259 gpio-controller;
260 #gpio-cells = <2>;
261 };
262
263 port30x: gpio@55000108 {
264 compatible = "socionext,uniphier-gpio";
265 reg = <0x55000108 0x8>;
266 gpio-controller;
267 #gpio-cells = <2>;
268 };
269
Masahiro Yamada8f062432015-12-16 10:54:07 +0900270 i2c0: i2c@58780000 {
271 compatible = "socionext,uniphier-fi2c";
272 status = "disabled";
273 reg = <0x58780000 0x80>;
Masahiro Yamada509eb672014-11-26 18:33:59 +0900274 #address-cells = <1>;
Masahiro Yamada8f062432015-12-16 10:54:07 +0900275 #size-cells = <0>;
276 interrupts = <0 41 4>;
277 pinctrl-names = "default";
278 pinctrl-0 = <&pinctrl_i2c0>;
279 clocks = <&i2c_clk>;
280 clock-frequency = <100000>;
281 };
Masahiro Yamadaedcfaeb2015-06-30 18:27:00 +0900282
Masahiro Yamada8f062432015-12-16 10:54:07 +0900283 i2c1: i2c@58781000 {
284 compatible = "socionext,uniphier-fi2c";
285 status = "disabled";
286 reg = <0x58781000 0x80>;
287 #address-cells = <1>;
288 #size-cells = <0>;
289 interrupts = <0 42 4>;
290 pinctrl-names = "default";
291 pinctrl-0 = <&pinctrl_i2c1>;
292 clocks = <&i2c_clk>;
293 clock-frequency = <100000>;
294 };
Masahiro Yamada625177d2014-11-26 18:34:00 +0900295
Masahiro Yamada8f062432015-12-16 10:54:07 +0900296 i2c2: i2c@58782000 {
297 compatible = "socionext,uniphier-fi2c";
298 status = "disabled";
299 reg = <0x58782000 0x80>;
300 #address-cells = <1>;
301 #size-cells = <0>;
302 interrupts = <0 43 4>;
303 pinctrl-names = "default";
304 pinctrl-0 = <&pinctrl_i2c2>;
305 clocks = <&i2c_clk>;
306 clock-frequency = <100000>;
307 };
Masahiro Yamada625177d2014-11-26 18:34:00 +0900308
Masahiro Yamada8f062432015-12-16 10:54:07 +0900309 i2c3: i2c@58783000 {
310 compatible = "socionext,uniphier-fi2c";
311 status = "disabled";
312 reg = <0x58783000 0x80>;
313 #address-cells = <1>;
314 #size-cells = <0>;
315 interrupts = <0 44 4>;
316 pinctrl-names = "default";
317 pinctrl-0 = <&pinctrl_i2c3>;
318 clocks = <&i2c_clk>;
319 clock-frequency = <100000>;
320 };
Masahiro Yamada625177d2014-11-26 18:34:00 +0900321
Masahiro Yamada8f062432015-12-16 10:54:07 +0900322 /* i2c4 does not exist */
Masahiro Yamada625177d2014-11-26 18:34:00 +0900323
Masahiro Yamada8f062432015-12-16 10:54:07 +0900324 /* chip-internal connection for DMD */
325 i2c5: i2c@58785000 {
326 compatible = "socionext,uniphier-fi2c";
327 reg = <0x58785000 0x80>;
328 #address-cells = <1>;
329 #size-cells = <0>;
330 interrupts = <0 25 4>;
331 clocks = <&i2c_clk>;
332 clock-frequency = <400000>;
333 };
Masahiro Yamada149c7512014-11-26 18:34:01 +0900334
Masahiro Yamada8f062432015-12-16 10:54:07 +0900335 /* chip-internal connection for HDMI */
336 i2c6: i2c@58786000 {
337 compatible = "socionext,uniphier-fi2c";
338 reg = <0x58786000 0x80>;
339 #address-cells = <1>;
340 #size-cells = <0>;
341 interrupts = <0 26 4>;
342 clocks = <&i2c_clk>;
343 clock-frequency = <400000>;
344 };
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +0900345
Masahiro Yamada8f062432015-12-16 10:54:07 +0900346 usb2: usb@5a800100 {
347 compatible = "socionext,uniphier-ehci", "generic-ehci";
348 status = "disabled";
349 reg = <0x5a800100 0x100>;
350 interrupts = <0 80 4>;
351 pinctrl-names = "default";
352 pinctrl-0 = <&pinctrl_usb2>;
Masahiro Yamada49dde452016-02-02 21:11:37 +0900353 clocks = <&mio 3>, <&mio 6>;
Masahiro Yamada8f062432015-12-16 10:54:07 +0900354 };
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +0900355
Masahiro Yamada8f062432015-12-16 10:54:07 +0900356 usb3: usb@5a810100 {
357 compatible = "socionext,uniphier-ehci", "generic-ehci";
358 status = "disabled";
359 reg = <0x5a810100 0x100>;
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +0900360 interrupts = <0 81 4>;
Masahiro Yamada8f062432015-12-16 10:54:07 +0900361 pinctrl-names = "default";
362 pinctrl-0 = <&pinctrl_usb3>;
Masahiro Yamada49dde452016-02-02 21:11:37 +0900363 clocks = <&mio 4>, <&mio 6>;
Masahiro Yamada8f062432015-12-16 10:54:07 +0900364 };
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +0900365
Masahiro Yamada8f062432015-12-16 10:54:07 +0900366 usb0: usb@65a00000 {
367 compatible = "socionext,uniphier-xhci", "generic-xhci";
368 status = "disabled";
369 reg = <0x65a00000 0x100>;
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +0900370 interrupts = <0 134 4>;
Masahiro Yamada8f062432015-12-16 10:54:07 +0900371 pinctrl-names = "default";
372 pinctrl-0 = <&pinctrl_usb0>;
Masahiro Yamada8f062432015-12-16 10:54:07 +0900373 };
Masahiro Yamadaf5fd7af2014-12-06 00:03:23 +0900374
Masahiro Yamada8f062432015-12-16 10:54:07 +0900375 usb1: usb@65c00000 {
376 compatible = "socionext,uniphier-xhci", "generic-xhci";
377 status = "disabled";
378 reg = <0x65c00000 0x100>;
Masahiro Yamada4e1f81d2015-12-16 10:54:08 +0900379 interrupts = <0 137 4>;
Masahiro Yamada8f062432015-12-16 10:54:07 +0900380 pinctrl-names = "default";
381 pinctrl-0 = <&pinctrl_usb1>;
Masahiro Yamada509eb672014-11-26 18:33:59 +0900382 };
383};
Masahiro Yamadad243c182015-08-28 22:33:13 +0900384
Masahiro Yamadacc336092016-02-02 21:11:33 +0900385&refclk {
386 clock-frequency = <25000000>;
387};
388
Masahiro Yamada8f062432015-12-16 10:54:07 +0900389&serial0 {
390 clock-frequency = <73728000>;
391};
392
393&serial1 {
394 clock-frequency = <73728000>;
395};
396
397&serial2 {
398 clock-frequency = <73728000>;
399};
400
401&serial3 {
402 clock-frequency = <73728000>;
403};
404
Masahiro Yamadaaa37aba2016-02-02 21:11:36 +0900405&mio {
406 compatible = "socionext,ph1-pro4-mioctrl";
407 clock-names = "stdmac", "ehci";
408 clocks = <&sysctrl 10>, <&sysctrl 18>;
409};
410
Masahiro Yamada9fbb2f72016-02-02 21:11:35 +0900411&peri {
412 compatible = "socionext,ph1-pro4-perictrl";
413 clock-names = "uart", "fi2c";
414 clocks = <&sysctrl 3>, <&sysctrl 4>;
415};
416
Masahiro Yamada8f062432015-12-16 10:54:07 +0900417&pinctrl {
418 compatible = "socionext,ph1-pro4-pinctrl", "syscon";
419};
Masahiro Yamada233812a2016-02-02 21:11:34 +0900420
421&sysctrl {
422 compatible = "socionext,ph1-pro4-sysctrl";
423};