1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
3 // Device Tree Source for UniPhier PXs2 SoC
5 // Copyright (C) 2015-2016 Socionext Inc.
6 // Author: Masahiro Yamada <yamada.masahiro@socionext.com>
8 #include <dt-bindings/gpio/uniphier-gpio.h>
9 #include <dt-bindings/thermal/thermal.h>
12 compatible = "socionext,uniphier-pxs2";
22 compatible = "arm,cortex-a9";
24 clocks = <&sys_clk 32>;
25 enable-method = "psci";
26 next-level-cache = <&l2>;
27 operating-points-v2 = <&cpu_opp>;
33 compatible = "arm,cortex-a9";
35 clocks = <&sys_clk 32>;
36 enable-method = "psci";
37 next-level-cache = <&l2>;
38 operating-points-v2 = <&cpu_opp>;
44 compatible = "arm,cortex-a9";
46 clocks = <&sys_clk 32>;
47 enable-method = "psci";
48 next-level-cache = <&l2>;
49 operating-points-v2 = <&cpu_opp>;
55 compatible = "arm,cortex-a9";
57 clocks = <&sys_clk 32>;
58 enable-method = "psci";
59 next-level-cache = <&l2>;
60 operating-points-v2 = <&cpu_opp>;
66 compatible = "operating-points-v2";
70 opp-hz = /bits/ 64 <100000000>;
71 clock-latency-ns = <300>;
74 opp-hz = /bits/ 64 <150000000>;
75 clock-latency-ns = <300>;
78 opp-hz = /bits/ 64 <200000000>;
79 clock-latency-ns = <300>;
82 opp-hz = /bits/ 64 <300000000>;
83 clock-latency-ns = <300>;
86 opp-hz = /bits/ 64 <400000000>;
87 clock-latency-ns = <300>;
90 opp-hz = /bits/ 64 <600000000>;
91 clock-latency-ns = <300>;
94 opp-hz = /bits/ 64 <800000000>;
95 clock-latency-ns = <300>;
98 opp-hz = /bits/ 64 <1200000000>;
99 clock-latency-ns = <300>;
104 compatible = "arm,psci-0.2";
110 compatible = "fixed-clock";
112 clock-frequency = <25000000>;
115 arm_timer_clk: arm-timer {
117 compatible = "fixed-clock";
118 clock-frequency = <50000000>;
124 polling-delay-passive = <250>; /* 250ms */
125 polling-delay = <1000>; /* 1000ms */
126 thermal-sensors = <&pvtctl>;
130 temperature = <95000>; /* 95C */
134 cpu_alert: cpu-alert {
135 temperature = <85000>; /* 85C */
144 cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
145 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
146 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
147 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
154 compatible = "simple-bus";
155 #address-cells = <1>;
158 interrupt-parent = <&intc>;
160 l2: cache-controller@500c0000 {
161 compatible = "socionext,uniphier-system-cache";
162 reg = <0x500c0000 0x2000>, <0x503c0100 0x8>,
164 interrupts = <0 174 4>, <0 175 4>, <0 190 4>, <0 191 4>;
166 cache-size = <(1280 * 1024)>;
168 cache-line-size = <128>;
173 compatible = "socionext,uniphier-scssi";
175 reg = <0x54006000 0x100>;
176 interrupts = <0 39 4>;
177 pinctrl-names = "default";
178 pinctrl-0 = <&pinctrl_spi0>;
179 clocks = <&peri_clk 11>;
180 resets = <&peri_rst 11>;
184 compatible = "socionext,uniphier-scssi";
186 reg = <0x54006100 0x100>;
187 interrupts = <0 216 4>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&pinctrl_spi1>;
190 clocks = <&peri_clk 12>;
191 resets = <&peri_rst 12>;
194 serial0: serial@54006800 {
195 compatible = "socionext,uniphier-uart";
197 reg = <0x54006800 0x40>;
198 interrupts = <0 33 4>;
199 pinctrl-names = "default";
200 pinctrl-0 = <&pinctrl_uart0>;
201 clocks = <&peri_clk 0>;
202 resets = <&peri_rst 0>;
205 serial1: serial@54006900 {
206 compatible = "socionext,uniphier-uart";
208 reg = <0x54006900 0x40>;
209 interrupts = <0 35 4>;
210 pinctrl-names = "default";
211 pinctrl-0 = <&pinctrl_uart1>;
212 clocks = <&peri_clk 1>;
213 resets = <&peri_rst 1>;
216 serial2: serial@54006a00 {
217 compatible = "socionext,uniphier-uart";
219 reg = <0x54006a00 0x40>;
220 interrupts = <0 37 4>;
221 pinctrl-names = "default";
222 pinctrl-0 = <&pinctrl_uart2>;
223 clocks = <&peri_clk 2>;
224 resets = <&peri_rst 2>;
227 serial3: serial@54006b00 {
228 compatible = "socionext,uniphier-uart";
230 reg = <0x54006b00 0x40>;
231 interrupts = <0 177 4>;
232 pinctrl-names = "default";
233 pinctrl-0 = <&pinctrl_uart3>;
234 clocks = <&peri_clk 3>;
235 resets = <&peri_rst 3>;
238 gpio: gpio@55000000 {
239 compatible = "socionext,uniphier-gpio";
240 reg = <0x55000000 0x200>;
241 interrupt-parent = <&aidet>;
242 interrupt-controller;
243 #interrupt-cells = <2>;
246 gpio-ranges = <&pinctrl 0 0 0>,
248 gpio-ranges-group-names = "gpio_range0",
251 socionext,interrupt-ranges = <0 48 16>, <16 154 5>,
256 compatible = "socionext,uniphier-pxs2-aio";
257 reg = <0x56000000 0x80000>;
258 interrupts = <0 144 4>;
259 pinctrl-names = "default";
260 pinctrl-0 = <&pinctrl_ain1>,
268 clocks = <&sys_clk 40>;
270 resets = <&sys_rst 40>;
271 #sound-dai-cells = <1>;
272 socionext,syscon = <&soc_glue>;
289 spdif_port0: port@3 {
290 spdif_hiecout1: endpoint {
294 spdif_port1: port@4 {
295 spdif_iecout1: endpoint {
299 comp_spdif_port0: port@5 {
300 comp_spdif_hiecout1: endpoint {
304 comp_spdif_port1: port@6 {
305 comp_spdif_iecout1: endpoint {
311 compatible = "socionext,uniphier-fi2c";
313 reg = <0x58780000 0x80>;
314 #address-cells = <1>;
316 interrupts = <0 41 4>;
317 pinctrl-names = "default";
318 pinctrl-0 = <&pinctrl_i2c0>;
319 clocks = <&peri_clk 4>;
320 resets = <&peri_rst 4>;
321 clock-frequency = <100000>;
325 compatible = "socionext,uniphier-fi2c";
327 reg = <0x58781000 0x80>;
328 #address-cells = <1>;
330 interrupts = <0 42 4>;
331 pinctrl-names = "default";
332 pinctrl-0 = <&pinctrl_i2c1>;
333 clocks = <&peri_clk 5>;
334 resets = <&peri_rst 5>;
335 clock-frequency = <100000>;
339 compatible = "socionext,uniphier-fi2c";
341 reg = <0x58782000 0x80>;
342 #address-cells = <1>;
344 interrupts = <0 43 4>;
345 pinctrl-names = "default";
346 pinctrl-0 = <&pinctrl_i2c2>;
347 clocks = <&peri_clk 6>;
348 resets = <&peri_rst 6>;
349 clock-frequency = <100000>;
353 compatible = "socionext,uniphier-fi2c";
355 reg = <0x58783000 0x80>;
356 #address-cells = <1>;
358 interrupts = <0 44 4>;
359 pinctrl-names = "default";
360 pinctrl-0 = <&pinctrl_i2c3>;
361 clocks = <&peri_clk 7>;
362 resets = <&peri_rst 7>;
363 clock-frequency = <100000>;
366 /* chip-internal connection for DMD */
368 compatible = "socionext,uniphier-fi2c";
369 reg = <0x58784000 0x80>;
370 #address-cells = <1>;
372 interrupts = <0 45 4>;
373 clocks = <&peri_clk 8>;
374 resets = <&peri_rst 8>;
375 clock-frequency = <400000>;
378 /* chip-internal connection for STM */
380 compatible = "socionext,uniphier-fi2c";
381 reg = <0x58785000 0x80>;
382 #address-cells = <1>;
384 interrupts = <0 25 4>;
385 clocks = <&peri_clk 9>;
386 resets = <&peri_rst 9>;
387 clock-frequency = <400000>;
390 /* chip-internal connection for HDMI */
392 compatible = "socionext,uniphier-fi2c";
393 reg = <0x58786000 0x80>;
394 #address-cells = <1>;
396 interrupts = <0 26 4>;
397 clocks = <&peri_clk 10>;
398 resets = <&peri_rst 10>;
399 clock-frequency = <400000>;
402 system_bus: system-bus@58c00000 {
403 compatible = "socionext,uniphier-system-bus";
405 reg = <0x58c00000 0x400>;
406 #address-cells = <2>;
408 pinctrl-names = "default";
409 pinctrl-0 = <&pinctrl_system_bus>;
413 compatible = "socionext,uniphier-smpctrl";
414 reg = <0x59801000 0x400>;
418 compatible = "socionext,uniphier-pxs2-sdctrl",
419 "simple-mfd", "syscon";
420 reg = <0x59810000 0x400>;
423 compatible = "socionext,uniphier-pxs2-sd-clock";
428 compatible = "socionext,uniphier-pxs2-sd-reset";
434 compatible = "socionext,uniphier-pxs2-perictrl",
435 "simple-mfd", "syscon";
436 reg = <0x59820000 0x200>;
439 compatible = "socionext,uniphier-pxs2-peri-clock";
444 compatible = "socionext,uniphier-pxs2-peri-reset";
450 compatible = "socionext,uniphier-sd-v3.1.1";
452 reg = <0x5a000000 0x800>;
453 interrupts = <0 78 4>;
454 pinctrl-names = "default";
455 pinctrl-0 = <&pinctrl_emmc>;
456 clocks = <&sd_clk 1>;
457 reset-names = "host", "hw";
458 resets = <&sd_rst 1>, <&sd_rst 6>;
466 compatible = "socionext,uniphier-sd-v3.1.1";
468 reg = <0x5a400000 0x800>;
469 interrupts = <0 76 4>;
470 pinctrl-names = "default", "uhs";
471 pinctrl-0 = <&pinctrl_sd>;
472 pinctrl-1 = <&pinctrl_sd_uhs>;
473 clocks = <&sd_clk 0>;
474 reset-names = "host";
475 resets = <&sd_rst 0>;
483 soc_glue: soc-glue@5f800000 {
484 compatible = "socionext,uniphier-pxs2-soc-glue",
485 "simple-mfd", "syscon";
486 reg = <0x5f800000 0x2000>;
489 compatible = "socionext,uniphier-pxs2-pinctrl";
494 compatible = "socionext,uniphier-pxs2-soc-glue-debug",
496 #address-cells = <1>;
498 ranges = <0 0x5f900000 0x2000>;
501 compatible = "socionext,uniphier-efuse";
506 compatible = "socionext,uniphier-efuse";
511 aidet: interrupt-controller@5fc20000 {
512 compatible = "socionext,uniphier-pxs2-aidet";
513 reg = <0x5fc20000 0x200>;
514 interrupt-controller;
515 #interrupt-cells = <2>;
519 compatible = "arm,cortex-a9-global-timer";
520 reg = <0x60000200 0x20>;
521 interrupts = <1 11 0xf04>;
522 clocks = <&arm_timer_clk>;
526 compatible = "arm,cortex-a9-twd-timer";
527 reg = <0x60000600 0x20>;
528 interrupts = <1 13 0xf04>;
529 clocks = <&arm_timer_clk>;
532 intc: interrupt-controller@60001000 {
533 compatible = "arm,cortex-a9-gic";
534 reg = <0x60001000 0x1000>,
536 #interrupt-cells = <3>;
537 interrupt-controller;
541 compatible = "socionext,uniphier-pxs2-sysctrl",
542 "simple-mfd", "syscon";
543 reg = <0x61840000 0x10000>;
546 compatible = "socionext,uniphier-pxs2-clock";
551 compatible = "socionext,uniphier-pxs2-reset";
556 compatible = "socionext,uniphier-pxs2-thermal";
557 interrupts = <0 3 4>;
558 #thermal-sensor-cells = <0>;
559 socionext,tmod-calibration = <0x0f86 0x6844>;
563 eth: ethernet@65000000 {
564 compatible = "socionext,uniphier-pxs2-ave4";
566 reg = <0x65000000 0x8500>;
567 interrupts = <0 66 4>;
568 pinctrl-names = "default";
569 pinctrl-0 = <&pinctrl_ether_rgmii>;
570 clock-names = "ether";
571 clocks = <&sys_clk 6>;
572 reset-names = "ether";
573 resets = <&sys_rst 6>;
575 local-mac-address = [00 00 00 00 00 00];
576 socionext,syscon-phy-mode = <&soc_glue 0>;
579 #address-cells = <1>;
585 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
587 reg = <0x65a00000 0xcd00>;
588 interrupt-names = "host", "peripheral";
589 interrupts = <0 134 4>, <0 135 4>;
590 pinctrl-names = "default";
591 pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
592 clock-names = "ref", "bus_early", "suspend";
593 clocks = <&sys_clk 14>, <&sys_clk 14>, <&sys_clk 14>;
594 resets = <&usb0_rst 15>;
595 phys = <&usb0_hsphy0>, <&usb0_hsphy1>,
596 <&usb0_ssphy0>, <&usb0_ssphy1>;
601 compatible = "socionext,uniphier-pxs2-dwc3-glue",
603 #address-cells = <1>;
605 ranges = <0 0x65b00000 0x400>;
608 compatible = "socionext,uniphier-pxs2-usb3-reset";
611 clock-names = "link";
612 clocks = <&sys_clk 14>;
613 reset-names = "link";
614 resets = <&sys_rst 14>;
617 usb0_vbus0: regulator@100 {
618 compatible = "socionext,uniphier-pxs2-usb3-regulator";
620 clock-names = "link";
621 clocks = <&sys_clk 14>;
622 reset-names = "link";
623 resets = <&sys_rst 14>;
626 usb0_vbus1: regulator@110 {
627 compatible = "socionext,uniphier-pxs2-usb3-regulator";
629 clock-names = "link";
630 clocks = <&sys_clk 14>;
631 reset-names = "link";
632 resets = <&sys_rst 14>;
635 usb0_hsphy0: hs-phy@200 {
636 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
639 clock-names = "link", "phy";
640 clocks = <&sys_clk 14>, <&sys_clk 16>;
641 reset-names = "link", "phy";
642 resets = <&sys_rst 14>, <&sys_rst 16>;
643 vbus-supply = <&usb0_vbus0>;
646 usb0_hsphy1: hs-phy@210 {
647 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
650 clock-names = "link", "phy";
651 clocks = <&sys_clk 14>, <&sys_clk 16>;
652 reset-names = "link", "phy";
653 resets = <&sys_rst 14>, <&sys_rst 16>;
654 vbus-supply = <&usb0_vbus1>;
657 usb0_ssphy0: ss-phy@300 {
658 compatible = "socionext,uniphier-pxs2-usb3-ssphy";
661 clock-names = "link", "phy";
662 clocks = <&sys_clk 14>, <&sys_clk 17>;
663 reset-names = "link", "phy";
664 resets = <&sys_rst 14>, <&sys_rst 17>;
665 vbus-supply = <&usb0_vbus0>;
668 usb0_ssphy1: ss-phy@310 {
669 compatible = "socionext,uniphier-pxs2-usb3-ssphy";
672 clock-names = "link", "phy";
673 clocks = <&sys_clk 14>, <&sys_clk 18>;
674 reset-names = "link", "phy";
675 resets = <&sys_rst 14>, <&sys_rst 18>;
676 vbus-supply = <&usb0_vbus1>;
681 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
683 reg = <0x65c00000 0xcd00>;
684 interrupt-names = "host", "peripheral";
685 interrupts = <0 137 4>, <0 138 4>;
686 pinctrl-names = "default";
687 pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
688 clock-names = "ref", "bus_early", "suspend";
689 clocks = <&sys_clk 15>, <&sys_clk 15>, <&sys_clk 15>;
690 resets = <&usb1_rst 15>;
691 phys = <&usb1_hsphy0>, <&usb1_hsphy1>, <&usb1_ssphy0>;
696 compatible = "socionext,uniphier-pxs2-dwc3-glue",
698 #address-cells = <1>;
700 ranges = <0 0x65d00000 0x400>;
703 compatible = "socionext,uniphier-pxs2-usb3-reset";
706 clock-names = "link";
707 clocks = <&sys_clk 15>;
708 reset-names = "link";
709 resets = <&sys_rst 15>;
712 usb1_vbus0: regulator@100 {
713 compatible = "socionext,uniphier-pxs2-usb3-regulator";
715 clock-names = "link";
716 clocks = <&sys_clk 15>;
717 reset-names = "link";
718 resets = <&sys_rst 15>;
721 usb1_vbus1: regulator@110 {
722 compatible = "socionext,uniphier-pxs2-usb3-regulator";
724 clock-names = "link";
725 clocks = <&sys_clk 15>;
726 reset-names = "link";
727 resets = <&sys_rst 15>;
730 usb1_hsphy0: hs-phy@200 {
731 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
734 clock-names = "link", "phy";
735 clocks = <&sys_clk 15>, <&sys_clk 20>;
736 reset-names = "link", "phy";
737 resets = <&sys_rst 15>, <&sys_rst 20>;
738 vbus-supply = <&usb1_vbus0>;
741 usb1_hsphy1: hs-phy@210 {
742 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
745 clock-names = "link", "phy";
746 clocks = <&sys_clk 15>, <&sys_clk 20>;
747 reset-names = "link", "phy";
748 resets = <&sys_rst 15>, <&sys_rst 20>;
749 vbus-supply = <&usb1_vbus1>;
752 usb1_ssphy0: ss-phy@300 {
753 compatible = "socionext,uniphier-pxs2-usb3-ssphy";
756 clock-names = "link", "phy";
757 clocks = <&sys_clk 15>, <&sys_clk 21>;
758 reset-names = "link", "phy";
759 resets = <&sys_rst 15>, <&sys_rst 21>;
760 vbus-supply = <&usb1_vbus0>;
764 nand: nand-controller@68000000 {
765 compatible = "socionext,uniphier-denali-nand-v5b";
767 reg-names = "nand_data", "denali_reg";
768 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
769 #address-cells = <1>;
771 interrupts = <0 65 4>;
772 pinctrl-names = "default";
773 pinctrl-0 = <&pinctrl_nand>;
774 clock-names = "nand", "nand_x", "ecc";
775 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
776 reset-names = "nand", "reg";
777 resets = <&sys_rst 2>, <&sys_rst 2>;
782 #include "uniphier-pinctrl.dtsi"