Gabor Juhos
8a9d92f125
ar71xx: fix ethernet device registration for the QCA9556 SoC
...
Based on http://patchwork.openwrt.org/patch/3162/
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35394
2013-01-29 19:12:28 +00:00
Gabor Juhos
df15e5cd61
ar71xx: enable fast flash read on dual-flash devices
...
This improves flash read speed on various Buffalo units.
mtd_speedtest results on the WZR-HP-AG300H:
old new delta
eraseblock read speed: 726 KiB/s 2068 KiB/s +184.85%
page read speed: 699 KiB/s 1973 KiB/s +182.26%
2 page read speed: 711 KiB/s 2043 KiB/s +187.34%
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35392
2013-01-29 19:12:25 +00:00
Gabor Juhos
ba4de984b9
ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on TL-WR703N/MR3020/MR3040/MR11U boards
...
The PHY_SWAP and PHY_ADDR_SWAP bits are initialized
differently by different versions of the bootloader.
This leads to broken ethernet connection with OpenWrt
on some boards.
Turn both SWAP bits OFF on these boards to make it
consistent regardless of the bootloader used.
Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35037
2013-01-07 14:30:37 +00:00
Gabor Juhos
66efec6783
ar71xx: allow to register the NAND flash controller on the QCA955x
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34945
2013-01-01 13:10:36 +00:00
Gabor Juhos
1dc2b6e8fa
ar71xx: ag71xx: show PHY interface mode in dmesg
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34880
2012-12-25 18:45:29 +00:00
Gabor Juhos
5dec87afef
ar71xx: fix ethernet device registration for QCA9558
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34853
2012-12-22 12:12:48 +00:00
Gabor Juhos
4085a5773d
ar71xx: fixup allowed PHY interface types for QCA9558
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34851
2012-12-22 12:12:44 +00:00
Gabor Juhos
f01a786825
ar71xx: don't assign any MII bus device on QCA9558 by default
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34850
2012-12-22 12:12:43 +00:00
Gabor Juhos
9edcd9d3a3
ar71xx: ag71xx: fix mii_bus_dev sanity check
...
The mii_bus device is not required if phy_mask is zero.
The driver will use a fixed connection if it is not
specified.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34849
2012-12-22 12:12:41 +00:00
Gabor Juhos
ad0f03d250
ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev
...
Trying to do that causes a NULL pointer dereference:
CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801d170c, ra == 801d18d4
Oops[#1 ]:
Cpu 0
$ 0 : 00000000 00000000 00000000 00000001
$ 4 : 00000000 802e6390 ffff8f45 00000001
$ 8 : 804b5360 ffffff80 802f93bc 00000000
$12 : 802f93e8 00000000 00000000 00000000
$16 : 8381aba0 8381aba0 00000000 00000000
$20 : 8295eff0 00000032 80000000 004101b8
$24 : 00000000 777265b0
$28 : 82936000 82937cf0 00420000 801d18d4
Hi : 00000000
Lo : 00000001
epc : 801d170c ar7240sw_reset+0x1c/0x19c
Tainted: G O
ra : 801d18d4 ag71xx_ar7240_start+0x28/0xc0
Status: 1100fc03 KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId : 00019750 (MIPS 74Kc)
Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev
nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp
ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK
iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport
xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tab
les ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O)
ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80211(O) c
ompat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash
crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button
_hotplug(O)
Process netifd (pid: 677, threadinfo=82936000, task=82cbe140, tls=77803750)
Stack : ffffffff 80087900 00000001 82937d74 8381aba0 8381aba0 00000000 00000000
8295eff0 801d18d4 8295eff0 801fa4a4 00420000 80092158 00000002 8381aba0
8381a800 00000000 00000080 801cf900 8027e720 00000000 00000000 8009223c
8381a800 8381a82c 8027e720 00000000 00000000 7f9d14f0 00420000 801ec08c
8381a800 801ebfb0 33000000 82937e30 00000001 8381a800 00001003 801ec348
...
Call Trace:
[<801d170c>] ar7240sw_reset+0x1c/0x19c
[<801d18d4>] ag71xx_ar7240_start+0x28/0xc0
[<801cf900>] ag71xx_open+0x1d0/0x258
[<801ec08c>] __dev_open+0xcc/0x130
[<801ec348>] __dev_change_flags+0xc0/0x160
[<801ec490>] dev_change_flags+0x20/0x6c
[<801ec5c8>] dev_ifsioc+0xec/0x348
[<801ecdb8>] dev_ioctl+0x594/0x67c
[<800ec00c>] do_vfs_ioctl+0x598/0x5ec
[<800ec0b0>] sys_ioctl+0x50/0x90
[<8006a3c4>] stack_done+0x20/0x40
Code: afbf0024 afb40020 afb10014 <8c910000> 00809021 24100104 24130704 8e440000 02002821
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34848
2012-12-22 12:12:40 +00:00
Gabor Juhos
a0b31f97bb
generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34846
2012-12-22 12:12:35 +00:00
Gabor Juhos
0767605d17
ar71xx: add kernel support for the TL-MR3220 v2
...
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/
[juhosg:
- remove custom LED and button arrays
- use separate machine specific patch
- update Kconfig]
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34779
2012-12-19 08:50:35 +00:00
Gabor Juhos
bc82db7d78
ar71xx: add kernel support for the NETGEAR WNDR4300
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34647
2012-12-12 16:49:49 +00:00
Gabor Juhos
75b71f4a74
ar71xx: add ap91_pci_init_simple helper
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34646
2012-12-12 16:49:48 +00:00
Gabor Juhos
1f7ae58a2c
ar71xx: ar934x_nfc: allow to control DMA data swap via platform data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34588
2012-12-10 10:38:07 +00:00
Gabor Juhos
188908e885
ar71xx: make rb750_nand driver compatible with 3.7
...
Also add compatibility patches for the currently
supported kernels.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34279
2012-11-20 16:29:43 +00:00
Gabor Juhos
8194237789
ar71xx: make ar934x_nfc driver compatible with 3.7
...
Also add compatibility patches for the currently
supported kernels.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34278
2012-11-20 16:29:42 +00:00
Gabor Juhos
46a3b818b9
ar71xx: remove buffer verification reference from rb4xx_nand.c
...
It is a dead code.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34276
2012-11-20 14:40:22 +00:00
Gabor Juhos
d833ca527d
ar71xx: restore rb4xx kernel partition size to the original value
...
The new lzma compressed elf kernel image fits into
that, even on devices with large page NAND chips.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34274
2012-11-20 12:17:45 +00:00
Gabor Juhos
d44d954dec
ar71xx: add kernel support for the RB435G board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34239
2012-11-18 10:18:01 +00:00
Gabor Juhos
d62bddc620
ar71xx: update PCI IRQ map for RB4xx devices
...
Should fix #12269 .
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34238
2012-11-18 09:51:04 +00:00
Gabor Juhos
8d4857d677
ar71xx: add kernel support for the OpenMesh MR600 board
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34231
2012-11-18 09:32:33 +00:00
Gabor Juhos
91bab828aa
ar71xx: add support for TP-Link TL-WA7510N
...
It is mostly the same as TL-WA901N. WLAN and LAN
are working. LAN LED is working. WLAN signal
strength LEDs are not working yet.
http://wiki.openwrt.org/toh/tp-link/tl-wa7510n?s[]=wa7510n
[juhosg:
- cleanup commit message
- move non kernel related stuff into separate changes
- rename and refresh 615-MIPS-ath79-TL-WA7510N-v1-support patch
- merge WA7510N support into the mach-tl-wa901nd.c file
- add 3.6 support]
Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34187
2012-11-13 14:48:00 +00:00
Gabor Juhos
f2528b1792
ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpio
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34087
2012-11-05 13:23:27 +00:00
Gabor Juhos
ed35253f4c
ar71xx: don't use the unknown LED on the ZCN-1523-5 board
...
According to #12421 , GPIO 1 controls the power
output on the unused lines of the LAN2 port.
Remove the LED definition in order to prevent
possible permanent hardware damage.
If someone needs that, the power-out feature can
be controlled via the GPIO sysfs interface.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34076
2012-11-04 22:08:54 +00:00
Gabor Juhos
7228a91a3b
ar71xx: fix link speed between AR7242 and AR8327 on the RB750GL/RB751G boards
...
The default pll_1000 value had to be changed
in order to make it working.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33993
2012-10-29 17:24:30 +00:00
Gabor Juhos
a6549ac1cb
ar71xx: remove NO_AUTOINCR flag from the NAND drivers
...
The flag is not present in 3.6.
Also add compatibility patches for 3.3.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33971
2012-10-28 12:21:15 +00:00
Gabor Juhos
e2ec99889e
ar71xx: ag71xx: fix build_skb arguments for 3.6
...
Also add a compatibility patch for 3.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33969
2012-10-27 17:11:06 +00:00
Gabor Juhos
d54c9653e9
ar71xx: add support for the Senao CAP4200AG board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33956
2012-10-27 08:55:38 +00:00
Gabor Juhos
269872fe1e
ar71xx: use mtd_read in wrt160nl_part
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33951
2012-10-27 07:57:58 +00:00
Gabor Juhos
973eda6077
ar71xx: use mtd_read in tplinkpart
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33950
2012-10-27 07:57:57 +00:00
Gabor Juhos
f1f388d527
ar71xx: rw2458n - fix flash parts
...
See #12338 . Redwave rw2458 has uboot, not redboot.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33867
2012-10-19 18:32:49 +00:00
Gabor Juhos
31387947c8
ar71xx: use the ath79_set_ar934x_eth_cfg helper in machine setup routines
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33818
2012-10-17 18:27:47 +00:00
Gabor Juhos
5ffc08e3dc
ar71xx: add a helper function for setting up ETH_CFG register on AR934x
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33817
2012-10-17 18:27:45 +00:00
Gabor Juhos
c5a32cfc92
ar71xx: add support for the OpenMesh OM2P-HS board
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33800
2012-10-17 08:26:01 +00:00
Gabor Juhos
196c6c5b45
ar71xx: add support for the TL-WR841N/ND v8 board
...
SVN-Revision: 33621
2012-10-04 20:16:03 +00:00
Gabor Juhos
170cd7a19a
ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_mac
...
SVN-Revision: 33575
2012-09-27 20:05:42 +00:00
Gabor Juhos
e7b1949d87
ar71xx: automatically find WLAN calibration data on TEW-673GRU
...
SVN-Revision: 33539
2012-09-25 12:57:40 +00:00
Gabor Juhos
8ed8e51e74
ar71xx: automatically find WLAN calibration data on DIR-825-B1
...
SVN-Revision: 33538
2012-09-25 12:57:38 +00:00
Gabor Juhos
e70ad61e44
ar71xx: use different machtype and setup for the TL-MR3040
...
Should fix #12211 . Compile tested only.
SVN-Revision: 33535
2012-09-24 18:45:56 +00:00
Gabor Juhos
7c85646176
ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_read
...
SVN-Revision: 33454
2012-09-17 20:30:55 +00:00
Gabor Juhos
3bdf0bc36f
ar71xx: ar934x_nfc: increase DMA retry count
...
SVN-Revision: 33453
2012-09-17 20:30:54 +00:00
Gabor Juhos
b7cb43f6a6
ar71xx: ar934x_nfc: optimize READOOB operation on large page devices
...
SVN-Revision: 33452
2012-09-17 20:30:53 +00:00
Gabor Juhos
96dde2e591
ar71xx: ar934x_nfc: fix RNDOUT operation
...
SVN-Revision: 33451
2012-09-17 20:30:51 +00:00
Gabor Juhos
338b698fb6
ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devices
...
SVN-Revision: 33450
2012-09-17 20:30:50 +00:00
Gabor Juhos
5804b9d1b7
ar71xx: register the NAND controller device on the RB2011
...
SVN-Revision: 33388
2012-09-13 07:26:26 +00:00
Gabor Juhos
4fd67c3cd4
ar71xx: add device registration code for the AR934x NAND flash controller
...
SVN-Revision: 33387
2012-09-13 07:26:25 +00:00
Gabor Juhos
1e5fdbeae5
ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
...
SVN-Revision: 33385
2012-09-13 07:26:22 +00:00
Gabor Juhos
aa2f4d4c8d
ar71xx: add initial support for RB2011UAS-2HnD
...
SVN-Revision: 33349
2012-09-09 14:05:32 +00:00
Gabor Juhos
3686e18727
ar71xx: use routerboot_find_tag to find wlan data offset on RB751
...
SVN-Revision: 33348
2012-09-09 14:05:30 +00:00
Gabor Juhos
ccabe4a1b4
ar71xx: add RouterBoot related helper routines
...
SVN-Revision: 33347
2012-09-09 14:05:28 +00:00
Gabor Juhos
44bf7c7cc1
ar71xx: define MTD partitions for RB2011
...
SVN-Revision: 33345
2012-09-09 14:05:24 +00:00
Gabor Juhos
6ae5ec16e0
ar71xx: add preliminary support for Mikrotik RB2011L
...
This patch adds preliminary support for the Mikrotik RB2011L.
The NAND flash is not yet supported, so only the initramfs
kernel can be used for now.
[juhosg: remove unnecessary PCI/USB related stuff, the board
does not use that, update commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 33344
2012-09-09 14:05:22 +00:00
Gabor Juhos
94bac7366c
ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
...
SVN-Revision: 33343
2012-09-09 14:05:20 +00:00
Gabor Juhos
7592057774
ar71xx: add dynamic MDIO clock calculation
...
SVN-Revision: 33342
2012-09-09 14:05:17 +00:00
Gabor Juhos
88a5478781
ar71xx: use the RLE library for RB751
...
SVN-Revision: 33338
2012-09-08 17:51:56 +00:00
Gabor Juhos
11c3392b7f
Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
...
That was based on assumptions.
SVN-Revision: 33310
2012-08-29 10:37:55 +00:00
Gabor Juhos
eb9a97a360
ar71xx: all0315n: fix ethernet according to vendor info
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33309
2012-08-29 10:37:54 +00:00
Gabor Juhos
5fdbb33db4
ar71xx: Buffalo WZR-HP-AG300H LED support
...
An improved LED support for Buffalo WZR-HP-AG300H.
There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.
[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 33294
2012-08-29 10:11:55 +00:00
Gabor Juhos
eebdd633e4
ar71xx: add support for the Allnet ALL0315N board
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33281
2012-08-27 14:55:31 +00:00
Gabor Juhos
cca873e8e0
ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33280
2012-08-27 14:55:26 +00:00
Gabor Juhos
8b3d95bba9
ar71xx: add support for the TRENDnet TEW-712BR board
...
SVN-Revision: 33231
2012-08-22 20:09:13 +00:00
Gabor Juhos
2811d6c183
ar71xx: fix comment style in mach-tl-wr2543n.c
...
SVN-Revision: 33227
2012-08-22 12:42:59 +00:00
Gabor Juhos
5a694e09c8
ar71xx: add ALL0305 board alias
...
For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33224
2012-08-22 12:33:22 +00:00
Gabor Juhos
0517183b9c
ar71xx: add support for TP-Link TL-WDR3600
...
The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.
[juhosg: remove the custom machine type, change the board name instead]
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 33219
2012-08-22 09:43:18 +00:00
John Crispin
968ac3fd03
add led defintion for the WR2543 5GHz WLAN LED
...
Signed-off-by: Andy Leiserson <andy@leiserson.org>
SVN-Revision: 33215
2012-08-22 09:10:24 +00:00
Gabor Juhos
79a8660d67
ar71xx: init switch hw_reset on the TL-WR1043ND board
...
SVN-Revision: 32944
2012-08-02 09:54:28 +00:00
Gabor Juhos
563400ef10
ar71xx: ew-dorin: added router firmware generation
...
[juhosg: remove dead code]
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>
SVN-Revision: 32934
2012-08-01 12:24:57 +00:00
Gabor Juhos
010aec0619
ar71xx: Buffalo WLAE-AG300N initial support
...
The patch set for Buffalo WLAE-AG300N initial support.
There is another patch for wireless led support that
is posted separately.
Note on serial console:
This unit has buffalo standard 4 pin console, but the unit may not power
on if some console apparatus is connected. This is probably due to some
electronic interaction between the unit's electronic power switch circuit
and the serial console apparatus. If this happens, it is required to power
on the unit without the console, then quickly (re-)attach it.
[juhosg: fix coding style]
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 32931
2012-08-01 12:24:52 +00:00
Gabor Juhos
7c932579fa
ar71xx: make 2.4GHz wlan LED work on the WR2543N
...
Because ath9k does not supports separate LEDs for
different bands yet, the 2.4GHz LED will show the
activity, even if the 5GHz band is selected.
SVN-Revision: 32615
2012-07-05 16:25:26 +00:00
Gabor Juhos
797944d3f1
ar71xx: add support for the OpenMesh OM2P-LC board
...
Patch-by: Marek Linder <marek@open-mesh.com>
SVN-Revision: 32611
2012-07-05 08:26:53 +00:00
Gabor Juhos
d1b237b335
ar71xx: add initial support for the QCA955X SoCs
...
SVN-Revision: 32606
2012-07-05 08:26:47 +00:00
Gabor Juhos
b8618fd3f2
ar71xx: improve MDIO busy wait code
...
SVN-Revision: 32586
2012-07-03 15:24:02 +00:00
Gabor Juhos
86013d40d5
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>
SVN-Revision: 32585
2012-07-03 15:24:01 +00:00
Gabor Juhos
8b9931fd27
ar71xx: add support for the TL-WDR4300 board
...
SVN-Revision: 32459
2012-06-19 11:51:17 +00:00
Gabor Juhos
f509a87f2d
ar71xx: remove superfluous include of asm/mach-ath79/pci.h
...
SVN-Revision: 32455
2012-06-19 10:13:43 +00:00
Gabor Juhos
1a1121158f
ar71xx: add a common function to configure USB power GPIOs
...
SVN-Revision: 32454
2012-06-19 10:13:41 +00:00
Felix Fietkau
26cf21df02
ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
...
SVN-Revision: 32447
2012-06-19 00:22:04 +00:00
Felix Fietkau
dddf321b6e
ar71xx: swap the PHY address of the ethernet port of TL-MR3040/TL-MR11U similar to TL-MR3020 to fix ethernet link detection
...
SVN-Revision: 32336
2012-06-13 12:54:22 +00:00
Felix Fietkau
73b8805e78
ar71xx: fix PHY setup on TL-MR3020 ( fixes #11572 )
...
SVN-Revision: 32093
2012-06-06 17:24:12 +00:00
Felix Fietkau
dc9675282e
ar71xx: add a helper function for setting up PHY4 swapping on ar933x
...
SVN-Revision: 32092
2012-06-06 17:24:09 +00:00
Felix Fietkau
a9cd8446f3
ar71xx: do not override the mdio clock for ar9330. the override value (obtained from an atheros driver) seems to break ethernet functionality
...
SVN-Revision: 31956
2012-05-28 20:39:50 +00:00
Felix Fietkau
367e4b3994
ar71xx: improve rx performance of the ethernet driver by using build_skb to deliver a cache-hot skb to the network stack
...
SVN-Revision: 31934
2012-05-28 02:55:59 +00:00
Felix Fietkau
8039a1bbb2
ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
...
SVN-Revision: 31925
2012-05-27 21:02:41 +00:00
Gabor Juhos
013f434f5b
ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD
...
Patch by Kamil Trzciński <ayufan@osk-net.pl>
SVN-Revision: 31846
2012-05-23 21:05:25 +00:00
Felix Fietkau
a3f2fd187b
ar71xx: remove AG71XX_RX_PKT_RESERVE, it is no longer necessary (found by Eric Dumazet)
...
SVN-Revision: 31736
2012-05-15 10:36:39 +00:00
Felix Fietkau
0ff3c396d3
kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes
...
SVN-Revision: 31637
2012-05-06 21:19:14 +00:00
Gabor Juhos
ab897ab04e
ar71xx: add support for the TP-Link TL-WR1041N v2 board
...
Patch-by: Vince Huang <axishero@foxmail.com>
SVN-Revision: 31608
2012-05-05 17:02:35 +00:00
Gabor Juhos
3e3a4d3d6b
ar71xx: allow to disable link polling on unused PHYs
...
SVN-Revision: 31533
2012-04-29 18:29:24 +00:00
Gabor Juhos
a447f1810c
ar71xx: enable MIB counters in the built-in switch of the AR934x
...
SVN-Revision: 31476
2012-04-25 13:02:11 +00:00
Gabor Juhos
408de85883
ar71xx: use ap91_pci_init for RB751{,G}
...
SVN-Revision: 31356
2012-04-19 21:31:48 +00:00
Gabor Juhos
0a9832b50d
ar71xx: move USB device registration directly into rb751{,g}_setup
...
SVN-Revision: 31355
2012-04-19 21:31:43 +00:00
Gabor Juhos
78967e6640
ar71xx: add ap9x_pci_get_wmac_data helper
...
SVN-Revision: 31354
2012-04-19 21:31:42 +00:00
Gabor Juhos
5c9ca38e47
ar71xx: add sanity checks to decode_rle
...
Also use -EINVAL instead of -1.
SVN-Revision: 31353
2012-04-19 21:31:40 +00:00
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
2012-04-06 06:45:07 +00:00
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
2012-03-27 19:38:17 +00:00
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
2012-03-27 19:38:07 +00:00
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
2012-03-27 19:38:05 +00:00
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
2012-03-27 19:38:04 +00:00
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
2012-03-27 19:38:01 +00:00
Gabor Juhos
f4d1e3d147
ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
...
SVN-Revision: 31102
2012-03-27 19:37:51 +00:00
Gabor Juhos
8a2e4b49de
ar71xx: add initial support for RB750GL
...
SVN-Revision: 31025
2012-03-19 15:57:04 +00:00
Gabor Juhos
d19f3dd512
ar71xx: make rb750_latch_change 'static void'
...
SVN-Revision: 31024
2012-03-19 15:57:03 +00:00
Gabor Juhos
5348f46c80
ar71xx: add latch_change field to rb750_led_platform_data
...
SVN-Revision: 31023
2012-03-19 15:57:01 +00:00
Gabor Juhos
8a471efe01
ar71xx: add platform data for the RB750 NAND driver
...
SVN-Revision: 31022
2012-03-19 15:56:59 +00:00
Gabor Juhos
e9b45ebaba
ar71xx: add AR934x specific interface speed setup for ge0
...
SVN-Revision: 31017
2012-03-19 11:11:20 +00:00
Gabor Juhos
6036151187
ar71xx: add support for the jjPlus JA76PF2 board
...
SVN-Revision: 30957
2012-03-16 18:00:34 +00:00
Gabor Juhos
a680662391
ar71xx: change LED name prefix on the jjplus boards
...
SVN-Revision: 30956
2012-03-16 18:00:26 +00:00
Gabor Juhos
c00b53f3d0
ar71xx: move micrel PHY driver to the generic linux target
...
SVN-Revision: 30946
2012-03-15 09:25:53 +00:00
Gabor Juhos
ff909edf94
ar71xx: ag71xx: fix ARP frame reception on AR934x switch ports
...
SVN-Revision: 30926
2012-03-13 17:29:38 +00:00
Gabor Juhos
cd6a4cde13
ar71xx: ag71xx: start aneg on switch PHYs after reset
...
SVN-Revision: 30925
2012-03-13 17:29:37 +00:00
Gabor Juhos
7c9534cfd7
ar71xx: ag71xx: poll PHY status of all available switch ports
...
SVN-Revision: 30924
2012-03-13 17:29:36 +00:00
Gabor Juhos
8449eecf5f
ar71xx: ag71xx: allow to use port 5 of the AR934x built-in switch
...
SVN-Revision: 30923
2012-03-13 17:29:34 +00:00
Gabor Juhos
1c5ac02a29
ar71xx: reset the switch on AR934x before ethernet device registration
...
SVN-Revision: 30922
2012-03-13 17:29:33 +00:00
Gabor Juhos
66df117d1b
ar71xx: use a dummy callback for interfaces with fixed speed
...
SVN-Revision: 30913
2012-03-12 20:38:58 +00:00
Gabor Juhos
8b2b37ae58
ar71xx: merge ar934x_bo_ddr_flush patch
...
SVN-Revision: 30912
2012-03-12 20:38:57 +00:00
Gabor Juhos
2d89fa7f43
ar71xx: fix WPS button polarity on TL-WR2543N
...
SVN-Revision: 30849
2012-03-07 19:50:53 +00:00
Gabor Juhos
c455a0f7be
ar71xx: ag71xx: fix get_port_link callback
...
SVN-Revision: 30841
2012-03-07 16:32:35 +00:00
Gabor Juhos
5a83b3a5c7
ar71xx: ag71xx: use the generic get_port_link implementation
...
SVN-Revision: 30840
2012-03-07 16:32:34 +00:00
Gabor Juhos
7052847972
ar71xx: ag71xx: keep VLAN tags if VLAN is not enabled
...
SVN-Revision: 30768
2012-03-01 19:49:05 +00:00
Gabor Juhos
766999085a
ar71xx: ag71xx: add BQL support
...
It will be usable only from linux-3.3.
Based on a patch by Dave Taht <dave.taht@bufferbloat.net>
SVN-Revision: 30417
2012-02-10 14:56:47 +00:00
Gabor Juhos
32a18a05f8
ar71xx: add preliminary support for 3.3
...
SVN-Revision: 30410
2012-02-10 11:53:56 +00:00
Gabor Juhos
fe0c7aac66
ar71xx: merge 3.2 fixes
...
SVN-Revision: 30406
2012-02-10 08:19:33 +00:00
Gabor Juhos
d72bde99cd
ar71xx: merge files-3.2 to files
...
SVN-Revision: 30405
2012-02-10 08:19:31 +00:00
Gabor Juhos
d5d37febb4
ar71xx: use dynamically allocated partitions in wrt160nl_part
...
SVN-Revision: 29970
2012-01-31 18:36:51 +00:00
Gabor Juhos
386cbfe45b
ar71xx: move arch specific files to files-2.6.39
...
SVN-Revision: 29867
2012-01-22 22:38:11 +00:00
Gabor Juhos
e7dee3aeed
ar71xx: wrt160nl_part: include module.h and fix compiler warnings
...
SVN-Revision: 29856
2012-01-22 17:55:38 +00:00
Gabor Juhos
a7d344565b
ar71xx: tplinkpart: include module.h
...
SVN-Revision: 29855
2012-01-22 17:55:36 +00:00
Gabor Juhos
6c2638c5e2
ar71xx: rename vsc7385 spi driver
...
SVN-Revision: 29853
2012-01-22 13:51:57 +00:00
Gabor Juhos
bb16739db9
ar71xx: rename ap81 spi driver
...
SVN-Revision: 29852
2012-01-22 13:51:56 +00:00
Gabor Juhos
5ef8b922fa
ar71xx: rename rb4xx spi drivers
...
SVN-Revision: 29851
2012-01-22 13:51:54 +00:00
Gabor Juhos
aad175d5b6
ar71xx: rename the nxp_74hc153 driver
...
SVN-Revision: 29850
2012-01-22 13:51:52 +00:00
Gabor Juhos
ef1c53b7b7
ar71xx: change board id of the UniFi board
...
SVN-Revision: 29849
2012-01-22 13:51:50 +00:00
Gabor Juhos
f90e578903
ar71xx: include linux/module.h in the micrel phy driver
...
SVN-Revision: 29848
2012-01-22 13:51:49 +00:00
Gabor Juhos
fbf81c8e79
ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
...
SVN-Revision: 29713
2012-01-11 18:00:50 +00:00
Gabor Juhos
88d8cdd503
ar71xx: pb44_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
SVN-Revision: 29710
2012-01-11 09:14:18 +00:00
Gabor Juhos
e1b7995aef
ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
...
SVN-Revision: 29709
2012-01-11 09:14:17 +00:00
Gabor Juhos
67444c7795
ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
...
SVN-Revision: 29708
2012-01-11 09:14:15 +00:00
Gabor Juhos
0f566a376c
ar71xx: ar71xx_spi: add shutdown handler
...
This allows to access the flash from a kexec'd kernel.
SVN-Revision: 29707
2012-01-11 09:14:14 +00:00
Gabor Juhos
09a6e3f662
ar71xx: ar71xx_spi: save and restore regs from probe/remove
...
SVN-Revision: 29706
2012-01-11 09:14:13 +00:00
Gabor Juhos
714a9bd641
ar71xx: ar71xx_wdt: add shutdown handler
...
SVN-Revision: 29705
2012-01-11 09:14:11 +00:00
Gabor Juhos
a1dcbc66a6
ar71xx: add initial support for the TL-WR2543N/ND board
...
The WLAN LEDs are not working yet.
SVN-Revision: 29680
2012-01-07 19:36:35 +00:00
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
2012-01-07 17:24:44 +00:00
Gabor Juhos
1e848b17ad
ar71xx: add support for Redwave RW2458N
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 29669
2012-01-06 07:20:59 +00:00
Gabor Juhos
8eb0b7ab3d
ar71xx: fix sections mismatch warnings in the nand drivers
...
SVN-Revision: 29667
2012-01-05 18:08:33 +00:00
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
2012-01-04 21:13:54 +00:00
Gabor Juhos
923f3e3752
ar71xx: allow to use the command line hack on compex devices
...
SVN-Revision: 29659
2012-01-04 17:30:58 +00:00
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
2012-01-04 17:30:57 +00:00
Gabor Juhos
90bfef9ec9
ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
...
SVN-Revision: 29653
2012-01-04 17:30:50 +00:00
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
2012-01-04 17:30:47 +00:00