From: Ziyang Huang Date: Fri, 9 Jan 2026 15:17:12 +0000 (+0800) Subject: qualcommax: ipq5018: pz-l8: enable PHY-to-PHY CPU link X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9dfc0c3eea96b431a94a374fa3492d91da83d15c;p=thirdparty%2Fopenwrt.git qualcommax: ipq5018: pz-l8: enable PHY-to-PHY CPU link So we can reach 2Gbps. Signed-off-by: Ziyang Huang Link: https://github.com/openwrt/openwrt/pull/21496 Signed-off-by: Robert Marko --- diff --git a/target/linux/qualcommax/dts/ipq5018-pz-l8.dts b/target/linux/qualcommax/dts/ipq5018-pz-l8.dts index f09007503fe..5b4e3b5ba7b 100644 --- a/target/linux/qualcommax/dts/ipq5018-pz-l8.dts +++ b/target/linux/qualcommax/dts/ipq5018-pz-l8.dts @@ -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>; }; }; }; diff --git a/target/linux/qualcommax/ipq50xx/base-files/etc/board.d/02_network b/target/linux/qualcommax/ipq50xx/base-files/etc/board.d/02_network index 16aa187ec80..35bca4110d0 100644 --- a/target/linux/qualcommax/ipq50xx/base-files/etc/board.d/02_network +++ b/target/linux/qualcommax/ipq50xx/base-files/etc/board.d/02_network @@ -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 }