aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add a helper function for setting up PHY4 swapping on ar933xFelix Fietkau2012-06-063-15/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32092 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix MII clock settings for various chips, improves ethernet ↵Felix Fietkau2012-05-272-3/+14
| | | | | | stability on AR934x git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31925 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnDGabor Juhos2012-05-231-0/+2
| | | | | | Patch by Kamil Trzciński <ayufan@osk-net.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-Link TL-WR1041N v2 boardGabor Juhos2012-05-051-0/+154
| | | | | | Patch-by: Vince Huang <axishero@foxmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31608 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to disable link polling on unused PHYsGabor Juhos2012-04-292-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31533 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use ap91_pci_init for RB751{,G}Gabor Juhos2012-04-191-30/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move USB device registration directly into rb751{,g}_setupGabor Juhos2012-04-191-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add ap9x_pci_get_wmac_data helperGabor Juhos2012-04-192-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add sanity checks to decode_rleGabor Juhos2012-04-191-2/+7
| | | | | | Also use -EINVAL instead of -1. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: initial support for Mikrotik RB751G-2HnD and RB751U-2HnDGabor Juhos2012-04-061-0/+92
| | | | | | | | | | | | | | | | | Great collaboration on these two fantastic routers on the openwrt forum: https://forum.openwrt.org/viewtopic.php?id=32320 Above all kudos to aryufan. Well done and thank you everyone else who contributed. To-Do: LED for wlan is not yet activated To-Do: TxPower over 20dBm (RB751U) or 22dBm (RB751G) are not accepted by the router Signed-off-by: Hanno Schupp <hanno.schupp@gmail.com> [juhosg: fix line wrapped patch, fix checkpatch errors, add missing kernel patches] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: boost SPI flash read performanceGabor Juhos2012-03-273-1/+2
| | | | | | | | | | | | | | | | mtd_speedtest results: page read speed old new delta DB120 929 KiB/s 2597 KiB/s +179.55% TL-WR1043ND v1 754 KiB/s 2166 KiB/s +187.27% TL-WR703N v1 745 KiB/s 2176 KiB/s +192.08% TL-MR3220 v1 752 KiB/s 2154 KiB/s +186.44% TL-WR2543ND v1 564 KiB/s 2130 KiB/s +277.66% TL-WR741ND v2 525 KiB/s 1767 KiB/s +236.57% ALFA-AP96 702 KiB/s 1977 KiB/s +181.62% WNDR3700 697 KiB/s 1965 KiB/s +181.92% git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove the built-in MTD map of the AP96 boardGabor Juhos2012-03-271-35/+1
| | | | | | Pass the mtd_layout via the kernel command line instead. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31112 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove the built-in MTD map of the PB92 boardGabor Juhos2012-03-271-35/+1
| | | | | | Pass the mtd_layout via the kernel command line instead git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31111 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove the built-in MTD map of the Zcomax devicesGabor Juhos2012-03-271-50/+1
| | | | | | Pass the mtd_layout via the kernel command line instead. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove the built-in MTD maps of several boardsGabor Juhos2012-03-278-324/+8
| | | | | | | | | | | | | | | | | | | We are passing the MTD layout via the kernel command line, so it makes no sense to duplicate it in mach-* files. The patch removes the built-in MTD maps of the following boards: * AP113 * ALFA N2/N5 * DIR-600 * DIR-615 * DIR-825 * TEW-6{3,5}2BRP * TEW-673GRU * WHR-G301N * WHR-HP-GN * WHR-HP-G300N git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4Gabor Juhos2012-03-272-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add initial support for RB750GLGabor Juhos2012-03-192-0/+125
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31025 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make rb750_latch_change 'static void'Gabor Juhos2012-03-192-15/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31024 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add latch_change field to rb750_led_platform_dataGabor Juhos2012-03-192-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add platform data for the RB750 NAND driverGabor Juhos2012-03-192-7/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31022 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR934x specific interface speed setup for ge0Gabor Juhos2012-03-191-4/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31017 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the jjPlus JA76PF2 boardGabor Juhos2012-03-161-0/+76
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: change LED name prefix on the jjplus boardsGabor Juhos2012-03-161-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reset the switch on AR934x before ethernet device registrationGabor Juhos2012-03-131-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use a dummy callback for interfaces with fixed speedGabor Juhos2012-03-121-28/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge ar934x_bo_ddr_flush patchGabor Juhos2012-03-121-12/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix WPS button polarity on TL-WR2543NGabor Juhos2012-03-071-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge files-3.2 to filesGabor Juhos2012-02-1065-0/+9472
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30405 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move arch specific files to files-2.6.39Gabor Juhos2012-01-22104-15552/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: change board id of the UniFi boardGabor Juhos2012-01-221-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move irq_to_gpio and gpio_to_irq into gpio.cGabor Juhos2012-01-112-12/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add initial support for the TL-WR2543N/ND boardGabor Juhos2012-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 wndr3700Gabor Juhos2012-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 RW2458NGabor Juhos2012-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: add inital support for the ALFA Network AP96 boardGabor Juhos2012-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 devicesGabor Juhos2012-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 v7Gabor Juhos2012-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 boardsGabor Juhos2012-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-MR3020Gabor Juhos2012-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 boardsGabor Juhos2012-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 boardsGabor Juhos2011-12-312-5/+68
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix LEDs on the WRT400NGabor Juhos2011-12-311-11/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] the mach file of the WZR-HP-G300NH2 accidentally claimed the mach ↵Jo-Philipp Wich2011-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-g300nh2Felix Fietkau2011-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-g300nh2Felix Fietkau2011-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 DB120Gabor Juhos2011-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 interfaceGabor Juhos2011-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 boardGabor Juhos2011-12-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934XGabor Juhos2011-12-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to attach the internal switch for AR934xGabor Juhos2011-12-151-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29550 3c298f89-4303-0410-b956-a3cf2f4a3e73