1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 // Device Tree Source for UniPhier sLD8 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-sld8";
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 = <25000000>;
40 arm_timer_clk: arm-timer {
42 compatible = "fixed-clock";
43 clock-frequency = <50000000>;
48 compatible = "simple-bus";
52 interrupt-parent = <&intc>;
54 l2: cache-controller@500c0000 {
55 compatible = "socionext,uniphier-system-cache";
56 reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
58 interrupts = <0 174 4>, <0 175 4>;
60 cache-size = <(256 * 1024)>;
62 cache-line-size = <128>;
67 compatible = "socionext,uniphier-scssi";
69 reg = <0x54006000 0x100>;
72 interrupts = <0 39 4>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&pinctrl_spi0>;
75 clocks = <&peri_clk 11>;
76 resets = <&peri_rst 11>;
79 serial0: serial@54006800 {
80 compatible = "socionext,uniphier-uart";
82 reg = <0x54006800 0x40>;
83 interrupts = <0 33 4>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&pinctrl_uart0>;
86 clocks = <&peri_clk 0>;
87 resets = <&peri_rst 0>;
90 serial1: serial@54006900 {
91 compatible = "socionext,uniphier-uart";
93 reg = <0x54006900 0x40>;
94 interrupts = <0 35 4>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&pinctrl_uart1>;
97 clocks = <&peri_clk 1>;
98 resets = <&peri_rst 1>;
101 serial2: serial@54006a00 {
102 compatible = "socionext,uniphier-uart";
104 reg = <0x54006a00 0x40>;
105 interrupts = <0 37 4>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&pinctrl_uart2>;
108 clocks = <&peri_clk 2>;
109 resets = <&peri_rst 2>;
112 serial3: serial@54006b00 {
113 compatible = "socionext,uniphier-uart";
115 reg = <0x54006b00 0x40>;
116 interrupts = <0 29 4>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&pinctrl_uart3>;
119 clocks = <&peri_clk 3>;
120 resets = <&peri_rst 3>;
123 gpio: gpio@55000000 {
124 compatible = "socionext,uniphier-gpio";
125 reg = <0x55000000 0x200>;
126 interrupt-parent = <&aidet>;
127 interrupt-controller;
128 #interrupt-cells = <2>;
131 gpio-ranges = <&pinctrl 0 0 0>,
134 gpio-ranges-group-names = "gpio_range0",
138 socionext,interrupt-ranges = <0 48 13>, <14 62 2>;
142 compatible = "socionext,uniphier-i2c";
144 reg = <0x58400000 0x40>;
145 #address-cells = <1>;
147 interrupts = <0 41 1>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&pinctrl_i2c0>;
150 clocks = <&peri_clk 4>;
151 resets = <&peri_rst 4>;
152 clock-frequency = <100000>;
156 compatible = "socionext,uniphier-i2c";
158 reg = <0x58480000 0x40>;
159 #address-cells = <1>;
161 interrupts = <0 42 1>;
162 pinctrl-names = "default";
163 pinctrl-0 = <&pinctrl_i2c1>;
164 clocks = <&peri_clk 5>;
165 resets = <&peri_rst 5>;
166 clock-frequency = <100000>;
169 /* chip-internal connection for DMD */
171 compatible = "socionext,uniphier-i2c";
172 reg = <0x58500000 0x40>;
173 #address-cells = <1>;
175 interrupts = <0 43 1>;
176 pinctrl-names = "default";
177 pinctrl-0 = <&pinctrl_i2c2>;
178 clocks = <&peri_clk 6>;
179 resets = <&peri_rst 6>;
180 clock-frequency = <400000>;
184 compatible = "socionext,uniphier-i2c";
186 reg = <0x58580000 0x40>;
187 #address-cells = <1>;
189 interrupts = <0 44 1>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&pinctrl_i2c3>;
192 clocks = <&peri_clk 7>;
193 resets = <&peri_rst 7>;
194 clock-frequency = <100000>;
197 system_bus: system-bus@58c00000 {
198 compatible = "socionext,uniphier-system-bus";
200 reg = <0x58c00000 0x400>;
201 #address-cells = <2>;
203 pinctrl-names = "default";
204 pinctrl-0 = <&pinctrl_system_bus>;
208 compatible = "socionext,uniphier-smpctrl";
209 reg = <0x59801000 0x400>;
213 compatible = "socionext,uniphier-sld8-mioctrl",
214 "simple-mfd", "syscon";
215 reg = <0x59810000 0x800>;
218 compatible = "socionext,uniphier-sld8-mio-clock";
223 compatible = "socionext,uniphier-sld8-mio-reset";
229 compatible = "socionext,uniphier-sld8-perictrl",
230 "simple-mfd", "syscon";
231 reg = <0x59820000 0x200>;
234 compatible = "socionext,uniphier-sld8-peri-clock";
239 compatible = "socionext,uniphier-sld8-peri-reset";
244 dmac: dma-controller@5a000000 {
245 compatible = "socionext,uniphier-mio-dmac";
246 reg = <0x5a000000 0x1000>;
247 interrupts = <0 68 4>, <0 68 4>, <0 69 4>, <0 70 4>,
248 <0 71 4>, <0 72 4>, <0 73 4>;
249 clocks = <&mio_clk 7>;
250 resets = <&mio_rst 7>;
255 compatible = "socionext,uniphier-sd-v2.91";
257 reg = <0x5a400000 0x200>;
258 interrupts = <0 76 4>;
259 pinctrl-names = "default", "uhs";
260 pinctrl-0 = <&pinctrl_sd>;
261 pinctrl-1 = <&pinctrl_sd_uhs>;
262 clocks = <&mio_clk 0>;
263 reset-names = "host", "bridge";
264 resets = <&mio_rst 0>, <&mio_rst 3>;
275 compatible = "socionext,uniphier-sd-v2.91";
277 reg = <0x5a500000 0x200>;
278 interrupts = <0 78 4>;
279 pinctrl-names = "default";
280 pinctrl-0 = <&pinctrl_emmc>;
281 clocks = <&mio_clk 1>;
282 reset-names = "host", "bridge", "hw";
283 resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
293 compatible = "socionext,uniphier-ehci", "generic-ehci";
295 reg = <0x5a800100 0x100>;
296 interrupts = <0 80 4>;
297 pinctrl-names = "default";
298 pinctrl-0 = <&pinctrl_usb0>;
299 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
301 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
303 has-transaction-translator;
307 compatible = "socionext,uniphier-ehci", "generic-ehci";
309 reg = <0x5a810100 0x100>;
310 interrupts = <0 81 4>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&pinctrl_usb1>;
313 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
315 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
317 has-transaction-translator;
321 compatible = "socionext,uniphier-ehci", "generic-ehci";
323 reg = <0x5a820100 0x100>;
324 interrupts = <0 82 4>;
325 pinctrl-names = "default";
326 pinctrl-0 = <&pinctrl_usb2>;
327 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
329 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
331 has-transaction-translator;
335 compatible = "socionext,uniphier-sld8-soc-glue",
336 "simple-mfd", "syscon";
337 reg = <0x5f800000 0x2000>;
340 compatible = "socionext,uniphier-sld8-pinctrl";
345 compatible = "socionext,uniphier-sld8-soc-glue-debug",
347 #address-cells = <1>;
349 ranges = <0 0x5f900000 0x2000>;
352 compatible = "socionext,uniphier-efuse";
357 compatible = "socionext,uniphier-efuse";
363 compatible = "arm,cortex-a9-global-timer";
364 reg = <0x60000200 0x20>;
365 interrupts = <1 11 0x104>;
366 clocks = <&arm_timer_clk>;
370 compatible = "arm,cortex-a9-twd-timer";
371 reg = <0x60000600 0x20>;
372 interrupts = <1 13 0x104>;
373 clocks = <&arm_timer_clk>;
376 intc: interrupt-controller@60001000 {
377 compatible = "arm,cortex-a9-gic";
378 reg = <0x60001000 0x1000>,
380 #interrupt-cells = <3>;
381 interrupt-controller;
384 aidet: interrupt-controller@61830000 {
385 compatible = "socionext,uniphier-sld8-aidet";
386 reg = <0x61830000 0x200>;
387 interrupt-controller;
388 #interrupt-cells = <2>;
392 compatible = "socionext,uniphier-sld8-sysctrl",
393 "simple-mfd", "syscon";
394 reg = <0x61840000 0x10000>;
397 compatible = "socionext,uniphier-sld8-clock";
402 compatible = "socionext,uniphier-sld8-reset";
407 nand: nand-controller@68000000 {
408 compatible = "socionext,uniphier-denali-nand-v5a";
410 reg-names = "nand_data", "denali_reg";
411 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
412 #address-cells = <1>;
414 interrupts = <0 65 4>;
415 pinctrl-names = "default";
416 pinctrl-0 = <&pinctrl_nand>;
417 clock-names = "nand", "nand_x", "ecc";
418 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
419 reset-names = "nand", "reg";
420 resets = <&sys_rst 2>, <&sys_rst 2>;
425 #include "uniphier-pinctrl.dtsi"