ath79: fix support for TL-WR740N/WR741N v4
authorChuanhong Guo <gch981213@gmail.com>
Thu, 2 Aug 2018 07:14:10 +0000 (15:14 +0800)
committerMathias Kresin <dev@kresin.me>
Mon, 6 Aug 2018 05:31:54 +0000 (07:31 +0200)
commit690c55e8cc409f00774d2e0ac8e8456f8d90c946
tree2dd6e86a3d15405f85db5688c0dedcc83ac3a3ab
parent115e993adcc4b3c5ce441a70ae6cf62985797729
ath79: fix support for TL-WR740N/WR741N v4

1. Swap eth0/eth1
 Both devices are using AR9331, the builtin switch on AR9331 is
 connected to gmac1 and gmac1 is named as eth1 in ath79.
 PS: gmac1 is eth0 and gmac0 is eth1 in ar71xx because of the
 reversed initialization order.
2. Fix the incorrect compatible string in dts

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ath79/base-files/etc/board.d/01_leds
target/linux/ath79/base-files/etc/board.d/02_network
target/linux/ath79/dts/ar9331_tl-wr740nd-v4.dts
target/linux/ath79/dts/ar9331_tl-wr741nd-v4.dts