1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-18 14:28:06 +02:00
Commit Graph

631 Commits

Author SHA1 Message Date
juhosg
ae0b1149b9 ar71xx: move ath9k specific PCI fixup into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:46 +00:00
juhosg
d39b21c7f6 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:43 +00:00
nbd
4fa1e52b3a 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 08:59:53 +00:00
nbd
6f8d5efb9d 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-05 16:17:06 +00:00
juhosg
006386c4b4 ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 18:14:37 +00:00
juhosg
d1f333874d 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-31 20:13:47 +00:00
juhosg
a393655eea ar71xx: change mac address initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 16:00:28 +00:00
nbd
5cc1f4bcf3 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-16 19:21:57 +00:00
nbd
a0d848ed9d 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 21:04:43 +00:00
nbd
858ebac7b8 ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528, without the ethernet fifo cfg values)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 12:37:44 +00:00
nbd
e70bddd713 ar71xx: set default values for the fifo cfg registers on AR724x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 01:54:11 +00:00
juhosg
e14f929ec7 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:52 +00:00
juhosg
8119ffe60a 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 16:22:05 +00:00
juhosg
78fe3d5e8c ar71xx: avoid duplicated 'board' parameter in kernel command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 20:02:44 +00:00
juhosg
d1b5649e76 ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:39 +00:00
juhosg
2a528006a3 ar71xx: fix phy_mask for the RB450
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:35 +00:00
juhosg
9f9bd4b6ee ar71xx: fix phy_mask on the RB433 for the IP17xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:18 +00:00
juhosg
c2a2341e50 ar71xx: fix 2.6.34 build errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:18:13 +00:00
juhosg
0b2a2f1091 ar71xx: fix nbg460n mtd partitions
This fixes the NBG460N/550N/550NH mtd partitions.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 08:37:58 +00:00
juhosg
d6bb729d0e ar71xx: remove config partition from the mtd map on the MZK-W300NH board
This space can be used to extend the rootfs_data partition.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:04 +00:00
juhosg
d0bcb711d4 ar71xx: fix firmware partition size on the MZK-W04NU board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:01 +00:00
nbd
1cb9c65242 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 17:24:11 +00:00
juhosg
f74b974c32 ar71xx: reduce button threshold value on the NBG460 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 19:07:23 +00:00
juhosg
e1b44378be ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 19:07:19 +00:00
juhosg
17ce7e7cf9 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-18 16:24:12 +00:00
juhosg
3d089c4fe3 ar71xx: update phy masks for the Planex boards
This avoids probing of the AR8216 chip on the eth0 interface.

Cc: backfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:14 +00:00
juhosg
d7e830a7a9 ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
Cc: backfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:09 +00:00
nbd
e9d07710ee ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-06 00:12:50 +00:00
jow
58618dfb3d [PATCH 1/2] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 23:03:16 +00:00
nbd
57563ffd07 ar71xx: fix pci on ar7241/ar7242
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 00:36:37 +00:00
nbd
b491b147a1 ar71xx: fix the wan port on pb92
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 00:36:04 +00:00
nbd
a7ac823d06 ar71xx: reset the mdio bus on ar7241/ar7242
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 00:35:44 +00:00
nbd
218734027d ar71xx: add basic kernel support for pb92
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:35:52 +00:00
nbd
fd3222baa4 ar71xx: add support for ar7241 and ar7242
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:35:41 +00:00
nbd
c363de958e ar71xx: fix pci link detection for ar724x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 22:35:27 +00:00
agb
651c537f30 [ar71xx] wrt400n: lan ports don't need the ar8216 workaround
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 19:09:11 +00:00
juhosg
8b81ef5e98 ar71xx: use the RB411 setup for the RB411U
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 18:16:24 +00:00
juhosg
e6e9309426 ar71xx: change PHY select logic, and update phy_masks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 18:16:07 +00:00
juhosg
b1704a799d ar71xx: check returned value of ioremap in ar71xx_pcibios_setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:19 +00:00
juhosg
dc4e55fa64 ar71xx: optimize register access in ar71xx_pci.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:16 +00:00
juhosg
38acf445a9 ar71xx: optimize register access in irq.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:13 +00:00
juhosg
b8bc300bd3 ar71xx: optimize register access in ar724x_pci.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:10 +00:00
juhosg
a95e8602ca ar71xx: introduce global ar724x_pci_ctrl_base variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:07 +00:00
juhosg
3079a4d84d ar71xx: add error handling to ar724x_pcibios_init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:03 +00:00
juhosg
87d726d0f1 ar71xx: move ar724x_pci_* helpers to ar724x-pci.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:58 +00:00
juhosg
76d9192b8d ar71xx: move PCI intterupt handling code to pci-ar7{1xx,24x}.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:54 +00:00
juhosg
d93b1aab25 ar71xx: use set_irq_chained_handler for the PCI IRQs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:50 +00:00
juhosg
c7a42847a5 ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:46 +00:00
juhosg
4a8b61e3be ar71xx: remove unnecessary includes from setup.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:41 +00:00
juhosg
2dce994012 ar71xx: fix ar724x_pci_wr{,_nf} helpers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:18:36 +00:00
juhosg
098e39f5c6 ar71xx: fix semantics error in the __ar71xx_gpio_get_value function.
* Thanks to Pascal Dornier


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-16 19:53:25 +00:00
juhosg
a4968c84d2 ar71xx: optimize GPIO code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-16 14:02:31 +00:00
nbd
6a4d281583 ar71xx: fix oprofile support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:57 +00:00
juhosg
1842195b3e ar71xx: override lan port names on the RB750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:48 +00:00
juhosg
94a2468fdd ar71xx: allow overriding of the lan port names on AP91 based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:45 +00:00
juhosg
e9152bd9e4 ar71xx: add NAND driver for the RB750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:10:23 +00:00
juhosg
fae32e3e86 ar71xx: add ar71xx_gpio_function_setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:10:14 +00:00
juhosg
7ee68b0bf3 ar71xx: add LED driver for the RB750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:10:01 +00:00
juhosg
bdf568ed13 ar71xx: add latch handling code for the RB750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 12:09:49 +00:00
juhosg
8221ebb020 ar71xx: add preliminary support for the RouterBOARD 750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 05:41:01 +00:00
juhosg
1ce5f3c0cf ar71xx: rename mach-rb-4xx.c to mach-rb4xx.c, and change Kconfig symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-07 05:40:56 +00:00
juhosg
da900edca4 ar71xx: don't init PCI irqs on the AR7240 if the PCIe subsystem are in reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 20:29:29 +00:00
juhosg
4001872b63 ar71xx: use COMMAND_LINE_SIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-02 13:36:04 +00:00
juhosg
ea92a8bef8 ar71xx: register DSA switch for the AP91 based boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 07:34:43 +00:00
juhosg
86143fe010 ar71xx: register RTL8366RB switch on the TL-WR1043NB board
Thanks to Andrew Tarabaras.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 13:39:18 +00:00
juhosg
147a9455b7 ar71xx: fix pll value for the eth0 interface on the TL-WR1043ND board
Thanks to Andrew Tarabaras


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 13:38:51 +00:00
juhosg
ad11dad16d ar71xx: fix mac addresses on the DIR-600 rev. A1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:42 +00:00
juhosg
0faa4c10ff ar71xx: fix wireless mac address on the TL-WR741ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:39 +00:00
juhosg
aaaca934ab ar71xx: move AP91 specific ethernet initialization into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:36 +00:00
juhosg
cadd5454c3 ar71xx: add missing GPIO LED for the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:19 +00:00
juhosg
0a0ed2c3ec ar71xx: fix polarity of GPIO buttons on the WNDR3700 board
Signed-off-by: Scott Dudley <spmsink@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:15 +00:00
juhosg
03ec19bb1a ar71xx: fix WLAN mac address on the TL-WR1043ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-10 20:01:20 +00:00
juhosg
ae4dfcda15 ar71xx/mac80211: add a workaround for the bad signal strength on the WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-09 16:27:35 +00:00
juhosg
f32ec31b3b ar71xx: merge generic machine code into setup.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25 14:24:48 +00:00
juhosg
e47c4f9d9e rtl8366_smi: move RTL8366S driver into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 17:38:07 +00:00
juhosg
bec3a93334 ar71xx: fix ethernet mac address on the WZR-HP-G300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-18 09:01:44 +00:00
juhosg
9899a873bf ar71xx: fix phy interface selection for the RB-450G
Patch from: https://forum.openwrt.org/viewtopic.php?pid=95865#p95865


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 14:33:26 +00:00
juhosg
8ab163d204 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 14:33:23 +00:00
juhosg
f010cfd099 ar71xx: add preliminary support for the Buffalo WZR-HP-G300NH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-15 12:08:03 +00:00
juhosg
e26560bfe1 ar71xx: reduce button threshold values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 10:18:30 +00:00
juhosg
0ab559a23e ar71xx: add support for the D-Link DIR-600 rev. A1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 08:02:10 +00:00
juhosg
5784ed61cc ar71xx: add missing flash partition for the DIR-825
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-08 13:35:25 +00:00
juhosg
31f2acee0f ar71xx: don't include nvram.h for the WRT400N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-06 15:24:04 +00:00
juhosg
141c9c2c77 ar71xx: init PCI on the WRT400N board (thanks to Ben Pfountz for testing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-05 20:12:12 +00:00
juhosg
97e651b846 ar71xx: fix bi-color QSS LED on the TL-WR941ND v2 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-01 19:40:04 +00:00
juhosg
22e56266bf ar71xx: update mips multi-machine stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-01 11:28:19 +00:00
juhosg
ce7bba04aa ar71xx: select AR71XX_NVRAM for the WRT160NL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-01 11:11:43 +00:00
juhosg
d00508589b ar71xx: fix wireless mac address on the WRT160NL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-31 12:42:53 +00:00
juhosg
259f642660 ar71xx: fix random wireless mac address on the TEW-632BRP/DIR-615 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-27 20:59:54 +00:00
juhosg
5ac400c7f1 ar71xx: pass eeprom and mac address location to the ar913x_add_device_wmac function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-27 20:59:50 +00:00
juhosg
ea5d3d3f85 ar71xx: remove duplicated include
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-27 20:59:46 +00:00
juhosg
55ece30c25 ar71xx: move dsa switch device support into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:26 +00:00
juhosg
e2b1c817e6 ar71xx: move mach type definitions into a separate include file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:22 +00:00
juhosg
5c03b60348 ar71xx: change board specific Kconfig option to 'default n'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:17 +00:00
juhosg
611c750d3e ar71xx: move USB host device support into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:13 +00:00
juhosg
c975cd1b66 ar71xx: remove more unnecessary includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:08 +00:00
juhosg
e783d0854b ar71xx: use the generic m25p80 registration code for the MZK-W04NU
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:05 +00:00
juhosg
1bb2068541 ar71xx: move gpio-buttons support into a spearate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:19:01 +00:00
juhosg
c2b4fcb0cc ar71xx: move leds-gpio device support into a spearate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-26 14:18:54 +00:00
juhosg
795fed6910 ar71xx: move PB42 specific PCI init code into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-25 13:09:04 +00:00
juhosg
062c1129db ar71xx: remove unnecessary includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-25 13:09:00 +00:00
juhosg
68ac3bdb4c ar71xx: fix bi-color led on the TL-WR841N v1.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-25 10:06:25 +00:00
juhosg
db5288e38a ar71xx: add support for the TL-WR841N v1.5 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-22 19:31:28 +00:00
juhosg
69905f6100 ar71xx: update AR7240 PCI code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-20 13:46:23 +00:00
juhosg
524ae98603 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-19 07:35:49 +00:00
juhosg
e9b1e2efdf 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 12:57:12 +00:00
juhosg
d43d4fa2b2 ar71xx: ar913x_wmac device support into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 12:57:09 +00:00
juhosg
8527213f14 ar71xx: move AP94 specific PCI init code into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 12:57:05 +00:00
juhosg
928a89ed7a ar71xx: separate DIR-615 rev. C1 support from the TEW-632 (based on the
patch from #6186)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 12:57:01 +00:00
juhosg
4fea26d57c ar71xx: add common m25p80 device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-18 12:56:55 +00:00
juhosg
499b3db62a ar71xx: add driver for the USB LED on the WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 20:32:31 +00:00
juhosg
23e8ba4e0d ar71xx: add ar71xx_device_stopped function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 20:32:28 +00:00
juhosg
cca1acdcfc ar71xx: merge DSA switch patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 16:41:51 +00:00
juhosg
881c9d9250 ar71xx: register rtl8366-smi device on the DIR-825 B1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 08:03:31 +00:00
nbd
00ebe9d87a 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09 03:25:33 +00:00
nbd
1b18fb38dc ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the wrt160nl, fixes wan port detection (#6309)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 14:06:18 +00:00
juhosg
2417cf6791 ar71xx: TL-WR1043ND support cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 12:46:30 +00:00
juhosg
bfbc6bd89d 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 12:46:25 +00:00
juhosg
325aeaa715 ar71xx: register rtl8366_smi device on the WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 10:29:37 +00:00
juhosg
5608c597c3 ar71xx: add support for external mii_bus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 10:29:27 +00:00
juhosg
c3035532ab ar71xx: DIR-825 support cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-03 15:07:41 +00:00
juhosg
9e412c9b2e ar71xx: add support for the D-Link DIR-825 rev. B1 board (thanks to
ValXdater)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-03 15:07:34 +00:00
juhosg
98a4123863 ar71xx: override fifo_cfg[123] values on AR7240
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-30 13:53:39 +00:00
nbd
4ae360c4fb ar71xx: add usb support for ubnt rocket m
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-29 13:33:15 +00:00
juhosg
52df74715b ar71xx: fix mac address for 5GHz interface on WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28 18:01:09 +00:00
juhosg
97c0d28d14 ar71xx: add PCI fixup for the WNDR3700 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-27 21:21:21 +00:00
juhosg
f8955d7606 ar71xx: fix pll_1000 values for the WNDR3700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-27 21:21:17 +00:00
juhosg
10b45a8d43 ar71xx: add AR724x GPIO_FUNC register bit defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-27 21:21:06 +00:00
juhosg
0bf5a55bb7 ar71xx: fix AR724X_GPIO_COUNT
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-27 21:21:01 +00:00
juhosg
6e7938dc40 ar71xx: add AR724x register defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-27 21:20:54 +00:00
nbd
dc54bc58f3 ar71xx: use a separate board id for rocket m
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-18 18:10:33 +00:00
matteo
84e70968c8 ar71xx: add Ubiquiti Rocket M and Nanostation M support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-18 17:05:42 +00:00
juhosg
aeb76a3ddf ar71xx: setup platform data for ath9k on the TL-WR741ND, Bullet M and on the WNDR3700 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-16 17:31:32 +00:00
juhosg
1e99bb12ff ar71xx: register LEDs and buttons on the WNDR3700
Thanks to aorlinks (https://forum.openwrt.org/viewtopic.php?pid=97415#p97415)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-16 17:31:25 +00:00
juhosg
d71bee30b8 ar71xx: use __init for ar{71,91}xx_usb_setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-16 17:31:22 +00:00
juhosg
dbba973c9f ar71xx: add preliminary support for the Netgear WNDR3700
Based on patches by Marco Porsch from:
https://forum.openwrt.org/viewtopic.php?id=22311


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-13 17:11:29 +00:00
juhosg
0724c81c22 ar71xx: use soc specific divider for mdio clock
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-30 12:26:22 +00:00
juhosg
2252f6f066 ar71xx: Compex WPJ543 board is supported as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 12:59:42 +00:00
juhosg
51425cfb76 ar71xx: fix PCI IRQ map of the WP543
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20 12:59:39 +00:00
juhosg
1faf0874d8 ar71xx: reset the phy chip along with the ethernet mac on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 08:07:32 +00:00
juhosg
53a0966f40 ar71xx: reset the ethernet device before registration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 08:07:29 +00:00
juhosg
e8ce7e4434 ar71xx: initialize PCI controller on the Bullet M
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 19:41:11 +00:00
juhosg
adda252dad ar71xx: init ethernet mac address on the Bullet M
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 19:41:08 +00:00
juhosg
a5291fd3ca ar71xx: register GPIO button on the Bullet M
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 19:41:03 +00:00
juhosg
4f961361c6 ar71xx: add PCI Host Controller fixup for ar724x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 19:41:00 +00:00
juhosg
19bf20fcbf ar71xx: use ar71xx_pci_fixup on ar71xx SoCs only
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 19:40:57 +00:00
juhosg
b737d591cf ar71xx: fix a typo in the ar724x PCI code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-01 19:40:51 +00:00
juhosg
1bf028b56d ar71xx: don't use mac_base2 in the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-23 17:44:02 +00:00
matteo
50b63d3591 ar71xx: preliminary Ubiquiti Bullet M support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-15 09:16:21 +00:00
juhosg
9ebf0a3f65 ar71xx: rewrite prom code (based on a patch by Jeff Hansen)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 18:30:12 +00:00
juhosg
f861f5f5f9 ar71xx: add preliminary support for the RB-411U (thanks to Feher Zoltan for testing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-08 19:16:15 +00:00
juhosg
8985ce7450 [ar71xx] move early_printk stuff into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-26 07:31:04 +00:00
juhosg
974f75fd41 [ar71xx] remove AR71XX_EARLY_SERIAL stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-25 17:13:12 +00:00
juhosg
1e2c27694d [ar71xx] WRT160NL: add default trigger for the power led
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 14:13:26 +00:00
juhosg
37a1995181 [ar71xx] WRT160NL: register GPIO LEDs and buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 17:33:02 +00:00
juhosg
966e94d341 [ar71xx] oops, add missing semicolons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 09:42:29 +00:00
juhosg
0a546c31b2 [ar71xx] get rid of some ifdefs in the IRQ code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 09:32:15 +00:00
juhosg
e850f31f3d [ar71xx] fix MISC IRQ handling on the AR7240
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-02 13:27:43 +00:00
juhosg
b7feba3478 [ar71xx] add ethernet suppor for the WRT160NL (thanks to Christian Daniel)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-31 07:01:26 +00:00
juhosg
3507828a2c [ar71xx] increase size of the kernel partition on the TL-WR[789]41N boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 17:20:46 +00:00
juhosg
eea7fc66c5 [ar71xx] increase size of the kernel partition on the TEW-632BR board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 17:15:30 +00:00
juhosg
b43132ce65 [ar71xx] register the VSC7395 device on the PB44 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 16:27:54 +00:00
juhosg
3f82f4f4f2 [ar71xx] use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 14:59:31 +00:00
juhosg
d681740252 [ar71xx] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-09 19:46:41 +00:00
juhosg
d8951fe6c9 [ar71xx] register a GPIO LEDs and buttons on the PB44 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-09 06:58:38 +00:00
juhosg
3d57b2da71 [ar71xx] register a I2C GPIO expander on the PB44 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-09 06:57:44 +00:00
juhosg
14f9464e92 [ar71xx] add initial support for the TL-WR741ND board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 19:20:10 +00:00
juhosg
1d3c32c543 [ar71xx] add AR7240 specific fixes for the ag71xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 18:06:02 +00:00
juhosg
2ce2426f48 [ar71xx] make irq_chip definitions static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 18:04:26 +00:00
juhosg
c46ada5677 [ar71xx] AR7240 requires different IRQ unmasking code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 13:57:57 +00:00
juhosg
b4ca45931c [ar71xx] add missing break statement
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-05 18:02:12 +00:00
juhosg
699aa15a17 [ar71xx] add missing includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-05 08:40:23 +00:00
juhosg
191909b36e [ar71xx] add AR7240 specific PCI code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-05 08:06:24 +00:00
juhosg
8bed461529 [ar71xx] fix a typo in the PCI code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-05 08:02:23 +00:00
juhosg
43bb8183eb [ar71xx] reorganize PCI code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-05 07:53:07 +00:00
juhosg
c6263cfddc [ar71xx] fix AR7240 PCI IRQ support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-04 05:18:37 +00:00
juhosg
7a4bc09b34 [ar71xx] fix ar71xx_device_{start,stop} functions on the AR7240 SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 19:41:00 +00:00
juhosg
b76d0eff6f [ar71xx] initialize GPIO for the AR7240 SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 19:38:26 +00:00
juhosg
d50a571483 [ar71xx] initialize IRQs for the AR7240 SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 19:37:03 +00:00
juhosg
16e84ace7d [ar71xx] add AR7240 specific frequency detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 19:34:59 +00:00
juhosg
fc8502c631 [ar71xx] add AR7240 specific definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 19:32:48 +00:00
juhosg
be3dd4c5be [ar71xx] increase NR_IRQS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-29 20:01:22 +00:00
juhosg
7955022513 [ar71xx] fix PCI_CORE irq number
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-29 19:58:36 +00:00
juhosg
7f0bb8aeb7 [ar71xx] use enum for the machine type
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 20:20:05 +00:00
juhosg
52956e6de0 [ar71xx] add AR913x specific GPIO function bit definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-27 16:57:45 +00:00
juhosg
05aebb541e [ar71xx] setup mac address on the WNR2000
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-14 11:38:26 +00:00
juhosg
9e42d4627a [ar71xx] move definition of ar91xx_flash_platform_data into a separate header file (closes #5321)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-11 08:07:14 +00:00
juhosg
a03c01b418 [ar71xx] flush more register writings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-11 07:18:05 +00:00
juhosg
f2d4c6c009 [ar71xx] flush AR71XX_RESET_PCI_INT_ENABLE register after writing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-07 18:23:39 +00:00
juhosg
8ef1bac486 [ar71xx] setup mac address on the AP81 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-06 19:03:30 +00:00
juhosg
282cd9f4b2 [ar71xx] update flash locking code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-06 15:56:03 +00:00
juhosg
dd385a9449 [ar71xx] handle PCI_CORE interrupt as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-06 13:48:36 +00:00
juhosg
77c4ab9b68 [ar71xx] change flash partition map of the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-06 09:57:37 +00:00
juhosg
8fe43eefaf [ar71xx] add parallel flash driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-06 08:41:47 +00:00
juhosg
08790a449c [ar71xx] fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-05 19:29:41 +00:00
juhosg
02c61d53f1 [ar71xx] create a 'firmware' partition for MZK-W300NH board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-05 15:31:33 +00:00
juhosg
3128f376a3 [ar71xx] improve MZK-W300NH support (thanks to Kazuki Shimada for the board)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 18:18:36 +00:00
juhosg
4f27930670 [ar71xx] pass ucode name to the VSC7385 driver on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 07:56:49 +00:00
juhosg
6c822bda7a [ar71xx] add experimental support for the AP83-040 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 19:54:25 +00:00
juhosg
46831ebc02 [ar71xx] add flash locking code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-03 18:17:07 +00:00
juhosg
e1e2d41352 [ar71xx] register parallel flash device on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 12:37:40 +00:00
juhosg
866750add0 [ar71xx] add support for board specific PLL settings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 13:00:08 +00:00
juhosg
66ccdc6dbd [ar71xx] register SPI bus on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-27 17:16:19 +00:00
juhosg
315fb2270e [ar71xx] add preliminary support for the WRT160NL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-25 18:36:49 +00:00
juhosg
7c9c62ac40 [ar71xx] update board setup code of the RouterStation Pro (patch by Ubiquiti Networks)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-25 17:31:05 +00:00
juhosg
0398b9f54d [ar71xx] fix typos in the PB42 support code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-21 18:22:01 +00:00
juhosg
cd8b422a5b [ar71xx] add experimental support for the Atheros PB44 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-20 08:23:48 +00:00
juhosg
d5c81e38f2 [ar71xx] reorder mtd partitions on the WRT400N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-13 20:12:07 +00:00
juhosg
bf7689f4a5 [ar71xx] create image for the WRT400N board (thanks to netprince)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-13 20:00:42 +00:00
juhosg
99fcf7be60 [ar71xx] remove extern directives
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-09 05:57:56 +00:00
juhosg
c383813b59 [ar71xx] increase AR71XX_MEM_SIZE_MAX (thanks to Leo Galambos for reporting)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-09 05:39:12 +00:00
juhosg
97b99eb026 [ar71xx] add experimental support for the Linksys WRT400N board (thanks to netprince)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-26 06:40:02 +00:00
juhosg
52b4c3f376 [ar71xx] ap81: register GPIO LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 19:59:33 +00:00
juhosg
114410cc27 [ar71xx] ap81: register SPI flash, and add default MTD partitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 18:48:00 +00:00
juhosg
32594e5753 [ar71xx] ap81: register GPIO buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 18:34:11 +00:00
juhosg
2874b81b86 [ar71xx] ap81: register USB host controller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 18:14:55 +00:00
juhosg
d360a52adc [ar71xx] ap81: register ethernet devices, and add default network configuration file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 18:07:16 +00:00
juhosg
9d1b6e32d9 [ar71xx] ap83: remove unnecessary include
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 18:02:50 +00:00
juhosg
2078245606 [ar71xx] preliminary support for the Atheros AP81 refrence board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-15 14:30:08 +00:00
juhosg
aab1f62d35 [ar71xx] pb42: add GPIO buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 19:28:28 +00:00
juhosg
336a5e9027 [ar71xx] pb42: fix ethernet, remove USB registration, add default network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 18:28:33 +00:00
juhosg
f2b8e0d414 [ar71xx] ls-sr71: add GPIO LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 12:53:31 +00:00
juhosg
ea9ae3e500 [ar71xx] simplify setup code for Ubiquiti boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 12:24:11 +00:00
juhosg
f3c86673c1 [ar71xx] tew-632brp: increase the size of rootfs partition, and build one unified firmware image only
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-01 11:17:16 +00:00
juhosg
7a6bbf20f3 [ar71xx] aw-nr580: add GPIO LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 18:32:04 +00:00
juhosg
28b2a5f4c4 [ar71xx] aw-nr580: add support for the PCI slot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 17:06:29 +00:00
juhosg
ccf3bdc4a6 [ar71xx] aw-nr580: add support for the LAN ports
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 16:34:09 +00:00
juhosg
9c695dc81f [ar71xx] aw-nr580: add GPIO buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 15:45:29 +00:00
juhosg
ea9cc9f9c7 [ar71xx] move 'ar71xx_add_device_usb' definition into devices.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-27 10:09:20 +00:00
juhosg
86370e29ab [ar71xx] TL-WR941ND: update flash partition map
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 17:01:05 +00:00
juhosg
322c00880d [ar71xx] preliminary support for the Ubiquiti RouterStation Pro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 07:39:30 +00:00
agb
2d1c688ec9 [ar71xx] wnr2000: enable ar8216 workaround, add network config. LAN ports now work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 05:54:32 +00:00
agb
a1a27e7336 [ar71xx] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 01:22:57 +00:00
agb
07fb674250 [ar71xx] wnr2000: buttons and blinkenlights!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 01:20:27 +00:00
juhosg
e348c25274 [ar71xx] mzk-w04nu: enable the ar8216 chip workaround, and add a default network configuration file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-25 16:48:56 +00:00
juhosg
7fa43ebaa8 [ar71xx] ag71xx driver: add a workaround for the ar8216 chip, until we get a suitable switch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-25 16:47:11 +00:00
juhosg
131a4de050 [ar71xx] remove duplicated includes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 11:34:05 +00:00
juhosg
8fea4a8332 [ar71xx] TL-WR941ND: add DSA device for the Marvell 88E6060 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 10:43:23 +00:00
juhosg
8e7007124a [ar71xx] move device registration function prototypes into a separate header file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 08:50:00 +00:00
juhosg
be58f1bd92 [ar71xx] rename platform.c to devices.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 08:21:05 +00:00
juhosg
98d9b124f4 [ar71xx] enable TL-WR941ND in kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 08:01:31 +00:00
juhosg
8fbd46b60a [ar71xx] tl-wr941nd: register ethernet device, and fix machine id
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-23 07:58:44 +00:00
juhosg
5dc7b2bc72 [ar71xx] preliminary support for the TL-WR941ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 20:49:06 +00:00
juhosg
57d520448e [ar71xx] add an alias board name for the Ubiquiti RouterStation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-19 07:39:50 +00:00
juhosg
8e777a33d8 [ar71xx] add a workaround for fixing the bad performance of the Ubiquiti RouterStation/LS-SR71 boards, until they fix their bootloader.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-18 19:58:43 +00:00
juhosg
3fc3232823 [ar71xx] switch to 2.6.28
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-15 07:52:55 +00:00
juhosg
ca18bd2e66 [ar71xx] add preliminary support for the Ubiquiti LS-SR71 board (thanks to Xianghua Xiao for the initial patch, and for testing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-12 19:48:27 +00:00
juhosg
eed3d11b5e [ar71xx] 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>) 

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-12 08:08:14 +00:00
juhosg
ce32456d28 [ar71xx] create firmware images for the Planex MZK-W04NU board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-05 16:46:55 +00:00
juhosg
7dcb6b3cfd [ar71xx] parse RedBoot environments as well (patch by Jonas <jmajau@ubnt.com>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 08:44:50 +00:00
juhosg
9a1a756ef5 [ar71xx] mzk-w04nu: fetch MAC address from the flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 07:53:46 +00:00
juhosg
0c5fc41bd6 [ar71xx] fix handling of invalid arguments passed by some bootloaders (thanks to Jeff Hansen and to Jonas)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-03 07:26:31 +00:00
juhosg
370f0f638b [ar71xx] parse dot-separated MAC address (patch by Jonas <jmajau@ubnt.com>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 19:37:57 +00:00
juhosg
938e9e6dc7 [ar71xx] mzk-w04nu: add GPIO LEDs and buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 17:51:51 +00:00
juhosg
70bdc90a32 [ar71xx] print some informations about the SoC at bootup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-01 09:46:04 +00:00
juhosg
960184c86b [ar71xx] fix leds-gpio platform data initialization (closes #4512)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-28 11:48:14 +00:00
juhosg
dbb5095d22 [ar71xx] tew-632brp: enable WAN port
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-27 07:08:24 +00:00
juhosg
87dc213422 [ar71xx] experimental support for the Planex MZK-W04NU board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 18:50:43 +00:00
juhosg
ac3869f977 [ar71xx] tew-632brp: add WPS button
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 17:45:33 +00:00
juhosg
03b0188081 [ar71xx] move random MAC address generation into the platform initialization code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 14:55:09 +00:00
juhosg
802a66f236 [ar71xx] add preliminary support for the Planex MZK-W300NH board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 19:46:41 +00:00
juhosg
51734456d1 [ar71xx] remove board specific stuff from the generic machine setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 19:07:13 +00:00
juhosg
d68bc110c8 [ar71xx] add preliminary support for the Atheros PB42 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 19:06:00 +00:00
juhosg
603c403f5e [ar71xx] fix the registered machine type of the WNR2000 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 09:32:22 +00:00
juhosg
c35e396304 [ar71xx] register WMAC device on the Netgear WNR2000 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-03 14:14:03 +00:00
juhosg
6fa4f54cd4 [ar71xx] prepare for ath9k support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-02 18:54:33 +00:00
juhosg
0a008c0a0b [ar71xx] add experimental support for the NETGEAR WNR2000 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-30 13:46:43 +00:00
juhosg
26fe054b76 [ar71xx] add dummy WMAC device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-30 06:52:57 +00:00
juhosg
b03c79ca6a [ar71xx] add experimental support for the Ubiquiti LSX board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-29 17:54:16 +00:00
juhosg
527ea6e86a [ar71xx] add Ubiquiti board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-26 20:12:42 +00:00
juhosg
2b020ab721 [ar71xx] use SoC specific irq dispatch code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-23 13:59:04 +00:00
juhosg
5375152a1a [ar71xx] fix GPIO function select bit definitions (based on a patch by Jonas <jmajau at ubnt.com>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-20 08:28:39 +00:00
juhosg
61bfc135bd [ar71xx] rb-4xx: setup code cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-20 07:47:30 +00:00
juhosg
3cecbcc6b0 [ar71xx] improve Ubiquiti RouterStation support (based on a patch by Jonas <jmajau at ubnt.com>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 20:18:48 +00:00
juhosg
b8b15dbe42 [ar71xx] rename RouterStation stuff, and add machine type for the LSX board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-19 19:17:53 +00:00
juhosg
ac13af2180 [ar71xx] prepare for RouterStation support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 19:18:52 +00:00
juhosg
e749730b78 [ar71xx] move machine setup code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 16:11:42 +00:00
juhosg
8381f3a203 [ar71xx] tew-632brp: add status LED
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 11:07:11 +00:00
juhosg
dd0fb21b4c [ar71xx] tew-632brp: register GPIO buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 11:04:16 +00:00
juhosg
d7e6db6764 [ar71xx] tew-632brp: register GPIO LEDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 09:48:34 +00:00
juhosg
fa098211ca [ar71xx] tew-632brp: use LZMA compressed uImage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 08:32:04 +00:00
juhosg
ba4c39d9c4 [ar71xx] tew-632brp: register flash device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-14 19:40:17 +00:00
juhosg
371ac14f6d [ar71xx] register eth0 device on the TEW-632BRP board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-09 18:49:01 +00:00
juhosg
57a811ea66 [ar71xx] add dummy code for the TRENDnet TEW-632BRP board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-06 18:10:57 +00:00
juhosg
9b7311c3c7 [ar71xx] add SoC specific reset code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 18:13:43 +00:00
juhosg
efbbbe4abd [ar71xx] rename reset register definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 16:55:43 +00:00
juhosg
db8e4c03ca [ar71xx] fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 12:50:21 +00:00
juhosg
b546bd19de [ar71xx] register GPIO buttons on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 12:18:17 +00:00
juhosg
b80c50f7cf [ar71xx] make all AR913x GPIO lines usable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 12:17:14 +00:00
juhosg
10874ba35c [ar71xx] register USB device on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 09:11:03 +00:00
juhosg
b92481566d [ar71xx] add ar913x specific USB setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-04 07:19:23 +00:00
juhosg
f241cac466 [ar71xx] create platform data for the EHCI driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-03 15:54:08 +00:00
juhosg
a4f34dd3db [ar71xx] rename USB variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-03 15:35:12 +00:00
juhosg
19fdaabfac [ar71xx] update mips_machine stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-02 21:17:31 +00:00
juhosg
83035bc909 [ar71xx] fix build error introduced in r13389
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 10:07:56 +00:00
juhosg
c23c1f22b6 [ar71xx] register eth1 device on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 09:07:01 +00:00
juhosg
49f119b075 [ar71xx] add gpio leds for the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-28 09:06:01 +00:00
juhosg
01bfb93608 [ar71xx] ag71xx driver: introduce new flag for the AR913x SOCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-27 17:31:22 +00:00
juhosg
855ed1aee2 [ar71xx] register eth0 device on the AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13371 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-27 08:39:08 +00:00
juhosg
7188638a39 [ar71xx] ag71xx: introduce SoC specific fuctions for DDR flush and PLL setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 20:00:41 +00:00
juhosg
a2d8b1a229 [ar71xx] rename DDR registers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 17:17:13 +00:00
juhosg
878a707c0f [ar71xx] fix AP83 boot failure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-26 08:40:46 +00:00
juhosg
611fd7328c [ar71xx] add dummy code for the Atheros AP83 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-25 19:19:55 +00:00
juhosg
643e69de49 [ar71xx] enable gigabit feature if the SoC supports it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-25 17:55:46 +00:00
juhosg
5301b468d5 [ar71xx] improve SoC detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-25 17:39:12 +00:00
juhosg
31fbc2c9d4 [ar71xx] fix gpio-leds, and gpio-buttons platform data initialization
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-24 11:03:18 +00:00
juhosg
fc057cea38 [ar71xx] add experimental support for the AzureWave AW-NR580 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-18 13:21:24 +00:00
juhosg
0cdd52ad75 [ar71xx] use MyLoader partition parser on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 17:42:35 +00:00
juhosg
939db4d35a [ar71xx] move MyLoader stuff into generic files, will be used on adm5120
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 09:19:27 +00:00
juhosg
cfb59b2578 [ar71xx] fixes the ethernet port mask of RB433 in the platform data
* Signed-off-by: Joerg Albert <jal2 at gmx.de> 
 * closes #4185

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-13 17:02:59 +00:00
juhosg
7bb460e11a [ar71xx] rewrite memory size detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-13 15:55:39 +00:00
juhosg
3f99fcb4de [ar71xx] enable ethernet and PCI on RB-493/AH
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-03 15:11:09 +00:00
juhosg
26879160c0 [ar71xx] setup speed/duplex on RB-433/450 (closes #4151)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-31 11:50:47 +00:00
juhosg
3af3950aff [ar71xx] change ag71xx platform device registration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-17 07:12:44 +00:00
juhosg
f385abf518 [ar71xx] fix RB-493 detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-16 19:18:46 +00:00
juhosg
db0c81f577 [ar71xx] preliminary support for the RB-493/AH, based on a patch by Carl Riechers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-15 19:03:31 +00:00
juhosg
b66b7bc87e [ar71xx] add hardware watchdog driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-30 08:05:18 +00:00
juhosg
ad788429d1 [ar71xx] remove some debug stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-18 18:41:03 +00:00
juhosg
4dfbff8a17 [ar71xx] add MyLoader support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-18 12:56:10 +00:00
juhosg
2fba571951 [ar71xx] WP543: add static mtd partitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-18 12:38:53 +00:00
juhosg
ac1c761834 [ar71xx] fix the PCI byte lane enable generation code, based on a patch by Chris Dearman
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-17 13:29:47 +00:00
juhosg
213b89f9dd [ar71xx] add gpio-buttons devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-07 09:47:37 +00:00
juhosg
d715ffc443 [ar71xx] simplify leds-gpio device registration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-07 08:59:27 +00:00
juhosg
a1336b4635 [ar71xx] register gpio-leds on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-04 13:39:11 +00:00
juhosg
df4a94178c [ar71xx] make use the USB controller on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 19:37:58 +00:00
juhosg
ba0ff4352c [ar71xx] fix platform device ids of the USB controllers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 18:02:18 +00:00
juhosg
2147e59d2e [ar71xx] fix phy id on the WP543 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 15:23:26 +00:00
nbd
c5b95dd0e9 make openwrt boot on ar9130 (currently no ethernet yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 14:41:26 +00:00
juhosg
52696b5d81 [ar71xx] 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-29 18:22:38 +00:00
juhosg
4ae7cc9ab5 [ar71xx] parse mac address on RouterBOARDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-22 16:35:29 +00:00
juhosg
546b5ed544 surprise :p
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-21 17:08:14 +00:00