From c38ffd45b91dc10f358d52a629341d2088485d10 Mon Sep 17 00:00:00 2001 From: Chukun Pan Date: Mon, 12 Feb 2024 23:18:30 +0800 Subject: [PATCH] qualcommax: AW1000: sync qca807x PHY dts changes 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 Reviewed-by: Robert Marko --- .../arm64/boot/dts/qcom/ipq8072-aw1000.dts | 41 ++++++++++++------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-aw1000.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-aw1000.dts index 3f40c17ab46..10799d1986c 100644 --- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-aw1000.dts +++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-aw1000.dts @@ -246,24 +246,33 @@ 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 { @@ -313,24 +322,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"; }; -- 2.30.2