2 * Device Tree Source for UniPhier LD4 SoC
4 * Copyright (C) 2015-2016 Socionext Inc.
5 * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
7 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 #include <dt-bindings/gpio/uniphier-gpio.h>
13 compatible = "socionext,uniphier-ld4";
23 compatible = "arm,cortex-a9";
25 enable-method = "psci";
26 next-level-cache = <&l2>;
31 compatible = "arm,psci-0.2";
37 compatible = "fixed-clock";
39 clock-frequency = <24576000>;
42 arm_timer_clk: arm-timer {
44 compatible = "fixed-clock";
45 clock-frequency = <50000000>;
50 compatible = "simple-bus";
54 interrupt-parent = <&intc>;
56 l2: l2-cache@500c0000 {
57 compatible = "socionext,uniphier-system-cache";
58 reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
60 interrupts = <0 174 4>, <0 175 4>;
62 cache-size = <(512 * 1024)>;
64 cache-line-size = <128>;
68 serial0: serial@54006800 {
69 compatible = "socionext,uniphier-uart";
71 reg = <0x54006800 0x40>;
72 interrupts = <0 33 4>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&pinctrl_uart0>;
75 clocks = <&peri_clk 0>;
76 resets = <&peri_rst 0>;
79 serial1: serial@54006900 {
80 compatible = "socionext,uniphier-uart";
82 reg = <0x54006900 0x40>;
83 interrupts = <0 35 4>;
84 pinctrl-names = "default";
85 pinctrl-0 = <&pinctrl_uart1>;
86 clocks = <&peri_clk 1>;
87 resets = <&peri_rst 1>;
90 serial2: serial@54006a00 {
91 compatible = "socionext,uniphier-uart";
93 reg = <0x54006a00 0x40>;
94 interrupts = <0 37 4>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&pinctrl_uart2>;
97 clocks = <&peri_clk 2>;
98 resets = <&peri_rst 2>;
101 serial3: serial@54006b00 {
102 compatible = "socionext,uniphier-uart";
104 reg = <0x54006b00 0x40>;
105 interrupts = <0 29 4>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&pinctrl_uart3>;
108 clocks = <&peri_clk 3>;
109 resets = <&peri_rst 3>;
112 gpio: gpio@55000000 {
113 compatible = "socionext,uniphier-gpio";
114 reg = <0x55000000 0x200>;
115 interrupt-parent = <&aidet>;
116 interrupt-controller;
117 #interrupt-cells = <2>;
120 gpio-ranges = <&pinctrl 0 0 0>;
121 gpio-ranges-group-names = "gpio_range";
123 socionext,interrupt-ranges = <0 48 13>, <14 62 2>;
127 compatible = "socionext,uniphier-i2c";
129 reg = <0x58400000 0x40>;
130 #address-cells = <1>;
132 interrupts = <0 41 1>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&pinctrl_i2c0>;
135 clocks = <&peri_clk 4>;
136 resets = <&peri_rst 4>;
137 clock-frequency = <100000>;
141 compatible = "socionext,uniphier-i2c";
143 reg = <0x58480000 0x40>;
144 #address-cells = <1>;
146 interrupts = <0 42 1>;
147 pinctrl-names = "default";
148 pinctrl-0 = <&pinctrl_i2c1>;
149 clocks = <&peri_clk 5>;
150 resets = <&peri_rst 5>;
151 clock-frequency = <100000>;
154 /* chip-internal connection for DMD */
156 compatible = "socionext,uniphier-i2c";
157 reg = <0x58500000 0x40>;
158 #address-cells = <1>;
160 interrupts = <0 43 1>;
161 pinctrl-names = "default";
162 pinctrl-0 = <&pinctrl_i2c2>;
163 clocks = <&peri_clk 6>;
164 resets = <&peri_rst 6>;
165 clock-frequency = <400000>;
169 compatible = "socionext,uniphier-i2c";
171 reg = <0x58580000 0x40>;
172 #address-cells = <1>;
174 interrupts = <0 44 1>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_i2c3>;
177 clocks = <&peri_clk 7>;
178 resets = <&peri_rst 7>;
179 clock-frequency = <100000>;
182 system_bus: system-bus@58c00000 {
183 compatible = "socionext,uniphier-system-bus";
185 reg = <0x58c00000 0x400>;
186 #address-cells = <2>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&pinctrl_system_bus>;
193 compatible = "socionext,uniphier-smpctrl";
194 reg = <0x59801000 0x400>;
198 compatible = "socionext,uniphier-ld4-mioctrl",
199 "simple-mfd", "syscon";
200 reg = <0x59810000 0x800>;
203 compatible = "socionext,uniphier-ld4-mio-clock";
208 compatible = "socionext,uniphier-ld4-mio-reset";
214 compatible = "socionext,uniphier-ld4-perictrl",
215 "simple-mfd", "syscon";
216 reg = <0x59820000 0x200>;
219 compatible = "socionext,uniphier-ld4-peri-clock";
224 compatible = "socionext,uniphier-ld4-peri-reset";
230 compatible = "socionext,uniphier-ehci", "generic-ehci";
232 reg = <0x5a800100 0x100>;
233 interrupts = <0 80 4>;
234 pinctrl-names = "default";
235 pinctrl-0 = <&pinctrl_usb0>;
236 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
238 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
240 has-transaction-translator;
244 compatible = "socionext,uniphier-ehci", "generic-ehci";
246 reg = <0x5a810100 0x100>;
247 interrupts = <0 81 4>;
248 pinctrl-names = "default";
249 pinctrl-0 = <&pinctrl_usb1>;
250 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
252 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
254 has-transaction-translator;
258 compatible = "socionext,uniphier-ehci", "generic-ehci";
260 reg = <0x5a820100 0x100>;
261 interrupts = <0 82 4>;
262 pinctrl-names = "default";
263 pinctrl-0 = <&pinctrl_usb2>;
264 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 10>,
266 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 10>,
268 has-transaction-translator;
272 compatible = "socionext,uniphier-ld4-soc-glue",
273 "simple-mfd", "syscon";
274 reg = <0x5f800000 0x2000>;
277 compatible = "socionext,uniphier-ld4-pinctrl";
282 compatible = "socionext,uniphier-ld4-soc-glue-debug",
284 #address-cells = <1>;
286 ranges = <0 0x5f900000 0x2000>;
289 compatible = "socionext,uniphier-efuse";
294 compatible = "socionext,uniphier-efuse";
300 compatible = "arm,cortex-a9-global-timer";
301 reg = <0x60000200 0x20>;
302 interrupts = <1 11 0x104>;
303 clocks = <&arm_timer_clk>;
307 compatible = "arm,cortex-a9-twd-timer";
308 reg = <0x60000600 0x20>;
309 interrupts = <1 13 0x104>;
310 clocks = <&arm_timer_clk>;
313 intc: interrupt-controller@60001000 {
314 compatible = "arm,cortex-a9-gic";
315 reg = <0x60001000 0x1000>,
317 #interrupt-cells = <3>;
318 interrupt-controller;
321 aidet: aidet@61830000 {
322 compatible = "socionext,uniphier-ld4-aidet";
323 reg = <0x61830000 0x200>;
324 interrupt-controller;
325 #interrupt-cells = <2>;
329 compatible = "socionext,uniphier-ld4-sysctrl",
330 "simple-mfd", "syscon";
331 reg = <0x61840000 0x10000>;
334 compatible = "socionext,uniphier-ld4-clock";
339 compatible = "socionext,uniphier-ld4-reset";
344 nand: nand@68000000 {
345 compatible = "socionext,uniphier-denali-nand-v5a";
347 reg-names = "nand_data", "denali_reg";
348 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
349 interrupts = <0 65 4>;
350 pinctrl-names = "default";
351 pinctrl-0 = <&pinctrl_nand2cs>;
352 clocks = <&sys_clk 2>;
353 resets = <&sys_rst 2>;
358 #include "uniphier-pinctrl.dtsi"