lantiq: Add support for the BT Home Hub 5A
[openwrt/openwrt.git] / target / linux / lantiq / base-files / etc / uci-defaults / 02_network
index afb8714..6f9d9c0 100644 (file)
@@ -169,6 +169,14 @@ BTHOMEHUBV2B|BTHOMEHUBV3A)
        wan_mac=$(macaddr_add "$lan_mac" 1)
        ;;
 
+BTHOMEHUBV5A)
+       lan_mac=$(mtd_get_mac_binary caldata 4364)
+       wan_mac=$(macaddr_add "$lan_mac" 1)
+       ucidef_set_interface_lan 'eth0.1'
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "0 1 2 4 6t"
+       ;;
+
 VGV7519)
        lan_mac=$(mtd_get_mac_binary board_config 22)
        wan_mac=$(macaddr_add "$lan_mac" 1)