ipq806x: enable PM support
[librecmc/librecmc.git] / target / linux / ipq806x / patches-3.18 / 301-ARM-qcom-add-Netgear-Nighthawk-X4-R7500-device-tree.patch
index a9b83a126bee907842e1ac2901e7bd46112892b3..abd7cf631de5c432fc2d8bec52945b994632a19d 100644 (file)
@@ -22,7 +22,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
        qcom-msm8974-sony-xperia-honami.dtb
 --- /dev/null
 +++ b/arch/arm/boot/dts/qcom-ipq8064-r7500.dts
-@@ -0,0 +1,362 @@
+@@ -0,0 +1,342 @@
 +#include "qcom-ipq8064-v1.0.dtsi"
 +
 +#include <dt-bindings/input/input.h>
@@ -64,24 +64,6 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
 +                              bias-disable;
 +                      };
 +
-+                      pcie0_pins: pcie0_pinmux {
-+                              mux {
-+                                      pins = "gpio3";
-+                                      function = "pcie1_rst";
-+                                      drive-strength = <12>;
-+                                      bias-disable;
-+                              };
-+                      };
-+
-+                      pcie1_pins: pcie1_pinmux {
-+                              mux {
-+                                      pins = "gpio48";
-+                                      function = "pcie2_rst";
-+                                      drive-strength = <12>;
-+                                      bias-disable;
-+                              };
-+                      };
-+
 +                      nand_pins: nand_pins {
 +                              mux {
 +                                      pins = "gpio34", "gpio35", "gpio36",
@@ -173,16 +155,10 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
 +
 +              pcie0: pci@1b500000 {
 +                      status = "ok";
-+                      reset-gpio = <&qcom_pinmux 3 0>;
-+                      pinctrl-0 = <&pcie0_pins>;
-+                      pinctrl-names = "default";
 +              };
 +
 +              pcie1: pci@1b700000 {
 +                      status = "ok";
-+                      reset-gpio = <&qcom_pinmux 48 0>;
-+                      pinctrl-0 = <&pcie1_pins>;
-+                      pinctrl-names = "default";
 +              };
 +
 +              nand@1ac00000 {
@@ -281,13 +257,17 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
 +              gmac1: ethernet@37200000 {
 +                      status = "ok";
 +                      phy-mode = "rgmii";
-+                      phy-handle = <&phy4>;
 +                      qcom,id = <1>;
 +
 +                      pinctrl-0 = <&rgmii2_pins>;
 +                      pinctrl-names = "default";
 +
 +                      mtd-mac-address = <&art 6>;
++
++                      fixed-link {
++                              speed = <1000>;
++                              full-duplex;
++                      };
 +              };
 +
 +              gmac2: ethernet@37400000 {