[openwrt/openwrt] ipq806x: Netgear D7800: Fix RAM and enable PCIe #2

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 21 09:24:13 PST 2022


dwmw2 pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/408b6558e4c4e547d3dc68d5c1e26d0a97a287a9

commit 408b6558e4c4e547d3dc68d5c1e26d0a97a287a9
Author: David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Fri Jan 21 17:18:35 2022 +0000

    ipq806x: Netgear D7800: Fix RAM and enable PCIe #2
    
    This board has 512MiB of RAM like the R7800, and the VDSL modem is
    attached to the second PCIe port.
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 .../files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts       | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
index 940e01439d..16a6ca0076 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
@@ -7,10 +7,17 @@
 	compatible = "netgear,d7800", "qcom,ipq8064";
 
 	memory at 0 {
-		reg = <0x42000000 0xe000000>;
+		reg = <0x42000000 0x1e000000>;
 		device_type = "memory";
 	};
 
+	reserved-memory {
+		rsvd at 5fe00000 {
+			reg = <0x5fe00000 0x200000>;
+			reusable;
+		};
+	};
+
 	aliases {
 		mdio-gpio0 = &mdio0;
 
@@ -217,6 +224,13 @@
 	};
 };
 
+&pcie2 {
+	status = "okay";
+	reset-gpio = <&qcom_pinmux 63 GPIO_ACTIVE_HIGH>;
+	pinctrl-0 = <&pcie2_pins>;
+	pinctrl-names = "default";
+};
+
 &nand_controller {
 	status = "okay";
 



More information about the lede-commits mailing list