Commit graph

737 commits

Author SHA1 Message Date
Gabor Juhos
e47a8c2bb2 ar71xx: fix GMAC1 interface speed on the DB120 board
SVN-Revision: 29555
2011-12-15 22:25:35 +00:00
Gabor Juhos
36bc2c2c80 ar71xx: ag71xx: fix switch port setup for AR934X
SVN-Revision: 29554
2011-12-15 22:25:32 +00:00
Gabor Juhos
00667c3846 ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
SVN-Revision: 29553
2011-12-15 22:25:30 +00:00
Gabor Juhos
0540970345 ar71xx: ag71xx: setup switch interface mode on AR934X
SVN-Revision: 29552
2011-12-15 22:25:29 +00:00
Gabor Juhos
44014110b8 ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
SVN-Revision: 29551
2011-12-15 22:25:28 +00:00
Gabor Juhos
e2a546d475 ar71xx: allow to attach the internal switch for AR934x
SVN-Revision: 29550
2011-12-15 22:25:22 +00:00
Gabor Juhos
9ae65588d8 ar71xx: introduce ar71xx_switch_data
SVN-Revision: 29549
2011-12-15 22:25:11 +00:00
Gabor Juhos
850be54b72 ar71xx: tplinkpart: allow to detect JFFS2 as well
SVN-Revision: 29543
2011-12-15 22:03:40 +00:00
Gabor Juhos
b7d7481b07 ar71xx: ag71xx: check PHY IDs before accessing the switch registers
SVN-Revision: 29541
2011-12-15 13:25:23 +00:00
Gabor Juhos
0655552860 ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
SVN-Revision: 29540
2011-12-15 13:25:21 +00:00
Gabor Juhos
204fc6bed5 ar71xx: ag71xx: nuke ar7240sw_init
SVN-Revision: 29539
2011-12-15 13:25:20 +00:00
Gabor Juhos
d1f7783612 ar71xx: fix mac addresses on jjPlus devices
SVN-Revision: 29538
2011-12-15 13:25:18 +00:00
Gabor Juhos
b9c5cb5c9a ar71xx: add support for ALFA Network's Hornet-UB board
SVN-Revision: 29535
2011-12-14 20:54:10 +00:00
Gabor Juhos
66c8cc0f6d ar71xx: add GPIO function bit defines for AR933X
SVN-Revision: 29534
2011-12-14 20:54:07 +00:00
Felix Fietkau
7076d74b21 ar71xx: fix gpio count for ar7241/ar7242
SVN-Revision: 29532
2011-12-14 20:47:24 +00:00
Felix Fietkau
b878f4a927 ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
SVN-Revision: 29531
2011-12-14 20:21:42 +00:00
Felix Fietkau
4a441570ca kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
SVN-Revision: 29516
2011-12-13 15:14:59 +00:00
Felix Fietkau
3806671fe5 ar71xx: fix wireless led on wzr-hp-g450h
SVN-Revision: 29515
2011-12-13 15:00:43 +00:00
Gabor Juhos
2dd7dfb1c9 ar71xx: enable AR9341 support at setup.c
Patch-by: dyq <729650915@qq.com>

SVN-Revision: 29514
2011-12-13 14:59:43 +00:00
Gabor Juhos
058998acdb ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.

The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.

I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.

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

SVN-Revision: 29513
2011-12-13 14:59:40 +00:00
Felix Fietkau
48f9717371 ar71xx: add gpios and usb for wzr-hp-g450h
SVN-Revision: 29509
2011-12-13 13:33:44 +00:00
Gabor Juhos
4ca2d86493 ar71xx: use RedBoot parser on PB44
SVN-Revision: 29501
2011-12-11 15:52:47 +00:00
Gabor Juhos
bdc2eca7de ar71xx: use correct mac on the lan interface on several TP-LINK devices
SVN-Revision: 29458
2011-12-05 21:10:58 +00:00
Gabor Juhos
0103069372 ar71xx: allow to pass negative offset values for ar71xx_init_mac
SVN-Revision: 29457
2011-12-05 21:10:55 +00:00
Gabor Juhos
ada92aee62 ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
SVN-Revision: 29456
2011-12-05 18:21:15 +00:00
Gabor Juhos
3e7a6d182a ar71xx: check squashfs signature in TP-Link mtd parser
SVN-Revision: 29446
2011-12-05 14:52:33 +00:00
Felix Fietkau
1f809532de ar71xx: add preliminary support for wzr-hp-g450h
SVN-Revision: 29441
2011-12-05 14:20:51 +00:00
Felix Fietkau
d1f63f8538 ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
SVN-Revision: 29440
2011-12-05 14:20:44 +00:00
Gabor Juhos
4cc2b9bb06 ar71xx: rewrite WNDR3700/3800 handling
SVN-Revision: 29434
2011-12-05 13:03:54 +00:00
Gabor Juhos
7cfa39f032 ar71xx: use the tp-link parser on the tp-link boards
Also remove static partition maps.

SVN-Revision: 29416
2011-12-03 18:13:31 +00:00
Gabor Juhos
514b1167c9 ar71xx: add mtd partition parser for the TP-Link boards
SVN-Revision: 29415
2011-12-03 18:13:27 +00:00
Gabor Juhos
fc7fb29bae ar71xx: run the RedBoot parser only on the RedBoot based boards
SVN-Revision: 29414
2011-12-03 18:13:25 +00:00
Gabor Juhos
9cc28d5aa0 ar71xx: run the MyLoader parser only on the WP543 board
SVN-Revision: 29413
2011-12-03 18:13:23 +00:00
Gabor Juhos
67a0b9aada ar71xx: run the wrt160nl parser only on the WRT160NL board
Also remove static mtd partition definitions.

SVN-Revision: 29412
2011-12-03 18:13:20 +00:00
Gabor Juhos
f188f1bad5 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

SVN-Revision: 29395
2011-12-01 22:49:02 +00:00
Gabor Juhos
f20797306a ar71xx: modify phy mask of the WP543 board
This fixes ethernet on newer boards. Based on a patch from #9702.

SVN-Revision: 29328
2011-11-24 20:09:43 +00:00
Gabor Juhos
c20d7378e5 ar71xx: fix wndr3800 machine name
This fixes the machine name in /proc/cpuinfo and luci status page machine name.

Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>

SVN-Revision: 29326
2011-11-24 20:09:38 +00:00
Gabor Juhos
9990523a0f ar71xx: set GE0 phy_mask for AR933x
SVN-Revision: 29274
2011-11-20 11:30:10 +00:00
Gabor Juhos
f27548448b ar71xx: fix USB LED on the DB120 board
SVN-Revision: 29126
2011-11-14 17:43:15 +00:00
Gabor Juhos
6ebbb1329d ar71xx: add a function for selecting output signal on a given GPIO pin
SVN-Revision: 29125
2011-11-14 17:43:14 +00:00
Gabor Juhos
0c1d3617d7 ar71xx: fix GPIO function handling on AR934x
SVN-Revision: 29124
2011-11-14 17:43:13 +00:00
Gabor Juhos
aa0c8c4885 ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
SVN-Revision: 29123
2011-11-14 17:43:11 +00:00
Gabor Juhos
62a7795afd ar71xx: merge nand scan patch
SVN-Revision: 29122
2011-11-14 17:43:10 +00:00
Gabor Juhos
12dae96097 ar71xx: fix a compiler warning
SVN-Revision: 29110
2011-11-14 13:07:47 +00:00
Gabor Juhos
5ae0fd802c ar71xx: fix GPIO count for AR934x
SVN-Revision: 29109
2011-11-14 13:07:45 +00:00
Gabor Juhos
e52269364a ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
SVN-Revision: 29108
2011-11-14 11:49:53 +00:00
Gabor Juhos
3104d70552 ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
SVN-Revision: 29107
2011-11-14 11:49:51 +00:00
Gabor Juhos
42e8ae09b5 ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
SVN-Revision: 29106
2011-11-14 11:49:49 +00:00
Gabor Juhos
c15caea360 ar71xx: add an irq parameter for ar724x_pcibios_init
SVN-Revision: 29105
2011-11-14 11:49:47 +00:00
Gabor Juhos
cf90b24bb9 ar71xx: remove hardwired interface parameters from mach-* files
SVN-Revision: 29103
2011-11-14 07:38:09 +00:00