dts: bcm2711: EMMC2 can address the whole first GB
authorPhil Elwell <phil@raspberrypi.com>
Mon, 20 Apr 2020 10:25:18 +0000 (11:25 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:48 +0000 (16:33 +0100)
Although 0xfc000000 looks like an inaccessible RAM address (due to the
peripheral mappings), with RAM mapped at 0xc0000000 (as it is on the
30/32-bit VPU bus) this is actually 0x3c000000 in the ARM memory space,
which is fine.

This difference is potentially the cause of some warnings seen in
sdhci_send_command.

Fixes: "dts: bcm2711: Move emmc2 to its own 'bus'"

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/bcm2711-rpi-4-b.dts

index 34251ec..b3a00ba 100644 (file)
                #size-cells = <1>;
 
                ranges = <0x0 0x7e000000  0x0 0xfe000000  0x01800000>;
-               dma-ranges = <0x0 0xc0000000  0x0 0x00000000  0x3c000000>;
+               dma-ranges = <0x0 0xc0000000  0x0 0x00000000  0x40000000>;
 
                emmc2: emmc2@7e340000 {
                        compatible = "brcm,bcm2711-emmc2";