diff options
Diffstat (limited to 'target/linux/mvebu/cortexa53/base-files/etc/board.d/02_network')
-rw-r--r-- | target/linux/mvebu/cortexa53/base-files/etc/board.d/02_network | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/mvebu/cortexa53/base-files/etc/board.d/02_network b/target/linux/mvebu/cortexa53/base-files/etc/board.d/02_network index 489090d77c..6789edb861 100644 --- a/target/linux/mvebu/cortexa53/base-files/etc/board.d/02_network +++ b/target/linux/mvebu/cortexa53/base-files/etc/board.d/02_network @@ -21,9 +21,16 @@ globalscale,espressobin-ultra) ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" "wan" ;; marvell,armada-3720-db|\ -methode,udpu|\ +methode,udpu) + ucidef_set_interfaces_lan_wan "eth1" "eth0" + ;; methode,edpu) + # eDPU+ has a 88E6361 switch, so we check for it + if ip link | grep -q uplink; then + ucidef_set_interfaces_lan_wan "downlink" "uplink" + else ucidef_set_interfaces_lan_wan "eth1" "eth0" + fi ;; *) ucidef_set_interface_lan "eth0" |