aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu
diff options
context:
space:
mode:
authorRobert Marko <robert.marko@sartura.hr>2023-02-19 12:58:56 +0100
committerRobert Marko <robert.marko@sartura.hr>2023-02-21 17:15:40 +0100
commit00c5276659cb9929fc5010ebe2f2f10b4d4cf9ef (patch)
tree908c8f4a15e44fa8055ef0864a39d6c0ced22fcb /target/linux/mvebu
parent52ddb3846975cbb1c3cb504ffde6efdd69bb5622 (diff)
downloadupstream-00c5276659cb9929fc5010ebe2f2f10b4d4cf9ef.tar.gz
upstream-00c5276659cb9929fc5010ebe2f2f10b4d4cf9ef.tar.bz2
upstream-00c5276659cb9929fc5010ebe2f2f10b4d4cf9ef.zip
mvebu: mochabin: enlarge PCI memory window
Armada 7040 uses a rather small 15MB memory window for every PCI adapter, however this is not sufficient for Qualcomm QCA6390 802.11ax cards that are shipped along with the OpenWrt WLAN model of MOCHAbin as ath11k requires at least 16MB of memory. So, similar to what MACCHIATOBin has been doing for years, lets move to using the second PCIe 2 memory window and expand it to 128MB to make it future proof. This has been already sent upstream [1]. [1] https://lore.kernel.org/linux-arm-kernel/20230219121418.1395401-1-robert.marko@sartura.hr/ Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Diffstat (limited to 'target/linux/mvebu')
-rw-r--r--target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts b/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
index c198061af7..c4e11b5049 100644
--- a/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
+++ b/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/armada-7040-mochabin.dts
@@ -445,4 +445,5 @@
phys = <&cp0_comphy5 2>;
phy-names = "cp0-pcie2-x1-phy";
reset-gpio = <&cp0_gpio1 9 GPIO_ACTIVE_LOW>;
+ ranges = <0x82000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x8000000>;
};