summaryrefslogtreecommitdiff
path: root/src/arm/bcm2711.dtsi
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-06-05 19:28:32 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-06-05 19:28:32 +0000
commit5df7ea339a6ba20ce6c2a001807a43a7cc1e9fe8 (patch)
treeafa0718f88637c22a2d4a25cf54e32b0e701b338 /src/arm/bcm2711.dtsi
parent937eaf8bbdcf7e2cd3231b71940f9221e6857210 (diff)
downloadsrc-test2-5df7ea339a6ba20ce6c2a001807a43a7cc1e9fe8.tar.gz
src-test2-5df7ea339a6ba20ce6c2a001807a43a7cc1e9fe8.zip
Notes
Diffstat (limited to 'src/arm/bcm2711.dtsi')
-rw-r--r--src/arm/bcm2711.dtsi25
1 files changed, 20 insertions, 5 deletions
diff --git a/src/arm/bcm2711.dtsi b/src/arm/bcm2711.dtsi
index d1e684d0acfd..a91cf68e3c4c 100644
--- a/src/arm/bcm2711.dtsi
+++ b/src/arm/bcm2711.dtsi
@@ -241,17 +241,32 @@
status = "disabled";
};
+ hvs@7e400000 {
+ interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ };
+
+ /*
+ * emmc2 has different DMA constraints based on SoC revisions. It was
+ * moved into its own bus, so as for RPi4's firmware to update them.
+ * The firmware will find whether the emmc2bus alias is defined, and if
+ * so, it'll edit the dma-ranges property below accordingly.
+ */
+ emmc2bus: emmc2bus {
+ compatible = "simple-bus";
+ #address-cells = <2>;
+ #size-cells = <1>;
+
+ ranges = <0x0 0x7e000000 0x0 0xfe000000 0x01800000>;
+ dma-ranges = <0x0 0xc0000000 0x0 0x00000000 0x40000000>;
+
emmc2: emmc2@7e340000 {
compatible = "brcm,bcm2711-emmc2";
- reg = <0x7e340000 0x100>;
+ reg = <0x0 0x7e340000 0x100>;
interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clocks BCM2711_CLOCK_EMMC2>;
status = "disabled";
};
-
- hvs@7e400000 {
- interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
- };
};
arm-pmu {