ar71xx: fix switch port mapping for ap123 based TP-Link devices
authorOldřich Jedlička <oldium.pro@gmail.com>
Sun, 23 Apr 2017 07:29:15 +0000 (09:29 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Mon, 15 May 2017 20:43:33 +0000 (22:43 +0200)
commitf4a97c7f5db7d2ea3c499677305fad2b6b872bd7
treeba6616b1fbe134b445ac75d1001dc502b4e07661
parent6d7cb5337ec45f230dbba352896cf8a45641f9f3
ar71xx: fix switch port mapping for ap123 based TP-Link devices

This fixes switch port mapping for: TL-WR841N/ND v8, TL-MR3420 v2 and
TL-WR941N/ND v5. All of them share the same Atheros ap123 reference
design.

The order of switch ports (shown in "swconfig dev eth1 show") is CPU,
LAN 4, LAN 1, LAN 2, LAN 3.

Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
[included 2 more devices]
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
target/linux/ar71xx/base-files/etc/board.d/02_network