1 // SPDX-License-Identifier: GPL-2.0
2 #include "bcm283x.dtsi"
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/soc/bcm2835-pm.h>
8 compatible = "brcm,bcm2711";
13 interrupt-parent = <&gicv2>;
16 compatible = "brcm,bcm2711-vc5";
20 clk_108MHz: clk-108M {
22 compatible = "fixed-clock";
23 clock-frequency = <108000000>;
24 clock-output-names = "108MHz-clock";
30 * Common BCM283x peripherals
31 * BCM2711-specific peripherals
32 * ARM-local peripherals
34 ranges = <0x7e000000 0x0 0xfe000000 0x01800000>,
35 <0x7c000000 0x0 0xfc000000 0x02000000>,
36 <0x40000000 0x0 0xff800000 0x00800000>;
37 /* Emulate a contiguous 30-bit address range for DMA */
38 dma-ranges = <0xc0000000 0x0 0x00000000 0x40000000>;
41 * This node is the provider for the enable-method for
42 * bringing up secondary cores.
44 local_intc: local_intc@40000000 {
45 compatible = "brcm,bcm2836-l1-intc";
46 reg = <0x40000000 0x100>;
49 gicv2: interrupt-controller@40041000 {
51 #interrupt-cells = <3>;
52 compatible = "arm,gic-400";
53 reg = <0x40041000 0x1000>,
57 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) |
58 IRQ_TYPE_LEVEL_HIGH)>;
61 avs_monitor: avs-monitor@7d5d2000 {
62 compatible = "brcm,bcm2711-avs-monitor",
63 "syscon", "simple-mfd";
64 reg = <0x7d5d2000 0xf00>;
67 compatible = "brcm,bcm2711-thermal";
68 #thermal-sensor-cells = <0>;
73 compatible = "brcm,bcm2835-dma";
74 reg = <0x7e007000 0xb00>;
75 interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>,
76 <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>,
77 <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
78 <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
79 <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
80 <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
81 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>,
83 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
84 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
85 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>,
86 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
87 interrupt-names = "dma0",
99 brcm,dma-channel-mask = <0x07f5>;
102 pm: watchdog@7e100000 {
103 compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt";
104 #power-domain-cells = <1>;
106 reg = <0x7e100000 0x114>,
109 clocks = <&clocks BCM2835_CLOCK_V3D>,
110 <&clocks BCM2835_CLOCK_PERI_IMAGE>,
111 <&clocks BCM2835_CLOCK_H264>,
112 <&clocks BCM2835_CLOCK_ISP>;
113 clock-names = "v3d", "peri_image", "h264", "isp";
114 system-power-controller;
118 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
120 /* RNG is incompatible with brcm,bcm2835-rng */
124 uart2: serial@7e201400 {
125 compatible = "arm,pl011", "arm,primecell";
126 reg = <0x7e201400 0x200>;
127 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
128 clocks = <&clocks BCM2835_CLOCK_UART>,
129 <&clocks BCM2835_CLOCK_VPU>;
130 clock-names = "uartclk", "apb_pclk";
131 arm,primecell-periphid = <0x00241011>;
135 uart3: serial@7e201600 {
136 compatible = "arm,pl011", "arm,primecell";
137 reg = <0x7e201600 0x200>;
138 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
139 clocks = <&clocks BCM2835_CLOCK_UART>,
140 <&clocks BCM2835_CLOCK_VPU>;
141 clock-names = "uartclk", "apb_pclk";
142 arm,primecell-periphid = <0x00241011>;
146 uart4: serial@7e201800 {
147 compatible = "arm,pl011", "arm,primecell";
148 reg = <0x7e201800 0x200>;
149 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
150 clocks = <&clocks BCM2835_CLOCK_UART>,
151 <&clocks BCM2835_CLOCK_VPU>;
152 clock-names = "uartclk", "apb_pclk";
153 arm,primecell-periphid = <0x00241011>;
157 uart5: serial@7e201a00 {
158 compatible = "arm,pl011", "arm,primecell";
159 reg = <0x7e201a00 0x200>;
160 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
161 clocks = <&clocks BCM2835_CLOCK_UART>,
162 <&clocks BCM2835_CLOCK_VPU>;
163 clock-names = "uartclk", "apb_pclk";
164 arm,primecell-periphid = <0x00241011>;
169 compatible = "brcm,bcm2835-spi";
170 reg = <0x7e204600 0x0200>;
171 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
172 clocks = <&clocks BCM2835_CLOCK_VPU>;
173 #address-cells = <1>;
179 compatible = "brcm,bcm2835-spi";
180 reg = <0x7e204800 0x0200>;
181 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
182 clocks = <&clocks BCM2835_CLOCK_VPU>;
183 #address-cells = <1>;
189 compatible = "brcm,bcm2835-spi";
190 reg = <0x7e204a00 0x0200>;
191 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
192 clocks = <&clocks BCM2835_CLOCK_VPU>;
193 #address-cells = <1>;
199 compatible = "brcm,bcm2835-spi";
200 reg = <0x7e204c00 0x0200>;
201 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
202 clocks = <&clocks BCM2835_CLOCK_VPU>;
203 #address-cells = <1>;
209 compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c";
210 reg = <0x7e205600 0x200>;
211 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
212 clocks = <&clocks BCM2835_CLOCK_VPU>;
213 #address-cells = <1>;
219 compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c";
220 reg = <0x7e205800 0x200>;
221 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
222 clocks = <&clocks BCM2835_CLOCK_VPU>;
223 #address-cells = <1>;
229 compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c";
230 reg = <0x7e205a00 0x200>;
231 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
232 clocks = <&clocks BCM2835_CLOCK_VPU>;
233 #address-cells = <1>;
239 compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c";
240 reg = <0x7e205c00 0x200>;
241 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
242 clocks = <&clocks BCM2835_CLOCK_VPU>;
243 #address-cells = <1>;
248 pixelvalve0: pixelvalve@7e206000 {
249 compatible = "brcm,bcm2711-pixelvalve0";
250 reg = <0x7e206000 0x100>;
251 interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
255 pixelvalve1: pixelvalve@7e207000 {
256 compatible = "brcm,bcm2711-pixelvalve1";
257 reg = <0x7e207000 0x100>;
258 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
262 pixelvalve2: pixelvalve@7e20a000 {
263 compatible = "brcm,bcm2711-pixelvalve2";
264 reg = <0x7e20a000 0x100>;
265 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
270 compatible = "brcm,bcm2835-pwm";
271 reg = <0x7e20c800 0x28>;
272 clocks = <&clocks BCM2835_CLOCK_PWM>;
273 assigned-clocks = <&clocks BCM2835_CLOCK_PWM>;
274 assigned-clock-rates = <10000000>;
279 pixelvalve4: pixelvalve@7e216000 {
280 compatible = "brcm,bcm2711-pixelvalve4";
281 reg = <0x7e216000 0x100>;
282 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
286 emmc2: emmc2@7e340000 {
287 compatible = "brcm,bcm2711-emmc2";
288 reg = <0x7e340000 0x100>;
289 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
290 clocks = <&clocks BCM2711_CLOCK_EMMC2>;
295 clocks = <&firmware_clocks 4>;
296 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
299 pixelvalve3: pixelvalve@7ec12000 {
300 compatible = "brcm,bcm2711-pixelvalve3";
301 reg = <0x7ec12000 0x100>;
302 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
306 dvp: clock@7ef00000 {
307 compatible = "brcm,brcm2711-dvp";
308 reg = <0x7ef00000 0x10>;
309 clocks = <&clk_108MHz>;
314 hdmi0: hdmi@7ef00700 {
315 compatible = "brcm,bcm2711-hdmi0";
316 reg = <0x7ef00700 0x300>,
336 clocks = <&firmware_clocks 13>, <&firmware_clocks 14>;
337 clock-names = "hdmi", "bvb";
341 dma-names = "audio-rx";
342 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
347 compatible = "brcm,bcm2711-hdmi-i2c";
348 reg = <0x7ef04500 0x100>, <0x7ef00b00 0x300>;
349 reg-names = "bsc", "auto-i2c";
350 clock-frequency = <97500>;
354 hdmi1: hdmi@7ef05700 {
355 compatible = "brcm,bcm2711-hdmi1";
356 reg = <0x7ef05700 0x300>,
377 clocks = <&firmware_clocks 13>, <&firmware_clocks 14>;
378 clock-names = "hdmi", "bvb";
380 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
385 compatible = "brcm,bcm2711-hdmi-i2c";
386 reg = <0x7ef09500 0x100>, <0x7ef05b00 0x300>;
387 reg-names = "bsc", "auto-i2c";
388 clock-frequency = <97500>;
394 compatible = "arm,cortex-a72-pmu", "arm,armv8-pmuv3";
395 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
396 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
397 <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
398 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
399 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
403 compatible = "arm,armv8-timer";
404 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
405 IRQ_TYPE_LEVEL_LOW)>,
406 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
407 IRQ_TYPE_LEVEL_LOW)>,
408 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
409 IRQ_TYPE_LEVEL_LOW)>,
410 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
411 IRQ_TYPE_LEVEL_LOW)>;
412 /* This only applies to the ARMv7 stub */
413 arm,cpu-registers-not-fw-configured;
417 #address-cells = <1>;
419 enable-method = "brcm,bcm2836-smp"; // for ARM 32-bit
423 compatible = "arm,cortex-a72";
425 enable-method = "spin-table";
426 cpu-release-addr = <0x0 0x000000d8>;
431 compatible = "arm,cortex-a72";
433 enable-method = "spin-table";
434 cpu-release-addr = <0x0 0x000000e0>;
439 compatible = "arm,cortex-a72";
441 enable-method = "spin-table";
442 cpu-release-addr = <0x0 0x000000e8>;
447 compatible = "arm,cortex-a72";
449 enable-method = "spin-table";
450 cpu-release-addr = <0x0 0x000000f0>;
455 compatible = "simple-bus";
456 #address-cells = <2>;
459 ranges = <0x0 0x7c000000 0x0 0xfc000000 0x0 0x03800000>,
460 <0x6 0x00000000 0x6 0x00000000 0x0 0x40000000>;
462 pcie0: pcie@7d500000 {
463 compatible = "brcm,bcm2711-pcie";
464 reg = <0x0 0x7d500000 0x0 0x9310>;
466 #address-cells = <3>;
467 #interrupt-cells = <1>;
469 interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
470 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
471 interrupt-names = "pcie", "msi";
472 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
473 interrupt-map = <0 0 0 1 &gicv2 GIC_SPI 143
474 IRQ_TYPE_LEVEL_HIGH>;
476 msi-parent = <&pcie0>;
478 ranges = <0x02000000 0x0 0xf8000000 0x6 0x00000000
481 * The wrapper around the PCIe block has a bug
482 * preventing it from accessing beyond the first 3GB of
485 dma-ranges = <0x02000000 0x0 0x00000000 0x0 0x00000000
490 genet: ethernet@7d580000 {
491 compatible = "brcm,bcm2711-genet-v5";
492 reg = <0x0 0x7d580000 0x0 0x10000>;
493 #address-cells = <0x1>;
495 interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
496 <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
499 genet_mdio: mdio@e14 {
500 compatible = "brcm,genet-mdio-v5";
503 #address-cells = <0x0>;
511 clock-frequency = <54000000>;
515 compatible = "brcm,bcm2711-cprman";
519 coefficients = <(-487) 410040>;
520 thermal-sensors = <&thermal>;
524 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
528 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
532 compatible = "brcm,bcm2711-gpio";
533 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
534 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
535 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
536 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
538 gpclk0_gpio49: gpclk0_gpio49 {
545 gpclk1_gpio50: gpclk1_gpio50 {
552 gpclk2_gpio51: gpclk2_gpio51 {
560 i2c0_gpio46: i2c0_gpio46 {
572 i2c1_gpio46: i2c1_gpio46 {
584 i2c3_gpio2: i2c3_gpio2 {
596 i2c3_gpio4: i2c3_gpio4 {
608 i2c4_gpio6: i2c4_gpio6 {
620 i2c4_gpio8: i2c4_gpio8 {
632 i2c5_gpio10: i2c5_gpio10 {
644 i2c5_gpio12: i2c5_gpio12 {
656 i2c6_gpio0: i2c6_gpio0 {
668 i2c6_gpio22: i2c6_gpio22 {
680 i2c_slave_gpio8: i2c_slave_gpio8 {
690 jtag_gpio48: jtag_gpio48 {
702 mii_gpio28: mii_gpio28 {
711 mii_gpio36: mii_gpio36 {
721 pcm_gpio50: pcm_gpio50 {
731 pwm0_0_gpio12: pwm0_0_gpio12 {
738 pwm0_0_gpio18: pwm0_0_gpio18 {
745 pwm1_0_gpio40: pwm1_0_gpio40 {
752 pwm0_1_gpio13: pwm0_1_gpio13 {
759 pwm0_1_gpio19: pwm0_1_gpio19 {
766 pwm1_1_gpio41: pwm1_1_gpio41 {
773 pwm0_1_gpio45: pwm0_1_gpio45 {
780 pwm0_0_gpio52: pwm0_0_gpio52 {
787 pwm0_1_gpio53: pwm0_1_gpio53 {
795 rgmii_gpio35: rgmii_gpio35 {
805 rgmii_irq_gpio34: rgmii_irq_gpio34 {
811 rgmii_irq_gpio39: rgmii_irq_gpio39 {
817 rgmii_mdio_gpio28: rgmii_mdio_gpio28 {
824 rgmii_mdio_gpio37: rgmii_mdio_gpio37 {
832 spi0_gpio46: spi0_gpio46 {
841 spi2_gpio46: spi2_gpio46 {
851 spi3_gpio0: spi3_gpio0 {
860 spi4_gpio4: spi4_gpio4 {
869 spi5_gpio12: spi5_gpio12 {
878 spi6_gpio18: spi6_gpio18 {
888 uart2_gpio0: uart2_gpio0 {
900 uart2_ctsrts_gpio2: uart2_ctsrts_gpio2 {
912 uart3_gpio4: uart3_gpio4 {
924 uart3_ctsrts_gpio6: uart3_ctsrts_gpio6 {
936 uart4_gpio8: uart4_gpio8 {
948 uart4_ctsrts_gpio10: uart4_ctsrts_gpio10 {
960 uart5_gpio12: uart5_gpio12 {
972 uart5_ctsrts_gpio14: uart5_ctsrts_gpio14 {
987 #address-cells = <2>;
992 * arm64 reserves the CMA by default somewhere in ZONE_DMA32,
993 * that's not good enough for the BCM2711 as some devices can
994 * only address the lower 1G of memory (ZONE_DMA).
996 alloc-ranges = <0x0 0x00000000 0x40000000>;
1000 compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c";
1001 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
1005 compatible = "brcm,bcm2711-i2c", "brcm,bcm2835-i2c";
1006 interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
1010 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
1014 interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
1018 interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>;
1022 interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
1026 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
1030 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
1034 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
1035 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
1036 <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
1037 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
1041 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
1045 interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
1049 interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
1053 interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
1057 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;