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>;
121 etf0_in_port: endpoint {
122 remote-endpoint = <&main_funnel_out_port>;
129 etf0_out_port: endpoint {
136 compatible = "arm,coresight-tpiu", "arm,primecell";
137 reg = <0 0x20030000 0 0x1000>;
139 clocks = <&soc_smc50mhz>;
140 clock-names = "apb_pclk";
141 power-domains = <&scpi_devpd 0>;
144 tpiu_in_port: endpoint {
145 remote-endpoint = <&replicator_out_port0>;
151 /* main funnel on Juno r0, cssys0 funnel on Juno r1/r2 as per TRM*/
152 main_funnel: funnel@20040000 {
153 compatible = "arm,coresight-funnel", "arm,primecell";
154 reg = <0 0x20040000 0 0x1000>;
156 clocks = <&soc_smc50mhz>;
157 clock-names = "apb_pclk";
158 power-domains = <&scpi_devpd 0>;
162 main_funnel_out_port: endpoint {
163 remote-endpoint = <&etf0_in_port>;
168 main_funnel_in_ports: in-ports {
169 #address-cells = <1>;
174 main_funnel_in_port0: endpoint {
175 remote-endpoint = <&cluster0_funnel_out_port>;
181 main_funnel_in_port1: endpoint {
182 remote-endpoint = <&cluster1_funnel_out_port>;
189 compatible = "arm,coresight-tmc", "arm,primecell";
190 reg = <0 0x20070000 0 0x1000>;
191 iommus = <&smmu_etr 0>;
193 clocks = <&soc_smc50mhz>;
194 clock-names = "apb_pclk";
195 power-domains = <&scpi_devpd 0>;
199 etr_in_port: endpoint {
200 remote-endpoint = <&replicator_out_port1>;
207 compatible = "arm,coresight-stm", "arm,primecell";
208 reg = <0 0x20100000 0 0x1000>,
209 <0 0x28000000 0 0x1000000>;
210 reg-names = "stm-base", "stm-stimulus-base";
212 clocks = <&soc_smc50mhz>;
213 clock-names = "apb_pclk";
214 power-domains = <&scpi_devpd 0>;
217 stm_out_port: endpoint {
223 cpu_debug0: cpu-debug@22010000 {
224 compatible = "arm,coresight-cpu-debug", "arm,primecell";
225 reg = <0x0 0x22010000 0x0 0x1000>;
227 clocks = <&soc_smc50mhz>;
228 clock-names = "apb_pclk";
229 power-domains = <&scpi_devpd 0>;
233 compatible = "arm,coresight-etm4x", "arm,primecell";
234 reg = <0 0x22040000 0 0x1000>;
236 clocks = <&soc_smc50mhz>;
237 clock-names = "apb_pclk";
238 power-domains = <&scpi_devpd 0>;
241 cluster0_etm0_out_port: endpoint {
242 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>;
257 cluster0_funnel_out_port: endpoint {
258 remote-endpoint = <&main_funnel_in_port0>;
264 #address-cells = <1>;
269 cluster0_funnel_in_port0: endpoint {
270 remote-endpoint = <&cluster0_etm0_out_port>;
276 cluster0_funnel_in_port1: endpoint {
277 remote-endpoint = <&cluster0_etm1_out_port>;
283 cpu_debug1: cpu-debug@22110000 {
284 compatible = "arm,coresight-cpu-debug", "arm,primecell";
285 reg = <0x0 0x22110000 0x0 0x1000>;
287 clocks = <&soc_smc50mhz>;
288 clock-names = "apb_pclk";
289 power-domains = <&scpi_devpd 0>;
293 compatible = "arm,coresight-etm4x", "arm,primecell";
294 reg = <0 0x22140000 0 0x1000>;
296 clocks = <&soc_smc50mhz>;
297 clock-names = "apb_pclk";
298 power-domains = <&scpi_devpd 0>;
301 cluster0_etm1_out_port: endpoint {
302 remote-endpoint = <&cluster0_funnel_in_port1>;
308 cpu_debug2: cpu-debug@23010000 {
309 compatible = "arm,coresight-cpu-debug", "arm,primecell";
310 reg = <0x0 0x23010000 0x0 0x1000>;
312 clocks = <&soc_smc50mhz>;
313 clock-names = "apb_pclk";
314 power-domains = <&scpi_devpd 0>;
318 compatible = "arm,coresight-etm4x", "arm,primecell";
319 reg = <0 0x23040000 0 0x1000>;
321 clocks = <&soc_smc50mhz>;
322 clock-names = "apb_pclk";
323 power-domains = <&scpi_devpd 0>;
326 cluster1_etm0_out_port: endpoint {
327 remote-endpoint = <&cluster1_funnel_in_port0>;
333 funnel@230c0000 { /* cluster1 funnel */
334 compatible = "arm,coresight-funnel", "arm,primecell";
335 reg = <0 0x230c0000 0 0x1000>;
337 clocks = <&soc_smc50mhz>;
338 clock-names = "apb_pclk";
339 power-domains = <&scpi_devpd 0>;
342 cluster1_funnel_out_port: endpoint {
343 remote-endpoint = <&main_funnel_in_port1>;
349 #address-cells = <1>;
354 cluster1_funnel_in_port0: endpoint {
355 remote-endpoint = <&cluster1_etm0_out_port>;
361 cluster1_funnel_in_port1: endpoint {
362 remote-endpoint = <&cluster1_etm1_out_port>;
367 cluster1_funnel_in_port2: endpoint {
368 remote-endpoint = <&cluster1_etm2_out_port>;
373 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>;
398 cluster1_etm1_out_port: endpoint {
399 remote-endpoint = <&cluster1_funnel_in_port1>;
405 cpu_debug4: cpu-debug@23210000 {
406 compatible = "arm,coresight-cpu-debug", "arm,primecell";
407 reg = <0x0 0x23210000 0x0 0x1000>;
409 clocks = <&soc_smc50mhz>;
410 clock-names = "apb_pclk";
411 power-domains = <&scpi_devpd 0>;
415 compatible = "arm,coresight-etm4x", "arm,primecell";
416 reg = <0 0x23240000 0 0x1000>;
418 clocks = <&soc_smc50mhz>;
419 clock-names = "apb_pclk";
420 power-domains = <&scpi_devpd 0>;
423 cluster1_etm2_out_port: endpoint {
424 remote-endpoint = <&cluster1_funnel_in_port2>;
430 cpu_debug5: cpu-debug@23310000 {
431 compatible = "arm,coresight-cpu-debug", "arm,primecell";
432 reg = <0x0 0x23310000 0x0 0x1000>;
434 clocks = <&soc_smc50mhz>;
435 clock-names = "apb_pclk";
436 power-domains = <&scpi_devpd 0>;
440 compatible = "arm,coresight-etm4x", "arm,primecell";
441 reg = <0 0x23340000 0 0x1000>;
443 clocks = <&soc_smc50mhz>;
444 clock-names = "apb_pclk";
445 power-domains = <&scpi_devpd 0>;
448 cluster1_etm3_out_port: endpoint {
449 remote-endpoint = <&cluster1_funnel_in_port3>;
455 replicator@20120000 {
456 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
457 reg = <0 0x20120000 0 0x1000>;
459 clocks = <&soc_smc50mhz>;
460 clock-names = "apb_pclk";
461 power-domains = <&scpi_devpd 0>;
464 #address-cells = <1>;
467 /* replicator output ports */
470 replicator_out_port0: endpoint {
471 remote-endpoint = <&tpiu_in_port>;
477 replicator_out_port1: endpoint {
478 remote-endpoint = <&etr_in_port>;
484 replicator_in_port0: endpoint {
490 sram: sram@2e000000 {
491 compatible = "arm,juno-sram-ns", "mmio-sram";
492 reg = <0x0 0x2e000000 0x0 0x8000>;
494 #address-cells = <1>;
496 ranges = <0 0x0 0x2e000000 0x8000>;
498 cpu_scp_lpri: scp-shmem@0 {
499 compatible = "arm,juno-scp-shmem";
503 cpu_scp_hpri: scp-shmem@200 {
504 compatible = "arm,juno-scp-shmem";
509 pcie_ctlr: pcie@40000000 {
510 compatible = "arm,juno-r1-pcie", "plda,xpressrich3-axi", "pci-host-ecam-generic";
512 reg = <0 0x40000000 0 0x10000000>; /* ECAM config space */
514 linux,pci-domain = <0>;
515 #address-cells = <3>;
518 ranges = <0x01000000 0x00 0x00000000 0x00 0x5f800000 0x0 0x00800000>,
519 <0x02000000 0x00 0x50000000 0x00 0x50000000 0x0 0x08000000>,
520 <0x42000000 0x40 0x00000000 0x40 0x00000000 0x1 0x00000000>;
521 #interrupt-cells = <1>;
522 interrupt-map-mask = <0 0 0 7>;
523 interrupt-map = <0 0 0 1 &gic 0 0 0 136 4>,
524 <0 0 0 2 &gic 0 0 0 137 4>,
525 <0 0 0 3 &gic 0 0 0 138 4>,
526 <0 0 0 4 &gic 0 0 0 139 4>;
527 msi-parent = <&v2m_0>;
529 iommu-map-mask = <0x0>; /* RC has no means to output PCI RID */
530 iommu-map = <0x0 &smmu_pcie 0x0 0x1>;
534 compatible = "arm,scpi";
535 mboxes = <&mailbox 1>;
536 shmem = <&cpu_scp_hpri>;
539 compatible = "arm,scpi-clocks";
541 scpi_dvfs: scpi-dvfs {
542 compatible = "arm,scpi-dvfs-clocks";
544 clock-indices = <0>, <1>, <2>;
545 clock-output-names = "atlclk", "aplclk","gpuclk";
548 compatible = "arm,scpi-variable-clocks";
551 clock-output-names = "pxlclk";
555 scpi_devpd: scpi-power-domains {
556 compatible = "arm,scpi-power-domains";
558 #power-domain-cells = <1>;
561 scpi_sensors0: sensors {
562 compatible = "arm,scpi-sensors";
563 #thermal-sensor-cells = <1>;
569 polling-delay = <1000>;
570 polling-delay-passive = <100>;
571 thermal-sensors = <&scpi_sensors0 0>;
575 polling-delay = <1000>;
576 polling-delay-passive = <100>;
577 thermal-sensors = <&scpi_sensors0 3>;
580 big_cluster_thermal_zone: big-cluster {
581 polling-delay = <1000>;
582 polling-delay-passive = <100>;
583 thermal-sensors = <&scpi_sensors0 21>;
587 little_cluster_thermal_zone: little-cluster {
588 polling-delay = <1000>;
589 polling-delay-passive = <100>;
590 thermal-sensors = <&scpi_sensors0 22>;
594 gpu0_thermal_zone: gpu0 {
595 polling-delay = <1000>;
596 polling-delay-passive = <100>;
597 thermal-sensors = <&scpi_sensors0 23>;
601 gpu1_thermal_zone: gpu1 {
602 polling-delay = <1000>;
603 polling-delay-passive = <100>;
604 thermal-sensors = <&scpi_sensors0 24>;
609 smmu_dma: iommu@7fb00000 {
610 compatible = "arm,mmu-401", "arm,smmu-v1";
611 reg = <0x0 0x7fb00000 0x0 0x10000>;
612 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>,
613 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
615 #global-interrupts = <1>;
620 smmu_hdlcd1: iommu@7fb10000 {
621 compatible = "arm,mmu-401", "arm,smmu-v1";
622 reg = <0x0 0x7fb10000 0x0 0x10000>;
623 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
624 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
626 #global-interrupts = <1>;
629 smmu_hdlcd0: iommu@7fb20000 {
630 compatible = "arm,mmu-401", "arm,smmu-v1";
631 reg = <0x0 0x7fb20000 0x0 0x10000>;
632 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
633 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
635 #global-interrupts = <1>;
638 smmu_usb: iommu@7fb30000 {
639 compatible = "arm,mmu-401", "arm,smmu-v1";
640 reg = <0x0 0x7fb30000 0x0 0x10000>;
641 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
642 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
644 #global-interrupts = <1>;
649 compatible = "arm,pl330", "arm,primecell";
650 reg = <0x0 0x7ff00000 0 0x1000>;
653 #dma-requests = <32>;
654 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
655 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>,
656 <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
657 <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>,
658 <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>,
659 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
660 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
661 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
662 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
663 iommus = <&smmu_dma 0>,
672 clocks = <&soc_faxiclk>;
673 clock-names = "apb_pclk";
677 compatible = "arm,hdlcd";
678 reg = <0 0x7ff50000 0 0x1000>;
679 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
680 iommus = <&smmu_hdlcd1 0>;
681 clocks = <&scpi_clk 3>;
682 clock-names = "pxlclk";
685 hdlcd1_output: endpoint {
686 remote-endpoint = <&tda998x_1_input>;
692 compatible = "arm,hdlcd";
693 reg = <0 0x7ff60000 0 0x1000>;
694 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
695 iommus = <&smmu_hdlcd0 0>;
696 clocks = <&scpi_clk 3>;
697 clock-names = "pxlclk";
700 hdlcd0_output: endpoint {
701 remote-endpoint = <&tda998x_0_input>;
706 soc_uart0: uart@7ff80000 {
707 compatible = "arm,pl011", "arm,primecell";
708 reg = <0x0 0x7ff80000 0x0 0x1000>;
709 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
710 clocks = <&soc_uartclk>, <&soc_refclk100mhz>;
711 clock-names = "uartclk", "apb_pclk";
715 compatible = "snps,designware-i2c";
716 reg = <0x0 0x7ffa0000 0x0 0x1000>;
717 #address-cells = <1>;
719 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
720 clock-frequency = <400000>;
721 i2c-sda-hold-time-ns = <500>;
722 clocks = <&soc_smc50mhz>;
724 hdmi-transmitter@70 {
725 compatible = "nxp,tda998x";
728 tda998x_0_input: endpoint {
729 remote-endpoint = <&hdlcd0_output>;
734 hdmi-transmitter@71 {
735 compatible = "nxp,tda998x";
738 tda998x_1_input: endpoint {
739 remote-endpoint = <&hdlcd1_output>;
746 compatible = "generic-ohci";
747 reg = <0x0 0x7ffb0000 0x0 0x10000>;
748 interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
749 iommus = <&smmu_usb 0>;
750 clocks = <&soc_usb48mhz>;
754 compatible = "generic-ehci";
755 reg = <0x0 0x7ffc0000 0x0 0x10000>;
756 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
757 iommus = <&smmu_usb 0>;
758 clocks = <&soc_usb48mhz>;
761 memory-controller@7ffd0000 {
762 compatible = "arm,pl354", "arm,primecell";
763 reg = <0 0x7ffd0000 0 0x1000>;
764 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
765 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
766 clocks = <&soc_smc50mhz>;
767 clock-names = "apb_pclk";
771 device_type = "memory";
772 /* last 16MB of the first memory area is reserved for secure world use by firmware */
773 reg = <0x00000000 0x80000000 0x0 0x7f000000>,
774 <0x00000008 0x80000000 0x1 0x80000000>;
778 compatible = "simple-bus";
779 #address-cells = <2>;
781 ranges = <0 0 0 0x08000000 0x04000000>,
782 <1 0 0 0x14000000 0x04000000>,
783 <2 0 0 0x18000000 0x04000000>,
784 <3 0 0 0x1c000000 0x04000000>,
785 <4 0 0 0x0c000000 0x04000000>,
786 <5 0 0 0x10000000 0x04000000>;
788 #interrupt-cells = <1>;
789 interrupt-map-mask = <0 0 15>;
790 interrupt-map = <0 0 0 &gic 0 0 0 68 IRQ_TYPE_LEVEL_HIGH>,
791 <0 0 1 &gic 0 0 0 69 IRQ_TYPE_LEVEL_HIGH>,
792 <0 0 2 &gic 0 0 0 70 IRQ_TYPE_LEVEL_HIGH>,
793 <0 0 3 &gic 0 0 0 160 IRQ_TYPE_LEVEL_HIGH>,
794 <0 0 4 &gic 0 0 0 161 IRQ_TYPE_LEVEL_HIGH>,
795 <0 0 5 &gic 0 0 0 162 IRQ_TYPE_LEVEL_HIGH>,
796 <0 0 6 &gic 0 0 0 163 IRQ_TYPE_LEVEL_HIGH>,
797 <0 0 7 &gic 0 0 0 164 IRQ_TYPE_LEVEL_HIGH>,
798 <0 0 8 &gic 0 0 0 165 IRQ_TYPE_LEVEL_HIGH>,
799 <0 0 9 &gic 0 0 0 166 IRQ_TYPE_LEVEL_HIGH>,
800 <0 0 10 &gic 0 0 0 167 IRQ_TYPE_LEVEL_HIGH>,
801 <0 0 11 &gic 0 0 0 168 IRQ_TYPE_LEVEL_HIGH>,
802 <0 0 12 &gic 0 0 0 169 IRQ_TYPE_LEVEL_HIGH>;
805 site2: tlx@60000000 {
806 compatible = "simple-bus";
807 #address-cells = <1>;
809 ranges = <0 0 0x60000000 0x10000000>;
810 #interrupt-cells = <1>;
811 interrupt-map-mask = <0 0>;
812 interrupt-map = <0 0 &gic 0 0 0 168 IRQ_TYPE_LEVEL_HIGH>;