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 #address-cells = <1>;
178 interrupts = <0 39 4>;
179 pinctrl-names = "default";
180 pinctrl-0 = <&pinctrl_spi0>;
181 clocks = <&peri_clk 11>;
182 resets = <&peri_rst 11>;
186 compatible = "socionext,uniphier-scssi";
188 reg = <0x54006100 0x100>;
189 #address-cells = <1>;
191 interrupts = <0 216 4>;
192 pinctrl-names = "default";
193 pinctrl-0 = <&pinctrl_spi1>;
194 clocks = <&peri_clk 12>;
195 resets = <&peri_rst 12>;
198 serial0: serial@54006800 {
199 compatible = "socionext,uniphier-uart";
201 reg = <0x54006800 0x40>;
202 interrupts = <0 33 4>;
203 pinctrl-names = "default";
204 pinctrl-0 = <&pinctrl_uart0>;
205 clocks = <&peri_clk 0>;
206 resets = <&peri_rst 0>;
209 serial1: serial@54006900 {
210 compatible = "socionext,uniphier-uart";
212 reg = <0x54006900 0x40>;
213 interrupts = <0 35 4>;
214 pinctrl-names = "default";
215 pinctrl-0 = <&pinctrl_uart1>;
216 clocks = <&peri_clk 1>;
217 resets = <&peri_rst 1>;
220 serial2: serial@54006a00 {
221 compatible = "socionext,uniphier-uart";
223 reg = <0x54006a00 0x40>;
224 interrupts = <0 37 4>;
225 pinctrl-names = "default";
226 pinctrl-0 = <&pinctrl_uart2>;
227 clocks = <&peri_clk 2>;
228 resets = <&peri_rst 2>;
231 serial3: serial@54006b00 {
232 compatible = "socionext,uniphier-uart";
234 reg = <0x54006b00 0x40>;
235 interrupts = <0 177 4>;
236 pinctrl-names = "default";
237 pinctrl-0 = <&pinctrl_uart3>;
238 clocks = <&peri_clk 3>;
239 resets = <&peri_rst 3>;
242 gpio: gpio@55000000 {
243 compatible = "socionext,uniphier-gpio";
244 reg = <0x55000000 0x200>;
245 interrupt-parent = <&aidet>;
246 interrupt-controller;
247 #interrupt-cells = <2>;
250 gpio-ranges = <&pinctrl 0 0 0>,
252 gpio-ranges-group-names = "gpio_range0",
255 socionext,interrupt-ranges = <0 48 16>, <16 154 5>,
260 compatible = "socionext,uniphier-pxs2-aio";
261 reg = <0x56000000 0x80000>;
262 interrupts = <0 144 4>;
263 pinctrl-names = "default";
264 pinctrl-0 = <&pinctrl_ain1>,
272 clocks = <&sys_clk 40>;
274 resets = <&sys_rst 40>;
275 #sound-dai-cells = <1>;
276 socionext,syscon = <&soc_glue>;
293 spdif_port0: port@3 {
294 spdif_hiecout1: endpoint {
298 spdif_port1: port@4 {
299 spdif_iecout1: endpoint {
303 comp_spdif_port0: port@5 {
304 comp_spdif_hiecout1: endpoint {
308 comp_spdif_port1: port@6 {
309 comp_spdif_iecout1: endpoint {
315 compatible = "socionext,uniphier-fi2c";
317 reg = <0x58780000 0x80>;
318 #address-cells = <1>;
320 interrupts = <0 41 4>;
321 pinctrl-names = "default";
322 pinctrl-0 = <&pinctrl_i2c0>;
323 clocks = <&peri_clk 4>;
324 resets = <&peri_rst 4>;
325 clock-frequency = <100000>;
329 compatible = "socionext,uniphier-fi2c";
331 reg = <0x58781000 0x80>;
332 #address-cells = <1>;
334 interrupts = <0 42 4>;
335 pinctrl-names = "default";
336 pinctrl-0 = <&pinctrl_i2c1>;
337 clocks = <&peri_clk 5>;
338 resets = <&peri_rst 5>;
339 clock-frequency = <100000>;
343 compatible = "socionext,uniphier-fi2c";
345 reg = <0x58782000 0x80>;
346 #address-cells = <1>;
348 interrupts = <0 43 4>;
349 pinctrl-names = "default";
350 pinctrl-0 = <&pinctrl_i2c2>;
351 clocks = <&peri_clk 6>;
352 resets = <&peri_rst 6>;
353 clock-frequency = <100000>;
357 compatible = "socionext,uniphier-fi2c";
359 reg = <0x58783000 0x80>;
360 #address-cells = <1>;
362 interrupts = <0 44 4>;
363 pinctrl-names = "default";
364 pinctrl-0 = <&pinctrl_i2c3>;
365 clocks = <&peri_clk 7>;
366 resets = <&peri_rst 7>;
367 clock-frequency = <100000>;
370 /* chip-internal connection for DMD */
372 compatible = "socionext,uniphier-fi2c";
373 reg = <0x58784000 0x80>;
374 #address-cells = <1>;
376 interrupts = <0 45 4>;
377 clocks = <&peri_clk 8>;
378 resets = <&peri_rst 8>;
379 clock-frequency = <400000>;
382 /* chip-internal connection for STM */
384 compatible = "socionext,uniphier-fi2c";
385 reg = <0x58785000 0x80>;
386 #address-cells = <1>;
388 interrupts = <0 25 4>;
389 clocks = <&peri_clk 9>;
390 resets = <&peri_rst 9>;
391 clock-frequency = <400000>;
394 /* chip-internal connection for HDMI */
396 compatible = "socionext,uniphier-fi2c";
397 reg = <0x58786000 0x80>;
398 #address-cells = <1>;
400 interrupts = <0 26 4>;
401 clocks = <&peri_clk 10>;
402 resets = <&peri_rst 10>;
403 clock-frequency = <400000>;
406 system_bus: system-bus@58c00000 {
407 compatible = "socionext,uniphier-system-bus";
409 reg = <0x58c00000 0x400>;
410 #address-cells = <2>;
412 pinctrl-names = "default";
413 pinctrl-0 = <&pinctrl_system_bus>;
417 compatible = "socionext,uniphier-smpctrl";
418 reg = <0x59801000 0x400>;
422 compatible = "socionext,uniphier-pxs2-sdctrl",
423 "simple-mfd", "syscon";
424 reg = <0x59810000 0x400>;
427 compatible = "socionext,uniphier-pxs2-sd-clock";
432 compatible = "socionext,uniphier-pxs2-sd-reset";
438 compatible = "socionext,uniphier-pxs2-perictrl",
439 "simple-mfd", "syscon";
440 reg = <0x59820000 0x200>;
443 compatible = "socionext,uniphier-pxs2-peri-clock";
448 compatible = "socionext,uniphier-pxs2-peri-reset";
454 compatible = "socionext,uniphier-sd-v3.1.1";
456 reg = <0x5a000000 0x800>;
457 interrupts = <0 78 4>;
458 pinctrl-names = "default";
459 pinctrl-0 = <&pinctrl_emmc>;
460 clocks = <&sd_clk 1>;
461 reset-names = "host", "hw";
462 resets = <&sd_rst 1>, <&sd_rst 6>;
470 compatible = "socionext,uniphier-sd-v3.1.1";
472 reg = <0x5a400000 0x800>;
473 interrupts = <0 76 4>;
474 pinctrl-names = "default", "uhs";
475 pinctrl-0 = <&pinctrl_sd>;
476 pinctrl-1 = <&pinctrl_sd_uhs>;
477 clocks = <&sd_clk 0>;
478 reset-names = "host";
479 resets = <&sd_rst 0>;
487 soc_glue: soc-glue@5f800000 {
488 compatible = "socionext,uniphier-pxs2-soc-glue",
489 "simple-mfd", "syscon";
490 reg = <0x5f800000 0x2000>;
493 compatible = "socionext,uniphier-pxs2-pinctrl";
498 compatible = "socionext,uniphier-pxs2-soc-glue-debug",
500 #address-cells = <1>;
502 ranges = <0 0x5f900000 0x2000>;
505 compatible = "socionext,uniphier-efuse";
510 compatible = "socionext,uniphier-efuse";
515 xdmac: dma-controller@5fc10000 {
516 compatible = "socionext,uniphier-xdmac";
517 reg = <0x5fc10000 0x5300>;
518 interrupts = <0 188 4>;
523 aidet: interrupt-controller@5fc20000 {
524 compatible = "socionext,uniphier-pxs2-aidet";
525 reg = <0x5fc20000 0x200>;
526 interrupt-controller;
527 #interrupt-cells = <2>;
531 compatible = "arm,cortex-a9-global-timer";
532 reg = <0x60000200 0x20>;
533 interrupts = <1 11 0xf04>;
534 clocks = <&arm_timer_clk>;
538 compatible = "arm,cortex-a9-twd-timer";
539 reg = <0x60000600 0x20>;
540 interrupts = <1 13 0xf04>;
541 clocks = <&arm_timer_clk>;
544 intc: interrupt-controller@60001000 {
545 compatible = "arm,cortex-a9-gic";
546 reg = <0x60001000 0x1000>,
548 #interrupt-cells = <3>;
549 interrupt-controller;
553 compatible = "socionext,uniphier-pxs2-sysctrl",
554 "simple-mfd", "syscon";
555 reg = <0x61840000 0x10000>;
558 compatible = "socionext,uniphier-pxs2-clock";
563 compatible = "socionext,uniphier-pxs2-reset";
568 compatible = "socionext,uniphier-pxs2-thermal";
569 interrupts = <0 3 4>;
570 #thermal-sensor-cells = <0>;
571 socionext,tmod-calibration = <0x0f86 0x6844>;
575 eth: ethernet@65000000 {
576 compatible = "socionext,uniphier-pxs2-ave4";
578 reg = <0x65000000 0x8500>;
579 interrupts = <0 66 4>;
580 pinctrl-names = "default";
581 pinctrl-0 = <&pinctrl_ether_rgmii>;
582 clock-names = "ether";
583 clocks = <&sys_clk 6>;
584 reset-names = "ether";
585 resets = <&sys_rst 6>;
587 local-mac-address = [00 00 00 00 00 00];
588 socionext,syscon-phy-mode = <&soc_glue 0>;
591 #address-cells = <1>;
597 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
599 reg = <0x65a00000 0xcd00>;
600 interrupt-names = "host", "peripheral";
601 interrupts = <0 134 4>, <0 135 4>;
602 pinctrl-names = "default";
603 pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>;
604 clock-names = "ref", "bus_early", "suspend";
605 clocks = <&sys_clk 14>, <&sys_clk 14>, <&sys_clk 14>;
606 resets = <&usb0_rst 15>;
607 phys = <&usb0_hsphy0>, <&usb0_hsphy1>,
608 <&usb0_ssphy0>, <&usb0_ssphy1>;
613 compatible = "socionext,uniphier-pxs2-dwc3-glue",
615 #address-cells = <1>;
617 ranges = <0 0x65b00000 0x400>;
620 compatible = "socionext,uniphier-pxs2-usb3-reset";
623 clock-names = "link";
624 clocks = <&sys_clk 14>;
625 reset-names = "link";
626 resets = <&sys_rst 14>;
629 usb0_vbus0: regulator@100 {
630 compatible = "socionext,uniphier-pxs2-usb3-regulator";
632 clock-names = "link";
633 clocks = <&sys_clk 14>;
634 reset-names = "link";
635 resets = <&sys_rst 14>;
638 usb0_vbus1: regulator@110 {
639 compatible = "socionext,uniphier-pxs2-usb3-regulator";
641 clock-names = "link";
642 clocks = <&sys_clk 14>;
643 reset-names = "link";
644 resets = <&sys_rst 14>;
647 usb0_hsphy0: hs-phy@200 {
648 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
651 clock-names = "link", "phy";
652 clocks = <&sys_clk 14>, <&sys_clk 16>;
653 reset-names = "link", "phy";
654 resets = <&sys_rst 14>, <&sys_rst 16>;
655 vbus-supply = <&usb0_vbus0>;
658 usb0_hsphy1: hs-phy@210 {
659 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
662 clock-names = "link", "phy";
663 clocks = <&sys_clk 14>, <&sys_clk 16>;
664 reset-names = "link", "phy";
665 resets = <&sys_rst 14>, <&sys_rst 16>;
666 vbus-supply = <&usb0_vbus1>;
669 usb0_ssphy0: ss-phy@300 {
670 compatible = "socionext,uniphier-pxs2-usb3-ssphy";
673 clock-names = "link", "phy";
674 clocks = <&sys_clk 14>, <&sys_clk 17>;
675 reset-names = "link", "phy";
676 resets = <&sys_rst 14>, <&sys_rst 17>;
677 vbus-supply = <&usb0_vbus0>;
680 usb0_ssphy1: ss-phy@310 {
681 compatible = "socionext,uniphier-pxs2-usb3-ssphy";
684 clock-names = "link", "phy";
685 clocks = <&sys_clk 14>, <&sys_clk 18>;
686 reset-names = "link", "phy";
687 resets = <&sys_rst 14>, <&sys_rst 18>;
688 vbus-supply = <&usb0_vbus1>;
693 compatible = "socionext,uniphier-dwc3", "snps,dwc3";
695 reg = <0x65c00000 0xcd00>;
696 interrupt-names = "host", "peripheral";
697 interrupts = <0 137 4>, <0 138 4>;
698 pinctrl-names = "default";
699 pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>;
700 clock-names = "ref", "bus_early", "suspend";
701 clocks = <&sys_clk 15>, <&sys_clk 15>, <&sys_clk 15>;
702 resets = <&usb1_rst 15>;
703 phys = <&usb1_hsphy0>, <&usb1_hsphy1>, <&usb1_ssphy0>;
708 compatible = "socionext,uniphier-pxs2-dwc3-glue",
710 #address-cells = <1>;
712 ranges = <0 0x65d00000 0x400>;
715 compatible = "socionext,uniphier-pxs2-usb3-reset";
718 clock-names = "link";
719 clocks = <&sys_clk 15>;
720 reset-names = "link";
721 resets = <&sys_rst 15>;
724 usb1_vbus0: regulator@100 {
725 compatible = "socionext,uniphier-pxs2-usb3-regulator";
727 clock-names = "link";
728 clocks = <&sys_clk 15>;
729 reset-names = "link";
730 resets = <&sys_rst 15>;
733 usb1_vbus1: regulator@110 {
734 compatible = "socionext,uniphier-pxs2-usb3-regulator";
736 clock-names = "link";
737 clocks = <&sys_clk 15>;
738 reset-names = "link";
739 resets = <&sys_rst 15>;
742 usb1_hsphy0: hs-phy@200 {
743 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
746 clock-names = "link", "phy";
747 clocks = <&sys_clk 15>, <&sys_clk 20>;
748 reset-names = "link", "phy";
749 resets = <&sys_rst 15>, <&sys_rst 20>;
750 vbus-supply = <&usb1_vbus0>;
753 usb1_hsphy1: hs-phy@210 {
754 compatible = "socionext,uniphier-pxs2-usb3-hsphy";
757 clock-names = "link", "phy";
758 clocks = <&sys_clk 15>, <&sys_clk 20>;
759 reset-names = "link", "phy";
760 resets = <&sys_rst 15>, <&sys_rst 20>;
761 vbus-supply = <&usb1_vbus1>;
764 usb1_ssphy0: ss-phy@300 {
765 compatible = "socionext,uniphier-pxs2-usb3-ssphy";
768 clock-names = "link", "phy";
769 clocks = <&sys_clk 15>, <&sys_clk 21>;
770 reset-names = "link", "phy";
771 resets = <&sys_rst 15>, <&sys_rst 21>;
772 vbus-supply = <&usb1_vbus0>;
776 nand: nand-controller@68000000 {
777 compatible = "socionext,uniphier-denali-nand-v5b";
779 reg-names = "nand_data", "denali_reg";
780 reg = <0x68000000 0x20>, <0x68100000 0x1000>;
781 #address-cells = <1>;
783 interrupts = <0 65 4>;
784 pinctrl-names = "default";
785 pinctrl-0 = <&pinctrl_nand>;
786 clock-names = "nand", "nand_x", "ecc";
787 clocks = <&sys_clk 2>, <&sys_clk 3>, <&sys_clk 3>;
788 reset-names = "nand", "reg";
789 resets = <&sys_rst 2>, <&sys_rst 2>;
794 #include "uniphier-pinctrl.dtsi"