mediatek: filogic: comfast cf-wa933: name dedicated WAN interface

Set openwrt,netdev-name to wan on the dedicated GMAC and update the
default network and WAN LED configuration for both existing CF-WA933
variants. Filogic preinit reads this property to rename the interface.
Keep the physical port, PHY and MAC address assignment intact.

This follows the dedicated WAN naming used by similar Filogic devices,
using the explicit OpenWrt naming property as on the MERCUSYS MR85X.

Compat version can be avoided here, since the device hasn't shipped in
any stable builds yet.

Signed-off-by: Andrii Kuiukoff <andros.ua@gmail.com>
Signed-off-by: Guillaume RISCHARD <git@stereo.lu>
Link: https://github.com/openwrt/openwrt/pull/24590
Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>
This commit is contained in:
Andrii Kuiukoff authored and Jonas Jelonek committed 2026-10-15 22:03:41 +02:00
1 parent 343e6594b4
commit af76d60bc2
3 files changed
+5 -6

No files matched your search

@@ -86,6 +86,7 @@
/* WAN */
compatible = "mediatek,eth-mac";
reg = <1>;
openwrt,netdev-name = "wan";
phy-mode = "gmii";
phy-handle = <&int_gbe_phy>;
nvmem-cells = <&macaddr_factory_e000 1>;
@@ -44,7 +44,7 @@ comfast,cf-wa933|\
comfast,cf-wa933-128m)
ucidef_set_led_netdev "lan1" "lan1" "blue:lan-1" "lan1" "link tx rx"
ucidef_set_led_netdev "lan2" "lan2" "blue:lan-2" "lan2" "link tx rx"
ucidef_set_led_netdev "wan" "wan" "blue:wan" "eth1" "link tx rx"
ucidef_set_led_netdev "wan" "wan" "blue:wan" "wan" "link tx rx"
;;
confiabits,mt7981)
ucidef_set_led_netdev "lan1" "lan1" "blue:lan-1" "lan1" "link tx rx"
@@ -41,7 +41,9 @@ mediatek_setup_interfaces()
acer,vero-w6m)
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" internet
;;
airtel,aap4221zy)
airtel,aap4221zy|\
comfast,cf-wa933|\
comfast,cf-wa933-128m)
ucidef_set_interfaces_lan_wan "lan1 lan2" wan
;;
arcadyan,mozart)
@@ -135,10 +137,6 @@ mediatek_setup_interfaces()
comfast,cf-e393ax)
ucidef_set_interfaces_lan_wan "lan1" eth1
;;
comfast,cf-wa933|\
comfast,cf-wa933-128m)
ucidef_set_interfaces_lan_wan "lan1 lan2" eth1
;;
cudy,ap3000wall-v1)
ucidef_set_interface_lan "lan1 lan2 lan3 lan4 lan5"
;;