1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 // Device Tree Source for UniPhier Pro4 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-pro4";
21 compatible = "arm,cortex-a9";
23 enable-method = "psci";
24 next-level-cache = <&l2>;
29 compatible = "arm,cortex-a9";
31 enable-method = "psci";
32 next-level-cache = <&l2>;
37 compatible = "arm,psci-0.2";
43 compatible = "fixed-clock";
45 clock-frequency = <25000000>;
48 arm_timer_clk: arm-timer {
50 compatible = "fixed-clock";
51 clock-frequency = <50000000>;
56 compatible = "simple-bus";
60 interrupt-parent = <&intc>;
62 l2: l2-cache@500c0000 {
63 compatible = "socionext,uniphier-system-cache";
64 reg = <0x500c0000 0x2000>, <0x503c0100 0x4>,
66 interrupts = <0 174 4>, <0 175 4>;
68 cache-size = <(768 * 1024)>;
70 cache-line-size = <128>;
74 serial0: serial@54006800 {
75 compatible = "socionext,uniphier-uart";
77 reg = <0x54006800 0x40>;
78 interrupts = <0 33 4>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_uart0>;
81 clocks = <&peri_clk 0>;
82 clock-frequency = <73728000>;
83 resets = <&peri_rst 0>;
86 serial1: serial@54006900 {
87 compatible = "socionext,uniphier-uart";
89 reg = <0x54006900 0x40>;
90 interrupts = <0 35 4>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&pinctrl_uart1>;
93 clocks = <&peri_clk 1>;
94 clock-frequency = <73728000>;
95 resets = <&peri_rst 1>;
98 serial2: serial@54006a00 {
99 compatible = "socionext,uniphier-uart";
101 reg = <0x54006a00 0x40>;
102 interrupts = <0 37 4>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&pinctrl_uart2>;
105 clocks = <&peri_clk 2>;
106 clock-frequency = <73728000>;
107 resets = <&peri_rst 2>;
110 serial3: serial@54006b00 {
111 compatible = "socionext,uniphier-uart";
113 reg = <0x54006b00 0x40>;
114 interrupts = <0 177 4>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&pinctrl_uart3>;
117 clocks = <&peri_clk 3>;
118 clock-frequency = <73728000>;
119 resets = <&peri_rst 3>;
122 gpio: gpio@55000000 {
123 compatible = "socionext,uniphier-gpio";
124 reg = <0x55000000 0x200>;
125 interrupt-parent = <&aidet>;
126 interrupt-controller;
127 #interrupt-cells = <2>;
130 gpio-ranges = <&pinctrl 0 0 0>;
131 gpio-ranges-group-names = "gpio_range";
133 socionext,interrupt-ranges = <0 48 16>, <16 154 5>;
137 compatible = "socionext,uniphier-fi2c";
139 reg = <0x58780000 0x80>;
140 #address-cells = <1>;
142 interrupts = <0 41 4>;
143 pinctrl-names = "default";
144 pinctrl-0 = <&pinctrl_i2c0>;
145 clocks = <&peri_clk 4>;
146 resets = <&peri_rst 4>;
147 clock-frequency = <100000>;
151 compatible = "socionext,uniphier-fi2c";
153 reg = <0x58781000 0x80>;
154 #address-cells = <1>;
156 interrupts = <0 42 4>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&pinctrl_i2c1>;
159 clocks = <&peri_clk 5>;
160 resets = <&peri_rst 5>;
161 clock-frequency = <100000>;
165 compatible = "socionext,uniphier-fi2c";
167 reg = <0x58782000 0x80>;
168 #address-cells = <1>;
170 interrupts = <0 43 4>;
171 pinctrl-names = "default";
172 pinctrl-0 = <&pinctrl_i2c2>;
173 clocks = <&peri_clk 6>;
174 resets = <&peri_rst 6>;
175 clock-frequency = <100000>;
179 compatible = "socionext,uniphier-fi2c";
181 reg = <0x58783000 0x80>;
182 #address-cells = <1>;
184 interrupts = <0 44 4>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&pinctrl_i2c3>;
187 clocks = <&peri_clk 7>;
188 resets = <&peri_rst 7>;
189 clock-frequency = <100000>;
192 /* i2c4 does not exist */
194 /* chip-internal connection for DMD */
196 compatible = "socionext,uniphier-fi2c";
197 reg = <0x58785000 0x80>;
198 #address-cells = <1>;
200 interrupts = <0 25 4>;
201 clocks = <&peri_clk 9>;
202 resets = <&peri_rst 9>;
203 clock-frequency = <400000>;
206 /* chip-internal connection for HDMI */
208 compatible = "socionext,uniphier-fi2c";
209 reg = <0x58786000 0x80>;
210 #address-cells = <1>;
212 interrupts = <0 26 4>;
213 clocks = <&peri_clk 10>;
214 resets = <&peri_rst 10>;
215 clock-frequency = <400000>;
218 system_bus: system-bus@58c00000 {
219 compatible = "socionext,uniphier-system-bus";
221 reg = <0x58c00000 0x400>;
222 #address-cells = <2>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&pinctrl_system_bus>;
229 compatible = "socionext,uniphier-smpctrl";
230 reg = <0x59801000 0x400>;
234 compatible = "socionext,uniphier-pro4-mioctrl",
235 "simple-mfd", "syscon";
236 reg = <0x59810000 0x800>;
239 compatible = "socionext,uniphier-pro4-mio-clock";
244 compatible = "socionext,uniphier-pro4-mio-reset";
250 compatible = "socionext,uniphier-pro4-perictrl",
251 "simple-mfd", "syscon";
252 reg = <0x59820000 0x200>;
255 compatible = "socionext,uniphier-pro4-peri-clock";
260 compatible = "socionext,uniphier-pro4-peri-reset";
266 compatible = "socionext,uniphier-sdhc";
268 reg = <0x5a400000 0x200>;
269 interrupts = <0 76 4>;
270 pinctrl-names = "default", "1.8v";
271 pinctrl-0 = <&pinctrl_sd>;
272 pinctrl-1 = <&pinctrl_sd_1v8>;
273 clocks = <&mio_clk 0>;
274 reset-names = "host", "bridge";
275 resets = <&mio_rst 0>, <&mio_rst 3>;
283 emmc: sdhc@5a500000 {
284 compatible = "socionext,uniphier-sdhc";
286 reg = <0x5a500000 0x200>;
287 interrupts = <0 78 4>;
288 pinctrl-names = "default", "1.8v";
289 pinctrl-0 = <&pinctrl_emmc>;
290 pinctrl-1 = <&pinctrl_emmc_1v8>;
291 clocks = <&mio_clk 1>;
292 reset-names = "host", "bridge";
293 resets = <&mio_rst 1>, <&mio_rst 4>;
301 compatible = "socionext,uniphier-sdhc";
303 reg = <0x5a600000 0x200>;
304 interrupts = <0 85 4>;
305 pinctrl-names = "default", "1.8v";
306 pinctrl-0 = <&pinctrl_sd1>;
307 pinctrl-1 = <&pinctrl_sd1_1v8>;
308 clocks = <&mio_clk 2>;
309 resets = <&mio_rst 2>, <&mio_rst 5>;
318 compatible = "socionext,uniphier-ehci", "generic-ehci";
320 reg = <0x5a800100 0x100>;
321 interrupts = <0 80 4>;
322 pinctrl-names = "default";
323 pinctrl-0 = <&pinctrl_usb2>;
324 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
326 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
328 has-transaction-translator;
332 compatible = "socionext,uniphier-ehci", "generic-ehci";
334 reg = <0x5a810100 0x100>;
335 interrupts = <0 81 4>;
336 pinctrl-names = "default";
337 pinctrl-0 = <&pinctrl_usb3>;
338 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
340 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
342 has-transaction-translator;
345 soc_glue: soc-glue@5f800000 {
346 compatible = "socionext,uniphier-pro4-soc-glue",
347 "simple-mfd", "syscon";
348 reg = <0x5f800000 0x2000>;
351 compatible = "socionext,uniphier-pro4-pinctrl";
356 compatible = "socionext,uniphier-pro4-soc-glue-debug",
358 #address-cells = <1>;
360 ranges = <0 0x5f900000 0x2000>;
363 compatible = "socionext,uniphier-efuse";
368 compatible = "socionext,uniphier-efuse";
373 compatible = "socionext,uniphier-efuse";
378 aidet: aidet@5fc20000 {
379 compatible = "socionext,uniphier-pro4-aidet";
380 reg = <0x5fc20000 0x200>;
381 interrupt-controller;
382 #interrupt-cells = <2>;
386 compatible = "arm,cortex-a9-global-timer";
387 reg = <0x60000200 0x20>;
388 interrupts = <1 11 0x304>;
389 clocks = <&arm_timer_clk>;
393 compatible = "arm,cortex-a9-twd-timer";
394 reg = <0x60000600 0x20>;
395 interrupts = <1 13 0x304>;
396 clocks = <&arm_timer_clk>;
399 intc: interrupt-controller@60001000 {
400 compatible = "arm,cortex-a9-gic";
401 reg = <0x60001000 0x1000>,
403 #interrupt-cells = <3>;
404 interrupt-controller;
408 compatible = "socionext,uniphier-pro4-sysctrl",
409 "simple-mfd", "syscon";
410 reg = <0x61840000 0x10000>;
413 compatible = "socionext,uniphier-pro4-clock";
418 compatible = "socionext,uniphier-pro4-reset";
423 eth: ethernet@65000000 {
424 compatible = "socionext,uniphier-pro4-ave4";
426 reg = <0x65000000 0x8500>;
427 interrupts = <0 66 4>;
428 pinctrl-names = "default";
429 pinctrl-0 = <&pinctrl_ether_rgmii>;
430 clock-names = "gio", "ether", "ether-gb", "ether-phy";
431 clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>,
433 reset-names = "gio", "ether";
434 resets = <&sys_rst 12>, <&sys_rst 6>;
436 local-mac-address = [00 00 00 00 00 00];
437 socionext,syscon-phy-mode = <&soc_glue 0>;
440 #address-cells = <1>;
446 compatible = "socionext,uniphier-pro4-dwc3";
448 reg = <0x65b00000 0x1000>;
449 #address-cells = <1>;
452 pinctrl-names = "default";
453 pinctrl-0 = <&pinctrl_usb0>;
455 compatible = "snps,dwc3";
456 reg = <0x65a00000 0x10000>;
457 interrupts = <0 134 4>;
464 compatible = "socionext,uniphier-pro4-dwc3";
466 reg = <0x65d00000 0x1000>;
467 #address-cells = <1>;
470 pinctrl-names = "default";
471 pinctrl-0 = <&pinctrl_usb1>;
473 compatible = "snps,dwc3";
474 reg = <0x65c00000 0x10000>;
475 interrupts = <0 137 4>;
481 nand: nand@68000000 {
482 compatible = "socionext,uniphier-denali-nand-v5a";
484 reg-names = "nand_data", "denali_reg";
485 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
486 interrupts = <0 65 4>;
487 pinctrl-names = "default";
488 pinctrl-0 = <&pinctrl_nand>;
489 clocks = <&sys_clk 2>;
490 resets = <&sys_rst 2>;
495 #include "uniphier-pinctrl.dtsi"