forked from openwrt/openwrt
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
David Bauer reported that the VDSL modem (attached via PCIe) on his AVM Fritz!Box 7530 was complaining about not having enough space in the BAR. A closer inspection of the old qcom-ipq40xx.dtsi pulled from the GL-iNet repository listed: | qcom,pcie@80000 { | compatible = "qcom,msm_pcie"; | reg = <0x80000 0x2000>, | <0x99000 0x800>, | <0x40000000 0xf1d>, | <0x40000f20 0xa8>, | <0x40100000 0x1000>, | <0x40200000 0x100000>, | <0x40300000 0xd00000>; | reg-names = "parf", "phy", "dm_core", "elbi", | "conf", "io", "bars"; Matching the reg-names with the listed reg leads to <0xd00000> as the size for the "bars". BugLink: https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg45212.html Reported-by: David Bauer <mail@david-bauer.net> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
- Loading branch information
Showing
2 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
target/linux/ipq40xx/patches-4.14/086-ARM-dts-qcom-ipq4019-enlarge-PCIe-BAR-range.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,45 @@ | |||
From: Christian Lamparter <chunkeey@gmail.com> | |||
Date: Mon, 25 Feb 2019 20:14:19 +0100 | |||
Subject: [PATCH] ARM: dts: qcom: ipq4019: enlarge PCIe BAR range | |||
|
|||
David Bauer reported that the VDSL modem (attached via PCIe) | |||
on his AVM Fritz!Box 7530 was complaining about not having | |||
enough space in the BAR. A closer inspection of the old | |||
qcom-ipq40xx.dtsi pulled from the GL-iNet repository listed: | |||
|
|||
| qcom,pcie@80000 { | |||
| compatible = "qcom,msm_pcie"; | |||
| reg = <0x80000 0x2000>, | |||
| <0x99000 0x800>, | |||
| <0x40000000 0xf1d>, | |||
| <0x40000f20 0xa8>, | |||
| <0x40100000 0x1000>, | |||
| <0x40200000 0x100000>, | |||
| <0x40300000 0xd00000>; | |||
| reg-names = "parf", "phy", "dm_core", "elbi", | |||
| "conf", "io", "bars"; | |||
|
|||
Matching the reg-names with the listed reg leads to | |||
<0xd00000> as the size for the "bars". | |||
|
|||
BugLink: https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg45212.html | |||
Reported-by: David Bauer <mail@david-bauer.net> | |||
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> | |||
--- | |||
|
|||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | |||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | |||
@@ -397,8 +397,8 @@ | |||
#address-cells = <3>; | |||
#size-cells = <2>; | |||
|
|||
- ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000 | |||
- 0x82000000 0 0x40300000 0x40300000 0 0x400000>; | |||
+ ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000>, | |||
+ <0x82000000 0 0x40300000 0x40300000 0 0x00d00000>; | |||
|
|||
interrupts = <GIC_SPI 141 IRQ_TYPE_EDGE_RISING>; | |||
interrupt-names = "msi"; | |||
-- | |||
2.20.1 | |||
|
42 changes: 42 additions & 0 deletions
42
target/linux/ipq40xx/patches-4.19/083-ARM-dts-qcom-ipq4019-enlarge-PCIe-BAR-range.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,42 @@ | |||
From: Christian Lamparter <chunkeey@gmail.com> | |||
Date: Mon, 25 Feb 2019 20:14:19 +0100 | |||
Subject: [PATCH] ARM: dts: qcom: ipq4019: enlarge PCIe BAR range | |||
|
|||
David Bauer reported that the VDSL modem (attached via PCIe) | |||
on his AVM Fritz!Box 7530 was complaining about not having | |||
enough space in the BAR. A closer inspection of the old | |||
qcom-ipq40xx.dtsi pulled from the GL-iNet repository listed: | |||
|
|||
| qcom,pcie@80000 { | |||
| compatible = "qcom,msm_pcie"; | |||
| reg = <0x80000 0x2000>, | |||
| <0x99000 0x800>, | |||
| <0x40000000 0xf1d>, | |||
| <0x40000f20 0xa8>, | |||
| <0x40100000 0x1000>, | |||
| <0x40200000 0x100000>, | |||
| <0x40300000 0xd00000>; | |||
| reg-names = "parf", "phy", "dm_core", "elbi", | |||
| "conf", "io", "bars"; | |||
|
|||
Matching the reg-names with the listed reg leads to | |||
<0xd00000> as the size for the "bars". | |||
|
|||
BugLink: https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg45212.html | |||
Reported-by: David Bauer <mail@david-bauer.net> | |||
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> | |||
--- | |||
|
|||
--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi | |||
+++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi | |||
@@ -401,8 +401,8 @@ | |||
#address-cells = <3>; | |||
#size-cells = <2>; | |||
|
|||
- ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000 | |||
- 0x82000000 0 0x40300000 0x40300000 0 0x400000>; | |||
+ ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000>, | |||
+ <0x82000000 0 0x40300000 0x40300000 0 0x00d00000>; | |||
|
|||
interrupts = <GIC_SPI 141 IRQ_TYPE_EDGE_RISING>; | |||
interrupt-names = "msi"; |