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>;
75 compatible = "socionext,uniphier-scssi";
77 reg = <0x54006000 0x100>;
78 interrupts = <0 39 4>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_spi0>;
81 clocks = <&peri_clk 11>;
82 resets = <&peri_rst 11>;
85 serial0: serial@54006800 {
86 compatible = "socionext,uniphier-uart";
88 reg = <0x54006800 0x40>;
89 interrupts = <0 33 4>;
90 pinctrl-names = "default";
91 pinctrl-0 = <&pinctrl_uart0>;
92 clocks = <&peri_clk 0>;
93 resets = <&peri_rst 0>;
96 serial1: serial@54006900 {
97 compatible = "socionext,uniphier-uart";
99 reg = <0x54006900 0x40>;
100 interrupts = <0 35 4>;
101 pinctrl-names = "default";
102 pinctrl-0 = <&pinctrl_uart1>;
103 clocks = <&peri_clk 1>;
104 resets = <&peri_rst 1>;
107 serial2: serial@54006a00 {
108 compatible = "socionext,uniphier-uart";
110 reg = <0x54006a00 0x40>;
111 interrupts = <0 37 4>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_uart2>;
114 clocks = <&peri_clk 2>;
115 resets = <&peri_rst 2>;
118 serial3: serial@54006b00 {
119 compatible = "socionext,uniphier-uart";
121 reg = <0x54006b00 0x40>;
122 interrupts = <0 177 4>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&pinctrl_uart3>;
125 clocks = <&peri_clk 3>;
126 resets = <&peri_rst 3>;
129 gpio: gpio@55000000 {
130 compatible = "socionext,uniphier-gpio";
131 reg = <0x55000000 0x200>;
132 interrupt-parent = <&aidet>;
133 interrupt-controller;
134 #interrupt-cells = <2>;
137 gpio-ranges = <&pinctrl 0 0 0>;
138 gpio-ranges-group-names = "gpio_range";
140 socionext,interrupt-ranges = <0 48 16>, <16 154 5>;
144 compatible = "socionext,uniphier-fi2c";
146 reg = <0x58780000 0x80>;
147 #address-cells = <1>;
149 interrupts = <0 41 4>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&pinctrl_i2c0>;
152 clocks = <&peri_clk 4>;
153 resets = <&peri_rst 4>;
154 clock-frequency = <100000>;
158 compatible = "socionext,uniphier-fi2c";
160 reg = <0x58781000 0x80>;
161 #address-cells = <1>;
163 interrupts = <0 42 4>;
164 pinctrl-names = "default";
165 pinctrl-0 = <&pinctrl_i2c1>;
166 clocks = <&peri_clk 5>;
167 resets = <&peri_rst 5>;
168 clock-frequency = <100000>;
172 compatible = "socionext,uniphier-fi2c";
174 reg = <0x58782000 0x80>;
175 #address-cells = <1>;
177 interrupts = <0 43 4>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_i2c2>;
180 clocks = <&peri_clk 6>;
181 resets = <&peri_rst 6>;
182 clock-frequency = <100000>;
186 compatible = "socionext,uniphier-fi2c";
188 reg = <0x58783000 0x80>;
189 #address-cells = <1>;
191 interrupts = <0 44 4>;
192 pinctrl-names = "default";
193 pinctrl-0 = <&pinctrl_i2c3>;
194 clocks = <&peri_clk 7>;
195 resets = <&peri_rst 7>;
196 clock-frequency = <100000>;
199 /* i2c4 does not exist */
201 /* chip-internal connection for DMD */
203 compatible = "socionext,uniphier-fi2c";
204 reg = <0x58785000 0x80>;
205 #address-cells = <1>;
207 interrupts = <0 25 4>;
208 clocks = <&peri_clk 9>;
209 resets = <&peri_rst 9>;
210 clock-frequency = <400000>;
213 /* chip-internal connection for HDMI */
215 compatible = "socionext,uniphier-fi2c";
216 reg = <0x58786000 0x80>;
217 #address-cells = <1>;
219 interrupts = <0 26 4>;
220 clocks = <&peri_clk 10>;
221 resets = <&peri_rst 10>;
222 clock-frequency = <400000>;
225 system_bus: system-bus@58c00000 {
226 compatible = "socionext,uniphier-system-bus";
228 reg = <0x58c00000 0x400>;
229 #address-cells = <2>;
231 pinctrl-names = "default";
232 pinctrl-0 = <&pinctrl_system_bus>;
236 compatible = "socionext,uniphier-smpctrl";
237 reg = <0x59801000 0x400>;
241 compatible = "socionext,uniphier-pro4-mioctrl",
242 "simple-mfd", "syscon";
243 reg = <0x59810000 0x800>;
246 compatible = "socionext,uniphier-pro4-mio-clock";
251 compatible = "socionext,uniphier-pro4-mio-reset";
257 compatible = "socionext,uniphier-pro4-perictrl",
258 "simple-mfd", "syscon";
259 reg = <0x59820000 0x200>;
262 compatible = "socionext,uniphier-pro4-peri-clock";
267 compatible = "socionext,uniphier-pro4-peri-reset";
272 dmac: dma-controller@5a000000 {
273 compatible = "socionext,uniphier-mio-dmac";
274 reg = <0x5a000000 0x1000>;
275 interrupts = <0 68 4>, <0 68 4>, <0 69 4>, <0 70 4>,
276 <0 71 4>, <0 72 4>, <0 73 4>, <0 74 4>;
277 clocks = <&mio_clk 7>;
278 resets = <&mio_rst 7>;
283 compatible = "socionext,uniphier-sd-v2.91";
285 reg = <0x5a400000 0x200>;
286 interrupts = <0 76 4>;
287 pinctrl-names = "default", "uhs";
288 pinctrl-0 = <&pinctrl_sd>;
289 pinctrl-1 = <&pinctrl_sd_uhs>;
290 clocks = <&mio_clk 0>;
291 reset-names = "host", "bridge";
292 resets = <&mio_rst 0>, <&mio_rst 3>;
302 emmc: sdhc@5a500000 {
303 compatible = "socionext,uniphier-sd-v2.91";
305 reg = <0x5a500000 0x200>;
306 interrupts = <0 78 4>;
307 pinctrl-names = "default";
308 pinctrl-0 = <&pinctrl_emmc>;
309 clocks = <&mio_clk 1>;
310 reset-names = "host", "bridge", "hw";
311 resets = <&mio_rst 1>, <&mio_rst 4>, <&mio_rst 6>;
321 compatible = "socionext,uniphier-sd-v2.91";
323 reg = <0x5a600000 0x200>;
324 interrupts = <0 85 4>;
325 pinctrl-names = "default";
326 pinctrl-0 = <&pinctrl_sd1>;
327 clocks = <&mio_clk 2>;
328 reset-names = "host", "bridge";
329 resets = <&mio_rst 2>, <&mio_rst 5>;
337 compatible = "socionext,uniphier-ehci", "generic-ehci";
339 reg = <0x5a800100 0x100>;
340 interrupts = <0 80 4>;
341 pinctrl-names = "default";
342 pinctrl-0 = <&pinctrl_usb2>;
343 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 8>,
345 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 8>,
349 has-transaction-translator;
353 compatible = "socionext,uniphier-ehci", "generic-ehci";
355 reg = <0x5a810100 0x100>;
356 interrupts = <0 81 4>;
357 pinctrl-names = "default";
358 pinctrl-0 = <&pinctrl_usb3>;
359 clocks = <&sys_clk 8>, <&mio_clk 7>, <&mio_clk 9>,
361 resets = <&sys_rst 8>, <&mio_rst 7>, <&mio_rst 9>,
365 has-transaction-translator;
368 soc_glue: soc-glue@5f800000 {
369 compatible = "socionext,uniphier-pro4-soc-glue",
370 "simple-mfd", "syscon";
371 reg = <0x5f800000 0x2000>;
374 compatible = "socionext,uniphier-pro4-pinctrl";
378 compatible = "socionext,uniphier-pro4-usb2-phy";
379 #address-cells = <1>;
395 vbus-supply = <&usb0_vbus>;
401 vbus-supply = <&usb1_vbus>;
407 compatible = "socionext,uniphier-pro4-soc-glue-debug",
409 #address-cells = <1>;
411 ranges = <0 0x5f900000 0x2000>;
414 compatible = "socionext,uniphier-efuse";
419 compatible = "socionext,uniphier-efuse";
424 compatible = "socionext,uniphier-efuse";
429 aidet: aidet@5fc20000 {
430 compatible = "socionext,uniphier-pro4-aidet";
431 reg = <0x5fc20000 0x200>;
432 interrupt-controller;
433 #interrupt-cells = <2>;
437 compatible = "arm,cortex-a9-global-timer";
438 reg = <0x60000200 0x20>;
439 interrupts = <1 11 0x304>;
440 clocks = <&arm_timer_clk>;
444 compatible = "arm,cortex-a9-twd-timer";
445 reg = <0x60000600 0x20>;
446 interrupts = <1 13 0x304>;
447 clocks = <&arm_timer_clk>;
450 intc: interrupt-controller@60001000 {
451 compatible = "arm,cortex-a9-gic";
452 reg = <0x60001000 0x1000>,
454 #interrupt-cells = <3>;
455 interrupt-controller;
459 compatible = "socionext,uniphier-pro4-sysctrl",
460 "simple-mfd", "syscon";
461 reg = <0x61840000 0x10000>;
464 compatible = "socionext,uniphier-pro4-clock";
469 compatible = "socionext,uniphier-pro4-reset";
474 eth: ethernet@65000000 {
475 compatible = "socionext,uniphier-pro4-ave4";
477 reg = <0x65000000 0x8500>;
478 interrupts = <0 66 4>;
479 pinctrl-names = "default";
480 pinctrl-0 = <&pinctrl_ether_rgmii>;
481 clock-names = "gio", "ether", "ether-gb", "ether-phy";
482 clocks = <&sys_clk 12>, <&sys_clk 6>, <&sys_clk 7>,
484 reset-names = "gio", "ether";
485 resets = <&sys_rst 12>, <&sys_rst 6>;
487 local-mac-address = [00 00 00 00 00 00];
488 socionext,syscon-phy-mode = <&soc_glue 0>;
491 #address-cells = <1>;
497 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
499 reg = <0x65a00000 0xcd00>;
500 interrupt-names = "host", "peripheral";
501 interrupts = <0 134 4>, <0 135 4>;
502 pinctrl-names = "default";
503 pinctrl-0 = <&pinctrl_usb0>;
504 clock-names = "ref", "bus_early", "suspend";
505 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
506 resets = <&usb0_rst 4>;
507 phys = <&usb_phy2>, <&usb0_ssphy>;
512 compatible = "socionext,uniphier-pro4-dwc3-glue",
514 #address-cells = <1>;
516 ranges = <0 0x65b00000 0x100>;
518 usb0_vbus: regulator@0 {
519 compatible = "socionext,uniphier-pro4-usb3-regulator";
521 clock-names = "gio", "link";
522 clocks = <&sys_clk 12>, <&sys_clk 14>;
523 reset-names = "gio", "link";
524 resets = <&sys_rst 12>, <&sys_rst 14>;
527 usb0_ssphy: ss-phy@10 {
528 compatible = "socionext,uniphier-pro4-usb3-ssphy";
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>;
535 vbus-supply = <&usb0_vbus>;
539 compatible = "socionext,uniphier-pro4-usb3-reset";
542 clock-names = "gio", "link";
543 clocks = <&sys_clk 12>, <&sys_clk 14>;
544 reset-names = "gio", "link";
545 resets = <&sys_rst 12>, <&sys_rst 14>;
550 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
552 reg = <0x65c00000 0xcd00>;
553 interrupt-names = "host", "peripheral";
554 interrupts = <0 137 4>, <0 138 4>;
555 pinctrl-names = "default";
556 pinctrl-0 = <&pinctrl_usb1>;
557 clock-names = "ref", "bus_early", "suspend";
558 clocks = <&sys_clk 12>, <&sys_clk 12>, <&sys_clk 12>;
559 resets = <&usb1_rst 4>;
565 compatible = "socionext,uniphier-pro4-dwc3-glue",
567 #address-cells = <1>;
569 ranges = <0 0x65d00000 0x100>;
571 usb1_vbus: regulator@0 {
572 compatible = "socionext,uniphier-pro4-usb3-regulator";
574 clock-names = "gio", "link";
575 clocks = <&sys_clk 12>, <&sys_clk 15>;
576 reset-names = "gio", "link";
577 resets = <&sys_rst 12>, <&sys_rst 15>;
581 compatible = "socionext,uniphier-pro4-usb3-reset";
584 clock-names = "gio", "link";
585 clocks = <&sys_clk 12>, <&sys_clk 15>;
586 reset-names = "gio", "link";
587 resets = <&sys_rst 12>, <&sys_rst 15>;
591 nand: nand@68000000 {
592 compatible = "socionext,uniphier-denali-nand-v5a";
594 reg-names = "nand_data", "denali_reg";
595 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
596 #address-cells = <1>;
598 interrupts = <0 65 4>;
599 pinctrl-names = "default";
600 pinctrl-0 = <&pinctrl_nand>;
601 clock-names = "nand", "nand_x", "ecc";
602 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
603 reset-names = "nand", "reg";
604 resets = <&sys_rst 2>, <&sys_rst 2>;
609 #include "uniphier-pinctrl.dtsi"