1 From: Christian Lamparter <chunkeey@gmail.com>
2 Date: Mon, 25 Feb 2019 20:14:19 +0100
3 Subject: [PATCH] ARM: dts: qcom: ipq4019: enlarge PCIe BAR range
5 David Bauer reported that the VDSL modem (attached via PCIe)
6 on his AVM Fritz!Box 7530 was complaining about not having
7 enough space in the BAR. A closer inspection of the old
8 qcom-ipq40xx.dtsi pulled from the GL-iNet repository listed:
11 | compatible = "qcom,msm_pcie";
12 | reg = <0x80000 0x2000>,
16 | <0x40100000 0x1000>,
17 | <0x40200000 0x100000>,
18 | <0x40300000 0xd00000>;
19 | reg-names = "parf", "phy", "dm_core", "elbi",
20 | "conf", "io", "bars";
22 Matching the reg-names with the listed reg leads to
23 <0xd00000> as the size for the "bars".
25 BugLink: https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg45212.html
26 Reported-by: David Bauer <mail@david-bauer.net>
27 Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
30 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
31 +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
36 - ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000
37 - 0x82000000 0 0x40300000 0x40300000 0 0x400000>;
38 + ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000>,
39 + <0x82000000 0 0x40300000 0x40300000 0 0x00d00000>;
41 interrupts = <GIC_SPI 141 IRQ_TYPE_EDGE_RISING>;
42 interrupt-names = "msi";