From 408b6558e4c4e547d3dc68d5c1e26d0a97a287a9 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Fri, 21 Jan 2022 17:18:35 +0000 Subject: [PATCH] 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 --- .../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@0 { - reg = <0x42000000 0xe000000>; + reg = <0x42000000 0x1e000000>; device_type = "memory"; }; + reserved-memory { + rsvd@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"; -- 2.30.2