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

333 Commits

Author SHA1 Message Date
juhosg
83ad54b039 ar71xx: AR724[12] requires different USB setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:57 +00:00
juhosg
c7f17e256a ar71xx: use the MDIO interface of the 2nd MAC on the ar7241
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:49 +00:00
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