ipq806x: ap148/r7500: fix eth0 for non gige speeds
[openwrt/openwrt.git] / target / linux / ipq806x / patches-4.1 / 301-ARM-qcom-add-Netgear-Nighthawk-X4-R7500-device-tree.patch
index 78a46e8b08ba708913737c8a88e41e1d995617a9..1f5eba8377d22132e1d8aa66e21ebcd44f999fed 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,338 @@
+@@ -0,0 +1,342 @@
 +#include "qcom-ipq8064-v1.0.dtsi"
 +
 +#include <dt-bindings/input/input.h>
@@ -257,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 {