aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/base-files')
-rwxr-xr-xtarget/linux/mvebu/base-files/etc/board.d/02_network6
-rwxr-xr-xtarget/linux/mvebu/base-files/lib/mvebu.sh6
2 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network
index 1dba615e0b..2c10154925 100755
--- a/target/linux/mvebu/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/base-files/etc/board.d/02_network
@@ -52,6 +52,12 @@ marvell,armada-3720-db)
marvell,armada8040-mcbin)
ucidef_set_interfaces_lan_wan "eth0 eth1 eth3" "eth2"
;;
+marvell,armada8040-db)
+ ucidef_set_interfaces_lan_wan "eth0 eth2 eth3" "eth1"
+ ;;
+marvell,armada7040-db)
+ ucidef_set_interfaces_lan_wan "eth0 eth2" "eth1"
+ ;;
*)
ucidef_set_interface_lan "eth0"
;;
diff --git a/target/linux/mvebu/base-files/lib/mvebu.sh b/target/linux/mvebu/base-files/lib/mvebu.sh
index b908f4813e..5a0d7b2933 100755
--- a/target/linux/mvebu/base-files/lib/mvebu.sh
+++ b/target/linux/mvebu/base-files/lib/mvebu.sh
@@ -26,6 +26,12 @@ mvebu_board_detect() {
*"Marvell 8040 MACHIATOBin")
name="marvell,armada8040-mcbin"
;;
+ *"Marvell Armada 8040 DB board")
+ name="marvell,armada8040-db"
+ ;;
+ *"Marvell Armada 7040 DB board")
+ name="marvell,armada7040-db"
+ ;;
*"Globalscale Mirabox")
name="mirabox"
;;