614b149f34eed7f22a30129753cba4ae8296bc66
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0869-ARM-dts-Restore-the-old-2711-scb-ranges-property.patch
1 From f2233a2a1baf7036469e5291b06457311120dfb4 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Tue, 7 Jul 2020 14:08:55 +0100
4 Subject: [PATCH] ARM: dts: Restore the old 2711 scb ranges property
5
6 The back-ported value breaks PCIe.
7
8 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
9 ---
10 arch/arm/boot/dts/bcm2711-rpi.dtsi | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
12
13 --- a/arch/arm/boot/dts/bcm2711-rpi.dtsi
14 +++ b/arch/arm/boot/dts/bcm2711-rpi.dtsi
15 @@ -191,7 +191,8 @@
16 &scb {
17 ranges = <0x0 0x7c000000 0x0 0xfc000000 0x0 0x03800000>,
18 <0x0 0x40000000 0x0 0xff800000 0x0 0x00800000>,
19 - <0x6 0x00000000 0x6 0x00000000 0x0 0x40000000>;
20 + <0x6 0x00000000 0x6 0x00000000 0x0 0x40000000>,
21 + <0x0 0x00000000 0x0 0x00000000 0x0 0xfc000000>;
22 dma-ranges = <0x0 0x00000000 0x0 0x00000000 0x0 0xfc000000>,
23 <0x1 0x00000000 0x1 0x00000000 0x1 0x00000000>;
24