mvebu: add SolidRun ClearFog GT 8K
[openwrt/openwrt.git] / target / linux / mvebu / cortexa72 / base-files / etc / board.d / 02_network
old mode 100755 (executable)
new mode 100644 (file)
index 9ab3c81..6a58610
@@ -1,4 +1,3 @@
-#!/bin/sh
 #
 # Copyright (C) 2014-2016 OpenWrt.org
 # Copyright (C) 2016 LEDE-Project.org
@@ -11,6 +10,15 @@ board_config_update
 board=$(board_name)
 
 case "$board" in
+globalscale,mochabin)
+       ucidef_set_interfaces_lan_wan "lan0 lan1 lan2 lan3" "eth0 eth2"
+       ;;
+iei,puzzle-m901)
+       ucidef_set_interfaces_lan_wan "eth1 eth2 eth3 eth4 eth5" "eth0"
+       ;;
+iei,puzzle-m902)
+       ucidef_set_interfaces_lan_wan "eth0 eth1 eth3 eth4 eth5 eth6 eth7 eth8" "eth2"
+       ;;
 marvell,armada8040-mcbin-doubleshot|\
 marvell,armada8040-mcbin-singleshot)
        ucidef_set_interfaces_lan_wan "eth0 eth1 eth3" "eth2"
@@ -21,6 +29,9 @@ marvell,armada8040-db)
 marvell,armada7040-db)
        ucidef_set_interfaces_lan_wan "eth0 eth2" "eth1"
        ;;
+marvell,armada8040-clearfog-gt-8k)
+       ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 eth2" "eth0 eth1"
+       ;;
 *)
        ucidef_set_interface_lan "eth0"
        ;;