1 From f97ba33547711d727fbbcb10eb046f8ac605a966 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Thu, 5 Dec 2019 18:02:08 +0000
4 Subject: [PATCH] dts: bcm2711: Move emmc2 to its own "bus"
6 Moving the EMMC2 controller under a dedicated bus allows the firmware
7 to patch the dma-ranges property for different memory sizes without
8 affecting anything else.
10 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
12 arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 22 ++++++++++++++++++++++
13 1 file changed, 22 insertions(+)
15 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
16 +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
18 #include "bcm2711-rpi.dtsi"
19 #include "bcm283x-rpi-csi1-2lane.dtsi"
21 +/delete-node/ &emmc2;
25 bootargs = "coherent_pool=1M 8250.nr_uarts=1";
27 /delete-property/ ethernet;
28 /delete-property/ intc;
30 + emmc2bus = &emmc2bus;
33 + emmc2bus: emmc2bus {
34 + compatible = "simple-bus";
35 + #address-cells = <2>;
38 + ranges = <0x0 0x7e000000 0x0 0xfe000000 0x01800000>;
39 + dma-ranges = <0x0 0xc0000000 0x0 0x00000000 0x3c000000>;
41 + emmc2: emmc2@7e340000 {
42 + compatible = "brcm,bcm2711-emmc2";
44 + interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
45 + clocks = <&clocks BCM2711_CLOCK_EMMC2>;
46 + reg = <0x0 0x7e340000 0x100>;
47 + vqmmc-supply = <&sd_io_1v8_reg>;
52 /delete-node/ wifi-pwrseq;