The wan port is connected to switch port 0. Fix the mediatek,portmap as
well as the default switch config.
Signed-off-by: Alexey Belyaev <spider@spider.vc>
hc5661a|\
hc5962|\
hlk-rm04|\
hc5661a|\
hc5962|\
hlk-rm04|\
mac1200rv2|\
miwifi-mini|\
miwifi-nano|\
mac1200rv2|\
miwifi-mini|\
miwifi-nano|\
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "5:lan" "0:wan" "6@eth0"
;;
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "5:lan" "0:wan" "6@eth0"
;;
kn_rf)
ucidef_add_switch "switch0" \
"0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "6@eth0"
kn_rf)
ucidef_add_switch "switch0" \
"0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "6@eth0"
ðernet {
mtd-mac-address = <&factory 0x4>;
ðernet {
mtd-mac-address = <&factory 0x4>;
- mediatek,portmap = "wllll";
+ mediatek,portmap = "llllw";