1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 // Device Tree Source for UniPhier LD4 SoC
5 // Copyright (C) 2015-2016 Socionext Inc.
6 // Author: Masahiro Yamada <yamada.masahiro@socionext.com>
8 #include <dt-bindings/gpio/uniphier-gpio.h>
11 compatible = "socionext,uniphier-ld4";
21 compatible = "arm,cortex-a9";
23 enable-method = "psci";
24 next-level-cache = <&l2>;
29 compatible = "arm,psci-0.2";
35 compatible = "fixed-clock";
37 clock-frequency = <24576000>;
40 arm_timer_clk: arm-timer {
42 compatible = "fixed-clock";
43 clock-frequency = <50000000>;
48 compatible = "simple-bus";
52 interrupt-parent = <&intc>;
54 l2: l2-cache@500c0000 {
55 compatible = "socionext,uniphier-system-cache";
56 reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
58 interrupts = <0 174 4>, <0 175 4>;
60 cache-size = <(512 * 1024)>;
62 cache-line-size = <128>;
67 compatible = "socionext,uniphier-scssi";
69 reg = <0x54006000 0x100>;
70 interrupts = <0 39 4>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&pinctrl_spi0>;
73 clocks = <&peri_clk 11>;
74 resets = <&peri_rst 11>;
77 serial0: serial@54006800 {
78 compatible = "socionext,uniphier-uart";
80 reg = <0x54006800 0x40>;
81 interrupts = <0 33 4>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&pinctrl_uart0>;
84 clocks = <&peri_clk 0>;
85 resets = <&peri_rst 0>;
88 serial1: serial@54006900 {
89 compatible = "socionext,uniphier-uart";
91 reg = <0x54006900 0x40>;
92 interrupts = <0 35 4>;
93 pinctrl-names = "default";
94 pinctrl-0 = <&pinctrl_uart1>;
95 clocks = <&peri_clk 1>;
96 resets = <&peri_rst 1>;
99 serial2: serial@54006a00 {
100 compatible = "socionext,uniphier-uart";
102 reg = <0x54006a00 0x40>;
103 interrupts = <0 37 4>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&pinctrl_uart2>;
106 clocks = <&peri_clk 2>;
107 resets = <&peri_rst 2>;
110 serial3: serial@54006b00 {
111 compatible = "socionext,uniphier-uart";
113 reg = <0x54006b00 0x40>;
114 interrupts = <0 29 4>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&pinctrl_uart3>;
117 clocks = <&peri_clk 3>;
118 resets = <&peri_rst 3>;
121 gpio: gpio@55000000 {
122 compatible = "socionext,uniphier-gpio";
123 reg = <0x55000000 0x200>;
124 interrupt-parent = <&aidet>;
125 interrupt-controller;
126 #interrupt-cells = <2>;
129 gpio-ranges = <&pinctrl 0 0 0>;
130 gpio-ranges-group-names = "gpio_range";
132 socionext,interrupt-ranges = <0 48 13>, <14 62 2>;
136 compatible = "socionext,uniphier-i2c";
138 reg = <0x58400000 0x40>;
139 #address-cells = <1>;
141 interrupts = <0 41 1>;
142 pinctrl-names = "default";
143 pinctrl-0 = <&pinctrl_i2c0>;
144 clocks = <&peri_clk 4>;
145 resets = <&peri_rst 4>;
146 clock-frequency = <100000>;
150 compatible = "socionext,uniphier-i2c";
152 reg = <0x58480000 0x40>;
153 #address-cells = <1>;
155 interrupts = <0 42 1>;
156 pinctrl-names = "default";
157 pinctrl-0 = <&pinctrl_i2c1>;
158 clocks = <&peri_clk 5>;
159 resets = <&peri_rst 5>;
160 clock-frequency = <100000>;
163 /* chip-internal connection for DMD */
165 compatible = "socionext,uniphier-i2c";
166 reg = <0x58500000 0x40>;
167 #address-cells = <1>;
169 interrupts = <0 43 1>;
170 pinctrl-names = "default";
171 pinctrl-0 = <&pinctrl_i2c2>;
172 clocks = <&peri_clk 6>;
173 resets = <&peri_rst 6>;
174 clock-frequency = <400000>;
178 compatible = "socionext,uniphier-i2c";
180 reg = <0x58580000 0x40>;
181 #address-cells = <1>;
183 interrupts = <0 44 1>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&pinctrl_i2c3>;
186 clocks = <&peri_clk 7>;
187 resets = <&peri_rst 7>;
188 clock-frequency = <100000>;
191 system_bus: system-bus@58c00000 {
192 compatible = "socionext,uniphier-system-bus";
194 reg = <0x58c00000 0x400>;
195 #address-cells = <2>;
197 pinctrl-names = "default";
198 pinctrl-0 = <&pinctrl_system_bus>;
202 compatible = "socionext,uniphier-smpctrl";
203 reg = <0x59801000 0x400>;
207 compatible = "socionext,uniphier-ld4-mioctrl",
208 "simple-mfd", "syscon";
209 reg = <0x59810000 0x800>;
212 compatible = "socionext,uniphier-ld4-mio-clock";
217 compatible = "socionext,uniphier-ld4-mio-reset";
223 compatible = "socionext,uniphier-ld4-perictrl",
224 "simple-mfd", "syscon";
225 reg = <0x59820000 0x200>;
228 compatible = "socionext,uniphier-ld4-peri-clock";
233 compatible = "socionext,uniphier-ld4-peri-reset";
238 dmac: dma-controller@5a000000 {
239 compatible = "socionext,uniphier-mio-dmac";
240 reg = <0x5a000000 0x1000>;
241 interrupts = <0 68 4>, <0 68 4>, <0 69 4>, <0 70 4>,
242 <0 71 4>, <0 72 4>, <0 73 4>;
243 clocks = <&mio_clk 7>;
244 resets = <&mio_rst 7>;
249 compatible = "socionext,uniphier-sd-v2.91";
251 reg = <0x5a400000 0x200>;
252 interrupts = <0 76 4>;
253 pinctrl-names = "default", "uhs";
254 pinctrl-0 = <&pinctrl_sd>;
255 pinctrl-1 = <&pinctrl_sd_uhs>;
256 clocks = <&mio_clk 0>;
257 reset-names = "host", "bridge";
258 resets = <&mio_rst 0>, <&mio_rst 3>;
268 emmc: sdhc@5a500000 {
269 compatible = "socionext,uniphier-sd-v2.91";
271 reg = <0x5a500000 0x200>;
272 interrupts = <0 78 4>;
273 pinctrl-names = "default";
274 pinctrl-0 = <&pinctrl_emmc>;
275 clocks = <&mio_clk 1>;
276 reset-names = "host", "bridge", "hw";
277 resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
287 compatible = "socionext,uniphier-ehci", "generic-ehci";
289 reg = <0x5a800100 0x100>;
290 interrupts = <0 80 4>;
291 pinctrl-names = "default";
292 pinctrl-0 = <&pinctrl_usb0>;
293 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
295 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
297 has-transaction-translator;
301 compatible = "socionext,uniphier-ehci", "generic-ehci";
303 reg = <0x5a810100 0x100>;
304 interrupts = <0 81 4>;
305 pinctrl-names = "default";
306 pinctrl-0 = <&pinctrl_usb1>;
307 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
309 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
311 has-transaction-translator;
315 compatible = "socionext,uniphier-ehci", "generic-ehci";
317 reg = <0x5a820100 0x100>;
318 interrupts = <0 82 4>;
319 pinctrl-names = "default";
320 pinctrl-0 = <&pinctrl_usb2>;
321 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
323 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
325 has-transaction-translator;
329 compatible = "socionext,uniphier-ld4-soc-glue",
330 "simple-mfd", "syscon";
331 reg = <0x5f800000 0x2000>;
334 compatible = "socionext,uniphier-ld4-pinctrl";
339 compatible = "socionext,uniphier-ld4-soc-glue-debug",
341 #address-cells = <1>;
343 ranges = <0 0x5f900000 0x2000>;
346 compatible = "socionext,uniphier-efuse";
351 compatible = "socionext,uniphier-efuse";
357 compatible = "arm,cortex-a9-global-timer";
358 reg = <0x60000200 0x20>;
359 interrupts = <1 11 0x104>;
360 clocks = <&arm_timer_clk>;
364 compatible = "arm,cortex-a9-twd-timer";
365 reg = <0x60000600 0x20>;
366 interrupts = <1 13 0x104>;
367 clocks = <&arm_timer_clk>;
370 intc: interrupt-controller@60001000 {
371 compatible = "arm,cortex-a9-gic";
372 reg = <0x60001000 0x1000>,
374 #interrupt-cells = <3>;
375 interrupt-controller;
378 aidet: aidet@61830000 {
379 compatible = "socionext,uniphier-ld4-aidet";
380 reg = <0x61830000 0x200>;
381 interrupt-controller;
382 #interrupt-cells = <2>;
386 compatible = "socionext,uniphier-ld4-sysctrl",
387 "simple-mfd", "syscon";
388 reg = <0x61840000 0x10000>;
391 compatible = "socionext,uniphier-ld4-clock";
396 compatible = "socionext,uniphier-ld4-reset";
401 nand: nand@68000000 {
402 compatible = "socionext,uniphier-denali-nand-v5a";
404 reg-names = "nand_data", "denali_reg";
405 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
406 #address-cells = <1>;
408 interrupts = <0 65 4>;
409 pinctrl-names = "default";
410 pinctrl-0 = <&pinctrl_nand>;
411 clock-names = "nand", "nand_x", "ecc";
412 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
413 reset-names = "nand", "reg";
414 resets = <&sys_rst 2>, <&sys_rst 2>;
419 #include "uniphier-pinctrl.dtsi"