summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: archer c7: define LEDs connected to the AR8327 switchGabor Juhos2014-01-251-0/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39395
* ar71xx: fix bad RX sensitivity on newer TL-WDR4300 boardsGabor Juhos2014-01-241-0/+6
| | | | | | | | | | | | | On recent TL-WDR4300 boards the external LNAs of the 2.4GHz interface are connected to GPIO lines. Because these GPIO lines are disabled by default, the RX sensitivity of the device is quite bad. Setup the GPIOs of the external LNAs to fix the issue. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39392
* ar71xx: wp543: use KEY_RESET code for the sw4 buttonGabor Juhos2014-01-231-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39374
* ar71xx: mynet-n750: define LEDs connected to the AR8327 switchGabor Juhos2014-01-211-0/+15
| | | | | | | | Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/4743/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39361
* ar71xx: tl-wr1043nd-v2: define LEDs connected to the AR8327 switchGabor Juhos2014-01-201-0/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39346
* ar71xx: tl-wdr4300: define LEDs connected to the AR8327 switchGabor Juhos2014-01-201-0/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39345
* ar71xx: rb2011: define LEDs connected to the AR8327 switchGabor Juhos2014-01-201-0/+16
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39341
* ar71xx: rb2011: fix eth5 LEDGabor Juhos2014-01-201-1/+1
| | | | | | | | | The eth5 LED on the RB2011 is not working because the LED control rule is missing. Fix it. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39335
* ar71xx: my net n750: simplify LNA GPIO setupGabor Juhos2014-01-101-6/+2
| | | | | | | | | Use the ath79_wmac_set_ext_lna_gpio helper instead of exporting the GPIOs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39217
* ar71xx: my net n600: simplify LNA GPIO setupGabor Juhos2014-01-101-6/+2
| | | | | | | | | Use the ath79_wmac_set_ext_lna_gpio helper instead of exporting the GPIOs. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39216
* ar71xx: Fix WD My Net N600 weak signal issueGabor Juhos2014-01-101-0/+15
| | | | | | | | | | | | | | | | | | The LNAs need to be enabled by setting their respective GPIO to high even though the original firmware's setting sets them to low on initialization. Obviously the LNAs are then later initialized by the driver on the OEM firmware. Without this fix the device is mostly "deaf". Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Tested-by: Steven Haigh <netwiz@crc.id.au> Patchwork: http://patchwork.openwrt.org/patch/4689/ [juhosg: - remove the GPIO LED changes, the My Net N600 has no yellow LEDs at all, - change subject and update the commit message] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39214
* ar71xx: Fix WD My Net N750 weak signal issueGabor Juhos2014-01-101-2/+2
| | | | | | | | | | | | | | The LNAs need to be enabled by setting their respective GPIO to high even though the original firmware's setting sets them to low on initialization. Obviously the LNAs are then later initialized by the driver on the OEM firmware. Without this fix the device is mostly "deaf". Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/4688/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39213
* ar71xx: fix max frame length of the QCA955x SoCsGabor Juhos2013-12-231-0/+11
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39161
* ar71xx: don't set builtin_switch flag for QCA9558Gabor Juhos2013-12-231-6/+1
| | | | | | | | It makes no sense, the SoC has no built-in switch. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39160
* ar71xx: allow to use large ethernet frames on AR934x SoCsGabor Juhos2013-12-201-0/+4
| | | | | | | | | | | | | | | The hardware supports large ethernet frames. Override the maximum frame length and packet lenght mask in the platform data to allow to use large MTU on the ethernet interfaces. Limit the feature to AR934x SoCs for now. It should work on some other SoCs as well, but those has not been tested yet. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39149
* ar71xx: ag71xx: get max_frame_len and desc_pktlen_mask from platform dataGabor Juhos2013-12-202-0/+6
| | | | | | | | This will allow to use SoC specific values for both. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39145
* ar71xx: fix WD My Net N750 switch led cfgGabor Juhos2013-12-171-4/+4
| | | | | | | | | | | Now that the switch is working correctly I had the chance to actually test the LED config. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/4616/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39129
* ar71xx: implement switch fix for WD My Net N750Gabor Juhos2013-12-171-0/+19
| | | | | | | | | | | | | | | The bootloader on the WD My Net N750 disables the ports on it's internal AR8327N switch by powering them down. The stock firmware then brings the ports back up again by starting the auto negotiation process on each port. This fix implements just that. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/4615/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39128
* ar71xx: implement callback in mdio resetGabor Juhos2013-12-171-0/+2
| | | | | | | | | | | This enables us to add fixups to the board specific code for boards that require special treatment of PHYs on mdio bus reset. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> http://patchwork.openwrt.org/patch/4614/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39127
* ar71xx: make ag71xx_mdio_platform_data visibleGabor Juhos2013-12-172-2/+4
| | | | | | | | | | | This enables us to modify the ag71xx_mdio_platform_data from within the board support files. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> Patchwork: http://patchwork.openwrt.org/patch/4613/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39126
* ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boardsGabor Juhos2013-12-161-0/+176
| | | | | | | | | It is only on RB911G-5HPnD and RB912UAG-5HPnD boards. The LEDs and the USB port is not working yet. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39102
* ar71xx: rb2011: use board name from the hardware configGabor Juhos2013-12-161-6/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39096
* ar71xx: rb2011: simplify setup codeGabor Juhos2013-12-161-16/+19
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39095
* ar71xx: rb2011: use the new RouterBOOT helpersGabor Juhos2013-12-161-46/+29
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39094
* ar71xx: rb95x: use the rb_get_wlan_data helperGabor Juhos2013-12-161-37/+14
| | | | | | | | Also remove unused RB_* defines. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39092
* ar71xx: add some RouterBOOT specific helper functionsGabor Juhos2013-12-162-0/+153
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39091
* ar71xx: rb95x: nuke rb95x_gpio_initGabor Juhos2013-12-161-6/+2
| | | | | | | | | Set up the chipselect GPIO directly in rb95x_nand_init instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39087
* ar71xx: add kernel support for WD My Net N750Gabor Juhos2013-12-161-0/+196
| | | | | | | | Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> [juhosg: use a separate patch for kernel changes] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39077
* ar71xx: add kernel support for the TL-WA901ND v3 boardGabor Juhos2013-12-151-1/+16
| | | | | | | | Based-on: http://patchwork.openwrt.org/patch/4506/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39073
* ar71xx: move TL-WA801ND v2 setup codeGabor Juhos2013-12-152-47/+47
| | | | | | | | | | | | The TL-WA801ND v2 board has only one LAN port which makes it more similar to the TL-WR[78]50RE devices. Move the board setup code into the mach-tl-wax50re.c file. Based-on: http://patchwork.openwrt.org/patch/4506/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39072
* ar71xx: refactor TL-WAx50RE setup codeGabor Juhos2013-12-151-4/+8
| | | | | | | | | | | This way it is a bit easier to add other TP-LINK devices based on the Atheros AP123 reference board with one LAN port. Based-on: http://patchwork.openwrt.org/patch/4506/ Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39071
* ar71xx: add kernel support for the TL-WA801ND v2 boardGabor Juhos2013-12-151-8/+46
| | | | | | | | | | | | | | Patch to add kernel support for the TP-LINK WA801ND v2 Signed-off-by: Jiri Pirko <jiri@resnulli.us> Patchwork: http://patchwork.openwrt.org/patch/4500/ [juhosg: - the TL-WA801ND v2 does not have a sliding switch, it uses a push button for WPS instead. Use the tl_mr3420v2_gpio_keys array to reflect that, - rename kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39063
* ath9k: merge initval and tx gain table updates, calibration fixesFelix Fietkau2013-12-081-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39001
* ar71xx: add kernel support for the TL-WR1043ND v2 boardGabor Juhos2013-11-291-0/+224
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38955
* ar71xx: improve support for the My Net Wi-Fi Range Extender deviceGabor Juhos2013-11-291-4/+7
| | | | | | | | | | | | | | | | | | | | This patch improves support for the device considerably. 1. The wifi didn't work in the initial release. This was because the WMAC of the AR9340 is not connected to the antennas. (However, it can pick up wifi signals, if they are strong enough!) Instead there's a dedicated AR9300 chip on the same board, which works. 2. Ethernet throughput is improved. iperf shows that the hardware can sustain more than 200Mbit/s and no longer drops any packages when the link is under load. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4461/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38949
* ar71xx: Kernel support update tl-wr842n_v2 added missing usb ledGabor Juhos2013-11-291-1/+1
| | | | | | | | | | | Just a small oversight my part, added the support for the USB led Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4425/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38946
* ar71xx: Add kernel support for the WR842N/ND v2Gabor Juhos2013-11-151-0/+22
| | | | | | | | | | | Patch to add kernel support for the TP-LINK WR842N/ND v2 Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4352/ [juhosg: refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38813
* ar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boardsGabor Juhos2013-11-111-1/+1
| | | | | | | Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38720
* ar71xx: Add kernel support for the TP-Link WA750RE / WA850RE range extenderGabor Juhos2013-11-111-0/+183
| | | | | | | | | | | Patch to add kernel support for the TP-LINK WA750RE and the WA850RE range extender Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> [juhosg: rename and refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38717
* ar71xx: add kernel support for the My Net Wi-Fi Range Extender deviceGabor Juhos2013-11-071-0/+175
| | | | | | | | | | | | | This patch adds a new device definition for a Western Digital device. The hardware seems to be based on Qualcomm Atheros DB120 design. Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> [juhosg: refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38686
* ar71xx: add kernel support for BHU Networks BXU2000n-2 A1 boardGabor Juhos2013-10-301-0/+120
| | | | | | | | | | | | | | BXU2000n-2 A1 is a BHU Networks WLAN board, use ar9341 chip. Patchwork: http://patchwork.openwrt.org/patch/4183/ Signed-off-by: Terry Yang <yangbo@bhunetworks.com> [juhosg: - rename and refresh kernel patch, - fix some checkpatch warnings and adjust whitespaces in mach-bhu-bxu2000n2-a.c] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38591
* ar71xx: add kernel support for the Sitecom WLR-8100 wireless routerGabor Juhos2013-10-301-0/+222
| | | | | | | | | | | | - unsure about copyright message - based on AP136-010 Patchwork: http://patchwork.openwrt.org/patch/4147/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> [juhosg: rename and refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38589
* ar71xx: add kernel support for DRAGINO2Gabor Juhos2013-10-301-0/+127
| | | | | | | | | | | | | | | | | | | This patch adds support for DRAGINO2 board (used by Meshpotato v2). Most of the files included can be found in the official svn repository provided by the company [1]. I have just adapt it to the last OpenWrt trunk revision (Fri Oct 4 10:49:47 2013). 1. http://svn.dragino.com/dragino2 Patchwork: http://patchwork.openwrt.org/patch/4234/ Signed-off-by: Pau Escrich <p4u@dabax.net> [juhosg: - rename and refresh kernel patch, - fix checkpatch warnings in mach-dragino2.c] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38587
* ar71xx: fix WLAN 5 GHz LED init on dir-825-c1Gabor Juhos2013-10-201-2/+1
| | | | | | | | | | | | Fixes the 5 GHz LED. The same function has no effect on the 2.4 GHz LED at all, so we might as well remove it. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38482
* ar71xx: improve kernel support for the TL-MR3040 v2Gabor Juhos2013-09-251-0/+45
| | | | | | | | | | | This patch adds support for the hardware slide switch on the TL-MR3040 v2. Signed-off-by: Mads Hansen <d@taba.se> [juhosg: use EV_SW instead of EV_KEY] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38190
* ar71xx: add kernel support for the TEW-732BR boardGabor Juhos2013-09-231-0/+127
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38131
* ar71xx: vanity changes for dir-825-c1Gabor Juhos2013-09-211-15/+15
| | | | | | | | | | | | | | | | | This patch - changes the color names from orange to amber - changes the name of GPIO 13 from WIFI_BGN (wifi_bgn) to WLAN_2G (wlan2g) to be more consistent with the other routers' files - changes the descriptions of the hardware keys to be a tad more explicit Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Patchwork: http://patchwork.openwrt.org/patch/4081/ [juhosg: update the LED migration script as well] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38105
* ar71xx: use netgear prefix for WNDAP360 LED namesGabor Juhos2013-09-211-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38102
* ar71xx: use netgear prefix for WNR612 v2 LED namesGabor Juhos2013-09-211-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38101
* ar71xx: use netgear prefix for WNR2200 LED namesGabor Juhos2013-09-211-13/+13
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38100