Commit Graph

565 Commits (5c9ca38e47cb254b6efe302a955939885340eb16)

Author SHA1 Message Date
Gabor Juhos 5c9ca38e47 ar71xx: add sanity checks to decode_rle
Also use -EINVAL instead of -1.

SVN-Revision: 31353
12 years ago
Gabor Juhos e295a077ce ar71xx: initial support for Mikrotik RB751G-2HnD and RB751U-2HnD
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]

SVN-Revision: 31208
12 years ago
Gabor Juhos b77217d963 ar71xx: boost SPI flash read performance
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%

SVN-Revision: 31118
12 years ago
Gabor Juhos 6cd5fb7001 ar71xx: remove the built-in MTD map of the AP96 board
Pass the mtd_layout via the kernel command line instead.

SVN-Revision: 31112
12 years ago
Gabor Juhos 61ee283899 ar71xx: remove the built-in MTD map of the PB92 board
Pass the mtd_layout via the kernel command line instead

SVN-Revision: 31111
12 years ago
Gabor Juhos 1094dc1996 ar71xx: remove the built-in MTD map of the Zcomax devices
Pass the mtd_layout via the kernel command line instead.

SVN-Revision: 31110
12 years ago
Gabor Juhos 87e4ec687b ar71xx: remove the built-in MTD maps of several boards
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

SVN-Revision: 31108
12 years ago
Gabor Juhos f4d1e3d147 ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
SVN-Revision: 31102
12 years ago
Gabor Juhos 8a2e4b49de ar71xx: add initial support for RB750GL
SVN-Revision: 31025
12 years ago
Gabor Juhos d19f3dd512 ar71xx: make rb750_latch_change 'static void'
SVN-Revision: 31024
12 years ago
Gabor Juhos 5348f46c80 ar71xx: add latch_change field to rb750_led_platform_data
SVN-Revision: 31023
12 years ago
Gabor Juhos 8a471efe01 ar71xx: add platform data for the RB750 NAND driver
SVN-Revision: 31022
12 years ago
Gabor Juhos e9b45ebaba ar71xx: add AR934x specific interface speed setup for ge0
SVN-Revision: 31017
12 years ago
Gabor Juhos 6036151187 ar71xx: add support for the jjPlus JA76PF2 board
SVN-Revision: 30957
12 years ago
Gabor Juhos a680662391 ar71xx: change LED name prefix on the jjplus boards
SVN-Revision: 30956
12 years ago
Gabor Juhos 1c5ac02a29 ar71xx: reset the switch on AR934x before ethernet device registration
SVN-Revision: 30922
12 years ago
Gabor Juhos 66df117d1b ar71xx: use a dummy callback for interfaces with fixed speed
SVN-Revision: 30913
12 years ago
Gabor Juhos 8b2b37ae58 ar71xx: merge ar934x_bo_ddr_flush patch
SVN-Revision: 30912
12 years ago
Gabor Juhos 2d89fa7f43 ar71xx: fix WPS button polarity on TL-WR2543N
SVN-Revision: 30849
13 years ago
Gabor Juhos d72bde99cd ar71xx: merge files-3.2 to files
SVN-Revision: 30405
13 years ago
Gabor Juhos 386cbfe45b ar71xx: move arch specific files to files-2.6.39
SVN-Revision: 29867
13 years ago
Gabor Juhos ef1c53b7b7 ar71xx: change board id of the UniFi board
SVN-Revision: 29849
13 years ago
Gabor Juhos fbf81c8e79 ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
SVN-Revision: 29713
13 years ago
Gabor Juhos a1dcbc66a6 ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet.

SVN-Revision: 29680
13 years ago
Gabor Juhos 67b2814842 ar71xx: local mac support on the wndr3700
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>

SVN-Revision: 29675
13 years ago
Gabor Juhos 1e848b17ad ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 29669
13 years ago
Gabor Juhos b8f0d86115 ar71xx: add inital support for the ALFA Network AP96 board
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.

SVN-Revision: 29662
13 years ago
Gabor Juhos 923f3e3752 ar71xx: allow to use the command line hack on compex devices
SVN-Revision: 29659
13 years ago
Gabor Juhos 2f53f82203 ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
These models are based on the AP99 reference board,
and uses the AR7241 SoC.

SVN-Revision: 29658
13 years ago
Gabor Juhos 90bfef9ec9 ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
SVN-Revision: 29653
13 years ago
Gabor Juhos 1045c83527 ar71xx: add support for TP-Link TL-MR3020
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>

SVN-Revision: 29651
13 years ago
Gabor Juhos 1e68f10b87 ar71xx: add support for the ALFA Network N2/N5 boards
SVN-Revision: 29635
13 years ago
Gabor Juhos 5c067db8a7 ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
SVN-Revision: 29631
13 years ago
Gabor Juhos 557009bbdb ar71xx: fix LEDs on the WRT400N
SVN-Revision: 29624
13 years ago
Jo-Philipp Wich ebefe1eb3a the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id (#10649)
SVN-Revision: 29593
13 years ago
Felix Fietkau 11013ad947 ar71xx: add missing wireless led changes for wzr-hp-g300nh2
SVN-Revision: 29568
13 years ago
Felix Fietkau 0cc056cb7e ar71xx: add support for the wzr-hp-g300nh2
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

SVN-Revision: 29567
13 years ago
Gabor Juhos 67c7980290 ar71xx: connect GMAC0 to the internal switch on DB120
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.

SVN-Revision: 29557
13 years ago
Gabor Juhos 5bbd416e38 ar71xx: add defines for the AR934X GMAC interface
SVN-Revision: 29556
13 years ago
Gabor Juhos e47a8c2bb2 ar71xx: fix GMAC1 interface speed on the DB120 board
SVN-Revision: 29555
13 years ago
Gabor Juhos 00667c3846 ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
SVN-Revision: 29553
13 years ago
Gabor Juhos e2a546d475 ar71xx: allow to attach the internal switch for AR934x
SVN-Revision: 29550
13 years ago
Gabor Juhos 9ae65588d8 ar71xx: introduce ar71xx_switch_data
SVN-Revision: 29549
13 years ago
Gabor Juhos d1f7783612 ar71xx: fix mac addresses on jjPlus devices
SVN-Revision: 29538
13 years ago
Gabor Juhos b9c5cb5c9a ar71xx: add support for ALFA Network's Hornet-UB board
SVN-Revision: 29535
13 years ago
Gabor Juhos 66c8cc0f6d ar71xx: add GPIO function bit defines for AR933X
SVN-Revision: 29534
13 years ago
Felix Fietkau 7076d74b21 ar71xx: fix gpio count for ar7241/ar7242
SVN-Revision: 29532
13 years ago
Felix Fietkau b878f4a927 ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
SVN-Revision: 29531
13 years ago
Felix Fietkau 3806671fe5 ar71xx: fix wireless led on wzr-hp-g450h
SVN-Revision: 29515
13 years ago
Gabor Juhos 2dd7dfb1c9 ar71xx: enable AR9341 support at setup.c
Patch-by: dyq <729650915@qq.com>

SVN-Revision: 29514
13 years ago