qualcommax: ipq5018: pz-l8: enable PHY-to-PHY CPU link

So we can reach 2Gbps.

Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/21496
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Ziyang Huang 2026-01-09 23:17:12 +08:00 committed by Robert Marko
parent a5c5ca0666
commit 9dfc0c3eea
2 changed files with 24 additions and 21 deletions

View File

@ -232,6 +232,18 @@
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
phy-mode = "sgmii";
ethernet = <&dp2>;
qca,sgmii-enable-pll;
fixed-link {
speed = <1000>;
full-duplex;
};
};
port@1 {
reg = <1>;
label = "lan3";
@ -256,26 +268,11 @@
phy-handle = <&qca8337_3>;
};
/*
* WAN cannot work if added
* port@5 {
* reg = <5>;
* phy-handle = <&qca8337_4>;
* phy-mode = "gmii";
* ethernet = <&dp1>;
* };
*/
port@6 {
reg = <6>;
phy-mode = "sgmii";
ethernet = <&dp2>;
qca,sgmii-enable-pll;
fixed-link {
speed = <1000>;
full-duplex;
};
port@5 {
reg = <5>;
phy-handle = <&qca8337_4>;
phy-mode = "gmii";
ethernet = <&dp1>;
};
};
};

View File

@ -17,7 +17,6 @@ ipq50xx_setup_interfaces()
ucidef_set_interfaces_lan_wan "lan1 lan2" "wan"
;;
cmcc,mr3000d-ci|\
cmcc,pz-l8|\
linksys,mx2000|\
linksys,mx5500|\
linksys,spnmx56|\
@ -29,6 +28,13 @@ ipq50xx_setup_interfaces()
yuncore,ax850)
ucidef_set_interfaces_lan_wan "lan" "wan"
;;
cmcc,pz-l8)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan"
ucidef_set_network_device_conduit "lan1" "eth1"
ucidef_set_network_device_conduit "lan2" "eth1"
ucidef_set_network_device_conduit "lan3" "eth1"
ucidef_set_network_device_conduit "wan" "eth0"
;;
esac
}