summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: include linux/module.h in the micrel phy driverjuhosg2012-01-221-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move irq_to_gpio and gpio_to_irq into gpio.cjuhosg2012-01-112-12/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: pb44_spi: add shutdown handlerjuhosg2012-01-111-0/+10
| | | | | | This allows to access the flash from a kexec'd kernel. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/removejuhosg2012-01-111-6/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpersjuhosg2012-01-111-8/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar71xx_spi: add shutdown handlerjuhosg2012-01-111-0/+10
| | | | | | This allows to access the flash from a kexec'd kernel. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29707 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar71xx_spi: save and restore regs from probe/removejuhosg2012-01-111-17/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar71xx_wdt: add shutdown handlerjuhosg2012-01-111-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add initial support for the TL-WR2543N/ND boardjuhosg2012-01-074-0/+140
| | | | | | The WLAN LEDs are not working yet. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: local mac support on the wndr3700juhosg2012-01-071-2/+13
| | | | | | | | | | | | | | The wndr3700 at least has no eth0 mac address and usually leverages the first wireless device's mac when in a bridged scenario. If, however, you want to route, and not bridge the interfaces, you need a unique mac address for it. This patch sets the local bit on the mac address pulled from the wireless chip and uses the resulting address for eth0. Patch-by: Dave Taht <dave.taht@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Redwave RW2458Njuhosg2012-01-064-0/+112
| | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix sections mismatch warnings in the nand driversjuhosg2012-01-052-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29667 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add inital support for the ALFA Network AP96 boardjuhosg2012-01-044-0/+165
| | | | | | | | The microSD slot and the Real Time Clock is not working yet. The miniPCIe interface is not tested due to the lack of a suitable card. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29662 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to use the command line hack on compex devicesjuhosg2012-01-041-29/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7juhosg2012-01-042-12/+33
| | | | | | | These models are based on the AP99 reference board, and uses the AR7241 SoC. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to use LAN LED on the TL-WA901N/ND boardsjuhosg2012-01-041-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-Link TL-MR3020juhosg2012-01-044-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the TP-Link device TL-MR3020 which is very similiar to the TL-WR703N. The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions. Only four LEDs can be controlled via GPIO. The power LED is connected to the power supply. The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals of the sliding switch have been mapped to BTN_0 and BTN_1. I have also setup a wiki page with details here: http://wiki.openwrt.org/toh/tp-link/tl-mr3020 USB is working and has been tested with USB mass storage and USB UMTS stick. Wifi also seems to work. Ethernet is working too. Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the ALFA Network N2/N5 boardsjuhosg2012-01-014-0/+169
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boardsjuhosg2011-12-312-5/+68
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: implement get_port_{link,stats} callbacksjuhosg2011-12-311-0/+142
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix LEDs on the WRT400Njuhosg2011-12-311-11/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: set a reserved bit that resets to 1 when writing the address table ↵nbd2011-12-221-0/+2
| | | | | | control register on the ar7240 switch (should fix #10547) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] the mach file of the WZR-HP-G300NH2 accidentally claimed the mach ↵jow2011-12-211-1/+1
| | | | | | id of the WZR-HP-AG300H, correct the id (#10649) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29593 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add missing wireless led changes for wzr-hp-g300nh2nbd2011-12-191-6/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the wzr-hp-g300nh2nbd2011-12-184-0/+206
| | | | | | Signed-off-by: Mark Deneen <mdeneen@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: connect GMAC0 to the internal switch on DB120juhosg2011-12-151-1/+29
| | | | | | | | Because the external switch has no driver yet, connect GMAC0 to the PHY4 of the internal switch for now. This allows to use the DB120 board as a router with 4LAN+1WAN ports. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add defines for the AR934X GMAC interfacejuhosg2011-12-151-0/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix GMAC1 interface speed on the DB120 boardjuhosg2011-12-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix switch port setup for AR934Xjuhosg2011-12-151-11/+41
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934Xjuhosg2011-12-152-4/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: setup switch interface mode on AR934Xjuhosg2011-12-151-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: detect the built-in switch of the AR934X SoCsjuhosg2011-12-151-12/+36
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to attach the internal switch for AR934xjuhosg2011-12-151-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29550 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: introduce ar71xx_switch_datajuhosg2011-12-155-8/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: tplinkpart: allow to detect JFFS2 as welljuhosg2011-12-151-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: check PHY IDs before accessing the switch registersjuhosg2011-12-151-9/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724xjuhosg2011-12-151-13/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: nuke ar7240sw_initjuhosg2011-12-151-6/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix mac addresses on jjPlus devicesjuhosg2011-12-152-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for ALFA Network's Hornet-UB boardjuhosg2011-12-144-0/+145
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add GPIO function bit defines for AR933Xjuhosg2011-12-141-0/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29534 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix gpio count for ar7241/ar7242nbd2011-12-142-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29532 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register extra leds behind the wireless mac on wzr-hp-g450hnbd2011-12-143-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29531 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move linux/ath9k_platform.h to generic files so that it can be ↵nbd2011-12-131-37/+0
| | | | | | reused from other targets git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix wireless led on wzr-hp-g450hnbd2011-12-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable AR9341 support at setup.cjuhosg2011-12-131-0/+6
| | | | | | Patch-by: dyq <729650915@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29514 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2juhosg2011-12-132-2/+3
| | | | | | | | | | | | | | | | | | | The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case. The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or switch ports 2-4. The stock firmware uses a single LED (in the 5GHz position) to indicate the status of both radios, and a single LED (in the switch port 1 position) to indicate the status of all LAN ports. The "missing" LEDs are present on the board, and easily shine through the case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs. I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume that this is sufficient to build a fully-functional image. Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add gpios and usb for wzr-hp-g450hnbd2011-12-131-2/+73
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29509 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use RedBoot parser on PB44juhosg2011-12-111-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use correct mac on the lan interface on several TP-LINK devicesjuhosg2011-12-053-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29458 3c298f89-4303-0410-b956-a3cf2f4a3e73