Gabor Juhos
b49dc036e8
ar71xx: TEW632BRP has buttons 'active low', fix board config
...
Looks like trunk@37090 has changed the logic that determines
if router's button was pressed. This resulted in TEW632BRP
always booting into failsafe mode because it detected pressed
button (which was not pressed).
Measure with voltmeter has shown that buttons on this router
are actually active-low. This patch reflects this fact in
board configuration and fixes 'load info failsafe mode' issue.
Note: it looks like Trendnet TEW632BRP and a close relative
to TEW-652BRP V1.0 and D-Link DIR-615C1, so same problem may
exist on those routers as well. This patch doesn't affect
routers other than 632BRP and unfortunately I do not have
hardware to test this issue with other routers.
This patch fixes #13893 and is tested on actuall Trendnet
TEW632BRP.
Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37569
2013-07-28 10:23:22 +00:00
Gabor Juhos
ec7fe3fab7
ar71xx: add kernel support for the TL-MR10U board
...
Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370
[juhosg: extend WR703N code to handle the TL-MR10U
instead of adding a separate mach-tl-mr10u file]]
Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37547
2013-07-26 07:31:57 +00:00
Felix Fietkau
25d910a78f
ar71xx: use uimage split for WZR-HP-G300NH2
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37295
2013-07-14 14:05:31 +00:00
Felix Fietkau
6bff456212
ar71xx: enable uimage split for wzr-hp-ag300h/wzr-600dhp
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37294
2013-07-14 14:05:27 +00:00
Felix Fietkau
fbde376c53
ar71xx: use uimage split for WZR-HP-G300NH
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37293
2013-07-14 14:05:23 +00:00
Felix Fietkau
a7c5f6708b
ar71xx: use uimage split for WZR-HP-G450H
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37292
2013-07-14 14:05:19 +00:00
John Crispin
39531131a9
ar71xx: add carambola2 support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37260
2013-07-11 21:16:53 +00:00
Gabor Juhos
e61a77a05c
ar71xx: disable JTAG on TL-WR841N-v8/MR3420v2
...
It also fixes USB Power on MR3420v2.
Signed-off-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37194
2013-07-08 08:40:21 +00:00
Gabor Juhos
ca02639d17
ar71xx: fix for wrong eth0 mac assignment on Netgear WNDAP360
...
Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37192
2013-07-08 08:40:18 +00:00
Luka Perkov
c9926f77b4
ar71xx: Buffalo WZR-HP-AG300H (600DHP) change button type
...
switch buttons should be declared as switch so the failsafe shell is not
triggered by accident in procd
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37131
2013-07-02 10:45:32 +00:00
Gabor Juhos
5bb2e8030d
ar71xx: add support for WIFI button on tp-link tl-mr3220v2
...
The TP-LINK TL-MR3220 v2 has a button on the left side
labeled "WIFI". This is GPIO 24. This patch adds the
support for this button.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36848
2013-06-04 13:25:54 +00:00
Gabor Juhos
da66ea52ec
ar71xx: register USB port for RB2011U* devices
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36801
2013-05-30 17:38:31 +00:00
Gabor Juhos
151dca0935
ar71xx: make the SFP port usable on RB2011*S boards
...
The port 6 of the switch is connected to the SFP
cage on the RB2011*S boards. Add a helper function
to correctly initialize the switch configuration
data on those boards to make the SFP port usable.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36799
2013-05-30 17:38:28 +00:00
Gabor Juhos
3467b17e69
ar71xx: rb2011: add switch led control values
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36796
2013-05-30 17:38:21 +00:00
Gabor Juhos
4cf6e53ccc
ar71xx: rb2011: update RGMII RX/TX delay values
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36795
2013-05-30 17:38:20 +00:00
Gabor Juhos
6da63a8793
ar71xx: rb2011: move NAND nCE init to rb2011_nand_init
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36794
2013-05-30 17:38:17 +00:00
Gabor Juhos
d6554bf66a
ar71xx: add kernel support for the RB2011UAS
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36792
2013-05-30 17:38:13 +00:00
Gabor Juhos
91d7c3efc1
ar71xx: add kernel support for the TP-LINK Archer C7 board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36788
2013-05-30 16:23:07 +00:00
Gabor Juhos
93ce462b7e
ar71xx: set eth0 mac address to match bottom label of the OM2P LC
...
Signed-off-by: marek@open-mesh.com
CC: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36723
2013-05-26 16:02:29 +00:00
Felix Fietkau
144cfb65a4
ar71xx: add hard_cfg offset detection for rb2011 support - fixes wlan on some newer devices
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36631
2013-05-13 19:13:33 +00:00
Gabor Juhos
10b3ca5ccb
ar71xx: add kernel support for Netgear WNDAP360
...
Here is corrected version (only thing not working are wifi LEDs).
[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]
Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36578
2013-05-08 17:03:34 +00:00
Gabor Juhos
9b3c0d11a2
ar71xx: Add Netgear WNR2000v3 support
...
Network connectivity works fine (LAN and WAN).
For GPIOs, only pwr led and the green wan leds are supported for now.
Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36459
2013-04-26 17:00:52 +00:00
Gabor Juhos
5c11773f8a
ar71xx: add kernel support for TPLINK WR720N v3
...
Add support for TPLINK WR720N v3 which has 4MB flash,
32MB ram, 2 ethernet interfaces, 1 USB 2.0 port.
The patch is mostly a modification from mach-tl-wr703n.c.
GPIO numbers for the slider switch is from mach-tl-mr3020n.c.
Tested on my device and they worked fine.
Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36456
2013-04-26 17:00:48 +00:00
Gabor Juhos
f7da2127ab
ar71xx: fix ethernet LEDs on the TL-WDR3500
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36122
2013-03-25 06:40:03 +00:00
Gabor Juhos
cd5cca4ba8
ar71xx: fix USB power GPIO on the TL-WDR3500
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36119
2013-03-24 19:23:47 +00:00
Gabor Juhos
4daefc9480
ar71xx: remove numeric suffix of the TL-WDR3500 USB LED
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36118
2013-03-24 19:23:45 +00:00
Gabor Juhos
35d41db979
ar71xx: rw2458n - Use eeprom (art) from wifi card
...
Use eeprom (art) from included wifi card, not hard coded in flash.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36037
2013-03-15 14:35:50 +00:00
Gabor Juhos
8deffcba7e
ar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configuration
...
Error in using another MDIO (AP123 platform using only one GE1 device
for eth0 and eth1) for the router mr3420v2.
?onfirmed: https://forum.openwrt.org/viewtopic.php?pid=194779#p194779
Routers in this sense are the same and the only difference is: USB
port, USB led, instead of the GPIO-switch we have GPIO-button.
Signed-off-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36036
2013-03-15 14:35:48 +00:00
Gabor Juhos
14ca5fc98b
ar71xx: om2p-hs: use correct bit mask to disable JTAG functionality
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35966
2013-03-11 19:52:54 +00:00
Gabor Juhos
902dd27383
ar71xx: add kernel support for MR3420v2
...
[juhosg: use gpio_request_one to enable the USB power]
Patch-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@opewrt.org>
SVN-Revision: 35961
2013-03-11 15:55:20 +00:00
Gabor Juhos
5c5e1c0a9d
ar71xx: enabling control GPIO14 and GPIO15 on MR3040/MR11U
...
LAN1 and LAN2 LEDs not present (it pulled to ground via
resistors) on MR3040 and MR11U devices. This little patch
enabling ability to control GPIO14 and GPIO15.
Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3439/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35960
2013-03-11 15:55:19 +00:00
Gabor Juhos
a7525f5f5d
ar71xx: add kernel support for dir-835-a1
...
[juhosg:
- remove custom mdio bus info and platform data for ar8327, clear the
.led_cfg field from dir835a1_setup instead,
- remove arguments of dir835c1_generic_setup function, register the
LEDs directly from the board specific setup instead]
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3426/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35957
2013-03-11 15:55:13 +00:00
Gabor Juhos
1d55249d7c
ar71xx: use backported QCA955x patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35878
2013-03-04 11:48:15 +00:00
Luka Perkov
a5ebfc79ba
ar71xx: rework changes from r35840
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35865
2013-03-03 21:59:34 +00:00
Gabor Juhos
4491da2bd4
ar71xx: update MAC address assignment for dir-825-c1
...
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35855
2013-03-03 12:47:37 +00:00
Gabor Juhos
200aa6db83
ar71xx: fixes leds for dir-825-c1
...
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35854
2013-03-03 12:47:33 +00:00
Luka Perkov
107e0c6d1f
ar71xx: add support for Buffalo WZR 600DHP
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 35840
2013-03-01 13:46:01 +00:00
Gabor Juhos
bcac3c5569
ar71xx: fix MAC address assignment on the DIR-825-Bx boards
...
Use the same MAC addresses as the original firmware.
Based on a patch from #10421 .
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Tested-by: Gabor Varga <vargagab@gmail.com>
SVN-Revision: 35730
2013-02-21 17:58:21 +00:00
Gabor Juhos
4341b11f3e
ar71xx: remove __dev{init,exit} annotations from kernel files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35687
2013-02-19 20:52:06 +00:00
Gabor Juhos
7a709573d7
ar71xx: add kernel support for the Mikrotik RB951G board
...
This is platform definition for the RB951G device. It's mostly rework
of RB2011UAS patchset with network taken from the RB751 patches.
The main difference is the flash layout used by this device.
[juhosg:
- remove dead code from mach-rb951g
- add "-2HnD" suffix to the machine name
- use a separate 615-MIPS-ath79-RB951G-support.patch]
Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35633
2013-02-17 10:08:35 +00:00
Jonas Gorski
f07a33afc2
ar71xx: register the micro sd card reader on RB493G
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35535
2013-02-10 12:31:38 +00:00
Gabor Juhos
6ff973bdda
ar71xx: Routerboard 751 Mac Address Offset Fix
...
We utilize many Routerboard 751's and discovered that our latest batch
of RB751's would not initialize the wireless radio. We have determined
Mikrotik has changed where the mac address was located inside hardconfig.
As such we utilize "routerboot_find_tag" to find the location of the mac
address. We should remove "RB751_MAC_ADDRESS_OFFSET" as it is ambiguous
by machine manufacturing date. The newer batch of RB751's that we received
had a RB751_MAC_ADDRESS_OFFSET 0x10.
Signed-off-by: Davey Hutchison <dhutchison@bluemesh.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35519
2013-02-08 09:34:53 +00:00
Gabor Juhos
7c87d28054
ar71xx: fixes whitespaces for dir-825-c1
...
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35455
2013-02-02 15:02:19 +00:00
Gabor Juhos
31af0dc186
ar71xx: fix mac address calculation on the OpenMesh MR600
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35446
2013-02-02 08:47:41 +00:00
Gabor Juhos
8837d3a49b
ar71xx: add kernel support for the OpenMesh MR600v2
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35428
2013-02-01 15:50:42 +00:00
Gabor Juhos
fe3db74276
ar71xx: remove unused OpenMesh MR6000 platform code
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35426
2013-02-01 15:50:37 +00:00
Gabor Juhos
5bd02ca895
ar71xx: add kernel support for the TL-WDR3500 board
...
WDR3500 is similar to WDR3600 except it doesn't have gigabit ethernet,
and has only 1 USB port.
Pending issues:
* Leds are not working at all (except power and wlan_5g)
* LAN switch ethernet ports are reversed with respect to case label.
[Label] -> soft device
[LAN1] -> eth0.4
[LAN2] -> eth0.3
[LAN3] -> eth0.2
[LAN4] -> eth0.1
Based on http://patchwork.openwrt.org/patch/3208/
Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35423
2013-02-01 15:50:29 +00:00
Gabor Juhos
800da21cb1
ar71xx: add kernel support for dir-825-c1
...
[juhosg:
- remove unused GPIO stuff
- use a separate kernel patch for machine integration]
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35401
2013-01-29 22:50:50 +00:00
Gabor Juhos
5ca187570f
ar71xx: add kernel support for Atheros AP132 Reference Board
...
Based on http://patchwork.openwrt.org/patch/3162/
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35395
2013-01-29 19:12:30 +00:00
Gabor Juhos
8a9d92f125
ar71xx: fix ethernet device registration for the QCA9556 SoC
...
Based on http://patchwork.openwrt.org/patch/3162/
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35394
2013-01-29 19:12:28 +00:00
Gabor Juhos
df15e5cd61
ar71xx: enable fast flash read on dual-flash devices
...
This improves flash read speed on various Buffalo units.
mtd_speedtest results on the WZR-HP-AG300H:
old new delta
eraseblock read speed: 726 KiB/s 2068 KiB/s +184.85%
page read speed: 699 KiB/s 1973 KiB/s +182.26%
2 page read speed: 711 KiB/s 2043 KiB/s +187.34%
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35392
2013-01-29 19:12:25 +00:00
Gabor Juhos
ba4de984b9
ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on TL-WR703N/MR3020/MR3040/MR11U boards
...
The PHY_SWAP and PHY_ADDR_SWAP bits are initialized
differently by different versions of the bootloader.
This leads to broken ethernet connection with OpenWrt
on some boards.
Turn both SWAP bits OFF on these boards to make it
consistent regardless of the bootloader used.
Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35037
2013-01-07 14:30:37 +00:00
Gabor Juhos
66efec6783
ar71xx: allow to register the NAND flash controller on the QCA955x
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34945
2013-01-01 13:10:36 +00:00
Gabor Juhos
5dec87afef
ar71xx: fix ethernet device registration for QCA9558
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34853
2012-12-22 12:12:48 +00:00
Gabor Juhos
4085a5773d
ar71xx: fixup allowed PHY interface types for QCA9558
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34851
2012-12-22 12:12:44 +00:00
Gabor Juhos
f01a786825
ar71xx: don't assign any MII bus device on QCA9558 by default
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34850
2012-12-22 12:12:43 +00:00
Gabor Juhos
a0b31f97bb
generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34846
2012-12-22 12:12:35 +00:00
Gabor Juhos
0767605d17
ar71xx: add kernel support for the TL-MR3220 v2
...
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/
[juhosg:
- remove custom LED and button arrays
- use separate machine specific patch
- update Kconfig]
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34779
2012-12-19 08:50:35 +00:00
Gabor Juhos
bc82db7d78
ar71xx: add kernel support for the NETGEAR WNDR4300
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34647
2012-12-12 16:49:49 +00:00
Gabor Juhos
75b71f4a74
ar71xx: add ap91_pci_init_simple helper
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34646
2012-12-12 16:49:48 +00:00
Gabor Juhos
1f7ae58a2c
ar71xx: ar934x_nfc: allow to control DMA data swap via platform data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34588
2012-12-10 10:38:07 +00:00
Gabor Juhos
d44d954dec
ar71xx: add kernel support for the RB435G board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34239
2012-11-18 10:18:01 +00:00
Gabor Juhos
d62bddc620
ar71xx: update PCI IRQ map for RB4xx devices
...
Should fix #12269 .
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34238
2012-11-18 09:51:04 +00:00
Gabor Juhos
8d4857d677
ar71xx: add kernel support for the OpenMesh MR600 board
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34231
2012-11-18 09:32:33 +00:00
Gabor Juhos
91bab828aa
ar71xx: add support for TP-Link TL-WA7510N
...
It is mostly the same as TL-WA901N. WLAN and LAN
are working. LAN LED is working. WLAN signal
strength LEDs are not working yet.
http://wiki.openwrt.org/toh/tp-link/tl-wa7510n?s[]=wa7510n
[juhosg:
- cleanup commit message
- move non kernel related stuff into separate changes
- rename and refresh 615-MIPS-ath79-TL-WA7510N-v1-support patch
- merge WA7510N support into the mach-tl-wa901nd.c file
- add 3.6 support]
Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34187
2012-11-13 14:48:00 +00:00
Gabor Juhos
f2528b1792
ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpio
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34087
2012-11-05 13:23:27 +00:00
Gabor Juhos
ed35253f4c
ar71xx: don't use the unknown LED on the ZCN-1523-5 board
...
According to #12421 , GPIO 1 controls the power
output on the unused lines of the LAN2 port.
Remove the LED definition in order to prevent
possible permanent hardware damage.
If someone needs that, the power-out feature can
be controlled via the GPIO sysfs interface.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34076
2012-11-04 22:08:54 +00:00
Gabor Juhos
7228a91a3b
ar71xx: fix link speed between AR7242 and AR8327 on the RB750GL/RB751G boards
...
The default pll_1000 value had to be changed
in order to make it working.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33993
2012-10-29 17:24:30 +00:00
Gabor Juhos
d54c9653e9
ar71xx: add support for the Senao CAP4200AG board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33956
2012-10-27 08:55:38 +00:00
Gabor Juhos
f1f388d527
ar71xx: rw2458n - fix flash parts
...
See #12338 . Redwave rw2458 has uboot, not redboot.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33867
2012-10-19 18:32:49 +00:00
Gabor Juhos
31387947c8
ar71xx: use the ath79_set_ar934x_eth_cfg helper in machine setup routines
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33818
2012-10-17 18:27:47 +00:00
Gabor Juhos
5ffc08e3dc
ar71xx: add a helper function for setting up ETH_CFG register on AR934x
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33817
2012-10-17 18:27:45 +00:00
Gabor Juhos
c5a32cfc92
ar71xx: add support for the OpenMesh OM2P-HS board
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33800
2012-10-17 08:26:01 +00:00
Gabor Juhos
196c6c5b45
ar71xx: add support for the TL-WR841N/ND v8 board
...
SVN-Revision: 33621
2012-10-04 20:16:03 +00:00
Gabor Juhos
170cd7a19a
ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_mac
...
SVN-Revision: 33575
2012-09-27 20:05:42 +00:00
Gabor Juhos
e7b1949d87
ar71xx: automatically find WLAN calibration data on TEW-673GRU
...
SVN-Revision: 33539
2012-09-25 12:57:40 +00:00
Gabor Juhos
8ed8e51e74
ar71xx: automatically find WLAN calibration data on DIR-825-B1
...
SVN-Revision: 33538
2012-09-25 12:57:38 +00:00
Gabor Juhos
e70ad61e44
ar71xx: use different machtype and setup for the TL-MR3040
...
Should fix #12211 . Compile tested only.
SVN-Revision: 33535
2012-09-24 18:45:56 +00:00
Gabor Juhos
5804b9d1b7
ar71xx: register the NAND controller device on the RB2011
...
SVN-Revision: 33388
2012-09-13 07:26:26 +00:00
Gabor Juhos
4fd67c3cd4
ar71xx: add device registration code for the AR934x NAND flash controller
...
SVN-Revision: 33387
2012-09-13 07:26:25 +00:00
Gabor Juhos
aa2f4d4c8d
ar71xx: add initial support for RB2011UAS-2HnD
...
SVN-Revision: 33349
2012-09-09 14:05:32 +00:00
Gabor Juhos
3686e18727
ar71xx: use routerboot_find_tag to find wlan data offset on RB751
...
SVN-Revision: 33348
2012-09-09 14:05:30 +00:00
Gabor Juhos
ccabe4a1b4
ar71xx: add RouterBoot related helper routines
...
SVN-Revision: 33347
2012-09-09 14:05:28 +00:00
Gabor Juhos
44bf7c7cc1
ar71xx: define MTD partitions for RB2011
...
SVN-Revision: 33345
2012-09-09 14:05:24 +00:00
Gabor Juhos
6ae5ec16e0
ar71xx: add preliminary support for Mikrotik RB2011L
...
This patch adds preliminary support for the Mikrotik RB2011L.
The NAND flash is not yet supported, so only the initramfs
kernel can be used for now.
[juhosg: remove unnecessary PCI/USB related stuff, the board
does not use that, update commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 33344
2012-09-09 14:05:22 +00:00
Gabor Juhos
94bac7366c
ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
...
SVN-Revision: 33343
2012-09-09 14:05:20 +00:00
Gabor Juhos
7592057774
ar71xx: add dynamic MDIO clock calculation
...
SVN-Revision: 33342
2012-09-09 14:05:17 +00:00
Gabor Juhos
88a5478781
ar71xx: use the RLE library for RB751
...
SVN-Revision: 33338
2012-09-08 17:51:56 +00:00
Gabor Juhos
11c3392b7f
Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
...
That was based on assumptions.
SVN-Revision: 33310
2012-08-29 10:37:55 +00:00
Gabor Juhos
eb9a97a360
ar71xx: all0315n: fix ethernet according to vendor info
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33309
2012-08-29 10:37:54 +00:00
Gabor Juhos
5fdbb33db4
ar71xx: Buffalo WZR-HP-AG300H LED support
...
An improved LED support for Buffalo WZR-HP-AG300H.
There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.
[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 33294
2012-08-29 10:11:55 +00:00
Gabor Juhos
eebdd633e4
ar71xx: add support for the Allnet ALL0315N board
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33281
2012-08-27 14:55:31 +00:00
Gabor Juhos
cca873e8e0
ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33280
2012-08-27 14:55:26 +00:00
Gabor Juhos
8b3d95bba9
ar71xx: add support for the TRENDnet TEW-712BR board
...
SVN-Revision: 33231
2012-08-22 20:09:13 +00:00
Gabor Juhos
2811d6c183
ar71xx: fix comment style in mach-tl-wr2543n.c
...
SVN-Revision: 33227
2012-08-22 12:42:59 +00:00
Gabor Juhos
5a694e09c8
ar71xx: add ALL0305 board alias
...
For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 33224
2012-08-22 12:33:22 +00:00
Gabor Juhos
0517183b9c
ar71xx: add support for TP-Link TL-WDR3600
...
The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.
[juhosg: remove the custom machine type, change the board name instead]
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 33219
2012-08-22 09:43:18 +00:00
John Crispin
968ac3fd03
add led defintion for the WR2543 5GHz WLAN LED
...
Signed-off-by: Andy Leiserson <andy@leiserson.org>
SVN-Revision: 33215
2012-08-22 09:10:24 +00:00
Gabor Juhos
79a8660d67
ar71xx: init switch hw_reset on the TL-WR1043ND board
...
SVN-Revision: 32944
2012-08-02 09:54:28 +00:00
Gabor Juhos
563400ef10
ar71xx: ew-dorin: added router firmware generation
...
[juhosg: remove dead code]
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>
SVN-Revision: 32934
2012-08-01 12:24:57 +00:00
Gabor Juhos
010aec0619
ar71xx: Buffalo WLAE-AG300N initial support
...
The patch set for Buffalo WLAE-AG300N initial support.
There is another patch for wireless led support that
is posted separately.
Note on serial console:
This unit has buffalo standard 4 pin console, but the unit may not power
on if some console apparatus is connected. This is probably due to some
electronic interaction between the unit's electronic power switch circuit
and the serial console apparatus. If this happens, it is required to power
on the unit without the console, then quickly (re-)attach it.
[juhosg: fix coding style]
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 32931
2012-08-01 12:24:52 +00:00
Gabor Juhos
7c932579fa
ar71xx: make 2.4GHz wlan LED work on the WR2543N
...
Because ath9k does not supports separate LEDs for
different bands yet, the 2.4GHz LED will show the
activity, even if the 5GHz band is selected.
SVN-Revision: 32615
2012-07-05 16:25:26 +00:00
Gabor Juhos
797944d3f1
ar71xx: add support for the OpenMesh OM2P-LC board
...
Patch-by: Marek Linder <marek@open-mesh.com>
SVN-Revision: 32611
2012-07-05 08:26:53 +00:00
Gabor Juhos
d1b237b335
ar71xx: add initial support for the QCA955X SoCs
...
SVN-Revision: 32606
2012-07-05 08:26:47 +00:00
Gabor Juhos
86013d40d5
ar71xx: remove the built-in MTD map of the ALL0258N
...
Pass the mtd_layout via the kernel command line instead.
Also increase the kernel partition size to 1024k, so current kernel can fit in.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 32585
2012-07-03 15:24:01 +00:00
Gabor Juhos
8b9931fd27
ar71xx: add support for the TL-WDR4300 board
...
SVN-Revision: 32459
2012-06-19 11:51:17 +00:00
Gabor Juhos
f509a87f2d
ar71xx: remove superfluous include of asm/mach-ath79/pci.h
...
SVN-Revision: 32455
2012-06-19 10:13:43 +00:00
Gabor Juhos
1a1121158f
ar71xx: add a common function to configure USB power GPIOs
...
SVN-Revision: 32454
2012-06-19 10:13:41 +00:00
Felix Fietkau
26cf21df02
ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
...
SVN-Revision: 32447
2012-06-19 00:22:04 +00:00
Felix Fietkau
dddf321b6e
ar71xx: swap the PHY address of the ethernet port of TL-MR3040/TL-MR11U similar to TL-MR3020 to fix ethernet link detection
...
SVN-Revision: 32336
2012-06-13 12:54:22 +00:00
Felix Fietkau
73b8805e78
ar71xx: fix PHY setup on TL-MR3020 ( fixes #11572 )
...
SVN-Revision: 32093
2012-06-06 17:24:12 +00:00
Felix Fietkau
dc9675282e
ar71xx: add a helper function for setting up PHY4 swapping on ar933x
...
SVN-Revision: 32092
2012-06-06 17:24:09 +00:00
Felix Fietkau
8039a1bbb2
ar71xx: fix MII clock settings for various chips, improves ethernet stability on AR934x
...
SVN-Revision: 31925
2012-05-27 21:02:41 +00:00
Gabor Juhos
013f434f5b
ar71xx: fix WLAN led for RB751U-2HnD and RB751G-2HnD
...
Patch by Kamil Trzciński <ayufan@osk-net.pl>
SVN-Revision: 31846
2012-05-23 21:05:25 +00:00
Gabor Juhos
ab897ab04e
ar71xx: add support for the TP-Link TL-WR1041N v2 board
...
Patch-by: Vince Huang <axishero@foxmail.com>
SVN-Revision: 31608
2012-05-05 17:02:35 +00:00
Gabor Juhos
3e3a4d3d6b
ar71xx: allow to disable link polling on unused PHYs
...
SVN-Revision: 31533
2012-04-29 18:29:24 +00:00
Gabor Juhos
408de85883
ar71xx: use ap91_pci_init for RB751{,G}
...
SVN-Revision: 31356
2012-04-19 21:31:48 +00:00
Gabor Juhos
0a9832b50d
ar71xx: move USB device registration directly into rb751{,g}_setup
...
SVN-Revision: 31355
2012-04-19 21:31:43 +00:00
Gabor Juhos
78967e6640
ar71xx: add ap9x_pci_get_wmac_data helper
...
SVN-Revision: 31354
2012-04-19 21:31:42 +00:00
Gabor Juhos
5c9ca38e47
ar71xx: add sanity checks to decode_rle
...
Also use -EINVAL instead of -1.
SVN-Revision: 31353
2012-04-19 21:31:40 +00:00
Gabor Juhos
e295a077ce
ar71xx: initial support for Mikrotik RB751G-2HnD and RB751U-2HnD
...
Great collaboration on these two fantastic routers on the openwrt forum:
https://forum.openwrt.org/viewtopic.php?id=32320
Above all kudos to aryufan. Well done and thank you everyone else who
contributed.
To-Do: LED for wlan is not yet activated
To-Do: TxPower over 20dBm (RB751U) or 22dBm (RB751G) are not accepted by
the router
Signed-off-by: Hanno Schupp <hanno.schupp@gmail.com>
[juhosg: fix line wrapped patch, fix checkpatch errors, add missing
kernel patches]
SVN-Revision: 31208
2012-04-06 06:45:07 +00:00
Gabor Juhos
b77217d963
ar71xx: boost SPI flash read performance
...
mtd_speedtest results:
page read speed
old new delta
DB120 929 KiB/s 2597 KiB/s +179.55%
TL-WR1043ND v1 754 KiB/s 2166 KiB/s +187.27%
TL-WR703N v1 745 KiB/s 2176 KiB/s +192.08%
TL-MR3220 v1 752 KiB/s 2154 KiB/s +186.44%
TL-WR2543ND v1 564 KiB/s 2130 KiB/s +277.66%
TL-WR741ND v2 525 KiB/s 1767 KiB/s +236.57%
ALFA-AP96 702 KiB/s 1977 KiB/s +181.62%
WNDR3700 697 KiB/s 1965 KiB/s +181.92%
SVN-Revision: 31118
2012-03-27 19:38:17 +00:00
Gabor Juhos
6cd5fb7001
ar71xx: remove the built-in MTD map of the AP96 board
...
Pass the mtd_layout via the kernel command line instead.
SVN-Revision: 31112
2012-03-27 19:38:07 +00:00
Gabor Juhos
61ee283899
ar71xx: remove the built-in MTD map of the PB92 board
...
Pass the mtd_layout via the kernel command line instead
SVN-Revision: 31111
2012-03-27 19:38:05 +00:00
Gabor Juhos
1094dc1996
ar71xx: remove the built-in MTD map of the Zcomax devices
...
Pass the mtd_layout via the kernel command line instead.
SVN-Revision: 31110
2012-03-27 19:38:04 +00:00
Gabor Juhos
87e4ec687b
ar71xx: remove the built-in MTD maps of several boards
...
We are passing the MTD layout via the kernel command line, so
it makes no sense to duplicate it in mach-* files. The patch
removes the built-in MTD maps of the following boards:
* AP113
* ALFA N2/N5
* DIR-600
* DIR-615
* DIR-825
* TEW-6{3,5}2BRP
* TEW-673GRU
* WHR-G301N
* WHR-HP-GN
* WHR-HP-G300N
SVN-Revision: 31108
2012-03-27 19:38:01 +00:00
Gabor Juhos
f4d1e3d147
ar71xx: fix button polarity on TL-WR703N and TL-WR741N v4
...
SVN-Revision: 31102
2012-03-27 19:37:51 +00:00
Gabor Juhos
8a2e4b49de
ar71xx: add initial support for RB750GL
...
SVN-Revision: 31025
2012-03-19 15:57:04 +00:00
Gabor Juhos
d19f3dd512
ar71xx: make rb750_latch_change 'static void'
...
SVN-Revision: 31024
2012-03-19 15:57:03 +00:00
Gabor Juhos
5348f46c80
ar71xx: add latch_change field to rb750_led_platform_data
...
SVN-Revision: 31023
2012-03-19 15:57:01 +00:00
Gabor Juhos
8a471efe01
ar71xx: add platform data for the RB750 NAND driver
...
SVN-Revision: 31022
2012-03-19 15:56:59 +00:00
Gabor Juhos
e9b45ebaba
ar71xx: add AR934x specific interface speed setup for ge0
...
SVN-Revision: 31017
2012-03-19 11:11:20 +00:00
Gabor Juhos
6036151187
ar71xx: add support for the jjPlus JA76PF2 board
...
SVN-Revision: 30957
2012-03-16 18:00:34 +00:00
Gabor Juhos
a680662391
ar71xx: change LED name prefix on the jjplus boards
...
SVN-Revision: 30956
2012-03-16 18:00:26 +00:00
Gabor Juhos
1c5ac02a29
ar71xx: reset the switch on AR934x before ethernet device registration
...
SVN-Revision: 30922
2012-03-13 17:29:33 +00:00
Gabor Juhos
66df117d1b
ar71xx: use a dummy callback for interfaces with fixed speed
...
SVN-Revision: 30913
2012-03-12 20:38:58 +00:00
Gabor Juhos
8b2b37ae58
ar71xx: merge ar934x_bo_ddr_flush patch
...
SVN-Revision: 30912
2012-03-12 20:38:57 +00:00
Gabor Juhos
2d89fa7f43
ar71xx: fix WPS button polarity on TL-WR2543N
...
SVN-Revision: 30849
2012-03-07 19:50:53 +00:00
Gabor Juhos
d72bde99cd
ar71xx: merge files-3.2 to files
...
SVN-Revision: 30405
2012-02-10 08:19:31 +00:00
Gabor Juhos
386cbfe45b
ar71xx: move arch specific files to files-2.6.39
...
SVN-Revision: 29867
2012-01-22 22:38:11 +00:00
Gabor Juhos
ef1c53b7b7
ar71xx: change board id of the UniFi board
...
SVN-Revision: 29849
2012-01-22 13:51:50 +00:00
Gabor Juhos
fbf81c8e79
ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
...
SVN-Revision: 29713
2012-01-11 18:00:50 +00:00
Gabor Juhos
a1dcbc66a6
ar71xx: add initial support for the TL-WR2543N/ND board
...
The WLAN LEDs are not working yet.
SVN-Revision: 29680
2012-01-07 19:36:35 +00:00
Gabor Juhos
67b2814842
ar71xx: local mac support on the wndr3700
...
The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.
This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.
Patch-by: Dave Taht <dave.taht@gmail.com>
SVN-Revision: 29675
2012-01-07 17:24:44 +00:00
Gabor Juhos
1e848b17ad
ar71xx: add support for Redwave RW2458N
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 29669
2012-01-06 07:20:59 +00:00
Gabor Juhos
b8f0d86115
ar71xx: add inital support for the ALFA Network AP96 board
...
The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.
SVN-Revision: 29662
2012-01-04 21:13:54 +00:00
Gabor Juhos
923f3e3752
ar71xx: allow to use the command line hack on compex devices
...
SVN-Revision: 29659
2012-01-04 17:30:58 +00:00
Gabor Juhos
2f53f82203
ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
...
These models are based on the AP99 reference board,
and uses the AR7241 SoC.
SVN-Revision: 29658
2012-01-04 17:30:57 +00:00
Gabor Juhos
90bfef9ec9
ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
...
SVN-Revision: 29653
2012-01-04 17:30:50 +00:00
Gabor Juhos
1045c83527
ar71xx: add support for TP-Link TL-MR3020
...
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.
I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020
USB is working and has been tested with USB mass storage and USB UMTS
stick.
Wifi also seems to work.
Ethernet is working too.
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29651
2012-01-04 17:30:47 +00:00
Gabor Juhos
1e68f10b87
ar71xx: add support for the ALFA Network N2/N5 boards
...
SVN-Revision: 29635
2012-01-01 19:30:25 +00:00
Gabor Juhos
5c067db8a7
ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
...
SVN-Revision: 29631
2011-12-31 15:02:46 +00:00
Gabor Juhos
557009bbdb
ar71xx: fix LEDs on the WRT400N
...
SVN-Revision: 29624
2011-12-31 13:54:11 +00:00
Jo-Philipp Wich
ebefe1eb3a
the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id ( #10649 )
...
SVN-Revision: 29593
2011-12-21 01:27:48 +00:00
Felix Fietkau
11013ad947
ar71xx: add missing wireless led changes for wzr-hp-g300nh2
...
SVN-Revision: 29568
2011-12-19 09:04:15 +00:00
Felix Fietkau
0cc056cb7e
ar71xx: add support for the wzr-hp-g300nh2
...
Signed-off-by: Mark Deneen <mdeneen@gmail.com>
SVN-Revision: 29567
2011-12-18 22:20:17 +00:00
Gabor Juhos
67c7980290
ar71xx: connect GMAC0 to the internal switch on DB120
...
Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.
SVN-Revision: 29557
2011-12-15 22:25:38 +00:00
Gabor Juhos
5bbd416e38
ar71xx: add defines for the AR934X GMAC interface
...
SVN-Revision: 29556
2011-12-15 22:25:36 +00:00
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
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
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
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
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
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
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
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
Gabor Juhos
defc79cb40
ar71xx: force hardwired interface parameters in ar71xx_add_device_eth
...
SVN-Revision: 29102
2011-11-14 07:38:07 +00:00
Gabor Juhos
6f4bc1ce37
ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
...
SVN-Revision: 29101
2011-11-14 07:38:05 +00:00
Gabor Juhos
368bbc510b
ar71xx: enable has_gbit flag on AR724{0,1}
...
SVN-Revision: 29026
2011-11-13 17:36:36 +00:00
Gabor Juhos
15d7016c9f
ar71xx: fixup onboard PCIe chip registration on the DB120 board
...
SVN-Revision: 29022
2011-11-13 12:48:03 +00:00
Gabor Juhos
f623066e60
ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
...
SVN-Revision: 29021
2011-11-13 12:48:01 +00:00
Gabor Juhos
d0db89133c
ar71xx: remove mii_ctrl resources of the ethernet devices
...
SVN-Revision: 29016
2011-11-13 11:27:03 +00:00
Gabor Juhos
538a9493b9
ar71xx: set MII interface speed from the set_speed callbacks
...
SVN-Revision: 29013
2011-11-13 11:26:59 +00:00
Gabor Juhos
93cd46be13
ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
...
Also rename the corresponding callback functions.
SVN-Revision: 29012
2011-11-13 11:26:57 +00:00
Gabor Juhos
9579bb4267
ar71xx: ag71xx: remove MII interface setup code
...
SVN-Revision: 29011
2011-11-13 11:26:56 +00:00
Gabor Juhos
da64ce8603
ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
...
SVN-Revision: 29010
2011-11-13 11:26:54 +00:00
Gabor Juhos
5ad763075e
ar71xx: use the button for WPS control on the DB120
...
SVN-Revision: 28990
2011-11-12 12:50:20 +00:00
Gabor Juhos
4555be2bec
ar71xx: register the second ethernet interface on the DB120 board
...
SVN-Revision: 28989
2011-11-12 12:50:19 +00:00
Gabor Juhos
368c6605a0
ar71xx: implement SoC specific phy interface setup
...
SVN-Revision: 28988
2011-11-12 12:50:18 +00:00
Gabor Juhos
21d317b9cc
ar71xx: move phy interface setup into a separate function
...
SVN-Revision: 28987
2011-11-12 12:50:16 +00:00
Gabor Juhos
aff0c84ffa
ar71xx: register both MDIO bus on the DB120 board
...
SVN-Revision: 28986
2011-11-12 12:09:59 +00:00
Gabor Juhos
b144249108
ar71xx: add AR934X specific MDIO registration code
...
SVN-Revision: 28985
2011-11-12 12:09:56 +00:00
Gabor Juhos
f835106c8c
ar71xx: add a secondary mdio bus
...
SVN-Revision: 28984
2011-11-12 12:09:54 +00:00
Gabor Juhos
90a42da270
ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*
...
SVN-Revision: 28983
2011-11-12 12:09:50 +00:00
Gabor Juhos
9daa2149fd
ar71xx: add an id argument to ar71xx_add_device_mdio
...
SVN-Revision: 28982
2011-11-12 12:09:48 +00:00
Gabor Juhos
b07b687aec
ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa
...
SVN-Revision: 28981
2011-11-12 12:09:42 +00:00
Gabor Juhos
a9216bb76e
ar71xx: add AR934x specific USB setup
...
SVN-Revision: 28980
2011-11-12 10:54:20 +00:00
Gabor Juhos
346e44105a
ar71xx: register the first ethernet interface on the DB120 board
...
SVN-Revision: 28979
2011-11-12 10:54:18 +00:00
Gabor Juhos
b1ba5e2f3d
ar71xx: allow to register ethernet interfaces for AR934X
...
SVN-Revision: 28978
2011-11-12 10:54:17 +00:00
Gabor Juhos
e962b07c8b
ar71xx: add AR934X specific bootstrap and reset register bits
...
SVN-Revision: 28976
2011-11-12 10:54:15 +00:00
Gabor Juhos
d8db8e94c8
ar71xx: fix GPIO direction setup for AR934x
...
SVN-Revision: 28974
2011-11-12 10:54:09 +00:00
Gabor Juhos
43e993e5f5
ar71xx: fix AR934X clock frequency calculation
...
SVN-Revision: 28973
2011-11-12 10:54:08 +00:00
Gabor Juhos
a801d620a7
ar71xx: add support for the Buffalo WHR-HP-GN board
...
SVN-Revision: 28805
2011-11-07 12:59:10 +00:00
Gabor Juhos
4509af17ed
ar71xx: add support for the Buffalo WHR-G301N board
...
SVN-Revision: 28803
2011-11-07 12:59:07 +00:00
Gabor Juhos
4aace1e2e3
ar71xx: fix WHR-HP-G300N MTD partitions
...
SVN-Revision: 28800
2011-11-07 12:59:03 +00:00
Gabor Juhos
4c985724af
ar71xx: add missing AR71XX_MACH_TL_WR741ND_V4
...
SVN-Revision: 28709
2011-11-01 14:38:12 +00:00
Gabor Juhos
91f08d47c2
ar71xx: add initial support for the TL-WR741ND v4 board
...
The ethernet port LEDs are not working yet.
SVN-Revision: 28706
2011-11-01 11:20:52 +00:00
Gabor Juhos
21e651c9a1
ar71xx: add AR933X GMAC register defines
...
SVN-Revision: 28705
2011-11-01 11:20:50 +00:00
Gabor Juhos
f372620ffa
ar71xx: unify LED names on Planex boards
...
SVN-Revision: 28703
2011-11-01 11:20:47 +00:00
Gabor Juhos
66ab406d5a
ar71xx: unify LED names on Buffalo boards
...
SVN-Revision: 28702
2011-11-01 11:20:46 +00:00
Gabor Juhos
e7586959df
ar71xx: unify LED names on TP-Link boards
...
SVN-Revision: 28701
2011-11-01 11:20:44 +00:00
Gabor Juhos
1646346798
ar71xx: add initial support for the OpenMesh OM2P board
...
Based on a patch by Marek Lindner <marek@open-mesh.com>
SVN-Revision: 28617
2011-10-27 07:54:51 +00:00
Gabor Juhos
d02f22fea1
ar71xx/all0258n: fix partition layout
...
A miscalculation in the original patch makes OpenWrt destroy the failsafe image.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28615
2011-10-27 07:54:47 +00:00
Gabor Juhos
9d51cda2db
ar71xx: Buffalo WHR-HP-G300N kernel support
...
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.
Known problem: iw phy phy0 info shows:
Coverage class: 0 (up to 0m)
Available Antennas: TX 0 RX 0
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 28567
2011-10-24 21:49:26 +00:00
Gabor Juhos
d96e321bd1
ar71xx: add kernel support for the Allnet ALL0258N board
...
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28564
2011-10-24 21:49:21 +00:00
Jonas Gorski
a136b67604
linux: ar71xx: add support for Mikrotik Routerboard RB493G
...
SVN-Revision: 28423
2011-10-11 23:05:16 +00:00
Gabor Juhos
6ac4156136
ar71xx: fix MAC addresses on the DIR-825-B1 board
...
Patch-by: Lukas Kuna
SVN-Revision: 28295
2011-09-23 19:56:39 +00:00
Gabor Juhos
733399600f
ar71xx: add support for the TP-Link TL-WR703N v1 board
...
Based on a patch by dongyuqi <729650915@qq.com>
SVN-Revision: 28277
2011-09-21 11:47:53 +00:00
Gabor Juhos
d3617ac7d3
ar71xx: add AR933x specific USB setup function
...
SVN-Revision: 28276
2011-09-21 11:47:51 +00:00
Gabor Juhos
91340d8af7
ar71xx: add ar71xx_device_reset_rmw helper
...
SVN-Revision: 28275
2011-09-21 11:47:50 +00:00
Gabor Juhos
079e746fc4
ar71xx: remove 'default [yn]' from machine Kconfig entries
...
SVN-Revision: 28273
2011-09-21 11:47:47 +00:00
Gabor Juhos
73dac07c44
ar71xx: sort AR71XX_MACH_* entries
...
SVN-Revision: 28272
2011-09-21 11:47:45 +00:00
Felix Fietkau
65d809ef19
ar71xx: do not count normal interrupts as spurious ( fixes #10037 )
...
SVN-Revision: 28182
2011-09-06 05:38:23 +00:00
Felix Fietkau
cd2c68501c
ar71xx: fix ethernet PLL setting on ar7242
...
SVN-Revision: 28124
2011-08-29 21:23:46 +00:00
Felix Fietkau
12c84f8eeb
ar71xx: add some code to detect DMA stuck conditions on ar7240
...
SVN-Revision: 27975
2011-08-13 22:30:14 +00:00
Felix Fietkau
d26bb6c59c
ar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image layout ( fixes #9922 )
...
SVN-Revision: 27959
2011-08-11 13:52:40 +00:00
Jonas Gorski
e18ceb1dac
ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
...
Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.
SVN-Revision: 27814
2011-07-28 11:57:51 +00:00
Felix Fietkau
9e4113b493
ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh
...
SVN-Revision: 27756
2011-07-24 14:40:35 +00:00
Felix Fietkau
1afe8a0726
rtl8366: unify rtl8366s and rtl8366rb platform data
...
SVN-Revision: 27754
2011-07-24 14:40:23 +00:00
Felix Fietkau
9105dad418
ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 ( #9684 )
...
SVN-Revision: 27739
2011-07-24 08:02:20 +00:00
Felix Fietkau
fefc79f3cb
ar71xx: reset the phy in the ethernet init on ar724x
...
SVN-Revision: 27703
2011-07-20 12:04:34 +00:00
Gabor Juhos
f9e4619b97
ar71xx: remove CONFIG_MTD_CONCAT ifdefs from the WZR-HP-AG300H code
...
The config option has been removed in 2.6.39.
SVN-Revision: 27320
2011-06-30 12:15:33 +00:00
Gabor Juhos
d98476c6bd
ar71xx: merge 2.6.39 patches
...
Also remove the old UART driver for ar933x.
SVN-Revision: 27314
2011-06-29 08:57:37 +00:00
Gabor Juhos
1e138098cd
ar71xx: remove ar71xx_gpio_irq_set_type
...
SVN-Revision: 27309
2011-06-29 08:57:30 +00:00
Gabor Juhos
055e317ed8
ar71xx: add separate handlers for IP3 interrupts
...
SVN-Revision: 27308
2011-06-29 08:57:29 +00:00
Gabor Juhos
59bff8bf18
ar71xx: use separate handlers for IP2 interrupts
...
SVN-Revision: 27307
2011-06-29 08:57:28 +00:00
Gabor Juhos
9d6af600e1
ar71xx: remove useless irq_desc.status initializations
...
SVN-Revision: 27306
2011-06-29 08:57:27 +00:00
Felix Fietkau
ed7f41792a
ar71xx: bring up secondary radio on wzr-hp-ag300h ( fixes #9608 )
...
SVN-Revision: 27282
2011-06-25 13:48:47 +00:00
Gabor Juhos
e6af77a1c8
ar71xx: cleanup AR933X UART driver
...
SVN-Revision: 27222
2011-06-19 13:17:51 +00:00
Gabor Juhos
066e04d497
ar71xx: fix uart clock frequency for AR933X
...
SVN-Revision: 27221
2011-06-19 13:17:50 +00:00
Gabor Juhos
b58ede16a5
ar71xx: update early_printk code
...
SVN-Revision: 27165
2011-06-13 08:12:38 +00:00
Gabor Juhos
ae2cbfa1e8
ar71xx: select the internal antenna by default on the ZCN-1523H boards
...
SVN-Revision: 27101
2011-06-04 12:30:09 +00:00
Gabor Juhos
750af1522b
ar71xx: init external_reset for AR933X
...
SVN-Revision: 27083
2011-06-01 13:12:30 +00:00
Gabor Juhos
f0c7b93e5d
ar71xx: init get_mac_revision on AR9330 rev 1
...
SVN-Revision: 27081
2011-06-01 13:12:27 +00:00
Gabor Juhos
34ff32a6eb
ar71xx: export SoC revision
...
SVN-Revision: 27079
2011-06-01 13:12:24 +00:00
Felix Fietkau
4f06b8263a
ar71xx: add kernel support for the buffalo wzr-hp-ag300h
...
SVN-Revision: 27075
2011-06-01 02:23:26 +00:00
Gabor Juhos
f332dbd7be
ar71xx: add support for the AP121/AP121-MINI reference boards
...
SVN-Revision: 27067
2011-05-31 22:53:43 +00:00
Gabor Juhos
8beff081eb
ar71xx: register UART for the AR933X SoCs
...
SVN-Revision: 27066
2011-05-31 22:53:42 +00:00
Gabor Juhos
b460bc6f12
ar71xx: add serial driver for the AR933X UART
...
SVN-Revision: 27065
2011-05-31 22:53:40 +00:00
Gabor Juhos
c34e0cbc4c
ar71xx: add WMAC initialization code for the AR933X SoCs
...
SVN-Revision: 27064
2011-05-31 22:53:39 +00:00
Gabor Juhos
e8a0aaf9a2
ar71xx: add ethernet initialization for the AR933X SoCs
...
SVN-Revision: 27063
2011-05-31 22:53:37 +00:00
Gabor Juhos
e0a0f3796a
ar71xx: enable USB support for the AR933x SoCs
...
SVN-Revision: 27062
2011-05-31 22:53:36 +00:00
Gabor Juhos
677c80ee17
ar71xx: add AR933x specific glue for ar71xx_device{start,stop}
...
SVN-Revision: 27061
2011-05-31 22:53:35 +00:00
Gabor Juhos
7acbacab8c
ar71xx: add AR933x specific glue code for IRQ initialization
...
SVN-Revision: 27059
2011-05-31 22:53:32 +00:00
Gabor Juhos
e6fde61bec
ar71xx: don't register 8250 UART on the AR933x SoCs
...
SVN-Revision: 27058
2011-05-31 22:53:31 +00:00
Gabor Juhos
8f7541a044
ar71xx: enable GPIO support for the AR933x SoCs
...
SVN-Revision: 27057
2011-05-31 22:53:30 +00:00
Gabor Juhos
e11b9c8371
ar71xx: add AR933x specific frequency initialization code
...
SVN-Revision: 27056
2011-05-31 22:53:29 +00:00
Gabor Juhos
0bf4478d37
ar71xx: add AR933x specific early_printk support
...
SVN-Revision: 27055
2011-05-31 22:53:27 +00:00
Gabor Juhos
6b3ca9ef0b
ar71xx: add preliminary support for the Atheros AR933x SoCs
...
SVN-Revision: 27054
2011-05-31 22:53:26 +00:00
Gabor Juhos
be97e2a043
ar71xx: add SOC_AR{71XX,724X,913X,934X} config symbols
...
SVN-Revision: 27048
2011-05-31 22:53:19 +00:00
Gabor Juhos
5d5f72415e
ar71xx: initialize is_clk_25mhz field for AR9340 WMAC
...
SVN-Revision: 27045
2011-05-31 22:53:15 +00:00
Matteo Croce
17e257925f
ar71xx: don't probe the LAN PHY
...
SVN-Revision: 26924
2011-05-17 11:15:24 +00:00
Matteo Croce
2ea528d1d0
ar71xx: add link detection on Ubiquiti devices WAN port
...
SVN-Revision: 26891
2011-05-14 23:31:50 +00:00
Matteo Croce
99d1d4f795
ar71xx: cosmetic fixes
...
SVN-Revision: 26889
2011-05-14 23:08:00 +00:00
Gabor Juhos
9b5036a29d
ar71xx: populate LED3 on the JA76PF board
...
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>
SVN-Revision: 26862
2011-05-08 21:38:51 +00:00
Gabor Juhos
869f3cb718
ar71xx: remove superfluous fifo_cfg overrides
...
SVN-Revision: 26859
2011-05-08 21:38:46 +00:00
Gabor Juhos
c39e5b9360
ar71xx: override wmac device name for the AR934x SoCs
...
SVN-Revision: 26840
2011-05-07 09:23:32 +00:00
Felix Fietkau
cbc75a9c70
ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
...
SVN-Revision: 26779
2011-04-28 21:27:42 +00:00
Felix Fietkau
36aecb08b8
ar71xx: fix MDIO access on ar7242 (based on a patch by Jess Zhu)
...
SVN-Revision: 26777
2011-04-28 19:30:49 +00:00
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