aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files
Commit message (Collapse)AuthorAgeFilesLines
* ath79: port TP-Link TL-WR741ND v4 and TL-WR740ND v4Rocco Folino2018-07-022-0/+15
| | | | | | | | | | This patch ports the TP-Link TL-WR741ND v4 and TL-WR740ND v4 to the ath79 target. Because the two devices share the same hw layout, this patch adds a common .dtsi which is included by the two .dts. Signed-off-by: Rocco Folino <rocco@folino.io>
* ath79: add support for Unifi AC MeshAdrian Schmutzler2018-06-282-0/+2
| | | | | | | | | The Unifi AC Mesh is equivalent to the Unifi AC Lite. However, for setting certain parameters with the flashed device it is helpful that the devices know their variant (e.g. automatically setting antenna gain for the different antennas in Lite and Mesh). Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ath79: add support for more AR7241 TP-Link boardsDmytro Smyrnov2018-06-282-0/+10
| | | | | | | | | | | Its common AP99(AR7241) platform with following devices: TP-Link TL-WR841N/ND v7 (SoC AR7241 / Wifi AR9287 / without USB) TP-Link TL-MR3220 v1 (SoC AR7241 / Wifi AR9285 / USB support) TP-Link TL-MR3420 v1 (SoC AR7241 / Wifi AR9287 / USB support) Signed-off-by: Dmytro Smyrnov <dioptimizer@hotmail.com> Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: small wr1043nd-v4 fixesLucian Cristian2018-06-281-0/+4
| | | | | | | | | | | | | | | - fix sysupgrade check - move usb to v4 dts because v5 doesn't have it - make wan mac address behave like ar71xx target - add orange wan led support, it can be userspace activated like: on: echo default-on > /sys/class/leds/tp-link\:orange\:wan/trigger off: echo none > /sys/class/leds/tp-link\:orange\:wan/trigger Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: add support for Ubiquiti UniFi AC-ProLucian Cristian2018-06-282-1/+6
| | | | | | | | rework the dts to a common unifi-ac dtsi pro network is connected via phy0 and has usb ports lite network is connected via phy4 without usb ports Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: sync naming of Ubiquiti devicesAdrian Schmutzler2018-06-282-2/+2
| | | | | | | Use a Unifi AC Lite board-/image name consistent with other Ubiquiti devices. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ath79: add support for TP-Link Archer c7 v2Sibren Vasse2018-06-262-1/+11
| | | | Signed-off-by: Sibren Vasse <github@sibrenvasse.nl>
* ath79: add tl-wr2543-v1 supportLucian Cristian2018-06-262-0/+5
| | | | | | to switch between wlan leds we need a userspace implementation Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: add support for ON Networks N150RZoltan HERPAI2018-06-263-2/+5
| | | | | | | | | | | | This is a rebranded Netgear WNR612v2, specs are the same. - Atheros AR7240 (Python) @400MHz - flash 4MB - ram 32MB - ethernet 10/100: 1xwan + 2xlan (only two) - radio AR9285 Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* ath79: add Netgear WNR612 v2Zoltan HERPAI2018-06-263-0/+12
| | | | | | | | | | | | | | | Netgear WNR612 v2: - cpu Atheros AR7240 (Python) @400MHz - flash 4MB - ram 32MB - ethernet 10/100: 1xwan + 2xlan (only two) - radio AR9285 As there is a rebranded WNR612v2 called ON Networks N150R, add a dtsi which includes all device support, and add a separate dts for the device only (with a separate one for the subsequent N150R). Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* ath79: add support for tl-wr1043nd v2/v3Lucian Cristian2018-06-181-0/+6
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: initial gl-ar300m supportMarty E. Plummer2018-06-181-0/+5
| | | | Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
* ath79: add tl-wr1043nd-v4 support everything is workingLucian Cristian2018-06-182-0/+11
| | | | | | | tplink-safeloader: resize kernel partition kernel 4.14 is much bigger, resize the partition Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: add ubiquiti unifi ap ac lite/lrLucian Cristian2018-06-182-0/+4
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: add support for Phicomm K2TWeijie Gao2018-06-184-0/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds dts for qca956x and also support for Phicomm K2T The qca965x.dtsi adds nearly all the necessary components. Both ath9k AHB and PCIe worked well. The Phicomm K2T uses MTD partition 'config' to store the mac addresses in JSON format. To extract these fields correctly, a script is introduced: /lib/functions/k2t.sh This script provides a helper function to extract mac addresses, and is used in three places. Hardware spec of Phicomm K2T: CPU: QCA9563 DRAM: 64MB DDR2 Flash: 16MB SPI-NOR Switch: QCA8337 WiFi 5.8GHz: QCA9886 Flash instruction: Apply sysupgrade.bin via serial console: tftp 0x80000000 sysupgrade.bin && erase 0x9f090000 +$filesize && cp.b $fileaddr 0x9f090000 $filesize Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* ath79: clean up led config script files for all devicesJohann Neuhauser2018-06-162-30/+0
| | | | | | | | | 1. Move all status led definitions out of diag.sh into device dt as we use here a generic script hook. 2. Encode "phy0ptp" led trigger in dt of device for all ath79 devices. Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
* ath79: fix usb led on wr-1043nd-v1Lucian Cristian2018-06-161-4/+0
| | | | | | | usb port was not triggered correctly also remove uneded wifi led trigger from the script Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: add tl-mr3020-v1 supportLucian Cristian2018-06-082-1/+7
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ath79: add etactica-eg200 supportKarl Palsson2018-06-082-0/+9
| | | | | | | | | | | | | | | | | | | | Based on original ar71xx eg200 board files Tested working: * usb hub, storage and serial port * ethernet * wifi * leds * button sysupgrade from self->self passes validity checks. sysupgrade from old ar71xx->ath79 passes. (however this doesn't migrate wireless driver configs) Only unknown issue is the existance of a /sys/class/leds/ath9k-phy0, which doesn't "exist" Signed-off-by: Karl Palsson <karlp@etactica.com>
* ath79: add TP-Link TL-MR10U portAdoal Xu2018-06-081-0/+1
| | | | Signed-off-by: Adoal Xu <adoalxu@gmail.com>
* ath79: add WLAN, Ethernet-Switch with LAN/WAN and Status LED to DorinCatrinel Catrinescu2018-06-072-0/+8
| | | | Signed-off-by: Catrinel Catrinescu <cc@80211.de>
* ath79: add TP-Link TL-WR703N portAlex Maclean2018-06-011-0/+1
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: add TP-Link TL-WR740N/ND v2 portAlex Maclean2018-06-013-0/+14
| | | | Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* ath79: fix glinet ar150 lan/wan orderingJohn Crispin2018-06-011-0/+4
| | | | | | LAN and WAN were swapped Signed-off-by: John Crispin <john@phrozen.org>
* ath79: preliminary support for TP-Link WDR3600 / WDR4300 (AR9344)Johann Neuhauser2018-05-223-1/+13
| | | | | | | | | | | | | | | | working: - leds - buttons - lan / wan - usb (hub port 1 + 2) - wifi 5g - sysupgrade - ... not working: - wifi 2g Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
* ath79: add AVM FRITZ!WLAN Repeater 300EMathias Kresin2018-05-174-0/+51
| | | | | | No known issues, everything works fine. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: add and enforce image metadataMathias Kresin2018-05-171-19/+2
| | | | | | Add metadata to images and make the metdata mandatory. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: sysupgrade: drop unused variablesMathias Kresin2018-05-171-6/+0
| | | | | | None of the variables are used at the moment. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: sysupgrade: drop unused platform checksMathias Kresin2018-05-171-171/+0
| | | | | | | None of these checks are used at the moment and most of them aren't required if the image metadata validation is used. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: sysupgrade: remove obsolete sysupgrade watchdog killMathias Kresin2018-05-171-10/+0
| | | | | | | | | The watchdog kill command was meant for busybox watchdog. Busybox watchdog was replaced by the procd watchdog mid 2013 with commit df7ce9301a25 ("busybox: disable the watchdog utility by default"), which makes the kill command obsolete since quite some time. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: make board.d files executableMathias Kresin2018-05-172-0/+0
| | | | | | | Add the executable permission to the files to ensure they run on firstboot. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath79: add new OF only target for QCA MIPS siliconJohn Crispin2018-05-076-0/+425
This target aims to replace ar71xx mid-term. The big part that is still missing is making the MMIO/AHB wifi work using OF. NAND and mikrotik subtargets will follow. Signed-off-by: John Crispin <john@phrozen.org>