ACwifidude/target/linux/ramips
Sungbo Eo 7a387bf9a0 ramips: mt76x8: fix bogus mediatek,portmap
mt76x8 uses esw_rt3050 driver, which does not accept mediatek,portmap with
string values. Convert the strings to integers to make it work.

According to its switch setup, WRTnode 2P/2R have a WAN port at port 0,
so the correct value should be 0x3e.

tplink_8m.dtsi uses "llllw", but it does not match switch setups of any
device using the DTSI. Remove it from the DTSI and add correct value to DTS
for each device.

These devices have a WAN port at port 0. Set the value to 0x3e.
- tplink,archer-c20-v4
- tplink,archer-c50-v3
- tplink,tl-mr3420-v5
- tplink,tl-wr840n-v4
- tplink,tl-wr841n-v13
- tplink,tl-wr842n-v5

These devices have only one ethernet port. They don't need portmap setting.
- tplink,tl-wa801nd-v5
- tplink,tl-wr802n-v4
- tplink,tl-wr902ac-v3

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2020-01-18 12:00:29 +01:00
..
base-files ramips: move set-irq-affinity script to mt7621 subtarget 2020-01-03 00:08:35 +01:00
dts ramips: mt76x8: fix bogus mediatek,portmap 2020-01-18 12:00:29 +01:00
files-4.14/drivers ramips: ethernet: Replace random_ether_addr with eth_hw_addr_random 2019-10-27 14:13:47 +01:00
image ramips: mt7621: disable images for gehua_ghl-r-001 2020-01-14 00:06:03 +01:00
mt76x8 ramips: add support for TP-Link Archer C20 v5 2020-01-09 17:33:57 +01:00
mt7620 ramips: convert TP-Link MT7620 boards to tpt trigger 2020-01-02 21:41:58 +01:00
mt7621 ramips: fix HiWiFi HC5962 switch configuration 2020-01-16 18:28:27 +01:00
patches-4.14 kernel: bump 4.14 to 4.14.158 2019-12-10 09:50:42 +01:00
rt288x ramips: rt288x: use flash location for wan_mac in 02_network 2019-12-12 13:11:49 +01:00
rt305x ramips: rt305x: use flash location for wan_mac in 02_network 2019-12-12 13:11:58 +01:00
rt3883 ramips: fix USB LED for Belkin F9K1109v1 2019-12-20 15:54:33 +01:00
Makefile ramips: switch to linux 4.14 2018-04-06 18:07:43 +02:00
modules.mk kernel: Fix kmod-regmap split 2019-01-27 11:07:14 +01:00