blob: 789713db12c1a812b87b5d2c1e525eddc99fac11 [file] [log] [blame]
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +09001/*
2 * Device Tree Source for UniPhier PH1-sLD3 SoC
3 *
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +09004 * Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +09005 *
Masahiro Yamada7bfb0a22015-06-30 18:27:01 +09006 * SPDX-License-Identifier: GPL-2.0+ X11
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +09007 */
8
9/include/ "skeleton.dtsi"
10
11/ {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +090012 compatible = "socionext,ph1-sld3";
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +090013
14 cpus {
15 #address-cells = <1>;
16 #size-cells = <0>;
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +090017 enable-method = "socionext,uniphier-smp";
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +090018
19 cpu@0 {
20 device_type = "cpu";
21 compatible = "arm,cortex-a9";
22 reg = <0>;
23 };
24
25 cpu@1 {
26 device_type = "cpu";
27 compatible = "arm,cortex-a9";
28 reg = <1>;
29 };
30 };
31
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +090032 clocks {
Masahiro Yamada224e2f72016-02-02 21:11:33 +090033 refclk: ref {
34 #clock-cells = <0>;
35 compatible = "fixed-clock";
36 clock-frequency = <24576000>;
37 };
38
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +090039 arm_timer_clk: arm_timer_clk {
40 #clock-cells = <0>;
41 compatible = "fixed-clock";
42 clock-frequency = <50000000>;
43 };
Masahiro Yamada37649af2015-08-28 22:33:13 +090044
45 uart_clk: uart_clk {
46 #clock-cells = <0>;
47 compatible = "fixed-clock";
48 clock-frequency = <36864000>;
49 };
50
51 iobus_clk: iobus_clk {
52 #clock-cells = <0>;
53 compatible = "fixed-clock";
54 clock-frequency = <100000000>;
55 };
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +090056 };
57
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +090058 soc {
59 compatible = "simple-bus";
60 #address-cells = <1>;
61 #size-cells = <1>;
62 ranges;
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +090063 interrupt-parent = <&intc>;
64
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +090065 timer@20000200 {
66 compatible = "arm,cortex-a9-global-timer";
67 reg = <0x20000200 0x20>;
68 interrupts = <1 11 0x304>;
69 clocks = <&arm_timer_clk>;
70 };
71
72 timer@20000600 {
73 compatible = "arm,cortex-a9-twd-timer";
74 reg = <0x20000600 0x20>;
75 interrupts = <1 13 0x304>;
76 clocks = <&arm_timer_clk>;
77 };
78
79 intc: interrupt-controller@20001000 {
80 compatible = "arm,cortex-a9-gic";
81 #interrupt-cells = <3>;
82 interrupt-controller;
83 reg = <0x20001000 0x1000>,
84 <0x20000100 0x100>;
85 };
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +090086
Masahiro Yamada37649af2015-08-28 22:33:13 +090087 serial0: serial@54006800 {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +090088 compatible = "socionext,uniphier-uart";
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +090089 status = "disabled";
Masahiro Yamada37649af2015-08-28 22:33:13 +090090 reg = <0x54006800 0x40>;
91 interrupts = <0 33 4>;
92 clocks = <&uart_clk>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +090093 clock-frequency = <36864000>;
94 };
95
Masahiro Yamada37649af2015-08-28 22:33:13 +090096 serial1: serial@54006900 {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +090097 compatible = "socionext,uniphier-uart";
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +090098 status = "disabled";
Masahiro Yamada37649af2015-08-28 22:33:13 +090099 reg = <0x54006900 0x40>;
100 interrupts = <0 35 4>;
101 clocks = <&uart_clk>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900102 clock-frequency = <36864000>;
103 };
104
Masahiro Yamada37649af2015-08-28 22:33:13 +0900105 serial2: serial@54006a00 {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +0900106 compatible = "socionext,uniphier-uart";
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900107 status = "disabled";
Masahiro Yamada37649af2015-08-28 22:33:13 +0900108 reg = <0x54006a00 0x40>;
109 interrupts = <0 37 4>;
110 clocks = <&uart_clk>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900111 clock-frequency = <36864000>;
112 };
113
Masahiro Yamada6835b452016-02-16 17:03:51 +0900114 port0x: gpio@55000008 {
115 compatible = "socionext,uniphier-gpio";
116 reg = <0x55000008 0x8>;
117 gpio-controller;
118 #gpio-cells = <2>;
119 };
120
121 port1x: gpio@55000010 {
122 compatible = "socionext,uniphier-gpio";
123 reg = <0x55000010 0x8>;
124 gpio-controller;
125 #gpio-cells = <2>;
126 };
127
128 port2x: gpio@55000018 {
129 compatible = "socionext,uniphier-gpio";
130 reg = <0x55000018 0x8>;
131 gpio-controller;
132 #gpio-cells = <2>;
133 };
134
135 port3x: gpio@55000020 {
136 compatible = "socionext,uniphier-gpio";
137 reg = <0x55000020 0x8>;
138 gpio-controller;
139 #gpio-cells = <2>;
140 };
141
142 port4: gpio@55000028 {
143 compatible = "socionext,uniphier-gpio";
144 reg = <0x55000028 0x8>;
145 gpio-controller;
146 #gpio-cells = <2>;
147 };
148
149 port5x: gpio@55000030 {
150 compatible = "socionext,uniphier-gpio";
151 reg = <0x55000030 0x8>;
152 gpio-controller;
153 #gpio-cells = <2>;
154 };
155
156 port6x: gpio@55000038 {
157 compatible = "socionext,uniphier-gpio";
158 reg = <0x55000038 0x8>;
159 gpio-controller;
160 #gpio-cells = <2>;
161 };
162
163 port7x: gpio@55000040 {
164 compatible = "socionext,uniphier-gpio";
165 reg = <0x55000040 0x8>;
166 gpio-controller;
167 #gpio-cells = <2>;
168 };
169
170 port8x: gpio@55000048 {
171 compatible = "socionext,uniphier-gpio";
172 reg = <0x55000048 0x8>;
173 gpio-controller;
174 #gpio-cells = <2>;
175 };
176
177 port9x: gpio@55000050 {
178 compatible = "socionext,uniphier-gpio";
179 reg = <0x55000050 0x8>;
180 gpio-controller;
181 #gpio-cells = <2>;
182 };
183
184 port10x: gpio@55000058 {
185 compatible = "socionext,uniphier-gpio";
186 reg = <0x55000058 0x8>;
187 gpio-controller;
188 #gpio-cells = <2>;
189 };
190
191 port11x: gpio@55000060 {
192 compatible = "socionext,uniphier-gpio";
193 reg = <0x55000060 0x8>;
194 gpio-controller;
195 #gpio-cells = <2>;
196 };
197
198 port12x: gpio@55000068 {
199 compatible = "socionext,uniphier-gpio";
200 reg = <0x55000068 0x8>;
201 gpio-controller;
202 #gpio-cells = <2>;
203 };
204
205 port13x: gpio@55000070 {
206 compatible = "socionext,uniphier-gpio";
207 reg = <0x55000070 0x8>;
208 gpio-controller;
209 #gpio-cells = <2>;
210 };
211
212 port14x: gpio@55000078 {
213 compatible = "socionext,uniphier-gpio";
214 reg = <0x55000078 0x8>;
215 gpio-controller;
216 #gpio-cells = <2>;
217 };
218
219 port16x: gpio@55000088 {
220 compatible = "socionext,uniphier-gpio";
221 reg = <0x55000088 0x8>;
222 gpio-controller;
223 #gpio-cells = <2>;
224 };
225
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900226 i2c0: i2c@58400000 {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +0900227 compatible = "socionext,uniphier-i2c";
Masahiro Yamada37649af2015-08-28 22:33:13 +0900228 status = "disabled";
229 reg = <0x58400000 0x40>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900230 #address-cells = <1>;
231 #size-cells = <0>;
Masahiro Yamada37649af2015-08-28 22:33:13 +0900232 interrupts = <0 41 1>;
233 clocks = <&iobus_clk>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900234 clock-frequency = <100000>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900235 };
236
237 i2c1: i2c@58480000 {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +0900238 compatible = "socionext,uniphier-i2c";
Masahiro Yamada37649af2015-08-28 22:33:13 +0900239 status = "disabled";
240 reg = <0x58480000 0x40>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900241 #address-cells = <1>;
242 #size-cells = <0>;
Masahiro Yamada37649af2015-08-28 22:33:13 +0900243 interrupts = <0 42 1>;
244 clocks = <&iobus_clk>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900245 clock-frequency = <100000>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900246 };
247
248 i2c2: i2c@58500000 {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +0900249 compatible = "socionext,uniphier-i2c";
Masahiro Yamada37649af2015-08-28 22:33:13 +0900250 status = "disabled";
251 reg = <0x58500000 0x40>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900252 #address-cells = <1>;
253 #size-cells = <0>;
Masahiro Yamada37649af2015-08-28 22:33:13 +0900254 interrupts = <0 43 1>;
255 clocks = <&iobus_clk>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900256 clock-frequency = <100000>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900257 };
258
259 i2c3: i2c@58580000 {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +0900260 compatible = "socionext,uniphier-i2c";
Masahiro Yamada37649af2015-08-28 22:33:13 +0900261 status = "disabled";
262 reg = <0x58580000 0x40>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900263 #address-cells = <1>;
264 #size-cells = <0>;
Masahiro Yamada37649af2015-08-28 22:33:13 +0900265 interrupts = <0 44 1>;
266 clocks = <&iobus_clk>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900267 clock-frequency = <100000>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900268 };
269
Masahiro Yamada37649af2015-08-28 22:33:13 +0900270 /* chip-internal connection for DMD */
Masahiro Yamada3e278952015-07-21 14:04:23 +0900271 i2c4: i2c@58600000 {
Masahiro Yamada37649af2015-08-28 22:33:13 +0900272 compatible = "socionext,uniphier-i2c";
273 reg = <0x58600000 0x40>;
Masahiro Yamada3e278952015-07-21 14:04:23 +0900274 #address-cells = <1>;
275 #size-cells = <0>;
Masahiro Yamada37649af2015-08-28 22:33:13 +0900276 interrupts = <0 45 1>;
277 clocks = <&iobus_clk>;
Masahiro Yamada3e278952015-07-21 14:04:23 +0900278 clock-frequency = <400000>;
Masahiro Yamada3e278952015-07-21 14:04:23 +0900279 };
280
Masahiro Yamada94c12bf2016-02-16 17:00:22 +0900281 system_bus: system-bus@58c00000 {
282 compatible = "socionext,uniphier-system-bus";
283 reg = <0x58c00000 0x400>;
284 #address-cells = <2>;
285 #size-cells = <1>;
286 };
287
288 smpctrl@59800000 {
289 compatible = "socionext,uniphier-smpctrl";
290 reg = <0x59801000 0x400>;
Masahiro Yamadabbbb0bd2015-06-30 18:27:00 +0900291 };
292
Masahiro Yamada1d5df7b2016-02-02 21:11:36 +0900293 mio: mioctrl@59810000 {
294 compatible = "socionext,ph1-sld3-mioctrl";
295 reg = <0x59810000 0x800>;
296 #clock-cells = <1>;
297 clock-names = "stdmac", "ehci";
298 clocks = <&sysctrl 10>, <&sysctrl 18>;
299 };
300
Masahiro Yamada299307d2016-02-18 19:52:50 +0900301 emmc: sdhc@5a400000 {
302 compatible = "socionext,uniphier-sdhc";
303 status = "disabled";
304 reg = <0x5a400000 0x200>;
305 interrupts = <0 78 4>;
306 clocks = <&mio 1>;
307 bus-width = <8>;
308 non-removable;
309 };
310
311 sd: sdhc@5a500000 {
312 compatible = "socionext,uniphier-sdhc";
313 status = "disabled";
314 reg = <0x5a500000 0x200>;
315 interrupts = <0 76 4>;
316 clocks = <&mio 0>;
317 bus-width = <4>;
318 };
319
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900320 usb0: usb@5a800100 {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +0900321 compatible = "socionext,uniphier-ehci", "generic-ehci";
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900322 status = "disabled";
323 reg = <0x5a800100 0x100>;
Masahiro Yamada37649af2015-08-28 22:33:13 +0900324 interrupts = <0 80 4>;
Masahiro Yamadacf4280a2016-02-02 21:11:37 +0900325 clocks = <&mio 3>, <&mio 6>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900326 };
327
328 usb1: usb@5a810100 {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +0900329 compatible = "socionext,uniphier-ehci", "generic-ehci";
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900330 status = "disabled";
331 reg = <0x5a810100 0x100>;
Masahiro Yamada37649af2015-08-28 22:33:13 +0900332 interrupts = <0 81 4>;
Masahiro Yamadacf4280a2016-02-02 21:11:37 +0900333 clocks = <&mio 4>, <&mio 6>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900334 };
335
336 usb2: usb@5a820100 {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +0900337 compatible = "socionext,uniphier-ehci", "generic-ehci";
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900338 status = "disabled";
339 reg = <0x5a820100 0x100>;
Masahiro Yamada37649af2015-08-28 22:33:13 +0900340 interrupts = <0 82 4>;
Masahiro Yamadacf4280a2016-02-02 21:11:37 +0900341 clocks = <&mio 5>, <&mio 6>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900342 };
343
344 usb3: usb@5a830100 {
Masahiro Yamadad5f83a42015-03-11 15:54:46 +0900345 compatible = "socionext,uniphier-ehci", "generic-ehci";
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900346 status = "disabled";
347 reg = <0x5a830100 0x100>;
Masahiro Yamada37649af2015-08-28 22:33:13 +0900348 interrupts = <0 83 4>;
Masahiro Yamadacf4280a2016-02-02 21:11:37 +0900349 clocks = <&mio 7>, <&mio 6>;
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900350 };
351
Masahiro Yamadae84513b2016-02-02 21:11:34 +0900352 sysctrl: sysctrl@f1840000 {
353 compatible = "socionext,ph1-sld3-sysctrl";
354 reg = <0xf1840000 0x4000>;
355 #clock-cells = <1>;
356 clock-names = "ref";
357 clocks = <&refclk>;
358 };
359
Masahiro Yamadaa90ca9a2014-12-06 00:03:24 +0900360 nand: nand@f8000000 {
361 compatible = "denali,denali-nand-dt";
362 reg = <0xf8000000 0x20>, <0xf8100000 0x1000>;
363 reg-names = "nand_data", "denali_reg";
364 };
365 };
366};