qualcommax: AW1000: sync qca807x PHY dts changes
authorChukun Pan <amadeus@jmu.edu.cn>
Mon, 12 Feb 2024 15:18:30 +0000 (23:18 +0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 16 Feb 2024 12:50:19 +0000 (13:50 +0100)
The dts of Arcadyan AW1000 forgot to convert qca807x PHY
to PHY package implementation. This commit fix it.

Fixes: 0ab4b92 ("qualcommax: convert qca807x PHY to PHY package implementation")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Reviewed-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-aw1000.dts

index 3f40c17ab46cb4c08833fbfa3005ccf2e0c98f4b..10799d1986c9f638e8619414814dd92bcc761877 100644 (file)
        pinctrl-names = "default";
        reset-gpios = <&tlmm 37 GPIO_ACTIVE_LOW>;
 
-       qca8075_0: ethernet-phy@0 {
-               compatible = "ethernet-phy-ieee802.3-c22";
+       ethernet-phy-package@0 {
+               compatible = "qcom,qca8075-package";
+               #address-cells = <1>;
+               #size-cells = <0>;
                reg = <0>;
-       };
 
-       qca8075_1: ethernet-phy@1 {
-               compatible = "ethernet-phy-ieee802.3-c22";
-               reg = <1>;
-       };
+               qcom,package-mode = "qsgmii";
 
-       qca8075_2: ethernet-phy@2 {
-               compatible = "ethernet-phy-ieee802.3-c22";
-               reg = <2>;
-       };
+               qca8075_0: ethernet-phy@0 {
+                       compatible = "ethernet-phy-ieee802.3-c22";
+                       reg = <0>;
+               };
+
+               qca8075_1: ethernet-phy@1 {
+                       compatible = "ethernet-phy-ieee802.3-c22";
+                       reg = <1>;
+               };
 
-       qca8075_3: ethernet-phy@3 {
-               compatible = "ethernet-phy-ieee802.3-c22";
-               reg = <3>;
+               qca8075_2: ethernet-phy@2 {
+                       compatible = "ethernet-phy-ieee802.3-c22";
+                       reg = <2>;
+               };
+
+               qca8075_3: ethernet-phy@3 {
+                       compatible = "ethernet-phy-ieee802.3-c22";
+                       reg = <3>;
+               };
        };
 
        qca8081: ethernet-phy@28 {
 
 &dp1 {
        status = "okay";
+       phy-mode = "qsgmii";
        phy-handle = <&qca8075_0>;
        label = "lan1";
 };
 
 &dp2 {
        status = "okay";
+       phy-mode = "qsgmii";
        phy-handle = <&qca8075_1>;
        label = "lan2";
 };
 
 &dp3 {
        status = "okay";
+       phy-mode = "qsgmii";
        phy-handle = <&qca8075_2>;
        label = "lan3";
 };
 
 &dp4 {
        status = "okay";
+       phy-mode = "qsgmii";
        phy-handle = <&qca8075_3>;
        label = "lan4";
 };