juhosg
74d33b7b96
ar71xx: add initial support for the QCA955X SoCs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:47 +00:00
juhosg
db1a0d339e
ar71xx: remove the built-in MTD map of the ALL0258N
...
Pass the mtd_layout via the kernel command line instead.
Also increase the kernel partition size to 1024k, so current kernel can fit in.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 15:24:01 +00:00
juhosg
ae6a363859
ar71xx: add support for the TL-WDR4300 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 11:51:17 +00:00
juhosg
d02eb8cdaa
ar71xx: remove superfluous include of asm/mach-ath79/pci.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:13:43 +00:00
juhosg
9e32544f7a
ar71xx: add a common function to configure USB power GPIOs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:13:41 +00:00
nbd
669a7a0710
ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 00:22:04 +00:00
nbd
2d3cf7a902
ar71xx: swap the PHY address of the ethernet port of TL-MR3040/TL-MR11U similar to TL-MR3020 to fix ethernet link detection
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-13 12:54:22 +00:00
nbd
eed1fe974e
ar71xx: fix PHY setup on TL-MR3020 ( fixes #11572 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 17:24:12 +00:00
nbd
62977660d8
ar71xx: add a helper function for setting up PHY4 swapping on ar933x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 17:24:09 +00:00
nbd
dfea949949
ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 21:02:41 +00:00
juhosg
e9ac406967
ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD
...
Patch by Kamil Trzciński <ayufan@osk-net.pl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:25 +00:00
juhosg
7b820da93e
ar71xx: add support for the TP-Link TL-WR1041N v2 board
...
Patch-by: Vince Huang <axishero@foxmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:02:35 +00:00
juhosg
f07500066e
ar71xx: allow to disable link polling on unused PHYs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 18:29:24 +00:00
juhosg
a17e6cf40e
ar71xx: use ap91_pci_init for RB751{,G}
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:48 +00:00
juhosg
9b7ceff90a
ar71xx: move USB device registration directly into rb751{,g}_setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:43 +00:00
juhosg
e25325e131
ar71xx: add ap9x_pci_get_wmac_data helper
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:42 +00:00
juhosg
9ec35a5650
ar71xx: add sanity checks to decode_rle
...
Also use -EINVAL instead of -1.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-19 21:31:40 +00:00
juhosg
87485f3a88
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]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-06 06:45:07 +00:00
juhosg
7bc411c5d9
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%
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:17 +00:00
juhosg
32fd04f49a
ar71xx: remove the built-in MTD map of the AP96 board
...
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
2012-03-27 19:38:07 +00:00
juhosg
514a769538
ar71xx: remove the built-in MTD map of the PB92 board
...
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
2012-03-27 19:38:05 +00:00
juhosg
5ca96e340c
ar71xx: remove the built-in MTD map of the Zcomax devices
...
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
2012-03-27 19:38:04 +00:00
juhosg
e27017a728
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:38:01 +00:00
juhosg
70b0829237
ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 19:37:51 +00:00
juhosg
fd48e871d0
ar71xx: add initial support for RB750GL
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:04 +00:00
juhosg
c8aab4b6c2
ar71xx: make rb750_latch_change 'static void'
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:03 +00:00
juhosg
58ce76e6b5
ar71xx: add latch_change field to rb750_led_platform_data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:57:01 +00:00
juhosg
e929396e19
ar71xx: add platform data for the RB750 NAND driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 15:56:59 +00:00
juhosg
1a9e33b337
ar71xx: add AR934x specific interface speed setup for ge0
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:11:20 +00:00
juhosg
be8e44bc68
ar71xx: add support for the jjPlus JA76PF2 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:34 +00:00
juhosg
aaa7c394a3
ar71xx: change LED name prefix on the jjplus boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 18:00:26 +00:00
juhosg
f9450e76b1
ar71xx: reset the switch on AR934x before ethernet device registration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:29:33 +00:00
juhosg
510f76eab5
ar71xx: use a dummy callback for interfaces with fixed speed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 20:38:58 +00:00
juhosg
710f4ecdd1
ar71xx: merge ar934x_bo_ddr_flush patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 20:38:57 +00:00
juhosg
f69d75cd5e
ar71xx: fix WPS button polarity on TL-WR2543N
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 19:50:53 +00:00
juhosg
d9077e15ae
ar71xx: merge files-3.2 to files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:31 +00:00
juhosg
22b99f32a1
ar71xx: move arch specific files to files-2.6.39
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 22:38:11 +00:00
juhosg
3746d2ed29
ar71xx: change board id of the UniFi board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-22 13:51:50 +00:00
juhosg
1b3efb3352
ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 18:00:50 +00:00
juhosg
19be413163
ar71xx: add initial support for the TL-WR2543N/ND board
...
The WLAN LEDs are not working yet.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:35 +00:00
juhosg
54bc3d42c4
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 17:24:44 +00:00
juhosg
01c809eff1
ar71xx: add support for Redwave RW2458N
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:59 +00:00
juhosg
b8e2e95b70
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:54 +00:00
juhosg
86c95a9481
ar71xx: allow to use the command line hack on compex devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:58 +00:00
juhosg
bf238aa8e9
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:57 +00:00
juhosg
9229d15c65
ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:50 +00:00
juhosg
2b1cf2b32c
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:47 +00:00
juhosg
fd1bdc7c45
ar71xx: add support for the ALFA Network N2/N5 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:25 +00:00
juhosg
a604775f66
ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:46 +00:00
juhosg
096af0d2e8
ar71xx: fix LEDs on the WRT400N
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 13:54:11 +00:00