ipq40xx: adapt to new Upstream QCA807x PHY driver
[openwrt/staging/nbd.git] / target / linux / ipq40xx / patches-6.1 / 710-arm-dts-ipq4019-QCA807x-properties.patch
index 92fb8a6a02271bee95399e76fa90a81d8d3e7788..a9ba70ff2f71fb06addb74772f56109141f73d10 100644 (file)
@@ -12,50 +12,14 @@ Signed-off-by: Robert Marko <robert.marko@sartura.hr>
 
 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
 +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
-@@ -8,6 +8,7 @@
- #include <dt-bindings/clock/qcom,gcc-ipq4019.h>
- #include <dt-bindings/interrupt-controller/arm-gic.h>
- #include <dt-bindings/interrupt-controller/irq.h>
-+#include <dt-bindings/net/qcom-qca807x.h>
- / {
-       #address-cells = <1>;
-@@ -727,22 +728,38 @@
-                       ethphy0: ethernet-phy@0 {
-                               reg = <0>;
-+
-+                              qcom,control-dac = <QCA807X_CONTROL_DAC_DSP_VOLT_QUARTER_BIAS>;
-                       };
-                       ethphy1: ethernet-phy@1 {
-                               reg = <1>;
-+
-+                              qcom,control-dac = <QCA807X_CONTROL_DAC_DSP_VOLT_QUARTER_BIAS>;
-                       };
-                       ethphy2: ethernet-phy@2 {
-                               reg = <2>;
-+
-+                              qcom,control-dac = <QCA807X_CONTROL_DAC_DSP_VOLT_QUARTER_BIAS>;
-                       };
-                       ethphy3: ethernet-phy@3 {
-                               reg = <3>;
-+
-+                              qcom,control-dac = <QCA807X_CONTROL_DAC_DSP_VOLT_QUARTER_BIAS>;
-                       };
-                       ethphy4: ethernet-phy@4 {
-                               reg = <4>;
-+
-+                              qcom,control-dac = <QCA807X_CONTROL_DAC_DSP_VOLT_QUARTER_BIAS>;
-+                      };
-+
-+                      psgmiiphy: psgmii-phy@5 {
-+                              reg = <5>;
+@@ -752,6 +752,10 @@
+                               ethphy4: ethernet-phy@4 {
+                                       reg = <4>;
+                               };
 +
-+                              qcom,tx-driver-strength = <PSGMII_QSGMII_TX_DRIVER_300MV>;
++                              psgmiiphy: psgmii-phy@5 {
++                                      reg = <5>;
++                              };
                        };
                };