diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2018-08-02 15:14:10 +0800 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-08-06 07:31:54 +0200 |
commit | 690c55e8cc409f00774d2e0ac8e8456f8d90c946 (patch) | |
tree | 2dd6e86a3d15405f85db5688c0dedcc83ac3a3ab /target/linux/ath79/dts | |
parent | 115e993adcc4b3c5ce441a70ae6cf62985797729 (diff) | |
download | upstream-690c55e8cc409f00774d2e0ac8e8456f8d90c946.tar.gz upstream-690c55e8cc409f00774d2e0ac8e8456f8d90c946.tar.bz2 upstream-690c55e8cc409f00774d2e0ac8e8456f8d90c946.zip |
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>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r-- | target/linux/ath79/dts/ar9331_tl-wr740nd-v4.dts | 2 | ||||
-rw-r--r-- | target/linux/ath79/dts/ar9331_tl-wr741nd-v4.dts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar9331_tl-wr740nd-v4.dts b/target/linux/ath79/dts/ar9331_tl-wr740nd-v4.dts index b0029b88b6..583716308d 100644 --- a/target/linux/ath79/dts/ar9331_tl-wr740nd-v4.dts +++ b/target/linux/ath79/dts/ar9331_tl-wr740nd-v4.dts @@ -5,5 +5,5 @@ / { model = "TP-Link TL-WR740N/ND v4"; - compatible = "tplink,tl-wr740n-v4"; + compatible = "tplink,tl-wr740nd-v4"; }; diff --git a/target/linux/ath79/dts/ar9331_tl-wr741nd-v4.dts b/target/linux/ath79/dts/ar9331_tl-wr741nd-v4.dts index 118831b4d2..ef68cc7d22 100644 --- a/target/linux/ath79/dts/ar9331_tl-wr741nd-v4.dts +++ b/target/linux/ath79/dts/ar9331_tl-wr741nd-v4.dts @@ -5,5 +5,5 @@ / { model = "TP-Link TL-WR741N/ND v4"; - compatible = "tplink,tl-wr741n-v4"; + compatible = "tplink,tl-wr741nd-v4"; }; |