Add the lantiq,switch property to enable vlans and setup them up.
Signed-off-by: Mathias Kresin <dev@kresin.me>
VGV7519)
lan_mac=$(mtd_get_mac_binary board_config 22)
wan_mac=$(macaddr_add "$lan_mac" 1)
VGV7519)
lan_mac=$(mtd_get_mac_binary board_config 22)
wan_mac=$(macaddr_add "$lan_mac" 1)
- ucidef_set_interface_lan 'eth0'
+ ucidef_add_switch "switch0" \
+ "4:lan:1" "2:lan:2" "1:lan:3" "0:lan:4" "6t@eth0"
#size-cells = <0>;
reg = <0>;
mac-address = [ 00 11 22 33 44 55 ];
#size-cells = <0>;
reg = <0>;
mac-address = [ 00 11 22 33 44 55 ];
ethernet@0 {
compatible = "lantiq,xrx200-pdi-port";
ethernet@0 {
compatible = "lantiq,xrx200-pdi-port";