Browse Source

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 <[email protected]>
David Woodhouse 3 years ago
parent
commit
408b6558e4

+ 15 - 1
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts

@@ -7,10 +7,17 @@
 	compatible = "netgear,d7800", "qcom,ipq8064";
 	compatible = "netgear,d7800", "qcom,ipq8064";
 
 
 	memory@0 {
 	memory@0 {
-		reg = <0x42000000 0xe000000>;
+		reg = <0x42000000 0x1e000000>;
 		device_type = "memory";
 		device_type = "memory";
 	};
 	};
 
 
+	reserved-memory {
+		rsvd@5fe00000 {
+			reg = <0x5fe00000 0x200000>;
+			reusable;
+		};
+	};
+
 	aliases {
 	aliases {
 		mdio-gpio0 = &mdio0;
 		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 {
 &nand_controller {
 	status = "okay";
 	status = "okay";