ipq806x: Netgear D7800: Fix RAM and enable PCIe #2
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 21 Jan 2022 17:18:35 +0000 (17:18 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 21 Jan 2022 17:18:35 +0000 (17:18 +0000)
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@infradead.org>
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts

index 940e01439d08ff38ce788553ff4ad8d416378e00..16a6ca007610400c6f3b57202bf96baec26815d5 100644 (file)
@@ -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;
 
        };
 };
 
+&pcie2 {
+       status = "okay";
+       reset-gpio = <&qcom_pinmux 63 GPIO_ACTIVE_HIGH>;
+       pinctrl-0 = <&pcie2_pins>;
+       pinctrl-names = "default";
+};
+
 &nand_controller {
        status = "okay";