[openwrt/openwrt] qualcommax: AW1000: sync qca807x PHY dts changes
LEDE Commits
lede-commits at lists.infradead.org
Fri Feb 16 04:50:27 PST 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c38ffd45b91dc10f358d52a629341d2088485d10
commit c38ffd45b91dc10f358d52a629341d2088485d10
Author: Chukun Pan <amadeus at jmu.edu.cn>
AuthorDate: Mon Feb 12 23:18:30 2024 +0800
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 <amadeus at jmu.edu.cn>
Reviewed-by: Robert Marko <robimarko at gmail.com>
---
.../arch/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 3f40c17ab4..10799d1986 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 at 0 {
- compatible = "ethernet-phy-ieee802.3-c22";
+ ethernet-phy-package at 0 {
+ compatible = "qcom,qca8075-package";
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0>;
- };
- qca8075_1: ethernet-phy at 1 {
- compatible = "ethernet-phy-ieee802.3-c22";
- reg = <1>;
- };
+ qcom,package-mode = "qsgmii";
- qca8075_2: ethernet-phy at 2 {
- compatible = "ethernet-phy-ieee802.3-c22";
- reg = <2>;
- };
+ qca8075_0: ethernet-phy at 0 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <0>;
+ };
+
+ qca8075_1: ethernet-phy at 1 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <1>;
+ };
- qca8075_3: ethernet-phy at 3 {
- compatible = "ethernet-phy-ieee802.3-c22";
- reg = <3>;
+ qca8075_2: ethernet-phy at 2 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <2>;
+ };
+
+ qca8075_3: ethernet-phy at 3 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <3>;
+ };
};
qca8081: ethernet-phy at 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";
};
More information about the lede-commits
mailing list