ar71xx: fix TL-WR842N v2 switch port order
authorJo-Philipp Wich <jo@mein.io>
Tue, 6 Dec 2016 17:20:07 +0000 (18:20 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 14 Dec 2016 17:43:48 +0000 (18:43 +0100)
commit98b14e0906cfe476da7a007cbf467b73b4c85acf
tree21cbe212eab34f8731b5ca6637981412a807d42b
parent21cb84435a9fcc1b94b30a672d6d3a8751fe9afb
ar71xx: fix TL-WR842N v2 switch port order

The TL-WR842N v2 has the following switch port layout with swconfig port 0
being connected to eth1:

            Power  LAN4    LAN3    LAN2    LAN1    WAN     USB
             (*) | [...] | [...] | [...] | [...] | [...] | [.]
    swconfig port:   1       4       3       2      n/a
    netdev:        eth1    eth1    eth1    eth1    eth0

Adjust the board defaults to match this model specific layout.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
target/linux/ar71xx/base-files/etc/board.d/02_network