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: cache-controller@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>;
75 compatible = "socionext,uniphier-scssi";
77 reg = <0x54006000 0x100>;
80 interrupts = <0 39 4>;
81 pinctrl-names = "default";
82 pinctrl-0 = <&pinctrl_spi0>;
83 clocks = <&peri_clk 11>;
84 resets = <&peri_rst 11>;
87 serial0: serial@54006800 {
88 compatible = "socionext,uniphier-uart";
90 reg = <0x54006800 0x40>;
91 interrupts = <0 33 4>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&pinctrl_uart0>;
94 clocks = <&peri_clk 0>;
95 resets = <&peri_rst 0>;
98 serial1: serial@54006900 {
99 compatible = "socionext,uniphier-uart";
101 reg = <0x54006900 0x40>;
102 interrupts = <0 35 4>;
103 pinctrl-names = "default";
104 pinctrl-0 = <&pinctrl_uart1>;
105 clocks = <&peri_clk 1>;
106 resets = <&peri_rst 1>;
109 serial2: serial@54006a00 {
110 compatible = "socionext,uniphier-uart";
112 reg = <0x54006a00 0x40>;
113 interrupts = <0 37 4>;
114 pinctrl-names = "default";
115 pinctrl-0 = <&pinctrl_uart2>;
116 clocks = <&peri_clk 2>;
117 resets = <&peri_rst 2>;
120 serial3: serial@54006b00 {
121 compatible = "socionext,uniphier-uart";
123 reg = <0x54006b00 0x40>;
124 interrupts = <0 177 4>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&pinctrl_uart3>;
127 clocks = <&peri_clk 3>;
128 resets = <&peri_rst 3>;
131 gpio: gpio@55000000 {
132 compatible = "socionext,uniphier-gpio";
133 reg = <0x55000000 0x200>;
134 interrupt-parent = <&aidet>;
135 interrupt-controller;
136 #interrupt-cells = <2>;
139 gpio-ranges = <&pinctrl 0 0 0>;
140 gpio-ranges-group-names = "gpio_range";
142 socionext,interrupt-ranges = <0 48 16>, <16 154 5>;
146 compatible = "socionext,uniphier-fi2c";
148 reg = <0x58780000 0x80>;
149 #address-cells = <1>;
151 interrupts = <0 41 4>;
152 pinctrl-names = "default";
153 pinctrl-0 = <&pinctrl_i2c0>;
154 clocks = <&peri_clk 4>;
155 resets = <&peri_rst 4>;
156 clock-frequency = <100000>;
160 compatible = "socionext,uniphier-fi2c";
162 reg = <0x58781000 0x80>;
163 #address-cells = <1>;
165 interrupts = <0 42 4>;
166 pinctrl-names = "default";
167 pinctrl-0 = <&pinctrl_i2c1>;
168 clocks = <&peri_clk 5>;
169 resets = <&peri_rst 5>;
170 clock-frequency = <100000>;
174 compatible = "socionext,uniphier-fi2c";
176 reg = <0x58782000 0x80>;
177 #address-cells = <1>;
179 interrupts = <0 43 4>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&pinctrl_i2c2>;
182 clocks = <&peri_clk 6>;
183 resets = <&peri_rst 6>;
184 clock-frequency = <100000>;
188 compatible = "socionext,uniphier-fi2c";
190 reg = <0x58783000 0x80>;
191 #address-cells = <1>;
193 interrupts = <0 44 4>;
194 pinctrl-names = "default";
195 pinctrl-0 = <&pinctrl_i2c3>;
196 clocks = <&peri_clk 7>;
197 resets = <&peri_rst 7>;
198 clock-frequency = <100000>;
201 /* i2c4 does not exist */
203 /* chip-internal connection for DMD */
205 compatible = "socionext,uniphier-fi2c";
206 reg = <0x58785000 0x80>;
207 #address-cells = <1>;
209 interrupts = <0 25 4>;
210 clocks = <&peri_clk 9>;
211 resets = <&peri_rst 9>;
212 clock-frequency = <400000>;
215 /* chip-internal connection for HDMI */
217 compatible = "socionext,uniphier-fi2c";
218 reg = <0x58786000 0x80>;
219 #address-cells = <1>;
221 interrupts = <0 26 4>;
222 clocks = <&peri_clk 10>;
223 resets = <&peri_rst 10>;
224 clock-frequency = <400000>;
227 system_bus: system-bus@58c00000 {
228 compatible = "socionext,uniphier-system-bus";
230 reg = <0x58c00000 0x400>;
231 #address-cells = <2>;
233 pinctrl-names = "default";
234 pinctrl-0 = <&pinctrl_system_bus>;
238 compatible = "socionext,uniphier-smpctrl";
239 reg = <0x59801000 0x400>;
243 compatible = "socionext,uniphier-pro4-mioctrl",
244 "simple-mfd", "syscon";
245 reg = <0x59810000 0x800>;
248 compatible = "socionext,uniphier-pro4-mio-clock";
253 compatible = "socionext,uniphier-pro4-mio-reset";
259 compatible = "socionext,uniphier-pro4-perictrl",
260 "simple-mfd", "syscon";
261 reg = <0x59820000 0x200>;
264 compatible = "socionext,uniphier-pro4-peri-clock";
269 compatible = "socionext,uniphier-pro4-peri-reset";
274 dmac: dma-controller@5a000000 {
275 compatible = "socionext,uniphier-mio-dmac";
276 reg = <0x5a000000 0x1000>;
277 interrupts = <0 68 4>, <0 68 4>, <0 69 4>, <0 70 4>,
278 <0 71 4>, <0 72 4>, <0 73 4>, <0 74 4>;
279 clocks = <&mio_clk 7>;
280 resets = <&mio_rst 7>;
285 compatible = "socionext,uniphier-sd-v2.91";
287 reg = <0x5a400000 0x200>;
288 interrupts = <0 76 4>;
289 pinctrl-names = "default", "uhs";
290 pinctrl-0 = <&pinctrl_sd>;
291 pinctrl-1 = <&pinctrl_sd_uhs>;
292 clocks = <&mio_clk 0>;
293 reset-names = "host", "bridge";
294 resets = <&mio_rst 0>, <&mio_rst 3>;
305 compatible = "socionext,uniphier-sd-v2.91";
307 reg = <0x5a500000 0x200>;
308 interrupts = <0 78 4>;
309 pinctrl-names = "default";
310 pinctrl-0 = <&pinctrl_emmc>;
311 clocks = <&mio_clk 1>;
312 reset-names = "host", "bridge", "hw";
313 resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
323 compatible = "socionext,uniphier-sd-v2.91";
325 reg = <0x5a600000 0x200>;
326 interrupts = <0 85 4>;
327 pinctrl-names = "default";
328 pinctrl-0 = <&pinctrl_sd1>;
329 clocks = <&mio_clk 2>;
330 reset-names = "host", "bridge";
331 resets = <&mio_rst 2>, <&mio_rst 5>;
339 compatible = "socionext,uniphier-ehci", "generic-ehci";
341 reg = <0x5a800100 0x100>;
342 interrupts = <0 80 4>;
343 pinctrl-names = "default";
344 pinctrl-0 = <&pinctrl_usb2>;
345 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
347 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
351 has-transaction-translator;
355 compatible = "socionext,uniphier-ehci", "generic-ehci";
357 reg = <0x5a810100 0x100>;
358 interrupts = <0 81 4>;
359 pinctrl-names = "default";
360 pinctrl-0 = <&pinctrl_usb3>;
361 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
363 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
367 has-transaction-translator;
370 soc_glue: soc-glue@5f800000 {
371 compatible = "socionext,uniphier-pro4-soc-glue",
372 "simple-mfd", "syscon";
373 reg = <0x5f800000 0x2000>;
376 compatible = "socionext,uniphier-pro4-pinctrl";
380 compatible = "socionext,uniphier-pro4-usb2-phy";
381 #address-cells = <1>;
397 vbus-supply = <&usb0_vbus>;
403 vbus-supply = <&usb1_vbus>;
409 compatible = "socionext,uniphier-pro4-soc-glue-debug",
411 #address-cells = <1>;
413 ranges = <0 0x5f900000 0x2000>;
416 compatible = "socionext,uniphier-efuse";
421 compatible = "socionext,uniphier-efuse";
426 compatible = "socionext,uniphier-efuse";
431 xdmac: dma-controller@5fc10000 {
432 compatible = "socionext,uniphier-xdmac";
433 reg = <0x5fc10000 0x5300>;
434 interrupts = <0 188 4>;
439 aidet: interrupt-controller@5fc20000 {
440 compatible = "socionext,uniphier-pro4-aidet";
441 reg = <0x5fc20000 0x200>;
442 interrupt-controller;
443 #interrupt-cells = <2>;
447 compatible = "arm,cortex-a9-global-timer";
448 reg = <0x60000200 0x20>;
449 interrupts = <1 11 0x304>;
450 clocks = <&arm_timer_clk>;
454 compatible = "arm,cortex-a9-twd-timer";
455 reg = <0x60000600 0x20>;
456 interrupts = <1 13 0x304>;
457 clocks = <&arm_timer_clk>;
460 intc: interrupt-controller@60001000 {
461 compatible = "arm,cortex-a9-gic";
462 reg = <0x60001000 0x1000>,
464 #interrupt-cells = <3>;
465 interrupt-controller;
469 compatible = "socionext,uniphier-pro4-sysctrl",
470 "simple-mfd", "syscon";
471 reg = <0x61840000 0x10000>;
474 compatible = "socionext,uniphier-pro4-clock";
479 compatible = "socionext,uniphier-pro4-reset";
484 eth: ethernet@65000000 {
485 compatible = "socionext,uniphier-pro4-ave4";
487 reg = <0x65000000 0x8500>;
488 interrupts = <0 66 4>;
489 pinctrl-names = "default";
490 pinctrl-0 = <&pinctrl_ether_rgmii>;
491 clock-names = "gio", "ether", "ether-gb", "ether-phy";
492 clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>,
494 reset-names = "gio", "ether";
495 resets = <&sys_rst 12>, <&sys_rst 6>;
497 local-mac-address = [00 00 00 00 00 00];
498 socionext,syscon-phy-mode = <&soc_glue 0>;
501 #address-cells = <1>;
506 _usb0: usb@65a00000 {
507 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
509 reg = <0x65a00000 0xcd00>;
510 interrupt-names = "host", "peripheral";
511 interrupts = <0 134 4>, <0 135 4>;
512 pinctrl-names = "default";
513 pinctrl-0 = <&pinctrl_usb0>;
514 clock-names = "ref", "bus_early", "suspend";
515 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
516 resets = <&usb0_rst 4>;
517 phys = <&usb_phy2>, <&usb0_ssphy>;
522 compatible = "socionext,uniphier-pro4-dwc3-glue",
524 #address-cells = <1>;
526 ranges = <0 0x65b00000 0x100>;
528 usb0_vbus: regulator@0 {
529 compatible = "socionext,uniphier-pro4-usb3-regulator";
531 clock-names = "gio", "link";
532 clocks = <&sys_clk 12>, <&sys_clk 14>;
533 reset-names = "gio", "link";
534 resets = <&sys_rst 12>, <&sys_rst 14>;
537 usb0_ssphy: ss-phy@10 {
538 compatible = "socionext,uniphier-pro4-usb3-ssphy";
541 clock-names = "gio", "link";
542 clocks = <&sys_clk 12>, <&sys_clk 14>;
543 reset-names = "gio", "link";
544 resets = <&sys_rst 12>, <&sys_rst 14>;
545 vbus-supply = <&usb0_vbus>;
549 compatible = "socionext,uniphier-pro4-usb3-reset";
552 clock-names = "gio", "link";
553 clocks = <&sys_clk 12>, <&sys_clk 14>;
554 reset-names = "gio", "link";
555 resets = <&sys_rst 12>, <&sys_rst 14>;
559 /* FIXME: U-Boot own node */
561 compatible = "socionext,uniphier-pro4-dwc3";
563 reg = <0x65b00000 0x1000>;
564 #address-cells = <1>;
567 pinctrl-names = "default";
568 pinctrl-0 = <&pinctrl_usb0>;
570 compatible = "snps,dwc3";
571 reg = <0x65a00000 0x10000>;
572 interrupts = <0 134 4>;
578 _usb1: usb@65c00000 {
579 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
581 reg = <0x65c00000 0xcd00>;
582 interrupt-names = "host", "peripheral";
583 interrupts = <0 137 4>, <0 138 4>;
584 pinctrl-names = "default";
585 pinctrl-0 = <&pinctrl_usb1>;
586 clock-names = "ref", "bus_early", "suspend";
587 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
588 resets = <&usb1_rst 4>;
594 compatible = "socionext,uniphier-pro4-dwc3-glue",
596 #address-cells = <1>;
598 ranges = <0 0x65d00000 0x100>;
600 usb1_vbus: regulator@0 {
601 compatible = "socionext,uniphier-pro4-usb3-regulator";
603 clock-names = "gio", "link";
604 clocks = <&sys_clk 12>, <&sys_clk 15>;
605 reset-names = "gio", "link";
606 resets = <&sys_rst 12>, <&sys_rst 15>;
610 compatible = "socionext,uniphier-pro4-usb3-reset";
613 clock-names = "gio", "link";
614 clocks = <&sys_clk 12>, <&sys_clk 15>;
615 reset-names = "gio", "link";
616 resets = <&sys_rst 12>, <&sys_rst 15>;
620 /* FIXME: U-Boot own node */
622 compatible = "socionext,uniphier-pro4-dwc3";
624 reg = <0x65d00000 0x1000>;
625 #address-cells = <1>;
628 pinctrl-names = "default";
629 pinctrl-0 = <&pinctrl_usb1>;
631 compatible = "snps,dwc3";
632 reg = <0x65c00000 0x10000>;
633 interrupts = <0 137 4>;
639 nand: nand-controller@68000000 {
640 compatible = "socionext,uniphier-denali-nand-v5a";
642 reg-names = "nand_data", "denali_reg";
643 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
644 interrupts = <0 65 4>;
645 pinctrl-names = "default";
646 pinctrl-0 = <&pinctrl_nand>;
647 clock-names = "nand", "nand_x", "ecc";
648 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
649 reset-names = "nand", "reg";
650 resets = <&sys_rst 2>, <&sys_rst 2>;
655 #include "uniphier-pinctrl.dtsi"