lantiq: add support for AVM FRITZ!Box 7412
[openwrt/staging/wigyori.git] / target / linux / lantiq / base-files / etc / board.d / 02_network
index 8689440..b7d23da 100755 (executable)
@@ -158,6 +158,14 @@ avm,fritz7360sl)
                "0:lan:3" "1:lan:4" "2:lan:2" "4:lan:1" "6t@eth0"
        ;;
 
+avm,fritz7412)
+       tffsdev=$(find_mtd_chardev "nand-tffs")
+       annex="b"
+       lan_mac=$(/usr/bin/fritz_tffs_nand -d $tffsdev -n maca)
+       wan_mac=$(/usr/bin/fritz_tffs_nand -d $tffsdev -n macdsl)
+       ucidef_set_interface_lan 'eth0'
+       ;;
+
 siemens,gigaset-sx76x)
        annex="b"
        ucidef_add_switch "switch0" \