ARM: dts: qcom: ipq4019: add QCA8075 PHY Package nodes
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 11 Feb 2024 20:26:55 +0000 (21:26 +0100)
committerBjorn Andersson <andersson@kernel.org>
Mon, 8 Apr 2024 02:25:26 +0000 (21:25 -0500)
Add QCA8075 PHY Package nodes. The PHY nodes that were previously
defined never worked and actually never had a driver to correctly setup
these PHY. Now that we have a correct driver, correctly add the PHY
Package node and set the default value of 300mw for tx driver strength
following specification of ipq4019 SoC.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20240211202700.17810-1-ansuelsmth@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-ipq4019.dtsi

index 681cb3fc8085dfd6ab9fe89daa0de281c157f641..b198e2af515836d31ad1144645c33d224eded4fe 100644 (file)
                        reg = <0x90000 0x64>;
                        status = "disabled";
 
-                       ethphy0: ethernet-phy@0 {
+                       ethernet-phy-package@0 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "qcom,qca8075-package";
                                reg = <0>;
-                       };
 
-                       ethphy1: ethernet-phy@1 {
-                               reg = <1>;
-                       };
+                               qcom,tx-drive-strength-milliwatt = <300>;
 
-                       ethphy2: ethernet-phy@2 {
-                               reg = <2>;
-                       };
+                               ethphy0: ethernet-phy@0 {
+                                       reg = <0>;
+                               };
 
-                       ethphy3: ethernet-phy@3 {
-                               reg = <3>;
-                       };
+                               ethphy1: ethernet-phy@1 {
+                                       reg = <1>;
+                               };
+
+                               ethphy2: ethernet-phy@2 {
+                                       reg = <2>;
+                               };
+
+                               ethphy3: ethernet-phy@3 {
+                                       reg = <3>;
+                               };
 
-                       ethphy4: ethernet-phy@4 {
-                               reg = <4>;
+                               ethphy4: ethernet-phy@4 {
+                                       reg = <4>;
+                               };
                        };
                };