ramips-mt7620: add support for tp-link archer c20 v1 (#1866)

Specification:
- MediaTek MT7620A (580 Mhz)
- 64 MB of RAM
- 8 MB of FLASH
- 2T2R 2.4 GHz and 1T1R 5 GHz
- 5x 10/100 Mbps Ethernet
- 2x external, non-detachable antennas
- UART (J1) header on PCB (115200 8n1)
- 8x LED (GPIO-controlled*), 2x button, power input switch
- 1 x USB 2.0 port
This commit is contained in:
Steffen Förster 2020-01-20 23:26:04 +01:00 committed by Andreas Ziegler
parent 055a2337aa
commit 79ca7a7baa
3 changed files with 4 additions and 2 deletions

View File

@ -303,6 +303,7 @@ ramips-mt7620
* TP-Link * TP-Link
- Archer C2 v1 - Archer C2 v1
- Archer C20 (v1)
- Archer C20i - Archer C20i
- Archer C50 v1 - Archer C50 v1

View File

@ -61,7 +61,7 @@ elseif platform.match('mpc85xx', 'p1020', {'aerohive,hiveap-330'}) then
table.insert(try_files, 1, '/sys/class/net/eth0/address') table.insert(try_files, 1, '/sys/class/net/eth0/address')
elseif platform.match('mpc85xx', 'p1020', {'ocedo,panda'}) then elseif platform.match('mpc85xx', 'p1020', {'ocedo,panda'}) then
table.insert(try_files, 1, '/sys/class/net/eth1/address') table.insert(try_files, 1, '/sys/class/net/eth1/address')
elseif platform.match('ramips', 'mt7620', {'miwifi-mini', 'tplink,c2-v1', 'c20i', 'c50'}) then elseif platform.match('ramips', 'mt7620', {'miwifi-mini', 'tplink,c2-v1', 'c20-v1', 'c20i', 'c50'}) then
table.insert(try_files, 1, '/sys/class/net/eth0/address') table.insert(try_files, 1, '/sys/class/net/eth0/address')
elseif platform.match('ramips', 'mt7621', {'dir-860l-b1'}) then elseif platform.match('ramips', 'mt7621', {'dir-860l-b1'}) then
table.insert(try_files, 1, '/sys/class/ieee80211/phy1/macaddress') table.insert(try_files, 1, '/sys/class/ieee80211/phy1/macaddress')

View File

@ -31,7 +31,6 @@ device('nexx-wt3020-8m', 'wt3020-8M', {
}, },
}) })
-- TP-Link -- TP-Link
local tplink_region_suffix = '' local tplink_region_suffix = ''
@ -43,6 +42,8 @@ device('tp-link-archer-c2-v1', 'tplink_c2-v1', {
factory = false, factory = false,
}) })
device('tp-link-archer-c20-v1', 'tplink_c20-v1')
device('tp-link-archer-c20i', 'ArcherC20i') device('tp-link-archer-c20i', 'ArcherC20i')
device('tp-link-archer-c50', 'ArcherC50v1', { device('tp-link-archer-c50', 'ArcherC50v1', {