1 // SPDX-License-Identifier: GPL-2.0
2 #include "juno-clocks.dtsi"
3 #include "juno-motherboard.dtsi"
7 * Devices shared by all Juno boards
9 dma-ranges = <0 0 0 0 0x100 0>;
11 memtimer: timer@2a810000 {
12 compatible = "arm,armv7-timer-mem";
13 reg = <0x0 0x2a810000 0x0 0x10000>;
14 clock-frequency = <50000000>;
21 interrupts = <0 60 4>;
22 reg = <0x0 0x2a830000 0x0 0x10000>;
26 mailbox: mhu@2b1f0000 {
27 compatible = "arm,mhu", "arm,primecell";
28 reg = <0x0 0x2b1f0000 0x0 0x1000>;
29 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>,
30 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
31 interrupt-names = "mhu_lpri_rx",
34 clocks = <&soc_refclk100mhz>;
35 clock-names = "apb_pclk";
38 smmu_pcie: iommu@2b500000 {
39 compatible = "arm,mmu-401", "arm,smmu-v1";
40 reg = <0x0 0x2b500000 0x0 0x10000>;
41 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
42 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
44 #global-interrupts = <1>;
49 smmu_etr: iommu@2b600000 {
50 compatible = "arm,mmu-401", "arm,smmu-v1";
51 reg = <0x0 0x2b600000 0x0 0x10000>;
52 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
53 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
55 #global-interrupts = <1>;
57 power-domains = <&scpi_devpd 0>;
60 gic: interrupt-controller@2c010000 {
61 compatible = "arm,gic-400", "arm,cortex-a15-gic";
62 reg = <0x0 0x2c010000 0 0x1000>,
63 <0x0 0x2c02f000 0 0x2000>,
64 <0x0 0x2c04f000 0 0x2000>,
65 <0x0 0x2c06f000 0 0x2000>;
67 #interrupt-cells = <3>;
70 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>;
71 ranges = <0 0 0 0x2c1c0000 0 0x40000>;
74 compatible = "arm,gic-v2m-frame";
76 reg = <0 0 0 0x10000>;
80 compatible = "arm,gic-v2m-frame";
82 reg = <0 0x10000 0 0x10000>;
86 compatible = "arm,gic-v2m-frame";
88 reg = <0 0x20000 0 0x10000>;
92 compatible = "arm,gic-v2m-frame";
94 reg = <0 0x30000 0 0x10000>;
99 compatible = "arm,armv8-timer";
100 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
101 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
102 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>,
103 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>;
107 * Juno TRMs specify the size for these coresight components as 64K.
108 * The actual size is just 4K though 64K is reserved. Access to the
109 * unmapped reserved region results in a DECERR response.
111 etf@20010000 { /* etf0 */
112 compatible = "arm,coresight-tmc", "arm,primecell";
113 reg = <0 0x20010000 0 0x1000>;
115 clocks = <&soc_smc50mhz>;
116 clock-names = "apb_pclk";
117 power-domains = <&scpi_devpd 0>;
119 #address-cells = <1>;
125 etf0_in_port: endpoint {
127 remote-endpoint = <&main_funnel_out_port>;
134 etf0_out_port: endpoint {
141 compatible = "arm,coresight-tpiu", "arm,primecell";
142 reg = <0 0x20030000 0 0x1000>;
144 clocks = <&soc_smc50mhz>;
145 clock-names = "apb_pclk";
146 power-domains = <&scpi_devpd 0>;
148 tpiu_in_port: endpoint {
150 remote-endpoint = <&replicator_out_port0>;
155 /* main funnel on Juno r0, cssys0 funnel on Juno r1/r2 as per TRM*/
156 main_funnel: funnel@20040000 {
157 compatible = "arm,coresight-funnel", "arm,primecell";
158 reg = <0 0x20040000 0 0x1000>;
160 clocks = <&soc_smc50mhz>;
161 clock-names = "apb_pclk";
162 power-domains = <&scpi_devpd 0>;
164 #address-cells = <1>;
170 main_funnel_out_port: endpoint {
171 remote-endpoint = <&etf0_in_port>;
178 main_funnel_in_port0: endpoint {
180 remote-endpoint = <&cluster0_funnel_out_port>;
186 main_funnel_in_port1: endpoint {
188 remote-endpoint = <&cluster1_funnel_out_port>;
195 compatible = "arm,coresight-tmc", "arm,primecell";
196 reg = <0 0x20070000 0 0x1000>;
197 iommus = <&smmu_etr 0>;
199 clocks = <&soc_smc50mhz>;
200 clock-names = "apb_pclk";
201 power-domains = <&scpi_devpd 0>;
203 etr_in_port: endpoint {
205 remote-endpoint = <&replicator_out_port1>;
211 compatible = "arm,coresight-stm", "arm,primecell";
212 reg = <0 0x20100000 0 0x1000>,
213 <0 0x28000000 0 0x1000000>;
214 reg-names = "stm-base", "stm-stimulus-base";
216 clocks = <&soc_smc50mhz>;
217 clock-names = "apb_pclk";
218 power-domains = <&scpi_devpd 0>;
220 stm_out_port: endpoint {
225 cpu_debug0: cpu-debug@22010000 {
226 compatible = "arm,coresight-cpu-debug", "arm,primecell";
227 reg = <0x0 0x22010000 0x0 0x1000>;
229 clocks = <&soc_smc50mhz>;
230 clock-names = "apb_pclk";
231 power-domains = <&scpi_devpd 0>;
235 compatible = "arm,coresight-etm4x", "arm,primecell";
236 reg = <0 0x22040000 0 0x1000>;
238 clocks = <&soc_smc50mhz>;
239 clock-names = "apb_pclk";
240 power-domains = <&scpi_devpd 0>;
242 cluster0_etm0_out_port: endpoint {
243 remote-endpoint = <&cluster0_funnel_in_port0>;
248 funnel@220c0000 { /* cluster0 funnel */
249 compatible = "arm,coresight-funnel", "arm,primecell";
250 reg = <0 0x220c0000 0 0x1000>;
252 clocks = <&soc_smc50mhz>;
253 clock-names = "apb_pclk";
254 power-domains = <&scpi_devpd 0>;
256 #address-cells = <1>;
261 cluster0_funnel_out_port: endpoint {
262 remote-endpoint = <&main_funnel_in_port0>;
268 cluster0_funnel_in_port0: endpoint {
270 remote-endpoint = <&cluster0_etm0_out_port>;
276 cluster0_funnel_in_port1: endpoint {
278 remote-endpoint = <&cluster0_etm1_out_port>;
284 cpu_debug1: cpu-debug@22110000 {
285 compatible = "arm,coresight-cpu-debug", "arm,primecell";
286 reg = <0x0 0x22110000 0x0 0x1000>;
288 clocks = <&soc_smc50mhz>;
289 clock-names = "apb_pclk";
290 power-domains = <&scpi_devpd 0>;
294 compatible = "arm,coresight-etm4x", "arm,primecell";
295 reg = <0 0x22140000 0 0x1000>;
297 clocks = <&soc_smc50mhz>;
298 clock-names = "apb_pclk";
299 power-domains = <&scpi_devpd 0>;
301 cluster0_etm1_out_port: endpoint {
302 remote-endpoint = <&cluster0_funnel_in_port1>;
307 cpu_debug2: cpu-debug@23010000 {
308 compatible = "arm,coresight-cpu-debug", "arm,primecell";
309 reg = <0x0 0x23010000 0x0 0x1000>;
311 clocks = <&soc_smc50mhz>;
312 clock-names = "apb_pclk";
313 power-domains = <&scpi_devpd 0>;
317 compatible = "arm,coresight-etm4x", "arm,primecell";
318 reg = <0 0x23040000 0 0x1000>;
320 clocks = <&soc_smc50mhz>;
321 clock-names = "apb_pclk";
322 power-domains = <&scpi_devpd 0>;
324 cluster1_etm0_out_port: endpoint {
325 remote-endpoint = <&cluster1_funnel_in_port0>;
330 funnel@230c0000 { /* cluster1 funnel */
331 compatible = "arm,coresight-funnel", "arm,primecell";
332 reg = <0 0x230c0000 0 0x1000>;
334 clocks = <&soc_smc50mhz>;
335 clock-names = "apb_pclk";
336 power-domains = <&scpi_devpd 0>;
338 #address-cells = <1>;
343 cluster1_funnel_out_port: endpoint {
344 remote-endpoint = <&main_funnel_in_port1>;
350 cluster1_funnel_in_port0: endpoint {
352 remote-endpoint = <&cluster1_etm0_out_port>;
358 cluster1_funnel_in_port1: endpoint {
360 remote-endpoint = <&cluster1_etm1_out_port>;
365 cluster1_funnel_in_port2: endpoint {
367 remote-endpoint = <&cluster1_etm2_out_port>;
372 cluster1_funnel_in_port3: endpoint {
374 remote-endpoint = <&cluster1_etm3_out_port>;
380 cpu_debug3: cpu-debug@23110000 {
381 compatible = "arm,coresight-cpu-debug", "arm,primecell";
382 reg = <0x0 0x23110000 0x0 0x1000>;
384 clocks = <&soc_smc50mhz>;
385 clock-names = "apb_pclk";
386 power-domains = <&scpi_devpd 0>;
390 compatible = "arm,coresight-etm4x", "arm,primecell";
391 reg = <0 0x23140000 0 0x1000>;
393 clocks = <&soc_smc50mhz>;
394 clock-names = "apb_pclk";
395 power-domains = <&scpi_devpd 0>;
397 cluster1_etm1_out_port: endpoint {
398 remote-endpoint = <&cluster1_funnel_in_port1>;
403 cpu_debug4: cpu-debug@23210000 {
404 compatible = "arm,coresight-cpu-debug", "arm,primecell";
405 reg = <0x0 0x23210000 0x0 0x1000>;
407 clocks = <&soc_smc50mhz>;
408 clock-names = "apb_pclk";
409 power-domains = <&scpi_devpd 0>;
413 compatible = "arm,coresight-etm4x", "arm,primecell";
414 reg = <0 0x23240000 0 0x1000>;
416 clocks = <&soc_smc50mhz>;
417 clock-names = "apb_pclk";
418 power-domains = <&scpi_devpd 0>;
420 cluster1_etm2_out_port: endpoint {
421 remote-endpoint = <&cluster1_funnel_in_port2>;
426 cpu_debug5: cpu-debug@23310000 {
427 compatible = "arm,coresight-cpu-debug", "arm,primecell";
428 reg = <0x0 0x23310000 0x0 0x1000>;
430 clocks = <&soc_smc50mhz>;
431 clock-names = "apb_pclk";
432 power-domains = <&scpi_devpd 0>;
436 compatible = "arm,coresight-etm4x", "arm,primecell";
437 reg = <0 0x23340000 0 0x1000>;
439 clocks = <&soc_smc50mhz>;
440 clock-names = "apb_pclk";
441 power-domains = <&scpi_devpd 0>;
443 cluster1_etm3_out_port: endpoint {
444 remote-endpoint = <&cluster1_funnel_in_port3>;
449 replicator@20120000 {
450 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
451 reg = <0 0x20120000 0 0x1000>;
453 clocks = <&soc_smc50mhz>;
454 clock-names = "apb_pclk";
455 power-domains = <&scpi_devpd 0>;
458 #address-cells = <1>;
461 /* replicator output ports */
464 replicator_out_port0: endpoint {
465 remote-endpoint = <&tpiu_in_port>;
471 replicator_out_port1: endpoint {
472 remote-endpoint = <&etr_in_port>;
476 /* replicator input port */
479 replicator_in_port0: endpoint {
486 sram: sram@2e000000 {
487 compatible = "arm,juno-sram-ns", "mmio-sram";
488 reg = <0x0 0x2e000000 0x0 0x8000>;
490 #address-cells = <1>;
492 ranges = <0 0x0 0x2e000000 0x8000>;
494 cpu_scp_lpri: scp-shmem@0 {
495 compatible = "arm,juno-scp-shmem";
499 cpu_scp_hpri: scp-shmem@200 {
500 compatible = "arm,juno-scp-shmem";
505 pcie_ctlr: pcie@40000000 {
506 compatible = "arm,juno-r1-pcie", "plda,xpressrich3-axi", "pci-host-ecam-generic";
508 reg = <0 0x40000000 0 0x10000000>; /* ECAM config space */
510 linux,pci-domain = <0>;
511 #address-cells = <3>;
514 ranges = <0x01000000 0x00 0x00000000 0x00 0x5f800000 0x0 0x00800000>,
515 <0x02000000 0x00 0x50000000 0x00 0x50000000 0x0 0x08000000>,
516 <0x42000000 0x40 0x00000000 0x40 0x00000000 0x1 0x00000000>;
517 #interrupt-cells = <1>;
518 interrupt-map-mask = <0 0 0 7>;
519 interrupt-map = <0 0 0 1 &gic 0 0 0 136 4>,
520 <0 0 0 2 &gic 0 0 0 137 4>,
521 <0 0 0 3 &gic 0 0 0 138 4>,
522 <0 0 0 4 &gic 0 0 0 139 4>;
523 msi-parent = <&v2m_0>;
525 iommu-map-mask = <0x0>; /* RC has no means to output PCI RID */
526 iommu-map = <0x0 &smmu_pcie 0x0 0x1>;
530 compatible = "arm,scpi";
531 mboxes = <&mailbox 1>;
532 shmem = <&cpu_scp_hpri>;
535 compatible = "arm,scpi-clocks";
537 scpi_dvfs: scpi-dvfs {
538 compatible = "arm,scpi-dvfs-clocks";
540 clock-indices = <0>, <1>, <2>;
541 clock-output-names = "atlclk", "aplclk","gpuclk";
544 compatible = "arm,scpi-variable-clocks";
547 clock-output-names = "pxlclk";
551 scpi_devpd: scpi-power-domains {
552 compatible = "arm,scpi-power-domains";
554 #power-domain-cells = <1>;
557 scpi_sensors0: sensors {
558 compatible = "arm,scpi-sensors";
559 #thermal-sensor-cells = <1>;
565 polling-delay = <1000>;
566 polling-delay-passive = <100>;
567 thermal-sensors = <&scpi_sensors0 0>;
571 polling-delay = <1000>;
572 polling-delay-passive = <100>;
573 thermal-sensors = <&scpi_sensors0 3>;
576 big_cluster_thermal_zone: big-cluster {
577 polling-delay = <1000>;
578 polling-delay-passive = <100>;
579 thermal-sensors = <&scpi_sensors0 21>;
583 little_cluster_thermal_zone: little-cluster {
584 polling-delay = <1000>;
585 polling-delay-passive = <100>;
586 thermal-sensors = <&scpi_sensors0 22>;
590 gpu0_thermal_zone: gpu0 {
591 polling-delay = <1000>;
592 polling-delay-passive = <100>;
593 thermal-sensors = <&scpi_sensors0 23>;
597 gpu1_thermal_zone: gpu1 {
598 polling-delay = <1000>;
599 polling-delay-passive = <100>;
600 thermal-sensors = <&scpi_sensors0 24>;
605 smmu_dma: iommu@7fb00000 {
606 compatible = "arm,mmu-401", "arm,smmu-v1";
607 reg = <0x0 0x7fb00000 0x0 0x10000>;
608 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
609 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
611 #global-interrupts = <1>;
616 smmu_hdlcd1: iommu@7fb10000 {
617 compatible = "arm,mmu-401", "arm,smmu-v1";
618 reg = <0x0 0x7fb10000 0x0 0x10000>;
619 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
620 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
622 #global-interrupts = <1>;
625 smmu_hdlcd0: iommu@7fb20000 {
626 compatible = "arm,mmu-401", "arm,smmu-v1";
627 reg = <0x0 0x7fb20000 0x0 0x10000>;
628 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
629 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
631 #global-interrupts = <1>;
634 smmu_usb: iommu@7fb30000 {
635 compatible = "arm,mmu-401", "arm,smmu-v1";
636 reg = <0x0 0x7fb30000 0x0 0x10000>;
637 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
638 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
640 #global-interrupts = <1>;
645 compatible = "arm,pl330", "arm,primecell";
646 reg = <0x0 0x7ff00000 0 0x1000>;
649 #dma-requests = <32>;
650 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
651 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
652 <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
653 <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
654 <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
655 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
656 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
657 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
658 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
659 iommus = <&smmu_dma 0>,
668 clocks = <&soc_faxiclk>;
669 clock-names = "apb_pclk";
673 compatible = "arm,hdlcd";
674 reg = <0 0x7ff50000 0 0x1000>;
675 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
676 iommus = <&smmu_hdlcd1 0>;
677 clocks = <&scpi_clk 3>;
678 clock-names = "pxlclk";
681 hdlcd1_output: endpoint {
682 remote-endpoint = <&tda998x_1_input>;
688 compatible = "arm,hdlcd";
689 reg = <0 0x7ff60000 0 0x1000>;
690 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
691 iommus = <&smmu_hdlcd0 0>;
692 clocks = <&scpi_clk 3>;
693 clock-names = "pxlclk";
696 hdlcd0_output: endpoint {
697 remote-endpoint = <&tda998x_0_input>;
702 soc_uart0: uart@7ff80000 {
703 compatible = "arm,pl011", "arm,primecell";
704 reg = <0x0 0x7ff80000 0x0 0x1000>;
705 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
706 clocks = <&soc_uartclk>, <&soc_refclk100mhz>;
707 clock-names = "uartclk", "apb_pclk";
711 compatible = "snps,designware-i2c";
712 reg = <0x0 0x7ffa0000 0x0 0x1000>;
713 #address-cells = <1>;
715 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
716 clock-frequency = <400000>;
717 i2c-sda-hold-time-ns = <500>;
718 clocks = <&soc_smc50mhz>;
720 hdmi-transmitter@70 {
721 compatible = "nxp,tda998x";
724 tda998x_0_input: endpoint {
725 remote-endpoint = <&hdlcd0_output>;
730 hdmi-transmitter@71 {
731 compatible = "nxp,tda998x";
734 tda998x_1_input: endpoint {
735 remote-endpoint = <&hdlcd1_output>;
742 compatible = "generic-ohci";
743 reg = <0x0 0x7ffb0000 0x0 0x10000>;
744 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
745 iommus = <&smmu_usb 0>;
746 clocks = <&soc_usb48mhz>;
750 compatible = "generic-ehci";
751 reg = <0x0 0x7ffc0000 0x0 0x10000>;
752 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
753 iommus = <&smmu_usb 0>;
754 clocks = <&soc_usb48mhz>;
757 memory-controller@7ffd0000 {
758 compatible = "arm,pl354", "arm,primecell";
759 reg = <0 0x7ffd0000 0 0x1000>;
760 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
761 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
762 clocks = <&soc_smc50mhz>;
763 clock-names = "apb_pclk";
767 device_type = "memory";
768 /* last 16MB of the first memory area is reserved for secure world use by firmware */
769 reg = <0x00000000 0x80000000 0x0 0x7f000000>,
770 <0x00000008 0x80000000 0x1 0x80000000>;
774 compatible = "simple-bus";
775 #address-cells = <2>;
777 ranges = <0 0 0 0x08000000 0x04000000>,
778 <1 0 0 0x14000000 0x04000000>,
779 <2 0 0 0x18000000 0x04000000>,
780 <3 0 0 0x1c000000 0x04000000>,
781 <4 0 0 0x0c000000 0x04000000>,
782 <5 0 0 0x10000000 0x04000000>;
784 #interrupt-cells = <1>;
785 interrupt-map-mask = <0 0 15>;
786 interrupt-map = <0 0 0 &gic 0 0 0 68 IRQ_TYPE_LEVEL_HIGH>,
787 <0 0 1 &gic 0 0 0 69 IRQ_TYPE_LEVEL_HIGH>,
788 <0 0 2 &gic 0 0 0 70 IRQ_TYPE_LEVEL_HIGH>,
789 <0 0 3 &gic 0 0 0 160 IRQ_TYPE_LEVEL_HIGH>,
790 <0 0 4 &gic 0 0 0 161 IRQ_TYPE_LEVEL_HIGH>,
791 <0 0 5 &gic 0 0 0 162 IRQ_TYPE_LEVEL_HIGH>,
792 <0 0 6 &gic 0 0 0 163 IRQ_TYPE_LEVEL_HIGH>,
793 <0 0 7 &gic 0 0 0 164 IRQ_TYPE_LEVEL_HIGH>,
794 <0 0 8 &gic 0 0 0 165 IRQ_TYPE_LEVEL_HIGH>,
795 <0 0 9 &gic 0 0 0 166 IRQ_TYPE_LEVEL_HIGH>,
796 <0 0 10 &gic 0 0 0 167 IRQ_TYPE_LEVEL_HIGH>,
797 <0 0 11 &gic 0 0 0 168 IRQ_TYPE_LEVEL_HIGH>,
798 <0 0 12 &gic 0 0 0 169 IRQ_TYPE_LEVEL_HIGH>;
801 site2: tlx@60000000 {
802 compatible = "simple-bus";
803 #address-cells = <1>;
805 ranges = <0 0 0x60000000 0x10000000>;
806 #interrupt-cells = <1>;
807 interrupt-map-mask = <0 0>;
808 interrupt-map = <0 0 &gic 0 0 0 168 IRQ_TYPE_LEVEL_HIGH>;