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: 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 = <(256 * 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>,
132 gpio-ranges-group-names = "gpio_range0",
136 socionext,interrupt-ranges = <0 48 13>, <14 62 2>;
140 compatible = "socionext,uniphier-i2c";
142 reg = <0x58400000 0x40>;
143 #address-cells = <1>;
145 interrupts = <0 41 1>;
146 pinctrl-names = "default";
147 pinctrl-0 = <&pinctrl_i2c0>;
148 clocks = <&peri_clk 4>;
149 resets = <&peri_rst 4>;
150 clock-frequency = <100000>;
154 compatible = "socionext,uniphier-i2c";
156 reg = <0x58480000 0x40>;
157 #address-cells = <1>;
159 interrupts = <0 42 1>;
160 pinctrl-names = "default";
161 pinctrl-0 = <&pinctrl_i2c1>;
162 clocks = <&peri_clk 5>;
163 resets = <&peri_rst 5>;
164 clock-frequency = <100000>;
167 /* chip-internal connection for DMD */
169 compatible = "socionext,uniphier-i2c";
170 reg = <0x58500000 0x40>;
171 #address-cells = <1>;
173 interrupts = <0 43 1>;
174 pinctrl-names = "default";
175 pinctrl-0 = <&pinctrl_i2c2>;
176 clocks = <&peri_clk 6>;
177 resets = <&peri_rst 6>;
178 clock-frequency = <400000>;
182 compatible = "socionext,uniphier-i2c";
184 reg = <0x58580000 0x40>;
185 #address-cells = <1>;
187 interrupts = <0 44 1>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&pinctrl_i2c3>;
190 clocks = <&peri_clk 7>;
191 resets = <&peri_rst 7>;
192 clock-frequency = <100000>;
195 system_bus: system-bus@58c00000 {
196 compatible = "socionext,uniphier-system-bus";
198 reg = <0x58c00000 0x400>;
199 #address-cells = <2>;
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_system_bus>;
206 compatible = "socionext,uniphier-smpctrl";
207 reg = <0x59801000 0x400>;
211 compatible = "socionext,uniphier-sld8-mioctrl",
212 "simple-mfd", "syscon";
213 reg = <0x59810000 0x800>;
216 compatible = "socionext,uniphier-sld8-mio-clock";
221 compatible = "socionext,uniphier-sld8-mio-reset";
227 compatible = "socionext,uniphier-sld8-perictrl",
228 "simple-mfd", "syscon";
229 reg = <0x59820000 0x200>;
232 compatible = "socionext,uniphier-sld8-peri-clock";
237 compatible = "socionext,uniphier-sld8-peri-reset";
242 dmac: dma-controller@5a000000 {
243 compatible = "socionext,uniphier-mio-dmac";
244 reg = <0x5a000000 0x1000>;
245 interrupts = <0 68 4>, <0 68 4>, <0 69 4>, <0 70 4>,
246 <0 71 4>, <0 72 4>, <0 73 4>;
247 clocks = <&mio_clk 7>;
248 resets = <&mio_rst 7>;
253 compatible = "socionext,uniphier-sd-v2.91";
255 reg = <0x5a400000 0x200>;
256 interrupts = <0 76 4>;
257 pinctrl-names = "default", "uhs";
258 pinctrl-0 = <&pinctrl_sd>;
259 pinctrl-1 = <&pinctrl_sd_uhs>;
260 clocks = <&mio_clk 0>;
261 reset-names = "host", "bridge";
262 resets = <&mio_rst 0>, <&mio_rst 3>;
272 emmc: sdhc@5a500000 {
273 compatible = "socionext,uniphier-sd-v2.91";
275 reg = <0x5a500000 0x200>;
276 interrupts = <0 78 4>;
277 pinctrl-names = "default";
278 pinctrl-0 = <&pinctrl_emmc>;
279 clocks = <&mio_clk 1>;
280 reset-names = "host", "bridge", "hw";
281 resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
291 compatible = "socionext,uniphier-ehci", "generic-ehci";
293 reg = <0x5a800100 0x100>;
294 interrupts = <0 80 4>;
295 pinctrl-names = "default";
296 pinctrl-0 = <&pinctrl_usb0>;
297 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
299 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
301 has-transaction-translator;
305 compatible = "socionext,uniphier-ehci", "generic-ehci";
307 reg = <0x5a810100 0x100>;
308 interrupts = <0 81 4>;
309 pinctrl-names = "default";
310 pinctrl-0 = <&pinctrl_usb1>;
311 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
313 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
315 has-transaction-translator;
319 compatible = "socionext,uniphier-ehci", "generic-ehci";
321 reg = <0x5a820100 0x100>;
322 interrupts = <0 82 4>;
323 pinctrl-names = "default";
324 pinctrl-0 = <&pinctrl_usb2>;
325 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
327 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
329 has-transaction-translator;
333 compatible = "socionext,uniphier-sld8-soc-glue",
334 "simple-mfd", "syscon";
335 reg = <0x5f800000 0x2000>;
338 compatible = "socionext,uniphier-sld8-pinctrl";
343 compatible = "socionext,uniphier-sld8-soc-glue-debug",
345 #address-cells = <1>;
347 ranges = <0 0x5f900000 0x2000>;
350 compatible = "socionext,uniphier-efuse";
355 compatible = "socionext,uniphier-efuse";
361 compatible = "arm,cortex-a9-global-timer";
362 reg = <0x60000200 0x20>;
363 interrupts = <1 11 0x104>;
364 clocks = <&arm_timer_clk>;
368 compatible = "arm,cortex-a9-twd-timer";
369 reg = <0x60000600 0x20>;
370 interrupts = <1 13 0x104>;
371 clocks = <&arm_timer_clk>;
374 intc: interrupt-controller@60001000 {
375 compatible = "arm,cortex-a9-gic";
376 reg = <0x60001000 0x1000>,
378 #interrupt-cells = <3>;
379 interrupt-controller;
382 aidet: aidet@61830000 {
383 compatible = "socionext,uniphier-sld8-aidet";
384 reg = <0x61830000 0x200>;
385 interrupt-controller;
386 #interrupt-cells = <2>;
390 compatible = "socionext,uniphier-sld8-sysctrl",
391 "simple-mfd", "syscon";
392 reg = <0x61840000 0x10000>;
395 compatible = "socionext,uniphier-sld8-clock";
400 compatible = "socionext,uniphier-sld8-reset";
405 nand: nand@68000000 {
406 compatible = "socionext,uniphier-denali-nand-v5a";
408 reg-names = "nand_data", "denali_reg";
409 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
410 #address-cells = <1>;
412 interrupts = <0 65 4>;
413 pinctrl-names = "default";
414 pinctrl-0 = <&pinctrl_nand>;
415 clock-names = "nand", "nand_x", "ecc";
416 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
417 reset-names = "nand", "reg";
418 resets = <&sys_rst 2>, <&sys_rst 2>;
423 #include "uniphier-pinctrl.dtsi"