bcm27xx: update patches from RPi foundation
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0664-dts-bcm2711-EMMC2-can-address-the-whole-first-GB.patch
1 From 4f2da50bb75ec7b74a23e119062d945626398e30 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Mon, 20 Apr 2020 11:25:18 +0100
4 Subject: [PATCH] dts: bcm2711: EMMC2 can address the whole first GB
5
6 Although 0xfc000000 looks like an inaccessible RAM address (due to the
7 peripheral mappings), with RAM mapped at 0xc0000000 (as it is on the
8 30/32-bit VPU bus) this is actually 0x3c000000 in the ARM memory space,
9 which is fine.
10
11 This difference is potentially the cause of some warnings seen in
12 sdhci_send_command.
13
14 Fixes: "dts: bcm2711: Move emmc2 to its own 'bus'"
15
16 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
17 ---
18 arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
22 +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
23 @@ -223,7 +223,7 @@
24 #size-cells = <1>;
25
26 ranges = <0x0 0x7e000000 0x0 0xfe000000 0x01800000>;
27 - dma-ranges = <0x0 0xc0000000 0x0 0x00000000 0x3c000000>;
28 + dma-ranges = <0x0 0xc0000000 0x0 0x00000000 0x40000000>;
29
30 emmc2: emmc2@7e340000 {
31 compatible = "brcm,bcm2711-emmc2";