bcm27xx-userland: update to latest version
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0406-bcm2838.dtsi-Use-BCM2711-PCIe-compatible-string.patch
1 From 8be8dc74799fe7c0e09dfa53aa41e954ffba291c Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Fri, 12 Jul 2019 11:43:03 +0100
4 Subject: [PATCH] bcm2838.dtsi: Use BCM2711 PCIe compatible string
5
6 The BCM2711 PCIe controller has a limited address range in the B0
7 silicon, and the driver uses a compatible string to identify the
8 limitation. The current Pi 4 firmware will override the compatible
9 string if it detects a downstream DTB and it is running on a newer
10 revision but set the default value to enable the workaround for
11 backwards-compatibility with old firmware.
12
13 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
14 ---
15 arch/arm/boot/dts/bcm2838.dtsi | 3 ++-
16 1 file changed, 2 insertions(+), 1 deletion(-)
17
18 --- a/arch/arm/boot/dts/bcm2838.dtsi
19 +++ b/arch/arm/boot/dts/bcm2838.dtsi
20 @@ -314,7 +314,8 @@
21 #interrupt-cells = <1>;
22 #size-cells = <2>;
23 bus-range = <0x0 0x01>;
24 - compatible = "brcm,bcm7211-pcie", "brcm,bcm7445-pcie",
25 + compatible = "brcm,bcm2711b0-pcie", // Safe value
26 + "brcm,bcm2711-pcie",
27 "brcm,pci-plat-dev";
28 max-link-speed = <2>;
29 tot-num-pcie = <1>;