Commit graph

944 commits

Author SHA1 Message Date
Gabor Juhos
fa9f45f345 ar71xx: fix build error w/o CONFIG_PCI
SVN-Revision: 26606
2011-04-12 13:14:56 +00:00
Gabor Juhos
e193547733 ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
SVN-Revision: 26603
2011-04-12 09:29:21 +00:00
Gabor Juhos
54ede24829 ar71xx: Add support for WZR-HP-G301NH
Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.

While we are at it, also rename the profile to reflect that it now is for
more than one device.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26601
2011-04-12 09:29:10 +00:00
Gabor Juhos
ef4c1d49a6 ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmac
SVN-Revision: 26595
2011-04-11 17:37:08 +00:00
Gabor Juhos
4711dea8ff ar71xx: fix AR934X_WMAC_SIZE
SVN-Revision: 26594
2011-04-11 17:37:03 +00:00
Gabor Juhos
8586e61b00 ar71xx: fix section mismatch
SVN-Revision: 26562
2011-04-09 18:47:55 +00:00
Gabor Juhos
a8bf5e3cdb ar71xx: rename ar934x_ref_freq to ar71xx_ref_freq
Also initialize that for each SoC and print its value along with the
other frequencies.

SVN-Revision: 26561
2011-04-09 18:47:52 +00:00
Gabor Juhos
5573d6eb28 ar71xx: show the SoC type earlier
SVN-Revision: 26560
2011-04-09 18:47:50 +00:00
Gabor Juhos
ab4c3b3a1c ar71xx: cleanup SoC detection code
SVN-Revision: 26559
2011-04-09 18:47:49 +00:00
Gabor Juhos
3310c70702 ar71xx: Fix mac address offset for AR934x
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>

SVN-Revision: 26557
2011-04-09 18:47:42 +00:00
Gabor Juhos
8f889f9250 ar71xx: add DB120 board specific PCI initialization
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26523
2011-04-07 20:53:41 +00:00
Gabor Juhos
a0c3d49064 ar71xx: register WMAC device on the DB120 board
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26522
2011-04-07 20:53:37 +00:00
Gabor Juhos
428888faec ar71xx: add support for the built-in WMAC of the AR934x
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26521
2011-04-07 20:53:34 +00:00
Gabor Juhos
14b42c44ec ar71xx: add initial support for the Atheros DB120 board
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26518
2011-04-07 20:53:19 +00:00
Gabor Juhos
e4555809c7 ar71xx: enable PCI for the AR934[24] SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26515
2011-04-07 20:53:05 +00:00
Gabor Juhos
4f395745af ar71xx: enable USB support for the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26514
2011-04-07 20:53:03 +00:00
Gabor Juhos
25693b4769 ar71xx: enable GPIO support for the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26513
2011-04-07 20:53:00 +00:00
Gabor Juhos
334a5ec36e ar71xx: add AR934x specific glue for ar7100_device{start,stop}
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26512
2011-04-07 20:52:57 +00:00
Gabor Juhos
ccd3ebd309 ar71xx: add AR934x specific UART clock initialization
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26511
2011-04-07 20:52:53 +00:00
Gabor Juhos
91470edada ar71xx: add AR934x specific glue for IRQ initialization
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26510
2011-04-07 20:52:49 +00:00
Gabor Juhos
3b209880bc ar71xx: add initial support for the AR934x SoCs
Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>

SVN-Revision: 26509
2011-04-07 20:52:45 +00:00
Felix Fietkau
98c78c13db ar71xx: enable access to the WAN port PHY on a few devices, adds WAN link detection
SVN-Revision: 26394
2011-04-02 00:47:33 +00:00
Gabor Juhos
8eb616de82 ar71xx: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>

SVN-Revision: 26119
2011-03-13 15:08:31 +00:00
Felix Fietkau
5bddd70a37 Revert "ar71xx: add missing gpio_set_debounce function" - wrong target
SVN-Revision: 25854
2011-03-03 16:21:23 +00:00
Felix Fietkau
57a14f4e15 ar71xx: add missing gpio_set_debounce function
SVN-Revision: 25848
2011-03-03 10:33:35 +00:00
Gabor Juhos
256169cbd0 ar71xx: add rtl8366s initvals for the DIR-825 board
SVN-Revision: 25121
2011-01-26 20:35:47 +00:00
Gabor Juhos
67c3e0bf7e ar71xx: add support for the WNDR3700v2 board
Based on a patch by Mark Mentovai <mark@moxienet.com>

SVN-Revision: 25118
2011-01-26 20:35:42 +00:00
Jo-Philipp Wich
18ed5bca9b fix null pointer access in mach-dir-600-a1.c machine setup (#8671)
SVN-Revision: 25043
2011-01-18 18:04:50 +00:00
Gabor Juhos
b67bbfe287 ar71xx: fix wlan LED on the TL-WR741 board
* Patch from #8630

SVN-Revision: 24963
2011-01-11 08:20:47 +00:00
Gabor Juhos
dd53effe15 ar71xx: fix wrong names of the WPS LED/button
Reported-by: Nuno Gonçalves

SVN-Revision: 24961
2011-01-10 18:15:47 +00:00
Gabor Juhos
0de8689b70 ar71xx: use spinlock in ar71xx_device_{start,stop}
SVN-Revision: 24929
2011-01-08 11:28:32 +00:00
Felix Fietkau
6acfae9379 ar71xx: enable ar7240 switch support on the UBNT NanoStation M Fixes broadcast frames on the second ethernet MAC
Signed-off-by: Alexander Couzens <lynxis@c-base.org>

SVN-Revision: 24723
2010-12-19 11:56:42 +00:00
Gabor Juhos
cafe08a1b2 ar71xx: remove stray semicolons
SVN-Revision: 24651
2010-12-17 17:57:20 +00:00
Gabor Juhos
01c76bf128 ar71xx: fix WLAN LEDs on the DIR-825 board
SVN-Revision: 24650
2010-12-17 17:10:21 +00:00
Gabor Juhos
c1d3a23d19 ar71xx: add helper function to setup ath9k LED/GPIO on the AP94 based boards
SVN-Revision: 24649
2010-12-17 17:10:19 +00:00
Gabor Juhos
8390b7dc9b ar71xx: UBNT Secondary MAC address duplicate fix
There is Secondary MAC address duplicate problem with some UBNT
RouterStation and RouterStation Pro HW batches as Primary MAC addresses
are not increased by 2 per device in board data. Fix is to use 'Locally
Administrated bit' for Secondary MAC address instead of increasing
Primary MAC addresses by 1 which could overlap with other device
Primary MAC address.

Signed-off-by: Kestutis Barkauskas<keba@devint.net>

SVN-Revision: 24643
2010-12-17 17:10:01 +00:00
Gabor Juhos
a2a5598c00 ar71xx: add wlan led for the TL-WR941ND
SVN-Revision: 24612
2010-12-15 19:55:50 +00:00
Gabor Juhos
e421d2575f ar71xx: UBNT M-Series MAC address fix
UBNT M-Series devices have 2 MAC addresses in board data.
Fix is to use both entries from board data instead of one entry.

Signed-off-by: Kestutis Barkauskas<keba@devint.net>

SVN-Revision: 24611
2010-12-15 19:55:47 +00:00
Gabor Juhos
6c1ace2f28 ar71xx: init the LED pin for ath9k on the TL-MR3[24]20 boards
SVN-Revision: 24569
2010-12-14 18:01:04 +00:00
Gabor Juhos
a7750dae90 ar71xx: add helper function to setup LED pin and GPIO on the AP91 based boards
SVN-Revision: 24568
2010-12-14 18:01:00 +00:00
Gabor Juhos
9f38f9bf76 ar71xx: add missing files for the JA76PF board
SVN-Revision: 24444
2010-12-10 19:55:28 +00:00
Gabor Juhos
b680f088ba ar71xx: add support for the jjPlus JA79PF
Patch-by: Cezary Jackiewicz

SVN-Revision: 24440
2010-12-10 17:57:51 +00:00
Gabor Juhos
5b0c83edd9 ar71xx: add support for the TP-LINK TL-MR3220 v1 board
SVN-Revision: 24439
2010-12-10 17:57:48 +00:00
Felix Fietkau
8067f3f3cc ar71xx: work around a PCI controller bug which causes reads to the PCI_COMMAND register to return bogus values - properly fixes ath9k module reload issues
SVN-Revision: 24236
2010-12-04 01:32:15 +00:00
Gabor Juhos
9971dfe059 ar71xx: D-Link DIR-825 B1 eth1 MAC address is garbage
r22700 contained a copy-and-paste error that set eth0's MAC address
twice and never set eth1's.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 24036
2010-11-19 07:24:00 +00:00
Gabor Juhos
f4d5c885e4 ar71xx: return statements does not need parenthesis
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23979
2010-11-12 18:51:38 +00:00
Gabor Juhos
e244e1c7cd ar71xx: fix inline attribute location
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23978
2010-11-12 18:51:21 +00:00
Gabor Juhos
acd8ad4de5 ar71xx: wrap long lines
(build errors has been fixed - juhosg)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23977
2010-11-12 18:51:04 +00:00
Gabor Juhos
eef802855a ar71xx: fix trailing statements location
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23976
2010-11-12 18:50:47 +00:00
Gabor Juhos
500fac1735 ar71xx: fix whitespaces nits
(build error has been fixed - juhosg)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

SVN-Revision: 23975
2010-11-12 18:50:29 +00:00
Claudio Mignanti
20b2a4417a Add support for Ubiquiti UniFi AP
SVN-Revision: 23904
2010-11-06 21:08:48 +00:00
Felix Fietkau
91b6c63adc ar71xx: Set eth1 MAC address from EEPROM for WNDR3700
The WNDR3700's art/caldata partition contains three MAC addresses at
offsets 0, 6, and 12, used for eth0/wlan0 (shared), eth1, and wlan1,
respectively. The existing code configures eth1's MAC address by adding
1 to eth0's instead of using the value stored in the EEPROM. This patch
causes the stored value to be used directly. (On my WNDR3700s, the three
stored addresses are all sequential anyway.)

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 23876
2010-11-04 18:46:07 +00:00
Felix Fietkau
fc28e1cd7d ar71xx: fix the wndr3700 antenna group setting for the first wireless chip (thx, Mark Mentovai)
SVN-Revision: 23875
2010-11-04 18:39:49 +00:00
Felix Fietkau
b4e2c09b46 ar71xx: improve the wndr3700 quirks - move most of the code out of ath9k and instead allow the platform device to specify gpio overrides - fixes 5ghz signal strength issues
SVN-Revision: 23822
2010-11-03 14:55:53 +00:00
Felix Fietkau
9e2d1a194d ar71xx: use the new ar7240 switch driver for tl-wa901nd as well
SVN-Revision: 23576
2010-10-21 18:42:22 +00:00
Jo-Philipp Wich
a680385396 remove remaining references to dev-ap91-eth.h, patch by Stijn Tintel
SVN-Revision: 23451
2010-10-14 23:08:10 +00:00
Felix Fietkau
fc035b3cb6 ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
SVN-Revision: 23439
2010-10-14 13:41:42 +00:00
Felix Fietkau
3941621dbc ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well (fixes #7563)
SVN-Revision: 23432
2010-10-14 00:14:59 +00:00
Gabor Juhos
697f5d0bdd ar71xx: initial support for jjPlus JWAP003
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>

(the GPIODEV code has been removed, the sysfs interface
can be used to control the GPIO lines instead - juhosg)

SVN-Revision: 23165
2010-10-01 07:09:29 +00:00
Felix Fietkau
8511c6b16c AP96: Fix LAN/WAN setup
LAN (eth0) is behind a switch and the fixed speed/duplex was
supposed to be for it, not WAN (eth1).

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>

SVN-Revision: 23147
2010-09-28 22:55:14 +00:00
Gabor Juhos
32d12d5e5c ar71xx: add support for the TL-MR3420 v1 board
SVN-Revision: 23136
2010-09-27 14:53:59 +00:00
Gabor Juhos
b831ebdde9 ar71xx: AR724[12] requires different USB setup
SVN-Revision: 23135
2010-09-27 14:53:57 +00:00
Gabor Juhos
cda8655910 ar71xx: use the MDIO interface of the 2nd MAC on the ar7241
SVN-Revision: 23132
2010-09-27 14:53:49 +00:00
Gabor Juhos
b445943cdf ar71xx: move ath9k specific PCI fixup into a separate file
SVN-Revision: 23131
2010-09-27 14:53:46 +00:00
Gabor Juhos
4ae167959b ar71xx: use different address in ap91_pci_fixup for the AR724[012] SoCs
With this change ath9k can handle the wireless chip on the TL-WR841N v7
board which is based on the AR7241 SoC.

SVN-Revision: 23130
2010-09-27 14:53:43 +00:00
Felix Fietkau
a7bb7dd99e Add support for Atheros AP96 reference board
This is still preliminary and not really tested much. Anyway, this
version seems to be enough to get both wired and wireless
interfaces working. Buttons and leds are also working.

mach-ap96.c is based on mach-wndr3700.c.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>

SVN-Revision: 23125
2010-09-27 08:59:53 +00:00
Felix Fietkau
0c6653c6e2 ar71xx: select AR71XX_DEV_DSA when AR71XX_DEV_AP91_ETH is selected, do not select AR71XX_DEV_AP91_ETH for TL-WA901ND and TL-WR741ND
SVN-Revision: 22935
2010-09-05 16:17:06 +00:00
Gabor Juhos
b4336a8e2d ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boards
SVN-Revision: 22882
2010-09-03 18:14:37 +00:00
Gabor Juhos
47f8fd1dde ar71xx: rewrite SPI drivers for the RB4xx boards
* add a new SPI controller driver
  * add SPI driver for the CPLD chip
  * convert the NAND driver
  * enable the mikroSD slot
  * enable more LEDs

SVN-Revision: 22863
2010-08-31 20:13:47 +00:00
Gabor Juhos
7bc5a672c1 ar71xx: change mac address initialization
SVN-Revision: 22700
2010-08-18 16:00:28 +00:00
Felix Fietkau
523fcf0497 ar71xx: add a new driver for the ar7240 switch using swconfig. hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested fixes #7563
SVN-Revision: 22675
2010-08-16 19:21:57 +00:00
Felix Fietkau
65899cfa49 ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these values have been wrong on every single device i've tested, falling back to the atheros values seems to be the right thing to do
SVN-Revision: 22401
2010-07-27 21:04:43 +00:00
Felix Fietkau
900aaa919b ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528, without the ethernet fifo cfg values)
SVN-Revision: 22353
2010-07-22 12:37:44 +00:00
Felix Fietkau
bced5d7d74 ar71xx: set default values for the fifo cfg registers on AR724x
SVN-Revision: 22303
2010-07-20 01:54:11 +00:00
Gabor Juhos
95e09cccd8 ar71xx: in-flash macs and eeprom for mach-eap7660d
This adds in-flash mac-addresses and calibration data for the Senao
EAP7660D board.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 22187
2010-07-15 07:36:52 +00:00
Gabor Juhos
7bff9c0101 ar71xx: add support for the Senao EAP7660D board
This patch adds support for the Senao EAP7660D board to trunk.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 21837
2010-06-18 16:22:05 +00:00
Gabor Juhos
08c2e29018 ar71xx: avoid duplicated 'board' parameter in kernel command line
SVN-Revision: 21805
2010-06-14 20:02:44 +00:00
Gabor Juhos
9789f0215a ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
SVN-Revision: 21764
2010-06-12 13:20:39 +00:00
Gabor Juhos
adb0a95df1 ar71xx: fix phy_mask for the RB450
SVN-Revision: 21743
2010-06-09 19:48:35 +00:00
Gabor Juhos
d55ebf3a8a ar71xx: fix phy_mask on the RB433 for the IP17xx driver
SVN-Revision: 21728
2010-06-08 20:19:18 +00:00
Gabor Juhos
90e2b1ad6b ar71xx: fix 2.6.34 build errors
SVN-Revision: 21698
2010-06-07 09:18:13 +00:00
Gabor Juhos
115f845e53 ar71xx: fix nbg460n mtd partitions
This fixes the NBG460N/550N/550NH mtd partitions.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>

SVN-Revision: 21443
2010-05-14 08:37:58 +00:00
Gabor Juhos
fca9b7ebad ar71xx: remove config partition from the mtd map on the MZK-W300NH board
This space can be used to extend the rootfs_data partition.

SVN-Revision: 21173
2010-04-26 18:28:04 +00:00
Gabor Juhos
77b2354fcd ar71xx: fix firmware partition size on the MZK-W04NU board
SVN-Revision: 21172
2010-04-26 18:28:01 +00:00
Felix Fietkau
9848d38aed ar71xx: fix a wifi card stability issue
when we receive a pci/ahb interrupt, we need to flush pending data for dma
from the device, otherwise the tx path may get stuck if the completion flag
of the dma descriptor is not updated at the time the tx interrupt arrives.

SVN-Revision: 21143
2010-04-24 17:24:11 +00:00
Gabor Juhos
10ed3b23a6 ar71xx: reduce button threshold value on the NBG460 board
SVN-Revision: 21076
2010-04-21 19:07:23 +00:00
Gabor Juhos
9933d34770 ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
SVN-Revision: 21075
2010-04-21 19:07:19 +00:00
Gabor Juhos
693ea524c1 ar71xx: adding support for zyxel nbg460n/550n/550nh boards
This patch adds support for the zyxel nbg460n/550n/550nh routers.
Currently this only works if a second stage bootloader is also flashed,
as the used switch needs extra initialization.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>

SVN-Revision: 20990
2010-04-18 16:24:12 +00:00
Gabor Juhos
dd7304ec6d ar71xx: update phy masks for the Planex boards
This avoids probing of the AR8216 chip on the eth0 interface.

Cc: backfire@openwrt.org

SVN-Revision: 20754
2010-04-09 08:40:14 +00:00
Gabor Juhos
d6c0363884 ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
Cc: backfire@openwrt.org

SVN-Revision: 20752
2010-04-09 08:40:09 +00:00
Felix Fietkau
df463abb18 ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
SVN-Revision: 20725
2010-04-06 00:12:50 +00:00
Jo-Philipp Wich
23bebe33a7 Add support for the ar8316 switch. This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices.
[PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.
Add the ar8216 driver to the ar71xx target, and add network
configurations for the RouterStation Pro and the RouterBoard RB-450G.

SVN-Revision: 20722
2010-04-05 23:03:16 +00:00
Felix Fietkau
7983e442e1 ar71xx: fix pci on ar7241/ar7242
SVN-Revision: 20530
2010-03-28 00:36:37 +00:00
Felix Fietkau
9c0f21a5b9 ar71xx: fix the wan port on pb92
SVN-Revision: 20529
2010-03-28 00:36:04 +00:00
Felix Fietkau
2cc215f121 ar71xx: reset the mdio bus on ar7241/ar7242
SVN-Revision: 20528
2010-03-28 00:35:44 +00:00
Felix Fietkau
0b6e32a7b0 ar71xx: add basic kernel support for pb92
SVN-Revision: 20495
2010-03-26 22:35:52 +00:00
Felix Fietkau
aa3ff31b95 ar71xx: add support for ar7241 and ar7242
SVN-Revision: 20494
2010-03-26 22:35:41 +00:00
Felix Fietkau
4e10c56551 ar71xx: fix pci link detection for ar724x
SVN-Revision: 20493
2010-03-26 22:35:27 +00:00
Andy Boyett
681054333e wrt400n: lan ports don't need the ar8216 workaround
SVN-Revision: 20491
2010-03-26 19:09:11 +00:00
Gabor Juhos
120b1d8699 ar71xx: use the RB411 setup for the RB411U
SVN-Revision: 20359
2010-03-21 18:16:24 +00:00
Gabor Juhos
9a1031ce6d ar71xx: change PHY select logic, and update phy_masks
SVN-Revision: 20358
2010-03-21 18:16:07 +00:00
Gabor Juhos
18aa68d368 ar71xx: check returned value of ioremap in ar71xx_pcibios_setup
SVN-Revision: 20288
2010-03-18 19:19:19 +00:00
Gabor Juhos
73f7a1c224 ar71xx: optimize register access in ar71xx_pci.c
SVN-Revision: 20287
2010-03-18 19:19:16 +00:00
Gabor Juhos
1dedaf30a6 ar71xx: optimize register access in irq.c
SVN-Revision: 20286
2010-03-18 19:19:13 +00:00
Gabor Juhos
2438a03ce4 ar71xx: optimize register access in ar724x_pci.c
SVN-Revision: 20285
2010-03-18 19:19:10 +00:00
Gabor Juhos
d02975eb0d ar71xx: introduce global ar724x_pci_ctrl_base variable
SVN-Revision: 20284
2010-03-18 19:19:07 +00:00
Gabor Juhos
b051a3b784 ar71xx: add error handling to ar724x_pcibios_init
SVN-Revision: 20283
2010-03-18 19:19:03 +00:00
Gabor Juhos
695e989c6f ar71xx: move ar724x_pci_* helpers to ar724x-pci.c
SVN-Revision: 20282
2010-03-18 19:18:58 +00:00
Gabor Juhos
5f109ef2f3 ar71xx: move PCI intterupt handling code to pci-ar7{1xx,24x}.c
SVN-Revision: 20281
2010-03-18 19:18:54 +00:00
Gabor Juhos
4d32460353 ar71xx: use set_irq_chained_handler for the PCI IRQs
SVN-Revision: 20280
2010-03-18 19:18:50 +00:00
Gabor Juhos
1b8137eefc ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2
SVN-Revision: 20279
2010-03-18 19:18:46 +00:00
Gabor Juhos
58911deda5 ar71xx: remove unnecessary includes from setup.c
SVN-Revision: 20278
2010-03-18 19:18:41 +00:00
Gabor Juhos
ca49e09c9a ar71xx: fix ar724x_pci_wr{,_nf} helpers
SVN-Revision: 20277
2010-03-18 19:18:36 +00:00
Gabor Juhos
d350e4cf40 ar71xx: fix semantics error in the __ar71xx_gpio_get_value function.
* Thanks to Pascal Dornier

SVN-Revision: 20247
2010-03-16 19:53:25 +00:00
Gabor Juhos
74556519e3 ar71xx: optimize GPIO code
SVN-Revision: 20242
2010-03-16 14:02:31 +00:00
Felix Fietkau
0849a208ce ar71xx: fix oprofile support
SVN-Revision: 20150
2010-03-11 18:48:57 +00:00
Gabor Juhos
b21308313e ar71xx: override lan port names on the RB750
SVN-Revision: 20096
2010-03-09 18:05:48 +00:00
Gabor Juhos
45ff7289fe ar71xx: allow overriding of the lan port names on AP91 based boards
SVN-Revision: 20095
2010-03-09 18:05:45 +00:00
Gabor Juhos
d58a367083 ar71xx: add NAND driver for the RB750
SVN-Revision: 20054
2010-03-08 12:10:23 +00:00
Gabor Juhos
6c1be20c2a ar71xx: add ar71xx_gpio_function_setup
SVN-Revision: 20053
2010-03-08 12:10:14 +00:00
Gabor Juhos
6600fab893 ar71xx: add LED driver for the RB750
SVN-Revision: 20051
2010-03-08 12:10:01 +00:00
Gabor Juhos
a1a9727fbf ar71xx: add latch handling code for the RB750
SVN-Revision: 20050
2010-03-08 12:09:49 +00:00
Gabor Juhos
5e8c8818ed ar71xx: add preliminary support for the RouterBOARD 750
SVN-Revision: 20029
2010-03-07 05:41:01 +00:00
Gabor Juhos
10ad4ea96c ar71xx: rename mach-rb-4xx.c to mach-rb4xx.c, and change Kconfig symbol
SVN-Revision: 20027
2010-03-07 05:40:56 +00:00
Gabor Juhos
97c35a7dde ar71xx: don't init PCI irqs on the AR7240 if the PCIe subsystem are in reset
SVN-Revision: 20007
2010-03-05 20:29:29 +00:00
Gabor Juhos
347c5bc7fc ar71xx: use COMMAND_LINE_SIZE
SVN-Revision: 19947
2010-03-02 13:36:04 +00:00
Gabor Juhos
b41c276df4 ar71xx: register DSA switch for the AP91 based boards
SVN-Revision: 19928
2010-03-01 07:34:43 +00:00
Gabor Juhos
30a2da99a1 ar71xx: register RTL8366RB switch on the TL-WR1043NB board
Thanks to Andrew Tarabaras.

SVN-Revision: 19839
2010-02-24 13:39:18 +00:00
Gabor Juhos
f771c35033 ar71xx: fix pll value for the eth0 interface on the TL-WR1043ND board
Thanks to Andrew Tarabaras

SVN-Revision: 19835
2010-02-24 13:38:51 +00:00
Gabor Juhos
f68a1d0a63 ar71xx: fix mac addresses on the DIR-600 rev. A1 board
SVN-Revision: 19752
2010-02-19 11:52:42 +00:00
Gabor Juhos
f792c3647e ar71xx: fix wireless mac address on the TL-WR741ND
SVN-Revision: 19751
2010-02-19 11:52:39 +00:00
Gabor Juhos
ccbfcba859 ar71xx: move AP91 specific ethernet initialization into a separate file
SVN-Revision: 19750
2010-02-19 11:52:36 +00:00
Gabor Juhos
da5cacba76 ar71xx: add missing GPIO LED for the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>

SVN-Revision: 19744
2010-02-19 11:52:19 +00:00
Gabor Juhos
b00fe580ed ar71xx: fix polarity of GPIO buttons on the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>

SVN-Revision: 19743
2010-02-19 11:52:15 +00:00
Gabor Juhos
0017e832cc ar71xx: fix WLAN mac address on the TL-WR1043ND
SVN-Revision: 19573
2010-02-10 20:01:20 +00:00
Gabor Juhos
0cbc5f678d ar71xx/mac80211: add a workaround for the bad signal strength on the WNDR3700
SVN-Revision: 19565
2010-02-09 16:27:35 +00:00
Gabor Juhos
20df2bf825 ar71xx: merge generic machine code into setup.c
SVN-Revision: 19325
2010-01-25 14:24:48 +00:00
Gabor Juhos
2b5ba9073f rtl8366_smi: move RTL8366S driver into a separate file
SVN-Revision: 19279
2010-01-22 17:38:07 +00:00
Gabor Juhos
71d0a7a7bf ar71xx: fix ethernet mac address on the WZR-HP-G300NH
SVN-Revision: 19216
2010-01-18 09:01:44 +00:00
Gabor Juhos
3789aa82ac ar71xx: fix phy interface selection for the RB-450G
Patch from: https://forum.openwrt.org/viewtopic.php?pid=95865#p95865

SVN-Revision: 19185
2010-01-17 14:33:26 +00:00
Gabor Juhos
e02f1581d0 Fix Routerboard 411ar on board wireless
This patch adds the appropriate interrupt for slot 0 pin 1 of the Routerboard 411ar (RB411 with on board Atheros wireless).

Signed-off-by: Andrew Bates abates@omeganetserv.com

SVN-Revision: 19184
2010-01-17 14:33:23 +00:00
Gabor Juhos
cb80426641 ar71xx: add preliminary support for the Buffalo WZR-HP-G300NH
SVN-Revision: 19150
2010-01-15 12:08:03 +00:00
Gabor Juhos
3dc1073b53 ar71xx: reduce button threshold values
SVN-Revision: 19116
2010-01-13 10:18:30 +00:00
Gabor Juhos
58301cdeb8 ar71xx: add support for the D-Link DIR-600 rev. A1 board
SVN-Revision: 19100
2010-01-11 08:02:10 +00:00
Gabor Juhos
a37ae4f128 ar71xx: add missing flash partition for the DIR-825
SVN-Revision: 19075
2010-01-08 13:35:25 +00:00
Gabor Juhos
d2ff313775 ar71xx: don't include nvram.h for the WRT400N
SVN-Revision: 19055
2010-01-06 15:24:04 +00:00
Gabor Juhos
de6bbad010 ar71xx: init PCI on the WRT400N board (thanks to Ben Pfountz for testing)
SVN-Revision: 19047
2010-01-05 20:12:12 +00:00
Gabor Juhos
953ff0cf43 ar71xx: fix bi-color QSS LED on the TL-WR941ND v2 board
SVN-Revision: 18988
2010-01-01 19:40:04 +00:00
Gabor Juhos
f8b7b8ee41 ar71xx: update mips multi-machine stuff
SVN-Revision: 18985
2010-01-01 11:28:19 +00:00
Gabor Juhos
1a32a435f4 ar71xx: select AR71XX_NVRAM for the WRT160NL
SVN-Revision: 18984
2010-01-01 11:11:43 +00:00
Gabor Juhos
9649acf7c6 ar71xx: fix wireless mac address on the WRT160NL
SVN-Revision: 18976
2009-12-31 12:42:53 +00:00
Gabor Juhos
858ea76117 ar71xx: fix random wireless mac address on the TEW-632BRP/DIR-615 boards
SVN-Revision: 18951
2009-12-27 20:59:54 +00:00
Gabor Juhos
86a8480788 ar71xx: pass eeprom and mac address location to the ar913x_add_device_wmac function
SVN-Revision: 18950
2009-12-27 20:59:50 +00:00
Gabor Juhos
828221c683 ar71xx: remove duplicated include
SVN-Revision: 18949
2009-12-27 20:59:46 +00:00
Gabor Juhos
761e67f9ff ar71xx: move dsa switch device support into a separate file
SVN-Revision: 18943
2009-12-26 14:19:26 +00:00
Gabor Juhos
bea984e187 ar71xx: move mach type definitions into a separate include file
SVN-Revision: 18942
2009-12-26 14:19:22 +00:00
Gabor Juhos
b7ee264d5f ar71xx: change board specific Kconfig option to 'default n'
SVN-Revision: 18941
2009-12-26 14:19:17 +00:00
Gabor Juhos
6ee4aa34ed ar71xx: move USB host device support into a separate file
SVN-Revision: 18940
2009-12-26 14:19:13 +00:00
Gabor Juhos
a93033d354 ar71xx: remove more unnecessary includes
SVN-Revision: 18939
2009-12-26 14:19:08 +00:00
Gabor Juhos
991a8d4398 ar71xx: use the generic m25p80 registration code for the MZK-W04NU
SVN-Revision: 18938
2009-12-26 14:19:05 +00:00
Gabor Juhos
c0993046d6 ar71xx: move gpio-buttons support into a spearate file
SVN-Revision: 18937
2009-12-26 14:19:01 +00:00
Gabor Juhos
3687b4fb26 ar71xx: move leds-gpio device support into a spearate file
SVN-Revision: 18936
2009-12-26 14:18:54 +00:00
Gabor Juhos
eb15b88af2 ar71xx: move PB42 specific PCI init code into a separate file
SVN-Revision: 18932
2009-12-25 13:09:04 +00:00
Gabor Juhos
7cf529c357 ar71xx: remove unnecessary includes
SVN-Revision: 18931
2009-12-25 13:09:00 +00:00
Gabor Juhos
40219e9bf4 ar71xx: fix bi-color led on the TL-WR841N v1.5
SVN-Revision: 18926
2009-12-25 10:06:25 +00:00
Gabor Juhos
cace9f4566 ar71xx: add support for the TL-WR841N v1.5 board
SVN-Revision: 18893
2009-12-22 19:31:28 +00:00
Gabor Juhos
bb9123ebbe ar71xx: update AR7240 PCI code
SVN-Revision: 18860
2009-12-20 13:46:23 +00:00
Gabor Juhos
6fcb5f6294 ar71xx: Fix LED active_low for the TL-WR1043ND board
This fixes the LED active_low's for the TP-Link wr1043nd board

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>

SVN-Revision: 18844
2009-12-19 07:35:49 +00:00
Gabor Juhos
17ee33ebb9 tl-wr1043nd: Register missing leds.
This adds the folowing for the TP-Link wr1043nd board
1. USB and WLAN LEDS
2. Change QSS LED from red to green
3. Fix polarity of the System LED

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>

SVN-Revision: 18821
2009-12-18 12:57:12 +00:00
Gabor Juhos
a733e30bf6 ar71xx: ar913x_wmac device support into a separate file
SVN-Revision: 18820
2009-12-18 12:57:09 +00:00
Gabor Juhos
70d31d46a8 ar71xx: move AP94 specific PCI init code into a separate file
SVN-Revision: 18819
2009-12-18 12:57:05 +00:00
Gabor Juhos
1f114b0dbd ar71xx: separate DIR-615 rev. C1 support from the TEW-632 (based on the patch from #6186)
SVN-Revision: 18818
2009-12-18 12:57:01 +00:00
Gabor Juhos
e190743d25 ar71xx: add common m25p80 device
SVN-Revision: 18817
2009-12-18 12:56:55 +00:00
Gabor Juhos
4734a69891 ar71xx: add driver for the USB LED on the WNDR3700
SVN-Revision: 18758
2009-12-11 20:32:31 +00:00
Gabor Juhos
de8bfcaf38 ar71xx: add ar71xx_device_stopped function
SVN-Revision: 18757
2009-12-11 20:32:28 +00:00
Gabor Juhos
1156a9ac0c ar71xx: merge DSA switch patch
SVN-Revision: 18752
2009-12-11 16:41:51 +00:00
Gabor Juhos
2b988fa855 ar71xx: register rtl8366-smi device on the DIR-825 B1 board
SVN-Revision: 18710
2009-12-09 08:03:31 +00:00
Felix Fietkau
2bff4bf4e5 rtl8306: manage the wan port as a separate phy device with proper link status reading and autonegotiation - the genphy driver does not handle it properly
SVN-Revision: 18709
2009-12-09 03:25:33 +00:00
Felix Fietkau
ddc2e2270b ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the wrt160nl, fixes wan port detection (#6309)
SVN-Revision: 18699
2009-12-08 14:06:18 +00:00
Gabor Juhos
7d8a1bf239 ar71xx: TL-WR1043ND support cleanup
SVN-Revision: 18697
2009-12-08 12:46:30 +00:00
Gabor Juhos
b12d752a63 ar71xx: preliminary support for the TL-WR1043ND
Adds board support for the TP-Link TL-WR1043ND Based on the Atheros AP81 platform.
Presently the RTL8366RB switch support is missing due to no driver.
The ethernet works with 5 ports@1Gbit but is missing vlan support.

Hope Ive done this right, First time submiting a patch.

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>

SVN-Revision: 18696
2009-12-08 12:46:25 +00:00
Gabor Juhos
63d8f159db ar71xx: register rtl8366_smi device on the WNDR3700
SVN-Revision: 18695
2009-12-08 10:29:37 +00:00
Gabor Juhos
18867965f7 ar71xx: add support for external mii_bus
SVN-Revision: 18692
2009-12-08 10:29:27 +00:00
Gabor Juhos
f065bbdf7f ar71xx: DIR-825 support cleanup
SVN-Revision: 18622
2009-12-03 15:07:41 +00:00
Gabor Juhos
e4d21e0399 ar71xx: add support for the D-Link DIR-825 rev. B1 board (thanks to ValXdater)
SVN-Revision: 18621
2009-12-03 15:07:34 +00:00
Gabor Juhos
35dbf66787 ar71xx: override fifo_cfg[123] values on AR7240
SVN-Revision: 18614
2009-11-30 13:53:39 +00:00
Felix Fietkau
896090973f ar71xx: add usb support for ubnt rocket m
SVN-Revision: 18598
2009-11-29 13:33:15 +00:00
Gabor Juhos
cfe5a8b593 ar71xx: fix mac address for 5GHz interface on WNDR3700
SVN-Revision: 18586
2009-11-28 18:01:09 +00:00
Gabor Juhos
971fcf9943 ar71xx: add PCI fixup for the WNDR3700 board
SVN-Revision: 18565
2009-11-27 21:21:21 +00:00
Gabor Juhos
f662714bba ar71xx: fix pll_1000 values for the WNDR3700
SVN-Revision: 18564
2009-11-27 21:21:17 +00:00
Gabor Juhos
5e89cb5d31 ar71xx: add AR724x GPIO_FUNC register bit defines
SVN-Revision: 18561
2009-11-27 21:21:06 +00:00
Gabor Juhos
b1e79f5d0f ar71xx: fix AR724X_GPIO_COUNT
SVN-Revision: 18560
2009-11-27 21:21:01 +00:00
Gabor Juhos
42d014bce4 ar71xx: add AR724x register defines
SVN-Revision: 18559
2009-11-27 21:20:54 +00:00
Felix Fietkau
0c687044b2 ar71xx: use a separate board id for rocket m
SVN-Revision: 18450
2009-11-18 18:10:33 +00:00
Matteo Croce
8bb3f7cbe5 ar71xx: add Ubiquiti Rocket M and Nanostation M support
SVN-Revision: 18447
2009-11-18 17:05:42 +00:00
Gabor Juhos
b7692e73c6 ar71xx: setup platform data for ath9k on the TL-WR741ND, Bullet M and on the WNDR3700 boards
SVN-Revision: 18437
2009-11-16 17:31:32 +00:00
Gabor Juhos
a12a03de8d ar71xx: register LEDs and buttons on the WNDR3700
Thanks to aorlinks (https://forum.openwrt.org/viewtopic.php?pid=97415#p97415)

SVN-Revision: 18435
2009-11-16 17:31:25 +00:00
Gabor Juhos
2f5d0b63d4 ar71xx: use __init for ar{71,91}xx_usb_setup
SVN-Revision: 18434
2009-11-16 17:31:22 +00:00
Gabor Juhos
5ab66428b0 ar71xx: add preliminary support for the Netgear WNDR3700
Based on patches by Marco Porsch from:
https://forum.openwrt.org/viewtopic.php?id=22311

SVN-Revision: 18411
2009-11-13 17:11:29 +00:00
Gabor Juhos
21fc9ffe63 ar71xx: use soc specific divider for mdio clock
SVN-Revision: 18225
2009-10-30 12:26:22 +00:00
Gabor Juhos
891a351b39 ar71xx: Compex WPJ543 board is supported as well
SVN-Revision: 18100
2009-10-20 12:59:42 +00:00
Gabor Juhos
053e9ab067 ar71xx: fix PCI IRQ map of the WP543
SVN-Revision: 18099
2009-10-20 12:59:39 +00:00
Gabor Juhos
b1cd54b6b9 ar71xx: reset the phy chip along with the ethernet mac on the WP543 board
SVN-Revision: 18072
2009-10-19 08:07:32 +00:00
Gabor Juhos
ebaa6a2fab ar71xx: reset the ethernet device before registration
SVN-Revision: 18071
2009-10-19 08:07:29 +00:00
Gabor Juhos
399aeeed70 ar71xx: initialize PCI controller on the Bullet M
SVN-Revision: 17812
2009-10-01 19:41:11 +00:00
Gabor Juhos
d2c055526c ar71xx: init ethernet mac address on the Bullet M
SVN-Revision: 17811
2009-10-01 19:41:08 +00:00
Gabor Juhos
fa59c65847 ar71xx: register GPIO button on the Bullet M
SVN-Revision: 17809
2009-10-01 19:41:03 +00:00
Gabor Juhos
5aae65b58c ar71xx: add PCI Host Controller fixup for ar724x
SVN-Revision: 17808
2009-10-01 19:41:00 +00:00
Gabor Juhos
0757fee42d ar71xx: use ar71xx_pci_fixup on ar71xx SoCs only
SVN-Revision: 17807
2009-10-01 19:40:57 +00:00
Gabor Juhos
2e09669095 ar71xx: fix a typo in the ar724x PCI code
SVN-Revision: 17806
2009-10-01 19:40:51 +00:00
Gabor Juhos
0eba7ba4ff ar71xx: don't use mac_base2 in the ag71xx driver
SVN-Revision: 17693
2009-09-23 17:44:02 +00:00
Matteo Croce
41ab4d3021 ar71xx: preliminary Ubiquiti Bullet M support
SVN-Revision: 17586
2009-09-15 09:16:21 +00:00
Gabor Juhos
967cc718f8 ar71xx: rewrite prom code (based on a patch by Jeff Hansen)
SVN-Revision: 17566
2009-09-10 18:30:12 +00:00
Gabor Juhos
376fba2698 ar71xx: add preliminary support for the RB-411U (thanks to Feher Zoltan for testing)
SVN-Revision: 17543
2009-09-08 19:16:15 +00:00
Gabor Juhos
582b8ba168 move early_printk stuff into a separate file
SVN-Revision: 17403
2009-08-26 07:31:04 +00:00
Gabor Juhos
4c8aa29833 remove AR71XX_EARLY_SERIAL stuff
SVN-Revision: 17400
2009-08-25 17:13:12 +00:00
Gabor Juhos
dd48a43550 WRT160NL: add default trigger for the power led
SVN-Revision: 17203
2009-08-09 14:13:26 +00:00
Gabor Juhos
0c2142d309 WRT160NL: register GPIO LEDs and buttons
SVN-Revision: 17166
2009-08-07 17:33:02 +00:00
Gabor Juhos
66f839ac67 oops, add missing semicolons
SVN-Revision: 17142
2009-08-06 09:42:29 +00:00
Gabor Juhos
e632633c5d get rid of some ifdefs in the IRQ code
SVN-Revision: 17141
2009-08-06 09:32:15 +00:00
Gabor Juhos
116576b3ba fix MISC IRQ handling on the AR7240
SVN-Revision: 17098
2009-08-02 13:27:43 +00:00
Gabor Juhos
5ab3bcc27f add ethernet suppor for the WRT160NL (thanks to Christian Daniel)
SVN-Revision: 17057
2009-07-31 07:01:26 +00:00
Gabor Juhos
a21bf40453 increase size of the kernel partition on the TL-WR[789]41N boards
SVN-Revision: 16785
2009-07-11 17:20:46 +00:00
Gabor Juhos
abd419a7df increase size of the kernel partition on the TEW-632BR board
SVN-Revision: 16784
2009-07-11 17:15:30 +00:00
Gabor Juhos
2dc230d260 register the VSC7395 device on the PB44 board
SVN-Revision: 16783
2009-07-11 16:27:54 +00:00
Gabor Juhos
218298becf use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
SVN-Revision: 16780
2009-07-11 14:59:31 +00:00
Gabor Juhos
a38d9256a7 add board setup code for the RB-450G/RB-433UAH boards * based on a patch from http://forum.openwrt.org/viewtopic.php?pid=91127#p91127
SVN-Revision: 16754
2009-07-09 19:46:41 +00:00
Gabor Juhos
b8a97ca5c5 register a GPIO LEDs and buttons on the PB44 board
SVN-Revision: 16748
2009-07-09 06:58:38 +00:00
Gabor Juhos
eca1b1ac07 register a I2C GPIO expander on the PB44 board
SVN-Revision: 16747
2009-07-09 06:57:44 +00:00
Gabor Juhos
2614fcb2f3 add initial support for the TL-WR741ND board
SVN-Revision: 16739
2009-07-07 19:20:10 +00:00
Gabor Juhos
a6e3c605bc add AR7240 specific fixes for the ag71xx driver
SVN-Revision: 16737
2009-07-07 18:06:02 +00:00
Gabor Juhos
f04fcfd801 make irq_chip definitions static
SVN-Revision: 16736
2009-07-07 18:04:26 +00:00
Gabor Juhos
3b47053fb3 AR7240 requires different IRQ unmasking code
SVN-Revision: 16734
2009-07-07 13:57:57 +00:00
Gabor Juhos
c38e7aa7b2 add missing break statement
SVN-Revision: 16701
2009-07-05 18:02:12 +00:00
Gabor Juhos
600958b416 add missing includes
SVN-Revision: 16676
2009-07-05 08:40:23 +00:00
Gabor Juhos
54038e0540 add AR7240 specific PCI code
SVN-Revision: 16674
2009-07-05 08:06:24 +00:00
Gabor Juhos
1e84d049a4 fix a typo in the PCI code
SVN-Revision: 16673
2009-07-05 08:02:23 +00:00
Gabor Juhos
089b5ccb47 reorganize PCI code
SVN-Revision: 16672
2009-07-05 07:53:07 +00:00
Gabor Juhos
d55e5fb153 fix AR7240 PCI IRQ support
SVN-Revision: 16669
2009-07-04 05:18:37 +00:00
Gabor Juhos
d97b12f8b7 fix ar71xx_device_{start,stop} functions on the AR7240 SoC
SVN-Revision: 16648
2009-07-01 19:41:00 +00:00
Gabor Juhos
17c84f1db9 initialize GPIO for the AR7240 SoC
SVN-Revision: 16647
2009-07-01 19:38:26 +00:00
Gabor Juhos
c524244c08 initialize IRQs for the AR7240 SoC
SVN-Revision: 16646
2009-07-01 19:37:03 +00:00
Gabor Juhos
eb3ff716c1 add AR7240 specific frequency detection
SVN-Revision: 16645
2009-07-01 19:34:59 +00:00
Gabor Juhos
18d7edb82e add AR7240 specific definitions
SVN-Revision: 16644
2009-07-01 19:32:48 +00:00
Gabor Juhos
d9259b25bf increase NR_IRQS
SVN-Revision: 16623
2009-06-29 20:01:22 +00:00
Gabor Juhos
161fe2c40c fix PCI_CORE irq number
SVN-Revision: 16622
2009-06-29 19:58:36 +00:00
Gabor Juhos
5899460ebf use enum for the machine type
SVN-Revision: 16588
2009-06-27 20:20:05 +00:00
Gabor Juhos
8094a7062f add AR913x specific GPIO function bit definitions
SVN-Revision: 16583
2009-06-27 16:57:45 +00:00
Gabor Juhos
c94dcb755e setup mac address on the WNR2000
SVN-Revision: 16450
2009-06-14 11:38:26 +00:00
Gabor Juhos
5d21be0e31 move definition of ar91xx_flash_platform_data into a separate header file (closes #5321)
SVN-Revision: 16417
2009-06-11 08:07:14 +00:00
Gabor Juhos
31c9a411eb flush more register writings
SVN-Revision: 16415
2009-06-11 07:18:05 +00:00
Gabor Juhos
3de6b54859 flush AR71XX_RESET_PCI_INT_ENABLE register after writing
SVN-Revision: 16372
2009-06-07 18:23:39 +00:00
Gabor Juhos
0c4b6a0b07 setup mac address on the AP81 board
SVN-Revision: 16366
2009-06-06 19:03:30 +00:00
Gabor Juhos
67ace05bfe update flash locking code
SVN-Revision: 16359
2009-06-06 15:56:03 +00:00
Gabor Juhos
9668bbeea9 handle PCI_CORE interrupt as well
SVN-Revision: 16358
2009-06-06 13:48:36 +00:00
Gabor Juhos
ab19bea631 change flash partition map of the AP83 board
SVN-Revision: 16356
2009-06-06 09:57:37 +00:00
Gabor Juhos
ba08043ce4 add parallel flash driver
SVN-Revision: 16353
2009-06-06 08:41:47 +00:00
Gabor Juhos
e72be9e83b fix a typo
SVN-Revision: 16348
2009-06-05 19:29:41 +00:00
Gabor Juhos
45d8b93d06 create a 'firmware' partition for MZK-W300NH board
SVN-Revision: 16347
2009-06-05 15:31:33 +00:00
Gabor Juhos
f3c3e2772f improve MZK-W300NH support (thanks to Kazuki Shimada for the board)
SVN-Revision: 16340
2009-06-04 18:18:36 +00:00
Gabor Juhos
74dfd77f41 pass ucode name to the VSC7385 driver on the AP83 board
SVN-Revision: 16326
2009-06-04 07:56:49 +00:00
Gabor Juhos
782cd2cf27 add experimental support for the AP83-040 board
SVN-Revision: 16316
2009-06-03 19:54:25 +00:00
Gabor Juhos
b0acbe709c add flash locking code
SVN-Revision: 16311
2009-06-03 18:17:07 +00:00
Gabor Juhos
f84d0d2ae0 register parallel flash device on the AP83 board
SVN-Revision: 16232
2009-05-31 12:37:40 +00:00
Gabor Juhos
c2c496868e add support for board specific PLL settings
SVN-Revision: 16133
2009-05-28 13:00:08 +00:00
Gabor Juhos
cbe2c48249 register SPI bus on the AP83 board
SVN-Revision: 16115
2009-05-27 17:16:19 +00:00
Gabor Juhos
f6e6a733f5 add preliminary support for the WRT160NL
SVN-Revision: 16068
2009-05-25 18:36:49 +00:00
Gabor Juhos
db1d746463 update board setup code of the RouterStation Pro (patch by Ubiquiti Networks)
SVN-Revision: 16065
2009-05-25 17:31:05 +00:00
Gabor Juhos
220751e8ab fix typos in the PB42 support code
SVN-Revision: 15963
2009-05-21 18:22:01 +00:00
Gabor Juhos
7807c1a29f add experimental support for the Atheros PB44 board
SVN-Revision: 15928
2009-05-20 08:23:48 +00:00
Gabor Juhos
2e7a1d95f7 reorder mtd partitions on the WRT400N
SVN-Revision: 15829
2009-05-13 20:12:07 +00:00
Gabor Juhos
9ecc257d2f create image for the WRT400N board (thanks to netprince)
SVN-Revision: 15828
2009-05-13 20:00:42 +00:00
Gabor Juhos
fb48fbba16 remove extern directives
SVN-Revision: 15735
2009-05-09 05:57:56 +00:00
Gabor Juhos
15f0a64dda increase AR71XX_MEM_SIZE_MAX (thanks to Leo Galambos for reporting)
SVN-Revision: 15734
2009-05-09 05:39:12 +00:00
Gabor Juhos
aab2d9371b add experimental support for the Linksys WRT400N board (thanks to netprince)
SVN-Revision: 15422
2009-04-26 06:40:02 +00:00
Gabor Juhos
d17716e16f ap81: register GPIO LEDs
SVN-Revision: 14931
2009-03-17 19:59:33 +00:00
Gabor Juhos
d63a050292 ap81: register SPI flash, and add default MTD partitions
SVN-Revision: 14924
2009-03-17 18:48:00 +00:00
Gabor Juhos
ed3b6e558e ap81: register GPIO buttons
SVN-Revision: 14923
2009-03-17 18:34:11 +00:00
Gabor Juhos
64958577a7 ap81: register USB host controller
SVN-Revision: 14922
2009-03-17 18:14:55 +00:00
Gabor Juhos
ef537a68da ap81: register ethernet devices, and add default network configuration file
SVN-Revision: 14921
2009-03-17 18:07:16 +00:00
Gabor Juhos
066052eddf ap83: remove unnecessary include
SVN-Revision: 14920
2009-03-17 18:02:50 +00:00
Gabor Juhos
beb47c57af preliminary support for the Atheros AP81 refrence board
SVN-Revision: 14888
2009-03-15 14:30:08 +00:00
Gabor Juhos
9b59499893 pb42: add GPIO buttons
SVN-Revision: 14877
2009-03-14 19:28:28 +00:00
Gabor Juhos
fa36af494f pb42: fix ethernet, remove USB registration, add default network configuration
SVN-Revision: 14876
2009-03-14 18:28:33 +00:00
Gabor Juhos
83f6f853e9 ls-sr71: add GPIO LEDs
SVN-Revision: 14873
2009-03-14 12:53:31 +00:00
Gabor Juhos
a31a173aec simplify setup code for Ubiquiti boards
SVN-Revision: 14872
2009-03-14 12:24:11 +00:00
Gabor Juhos
1d5f4b3687 tew-632brp: increase the size of rootfs partition, and build one unified firmware image only
SVN-Revision: 14709
2009-03-01 11:17:16 +00:00
Gabor Juhos
91984cff19 aw-nr580: add GPIO LEDs
SVN-Revision: 14687
2009-02-27 18:32:04 +00:00
Gabor Juhos
23636366dc aw-nr580: add support for the PCI slot
SVN-Revision: 14686
2009-02-27 17:06:29 +00:00
Gabor Juhos
5842bd91b6 aw-nr580: add support for the LAN ports
SVN-Revision: 14685
2009-02-27 16:34:09 +00:00
Gabor Juhos
38f75ef671 aw-nr580: add GPIO buttons
SVN-Revision: 14682
2009-02-27 15:45:29 +00:00
Gabor Juhos
df2c881e14 move 'ar71xx_add_device_usb' definition into devices.h
SVN-Revision: 14680
2009-02-27 10:09:20 +00:00
Gabor Juhos
47dc8c615a TL-WR941ND: update flash partition map
SVN-Revision: 14673
2009-02-26 17:01:05 +00:00
Gabor Juhos
53b833a6c4 preliminary support for the Ubiquiti RouterStation Pro
SVN-Revision: 14666
2009-02-26 07:39:30 +00:00
Andy Boyett
1adf135943 wnr2000: enable ar8216 workaround, add network config. LAN ports now work
SVN-Revision: 14663
2009-02-26 05:54:32 +00:00
Andy Boyett
0b44a56a36 wnr2000: configure eth1 (WAN) and detect the ar8216 switch on eth0 (LAN)
ar8216 headers are embedded in packets on eth0 so it is not usable yet

SVN-Revision: 14661
2009-02-26 01:22:57 +00:00
Andy Boyett
ec0f53cb37 wnr2000: buttons and blinkenlights!
SVN-Revision: 14660
2009-02-26 01:20:27 +00:00
Gabor Juhos
8e0e4cb3d8 mzk-w04nu: enable the ar8216 chip workaround, and add a default network configuration file
SVN-Revision: 14656
2009-02-25 16:48:56 +00:00
Gabor Juhos
0e8a23d053 ag71xx driver: add a workaround for the ar8216 chip, until we get a suitable switch driver
SVN-Revision: 14655
2009-02-25 16:47:11 +00:00
Gabor Juhos
60c561f016 remove duplicated includes
SVN-Revision: 14638
2009-02-23 11:34:05 +00:00
Gabor Juhos
77b57258af TL-WR941ND: add DSA device for the Marvell 88E6060 switch
SVN-Revision: 14637
2009-02-23 10:43:23 +00:00
Gabor Juhos
f7cf3b2a68 move device registration function prototypes into a separate header file
SVN-Revision: 14635
2009-02-23 08:50:00 +00:00
Gabor Juhos
46cf4434b6 rename platform.c to devices.c
SVN-Revision: 14634
2009-02-23 08:21:05 +00:00
Gabor Juhos
1afc3a7bd5 enable TL-WR941ND in kernel config
SVN-Revision: 14633
2009-02-23 08:01:31 +00:00
Gabor Juhos
a34753cacd tl-wr941nd: register ethernet device, and fix machine id
SVN-Revision: 14632
2009-02-23 07:58:44 +00:00
Gabor Juhos
8e4fbc7399 preliminary support for the TL-WR941ND
SVN-Revision: 14627
2009-02-22 20:49:06 +00:00
Gabor Juhos
507e6e4140 add an alias board name for the Ubiquiti RouterStation
SVN-Revision: 14563
2009-02-19 07:39:50 +00:00
Gabor Juhos
357ed07a84 add a workaround for fixing the bad performance of the Ubiquiti RouterStation/LS-SR71 boards, until they fix their bootloader.
SVN-Revision: 14556
2009-02-18 19:58:43 +00:00
Gabor Juhos
731a4e5b1d switch to 2.6.28
SVN-Revision: 14514
2009-02-15 07:52:55 +00:00
Gabor Juhos
40b538d6d2 add preliminary support for the Ubiquiti LS-SR71 board (thanks to Xianghua Xiao for the initial patch, and for testing)
SVN-Revision: 14488
2009-02-12 19:48:27 +00:00
Gabor Juhos
7ec663a2ad parse the board parameter from the command line first Signed-off-by: Andrea Tassi <andrea.tassi at gmail.com> and WiFi(ed) - The Embedded Development Team (of Riccardo Coppola <coppola.riccardo at gmail.com>, Andrea Tassi <andrea.tassi at gmail.com> and Massimiliano Toce <massimiliano.toce at gmail.com>)
SVN-Revision: 14482
2009-02-12 08:08:14 +00:00
Gabor Juhos
d97af0443e create firmware images for the Planex MZK-W04NU board
SVN-Revision: 14413
2009-02-05 16:46:55 +00:00
Gabor Juhos
43ed2ff89d parse RedBoot environments as well (patch by Jonas <jmajau@ubnt.com>)
SVN-Revision: 14384
2009-02-03 08:44:50 +00:00
Gabor Juhos
9e624a7144 mzk-w04nu: fetch MAC address from the flash
SVN-Revision: 14383
2009-02-03 07:53:46 +00:00
Gabor Juhos
03de003183 fix handling of invalid arguments passed by some bootloaders (thanks to Jeff Hansen and to Jonas)
SVN-Revision: 14382
2009-02-03 07:26:31 +00:00
Gabor Juhos
8a5c467323 parse dot-separated MAC address (patch by Jonas <jmajau@ubnt.com>)
SVN-Revision: 14371
2009-02-02 19:37:57 +00:00
Gabor Juhos
b0e3550f2a mzk-w04nu: add GPIO LEDs and buttons
SVN-Revision: 14366
2009-02-02 17:51:51 +00:00
Gabor Juhos
0dfca05fbe print some informations about the SoC at bootup
SVN-Revision: 14338
2009-02-01 09:46:04 +00:00
Gabor Juhos
e3d58387a3 fix leds-gpio platform data initialization (closes #4512)
SVN-Revision: 14238
2009-01-28 11:48:14 +00:00
Gabor Juhos
92dd3af727 tew-632brp: enable WAN port
SVN-Revision: 14216
2009-01-27 07:08:24 +00:00
Gabor Juhos
8c12e6eced experimental support for the Planex MZK-W04NU board
SVN-Revision: 14208
2009-01-26 18:50:43 +00:00
Gabor Juhos
457bef0475 tew-632brp: add WPS button
SVN-Revision: 14205
2009-01-26 17:45:33 +00:00
Gabor Juhos
6bea544949 move random MAC address generation into the platform initialization code
SVN-Revision: 14204
2009-01-26 14:55:09 +00:00
Gabor Juhos
bd38281dba add preliminary support for the Planex MZK-W300NH board
SVN-Revision: 13863
2009-01-04 19:46:41 +00:00
Gabor Juhos
3fa9ee3bfa remove board specific stuff from the generic machine setup
SVN-Revision: 13861
2009-01-04 19:07:13 +00:00
Gabor Juhos
f1953fdf4b add preliminary support for the Atheros PB42 board
SVN-Revision: 13860
2009-01-04 19:06:00 +00:00
Gabor Juhos
9bb47dc62d fix the registered machine type of the WNR2000 board
SVN-Revision: 13853
2009-01-04 09:32:22 +00:00
Gabor Juhos
e5501cb623 register WMAC device on the Netgear WNR2000 board
SVN-Revision: 13836
2009-01-03 14:14:03 +00:00
Gabor Juhos
6f35d8b500 prepare for ath9k support
SVN-Revision: 13825
2009-01-02 18:54:33 +00:00
Gabor Juhos
2083bb5e6f add experimental support for the NETGEAR WNR2000 board
SVN-Revision: 13775
2008-12-30 13:46:43 +00:00
Gabor Juhos
38826c1e19 add dummy WMAC device
SVN-Revision: 13769
2008-12-30 06:52:57 +00:00
Gabor Juhos
42de997943 add experimental support for the Ubiquiti LSX board
SVN-Revision: 13759
2008-12-29 17:54:16 +00:00
Gabor Juhos
7abf10d6e6 add Ubiquiti board detection
SVN-Revision: 13745
2008-12-26 20:12:42 +00:00
Gabor Juhos
067e900705 use SoC specific irq dispatch code
SVN-Revision: 13736
2008-12-23 13:59:04 +00:00
Gabor Juhos
2a33d0dd82 fix GPIO function select bit definitions (based on a patch by Jonas <jmajau at ubnt.com>)
SVN-Revision: 13699
2008-12-20 08:28:39 +00:00
Gabor Juhos
581a7a36a9 rb-4xx: setup code cleanup
SVN-Revision: 13698
2008-12-20 07:47:30 +00:00
Gabor Juhos
f2b7ac69ee improve Ubiquiti RouterStation support (based on a patch by Jonas <jmajau at ubnt.com>)
SVN-Revision: 13697
2008-12-19 20:18:48 +00:00
Gabor Juhos
91491c6e37 rename RouterStation stuff, and add machine type for the LSX board
SVN-Revision: 13694
2008-12-19 19:17:53 +00:00
Gabor Juhos
4a51052d7b prepare for RouterStation support
SVN-Revision: 13657
2008-12-15 19:18:52 +00:00
Gabor Juhos
d49e66360c move machine setup code
SVN-Revision: 13656
2008-12-15 16:11:42 +00:00
Gabor Juhos
d4aa7ecdca tew-632brp: add status LED
SVN-Revision: 13648
2008-12-15 11:07:11 +00:00
Gabor Juhos
f212ab51ef tew-632brp: register GPIO buttons
SVN-Revision: 13647
2008-12-15 11:04:16 +00:00
Gabor Juhos
00923918c1 tew-632brp: register GPIO LEDs
SVN-Revision: 13646
2008-12-15 09:48:34 +00:00
Gabor Juhos
e643c26169 tew-632brp: use LZMA compressed uImage
SVN-Revision: 13645
2008-12-15 08:32:04 +00:00
Gabor Juhos
4eb4a07b33 tew-632brp: register flash device
SVN-Revision: 13631
2008-12-14 19:40:17 +00:00
Gabor Juhos
d31fe48ea0 register eth0 device on the TEW-632BRP board
SVN-Revision: 13566
2008-12-09 18:49:01 +00:00
Gabor Juhos
af5eb6003d add dummy code for the TRENDnet TEW-632BRP board
SVN-Revision: 13531
2008-12-06 18:10:57 +00:00
Gabor Juhos
d9d111066a add SoC specific reset code
SVN-Revision: 13518
2008-12-04 18:13:43 +00:00
Gabor Juhos
d5bbef37fe rename reset register definitions
SVN-Revision: 13516
2008-12-04 16:55:43 +00:00
Gabor Juhos
8107050ef9 fix a typo
SVN-Revision: 13512
2008-12-04 12:50:21 +00:00
Gabor Juhos
ea86511fbf register GPIO buttons on the AP83 board
SVN-Revision: 13510
2008-12-04 12:18:17 +00:00
Gabor Juhos
4055fea1aa make all AR913x GPIO lines usable
SVN-Revision: 13509
2008-12-04 12:17:14 +00:00
Gabor Juhos
9f0e63ea9a register USB device on the AP83 board
SVN-Revision: 13507
2008-12-04 09:11:03 +00:00
Gabor Juhos
520de84638 add ar913x specific USB setup
SVN-Revision: 13505
2008-12-04 07:19:23 +00:00
Gabor Juhos
b4e4fa4b89 create platform data for the EHCI driver
SVN-Revision: 13499
2008-12-03 15:54:08 +00:00
Gabor Juhos
770541c15f rename USB variables
SVN-Revision: 13498
2008-12-03 15:35:12 +00:00
Gabor Juhos
962170b748 update mips_machine stuff
SVN-Revision: 13488
2008-12-02 21:17:31 +00:00
Gabor Juhos
e42eb910cc fix build error introduced in r13389
SVN-Revision: 13390
2008-11-28 10:07:56 +00:00
Gabor Juhos
73aaa1b56a register eth1 device on the AP83 board
SVN-Revision: 13389
2008-11-28 09:07:01 +00:00
Gabor Juhos
5cea25afdb add gpio leds for the AP83 board
SVN-Revision: 13388
2008-11-28 09:06:01 +00:00
Gabor Juhos
74932eb40a ag71xx driver: introduce new flag for the AR913x SOCs
SVN-Revision: 13376
2008-11-27 17:31:22 +00:00
Gabor Juhos
54844a199f register eth0 device on the AP83 board
SVN-Revision: 13371
2008-11-27 08:39:08 +00:00
Gabor Juhos
c9ae01d3c8 ag71xx: introduce SoC specific fuctions for DDR flush and PLL setup
SVN-Revision: 13369
2008-11-26 20:00:41 +00:00
Gabor Juhos
9f93bd51cf rename DDR registers
SVN-Revision: 13363
2008-11-26 17:17:13 +00:00
Gabor Juhos
e648c0ad5d fix AP83 boot failure
SVN-Revision: 13356
2008-11-26 08:40:46 +00:00
Gabor Juhos
4690f9356c add dummy code for the Atheros AP83 board
SVN-Revision: 13354
2008-11-25 19:19:55 +00:00
Gabor Juhos
fdd05db0d8 enable gigabit feature if the SoC supports it
SVN-Revision: 13350
2008-11-25 17:55:46 +00:00
Gabor Juhos
a7d528722c improve SoC detection
SVN-Revision: 13349
2008-11-25 17:39:12 +00:00
Gabor Juhos
b421c22787 fix gpio-leds, and gpio-buttons platform data initialization
SVN-Revision: 13337
2008-11-24 11:03:18 +00:00
Gabor Juhos
3bf635be11 add experimental support for the AzureWave AW-NR580 board
SVN-Revision: 13278
2008-11-18 13:21:24 +00:00
Gabor Juhos
22a7b1b3d3 use MyLoader partition parser on the WP543 board
SVN-Revision: 13265
2008-11-17 17:42:35 +00:00
Gabor Juhos
300d8bea55 move MyLoader stuff into generic files, will be used on adm5120
SVN-Revision: 13254
2008-11-17 09:19:27 +00:00
Gabor Juhos
1d582ac8c0 fixes the ethernet port mask of RB433 in the platform data * Signed-off-by: Joerg Albert <jal2 at gmx.de> * closes #4185
SVN-Revision: 13199
2008-11-13 17:02:59 +00:00
Gabor Juhos
d1c40911eb rewrite memory size detection
SVN-Revision: 13198
2008-11-13 15:55:39 +00:00
Gabor Juhos
68e1fed8a4 enable ethernet and PCI on RB-493/AH
SVN-Revision: 13104
2008-11-03 15:11:09 +00:00
Gabor Juhos
e0fc95a2ab setup speed/duplex on RB-433/450 (closes #4151)
SVN-Revision: 13087
2008-10-31 11:50:47 +00:00
Gabor Juhos
7d167c06f3 change ag71xx platform device registration
SVN-Revision: 12997
2008-10-17 07:12:44 +00:00
Gabor Juhos
18c93fb457 fix RB-493 detection
SVN-Revision: 12991
2008-10-16 19:18:46 +00:00
Gabor Juhos
3b90e01db8 preliminary support for the RB-493/AH, based on a patch by Carl Riechers
SVN-Revision: 12986
2008-10-15 19:03:31 +00:00
Gabor Juhos
3994f8e4c3 add hardware watchdog driver
SVN-Revision: 12810
2008-09-30 08:05:18 +00:00
Gabor Juhos
23a45e0c6d remove some debug stuff
SVN-Revision: 12631
2008-09-18 18:41:03 +00:00
Gabor Juhos
219ec2a419 add MyLoader support
SVN-Revision: 12627
2008-09-18 12:56:10 +00:00
Gabor Juhos
d590c14151 WP543: add static mtd partitions
SVN-Revision: 12624
2008-09-18 12:38:53 +00:00
Gabor Juhos
a43e2d5ac6 fix the PCI byte lane enable generation code, based on a patch by Chris Dearman
SVN-Revision: 12617
2008-09-17 13:29:47 +00:00
Gabor Juhos
b63a7c8640 add gpio-buttons devices
SVN-Revision: 12544
2008-09-07 09:47:37 +00:00
Gabor Juhos
dd8499cc26 simplify leds-gpio device registration
SVN-Revision: 12543
2008-09-07 08:59:27 +00:00
Gabor Juhos
da7312105d register gpio-leds on the WP543 board
SVN-Revision: 12528
2008-09-04 13:39:11 +00:00
Gabor Juhos
7914091d97 make use the USB controller on the WP543 board
SVN-Revision: 12520
2008-09-03 19:37:58 +00:00
Gabor Juhos
e9775a5e10 fix platform device ids of the USB controllers
SVN-Revision: 12519
2008-09-03 18:02:18 +00:00
Gabor Juhos
dd3eea99fa fix phy id on the WP543 board
SVN-Revision: 12517
2008-09-03 15:23:26 +00:00
Felix Fietkau
d962e2ea4a make openwrt boot on ar9130 (currently no ethernet yet)
SVN-Revision: 12463
2008-09-01 14:41:26 +00:00
Gabor Juhos
970f41ad18 ethernet driver updates * new mii bus code, mac0 and mac1 can use the mac0's miii bus from now on * swap eth0 & eth1 on RB433/450
SVN-Revision: 11995
2008-07-29 18:22:38 +00:00
Gabor Juhos
7564923517 parse mac address on RouterBOARDs
SVN-Revision: 11910
2008-07-22 16:35:29 +00:00
Gabor Juhos
f529a37420 surprise :p
SVN-Revision: 11894
2008-07-21 17:08:14 +00:00