Commit Graph

986 Commits (7eeb254cc49c4e9f837c980826ec112b9404f341)

Author SHA1 Message Date
John Crispin b523db36a0 ar71xx: dir-505: fix reset button gpio active_low value
Fix 'active_low' default value for the reset button on DIR-505.

Signed-off-by: Rocco Folino <rocco@devzen.net>

SVN-Revision: 44360
9 years ago
John Crispin a5b60de253 ar71xx: Add support for MERCURY MAC1200R
This patch adds support for MERCURY MAC1200R, a dual band 802.11bgn + 802.11ac
router based on the AR9344, with QCA988x ath10k radio and 5 Fast Ethernet ports

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

SVN-Revision: 44359
9 years ago
John Crispin 35d38f21e0 ar71xx: fix nbg6716 power and usb led
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Marcin Mikolajczak <gr4ffy@gmail.com>

SVN-Revision: 44358
9 years ago
Luka Perkov 0067ab8e39 ar71xx: rb2011: apply patch to file
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44314
9 years ago
Luka Perkov 8ca6c1acd4 ar71xx: qihoo: define flash variable as static
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44306
9 years ago
John Crispin cde2225c7c ar71xx: add support for the TP-LINK TL-WR941ND v5
This device is very similar to the TL-WR841N v8, only two LED GPIOs are
different.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 44255
9 years ago
John Crispin baaef42952 ar71xx: Revert "added board support for compex wpj558"
This reverts commit f7873071561d82e75ba2dc46433a2982fef8ac6f.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44245
9 years ago
John Crispin bc906ca59e added board support for compex wpj558
Signed-off-by: Christian Mehlis <christian@m3hlis.de>

SVN-Revision: 44237
9 years ago
John Crispin 31fd66f808 ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)
The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are
pretty much the same as WNR2000v3/WNR612v2, therefore the same
initialization code and flash layout is used.

Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com>
Tested-by: Douglas Fraser <1dsfraser@gmail.com>

SVN-Revision: 44221
9 years ago
John Crispin 259244624b ar71xx: fix D-Link DIR-615 rev. C1 WLAN MAC address
Fix the WLAN MAC address to match the one printed on the label by using the
correct address from the ART instead of the address of the LAN interface.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 44183
9 years ago
John Crispin 4961c7d0f5 ar71xx: add support for TL-WA701ND v2
Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com>

SVN-Revision: 44063
10 years ago
Imre Kaloz 211cac98d5 Belkin AC 1750 DB (F9K1115v2) support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43734
10 years ago
John Crispin 3572657c5a ar71xx: dev-eth: replace mdelay calls
Similar to patch 2. Replace further mdelay calls.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43540
10 years ago
Imre Kaloz 974f286261 add D-link DGL-5500 A1 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43401
10 years ago
John Crispin 47ab1cbf23 ar71xx: add support for TP-LINK CPE210/220/510/520
This adds support for the TP-LINK CPE210/220/510/520 (Pharos series). These
devices are very similar to the Ubiquiti NanoStations, but with better specs:
faster CPU, more RAM, 2x2 MIMO.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 43385
10 years ago
Imre Kaloz 15f6f67d18 Netgear R6100 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 43382
10 years ago
John Crispin f210f3811a ar71xx: Added support for D-link DHP-1565 rev. A1
Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>

SVN-Revision: 43307
10 years ago
John Crispin 6fafcba63b ar71xx: Fix the sys LEDs on the EasyLink M150 and mini
Sets the system LED on the EasyLink M150 and mini to lower-case "easylink"

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 43271
10 years ago
John Crispin bc333d5399 ar71xx: add kernel support for the OpenMesh MR900v2
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 43265
10 years ago
John Crispin 95544f33dd ar71xx: add kernel support for the OpenMesh MR900 board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 43258
10 years ago
John Crispin 2c72ffc154 ar71xx: add support for Netgear WNR2000v4
Signed-off-by: Michaël Burtin <mburtin@gmail.com>

SVN-Revision: 43173
10 years ago
Felix Fietkau a1837135e0 ar71xx: add support for buffalo WZR-450HP2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43026
10 years ago
John Crispin 6e46fc8a38 wr1043nd-v2: Change .code of the wi-fi button to KEY_RFKILL
This patch changes the code of the Wi-Fi On/Off button on the TP-Link WR1043ND v2
from KEY_WLAN to KEY_RFKILL (and renames a few constants to match). The reason
for this change is, that the KEY_WIFI button code is not recognized by the
hotplug subsystem. This means that the userspace is not notified about the
button being pressed which effectively renders it useless.

Signed-off-by: Josef Gajdusek <atx@atx.name>

SVN-Revision: 42922
10 years ago
John Crispin 99c238ff15 ar71xx: Fix LED definitions for the DRAGINO2 board
This patch fixes LED definitions for the DRAGINO2 board.

1. It renames the Router/USB led to System, as it is now marked "SYS" on the board.
2. It gives control of the LAN and WAN leds and some other GPIOs to Linux.
3. It fixes the active_low property for the LAN and WAN leds.
4. It sets up WLAN, LAN and WAN leds in the UCI defaults.
5. It allows usage of the System led by the diag.sh script, so it will be used to indicate boot and failsafe status.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 42897
10 years ago
John Crispin e2c3c2280c ar71xx: fix reset button gpio for OM2P/OM2P-HS
A typo in the definition for the OM2P reset button disabled its functionality
in OpenWrt. The actual button for these two devices is "1" and not "11".

Signed-off-by: Oren Poleg <oren@poleg.org>
[sven@open-mesh.org: added a commit subject+message]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 42782
10 years ago
John Crispin 7dbbdfb61f ar71xx: add qihoo 360 c301 router support
Qihoo 360 C301 is a dual band wireless router supports 802.11n and 802.11ac.
Its chipset is AR9344 + AR9882 with two 16MB flashes.

This patch adds its initial support.

v2:
* use mtd_get_mac_ascii to fetch MAC address for ath10k.
* use ath79_register_pci to initialize AR9882.

Signed-off-by: Weijie Gao <hackpascal@gmail.com>

SVN-Revision: 42552
10 years ago
Felix Fietkau 60b81acd60 ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331
While the AR9331 has a gigabit MAC towards the internal switch, the
integrated PHYs however are only 100-base-tx capable.  The existing code
however advertieses gigabit capability in the link status word.  If you
attach such a PHY to a gigabit capable switch on the remote end, with
some probability it attempts to negotiate gigabit and fails, falling
baco to the AR9331 assuming a 10mbit half-duplex link.  This has been
observed quite frequently with the Carambola2 and gigabit capable
switches.

In ath79_register_eth(), "pdata->has_gbit = 1;" is set unconditionally
for both AR9331 ethernet ports. This is most likely wrong. Despite the
two MAC IP cores being gigabit MACs, the MAC for eth1 is connected to a
100base-T PHY via MII. The has_gbit attribute is used in the ethernet
driver to determine the supported link modes.

So either pdata->has_gbit is not set to 1 anymore, or the ethernet
driver needs to be modified to determine the advertised link code word
on another criteria than pdata->has_gbit.  This patch implements the
former solution.

Signed-off-by: Harald Welte <laforge@gnumonks.org>

SVN-Revision: 42432
10 years ago
John Crispin 67cf439237 ar71xx: use ETH_ALEN for consistency
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

SVN-Revision: 42280
10 years ago
John Crispin e5e1c03354 ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMAC
This sets the MAC address of the WLAN interface to the "official" primary MAC
address (the one on the label under the devices, and the one used with the stock
firmware). The MAC address used so far (primary-1) isn't even used at all with
the stock firmware, which sets (primary) on LAN and WLAN and (primary+1) on the
WAN interface (like OpenWrt does with this patch).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 42193
10 years ago
John Crispin 2c67682192 ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 board
The OpenMesh MR600(v1) can only enable the 2.4G WiFi PHY LED through the
mini-PCIe device. Not configuring the LED pin inside the platform data
makes it impossible to configure it through any standard OpenWrt tool.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 42184
10 years ago
Imre Kaloz ecba34a3ee add support for the NC-LINK SMART-300
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 42130
10 years ago
Felix Fietkau e41a0cafff ar71xx: add linux 3.14 support
Signed-off-by: Zhao, Gang <gang.zhao.42@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42038
10 years ago
Felix Fietkau b855faecc0 ar71xx: update Carambola2 platform data
Change list:
 * Remove button info on GPIO12, there is no button there.
 * Remove nvram mtd partition, as it's not used for anything, saves 64k for user data.

Tested building for carambola2 target.

Signed-off-by: Mantas Pucka <mantas@8devices.com>

SVN-Revision: 41993
10 years ago
John Crispin e7ec79821a ar71xx: oolite: the buttons are not active_low
this caused factory resets when reboot was pressed

Signed-off-by: Brent Thomson <brentthomson@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41932
10 years ago
Imre Kaloz dc628f2e08 add support for the archer c5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41814
10 years ago
John Crispin a440524f85 ar71xx: Fix GL.iNet WLAN LED
LED script expects WLAN LED to be "gl-connect:red:wlan".

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 41793
10 years ago
John Crispin eae9b2541a ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machines
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41788
10 years ago
John Crispin f424994cbc ar71xx: add kernel support for the OpenMesh OM5P board
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 41769
10 years ago
Gabor Juhos aff3127956 ar71xx: add kernel support for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41658
10 years ago
Gabor Juhos 51c892053a ar71xx: add kernel support for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41649
10 years ago
Gabor Juhos 907bd5345e ar71xx: fix ALFA NETWORK's name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41643
10 years ago
Gabor Juhos 0bec90b830 ar71xx: add kernel support for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5714/
[juhosg:
  - drop nvram.c modifications,
  - create a separate kernel patch,
  - use ath79_setup_qca955x_eth_cfg helper,
  - merge esr900_{010,common}_setup functions,
  - statically init AR8327 pad configurations,
  - use pr_err instead of printk]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41640
10 years ago
Gabor Juhos 26b39cc580 ar71xx: use ath79_setup_qca955x_eth_cfg helper for QCA955x based boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41627
10 years ago
Gabor Juhos 16d45d5531 ar71xx: add kernel support for EnGenius ESR1750
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
[juhosg:
  - fix coding style in mach-esr1750.c,
  - rename and refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41624
10 years ago
Gabor Juhos ee3dfafaf1 ar71xx: add a helper function for setting up ETH_CFG register on QCA955x
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5839/
[juhosg: fix coding style]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41623
10 years ago
Gabor Juhos a46c7d055c ar71xx: allow ath79_nvram_parse_mac_addr parsing mac with quotes
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5838/
[juhosg:
  - fix coding style,
  - check the first and the last character of the MAC string
    instead of using the strchr() function]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41622
10 years ago
Gabor Juhos 9801351c84 ar71xx: add kernel support for GL-Inet V1 boards/routers
The GL-Connect GL.iNet v1 router is basically a TP-Link TL-WR703N with
more DRAM/Flash, 2x Ethernet ports and console/GPIO header in the same
small form-factor:
<http://www.gl-inet.com/w/?lang=en>

Moreover, the manufacturer is promoting the OpenWrt usage to replace
the original firmware and proposing patches against both AA and trunk:
<http://www.gl-inet.com/w/?p=398&lang=en>

This is a clean up of the original manufacturer GPLv2 patch by alzhao,
proposed to the list by Mark Janssen.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5273/
[juhosg:
  - remove user-space and image generation support, will be included
    from other patches,
  - fix coding style and drop superfluous comment in mach-gl-inet.c,
  - rename and refresh kernel patch,
  - adjust subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41618
10 years ago
John Crispin 9e26031a88 ar71xx: add support for TP-LINK TL-WA860RE v1
New router/repeater from TP-LINK

- CPU: Atheros AR9341-DL3A (AP123)
- Flash: 4MB
- Ram: 32MB

Similar to TL-WA850RE.

Changes: rename file after r41596

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 41598
10 years ago
John Crispin 42a37b2a89 ar71xx: added support for TL-WA830RE V2
Corrected patch ath79 insted of auth79. Sorry.

Signed-off-by: Fredrik Jonson <fredrik@famjonson.se>

SVN-Revision: 41596
10 years ago
John Crispin 3519322e62 ar71xx: Add support for MikroTik RouterBOARD SXT Lite
This patch adds support for the MikroTik RouterBOARD SXT Lite.

The new RB911L series is also supported as a result.

v2 of this patch fixes the wmac offset to match what is on the sticker.
v3 refreshes the patch against r41148 and defines the power led as the status led in diag.sh
v4 refreshes the patch against r41353 and fixes the patch path issue to make git am work correctly
v5 selects the kernel config option in the mikrotik profile rather than in the main ar71xx config

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41450
10 years ago
John Crispin 23a9bfc655 ar71xx: r41348 is missing these files
sorry, the downside when applying patches with patch

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41350
10 years ago
John Crispin 680e0c09f3 ar71xx: WNDAP360 adding wifi LED support
I added WIFI LED support (so now AP blinks nicely), I removed WPS
button GPIO (as it doesn't exist) and changed GPIO for reset button.

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>

SVN-Revision: 40976
10 years ago
John Crispin 05b73eb22f ar71xx: add kernel support for HiWiFi HC6361.
This board manufactured by HiWiFi has the following features.

 - Atheros 9331 SoC.
 - 16MB flash and 64MB RAM.
 - 4GB eMMC storage via SK6226 USB 2.0 controller.
 - 2 LAN and 1 WAN ethernet ports with LEDs on them.
 - 3 blue LEDs on the front panel.
 - 1 button labeled as "reset".
 - Powered by a USB cable.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 40973
10 years ago
John Crispin 60ec05fdcb ar71xx: add support for dlink dir-615-e1
Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be
uploaded through dlink's normal firmware update web page.

Add profile for dir-615-e1 so the generated image can be uploaded
through the firmware update web page.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

SVN-Revision: 40969
10 years ago
John Crispin c9f15772a1 ar71xx: add kernel support for the OpenMesh OM2P-HSv2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 40961
10 years ago
John Crispin ef5f37a08d ar71xx: add kernel support for the OpenMesh OM2Pv2 board
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 40955
10 years ago
Felix Fietkau 83dc560621 ar71xx: fix typo in tl-wr710n mac setup (fixes #16469)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40840
10 years ago
Gabor Juhos 1374e5a721 ar71xx: rb91x: fix ethernet packet loss issues
The RB91x boards are suffering from ethernet packet loss after a cold
boot. The cause of the problem is that the AR8035 PHYs requires special
register settings to work reliably on these boards.

Enable the RGMII TX, RX delays and disable SmartEE functionality of
the AR8035 PHYs. Also enable the RXD delay in the ETH_CFG register
to fix the issue.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40509
10 years ago
Gabor Juhos a5e398abad ar71xx: add kernel support for ZyXEL NBG 6716
With this patch OpenWRT supports the following on the ZyXEL NBG 6716:
-WiFi 2G (ath9k)
-WiFi 5G (ath10k)
-NAND flash
-2 Ethernet interfaces
-USB 2.0
-LEDs including switch
-reasonale defaults at first boot

Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg:
  - rename and refresh kernel patch,
  - fix a few typos,
  - change button key codes,
  - use zyxel prefix in LED names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40499
10 years ago
Gabor Juhos 4149ab5193 ar71xx: wndr4300: indicate WNDR3700v4 in the kernel support files
Apart from the wireless chip, the WNDR3700 v4 and the WNDR4300
is the same device. Indicate this in the kernel files.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40479
10 years ago
Gabor Juhos 7b85e2e527 ar71xx: wndr4300: enable 5V power for the USB port
The 5V power of the USB is controlled by a GPIO pin of
the external WiFi chip. Setup the GPIO bitmasks in the
platform data of the WiFi chip to ensure that the 5V
power gets enabled by the ath9k driver.

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40478
10 years ago
Gabor Juhos ed72141fd4 ar71xx: wndr4300: use KEY_RFKILL code for the Wireless button
Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40477
10 years ago
Gabor Juhos 4fe71cedfe ar71xx: wndr4300: add LED for 2.4Ghz wifi interface
Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40475
10 years ago
Gabor Juhos db123a8a21 ar71xx: wndr4300: select GPIO_OUT functionality for LED GPIOs
The bootloader does not initializes the output function
correctly for all LEDs. DO that from the board setup code.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40474
10 years ago
Gabor Juhos 9b7b57aeb4 ar71xx: wndr4300: change 'orange' to 'amber' in LED color names
The hardware manual says amber so change the color part of
the LED names to reflect that. Also update the constant names.

Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40473
10 years ago
Felix Fietkau 7131a104f5 ar71xx: add support for the TP-LINK TL-WR841N/ND v9
Everything seems to be working fine. Potential issues:

* VLAN port IDs are reversed with regard to the numbers on the case.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 40400
10 years ago
Felix Fietkau f80f0c7d22 ar71xx: add support for QCA953x SoC
I don't have access to the specs, so I'm not sure about every detail, but I
haven't seen any problems with my test system, a TL-WR841N v9. It looks pretty
much like a QCA955x without PCI, a little twist in the clock calculation and
a AR9331-compatible switch.

Features not yet supported:

* EHCI (my test system doesn't have USB)
* ? (I have no idea if the QCA953x has any other features I don't know about
that aren't used by the TL-WR841N v9)

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 40399
10 years ago
Gabor Juhos 5256bbdc56 ar71xx: add kernel support for the Oolite v1 board
Patch-by: Lars Bøgild Thomsen <lth@cow.dk>
Patchwork: http://patchwork.openwrt.org/patch/4922/
[juhosg:
 - use a separate patch for kernel changes,
 - reorder Kconfig and Makefile entries,
 - change function and variable names to be lowercase only
   and fix misaligned tabs in mach-gs-oolite.c,
   ... ]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40032
10 years ago
Gabor Juhos 47dfbb5bc6 ar71xx: rb95x: use correct SPI flash address
The flash address passed to rb_init_info() is bogus,
use the predefined AR71XX_SPI_BASE macro instead.

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39891
10 years ago
Gabor Juhos 25e870eed6 ar71xx: ar934x_nfc: fix memory initialization bug
sizeof(array_from_function_definition) gives back the size of the pointer.
sizeof(type)  * array_size   should be used in memset.

Signed-off-by: David Völgyes <david.volgyes@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4950/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39890
10 years ago
Gabor Juhos da2f3c1448 ar71xx: rb91x: register GPIO LEDs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39704
10 years ago
Gabor Juhos 14d95026b2 ar71xx: rb91x: add SPI device for the serial shift register
The RB91x boards are using a serial shift register
connected to the SPI bus to drive some of the LEDs.

Rework the board setup code to register a SPI device
for that. This makes it possible to use the 'spi-74x164'
driver to control the device.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39703
10 years ago
Gabor Juhos 3d906ac6ac ar71xx: rb91x-nand: rewrite to use GPIO API
Rewrite tha rb91x-nand driver to use GPIO API to
modify the NAND control lines.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39700
10 years ago
Gabor Juhos 8fea668cb7 ar71xx: rb91x: register a gpio-latch platform device
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39699
10 years ago
Gabor Juhos 4e0309630b ar71xx: rb91x: fix pll_1000 value for eth0 to avoid packet loss
When the RB91x device uses a GbE link the connection
suffers from packet loss:

  root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 20 -q
  PING 192.168.1.254 (192.168.1.254): 65507 data bytes

  --- 192.168.1.254 ping statistics ---
  20 packets transmitted, 9 packets received, 55% packet loss
  round-trip min/avg/max = 4.570/4.815/4.999 ms

Using a different PLL value fixes the issue.

  root@OpenWrt:/# ping 192.168.1.254 -s 65507 -c 100 -q
  PING 192.168.1.254 (192.168.1.254): 65507 data bytes

  --- 192.168.1.254 ping statistics ---
  100 packets transmitted, 100 packets received, 0% packet loss
  round-trip min/avg/max = 4.449/5.413/13.870 ms

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39642
10 years ago
Gabor Juhos d19b868b12 ar71xx: Add support for MikroTik RB951Ui-2HnD
I noticed that the patch at http://patchwork.openwrt.org/patch/4017/
for adding support for the MikroTik RouterBOARD 951Ui-2HnD had been
abandoned because it wasn't generated and sent to the mailing list
correctly and doesn't apply as a result.  I have cleaned up this patch.

When testing this on real hardware, I also noticed that wireless didn't
work, so this patch fixes that as well.

This patch applies cleanly to SVN 39392.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Patchwork: http://patchwork.openwrt.org/patch/4773/
[juhosg:
  - drop the 'rb951ui_wlan_init' function and rework the code to
    use the recently introduced rb95x_wlan_init function instead,
  - fix GPIO number of the port5 LED,
  - rename LEDs according to the standard LED naming conventions,
    and use 'rb' prefix in the names]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39641
10 years ago
Gabor Juhos db0e6e264d ar71xx: add kernel support for the TP-Link TL-WDR4900 v2.0 board
Patch-by: TenNinjas <tenninjas@tenninjas.ca>
Patchwork: http://patchwork.openwrt.org/patch/4848/
[juhosg:
  - rename and refresh kernel patch,
  - merge the board setup code into mach-archer-c7.c and drop
    mach-tl-wdr49000-v2.c]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39635
10 years ago
Gabor Juhos 3b8c51771d ar71xx: wpe72: set active_low flag for the reset button
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39401
11 years ago
Gabor Juhos b503dc026e ar71xx: wp543: set active_low flag for the buttons
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39400
11 years ago
Gabor Juhos 50f38063cd ar71xx: archer c7: define LEDs connected to the AR8327 switch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39395
11 years ago
Gabor Juhos f85231257e ar71xx: fix bad RX sensitivity on newer TL-WDR4300 boards
On recent TL-WDR4300 boards the external LNAs of the 2.4GHz
interface are connected to GPIO lines. Because these GPIO
lines are disabled by default, the RX sensitivity of the
device is quite bad.

Setup the GPIOs of the external LNAs to fix the issue.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39392
11 years ago
Gabor Juhos b629009eaa ar71xx: wp543: use KEY_RESET code for the sw4 button
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39374
11 years ago
Gabor Juhos 0b599c51cc ar71xx: mynet-n750: define LEDs connected to the AR8327 switch
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4743/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39361
11 years ago
Gabor Juhos 506b40b628 ar71xx: tl-wr1043nd-v2: define LEDs connected to the AR8327 switch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39346
11 years ago
Gabor Juhos c17cfab560 ar71xx: tl-wdr4300: define LEDs connected to the AR8327 switch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39345
11 years ago
Gabor Juhos 4c54635106 ar71xx: rb2011: define LEDs connected to the AR8327 switch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39341
11 years ago
Gabor Juhos b4dc45e07d ar71xx: rb2011: fix eth5 LED
The eth5 LED on the RB2011 is not working because the
LED control rule is missing. Fix it.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39335
11 years ago
Gabor Juhos c977d49a29 ar71xx: my net n750: simplify LNA GPIO setup
Use the ath79_wmac_set_ext_lna_gpio helper instead
of exporting the GPIOs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39217
11 years ago
Gabor Juhos cc3beb9c76 ar71xx: my net n600: simplify LNA GPIO setup
Use the ath79_wmac_set_ext_lna_gpio helper instead
of exporting the GPIOs.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39216
11 years ago
Gabor Juhos 32aef686f7 ar71xx: Fix WD My Net N600 weak signal issue
The LNAs need to be enabled by setting their respective GPIO to high even
though the original firmware's setting sets them to low on initialization.

Obviously the LNAs are then later initialized by the driver on the OEM
firmware. Without this fix the device is mostly "deaf".

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Tested-by: Steven Haigh <netwiz@crc.id.au>
Patchwork: http://patchwork.openwrt.org/patch/4689/
[juhosg:
  - remove the GPIO LED changes, the My Net N600 has no yellow LEDs at all,
  - change subject and update the commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39214
11 years ago
Gabor Juhos 01727717f7 ar71xx: Fix WD My Net N750 weak signal issue
The LNAs need to be enabled by setting their respective GPIO to high even
though the original firmware's setting sets them to low on initialization.

Obviously the LNAs are then later initialized by the driver on the OEM
firmware. Without this fix the device is mostly "deaf".

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4688/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39213
11 years ago
Gabor Juhos 05f8604e2e ar71xx: fix max frame length of the QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39161
11 years ago
Gabor Juhos 76f37c5d46 ar71xx: don't set builtin_switch flag for QCA9558
It makes no sense, the SoC has no built-in switch.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39160
11 years ago
Gabor Juhos f2cd3399f7 ar71xx: allow to use large ethernet frames on AR934x SoCs
The hardware supports large ethernet frames. Override
the maximum frame length and packet lenght mask in the
platform data to allow to use large MTU on the ethernet
interfaces.

Limit the feature to AR934x SoCs for now. It should work
on some other SoCs as well, but those has not been tested
yet.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39149
11 years ago
Gabor Juhos 2c4e3cf33a ar71xx: ag71xx: get max_frame_len and desc_pktlen_mask from platform data
This will allow to use SoC specific values for both.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39145
11 years ago
Gabor Juhos 1ebf211340 ar71xx: fix WD My Net N750 switch led cfg
Now that the switch is working correctly I had the chance to actually
test the LED config.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4616/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39129
11 years ago
Gabor Juhos c72313fd98 ar71xx: implement switch fix for WD My Net N750
The bootloader on the WD My Net N750 disables the ports on it's internal
AR8327N switch by powering them down. The stock firmware then brings the
ports back up again by starting the auto negotiation process on each
port.

This fix implements just that.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4615/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39128
11 years ago
Gabor Juhos 8b712436f3 ar71xx: implement callback in mdio reset
This enables us to add fixups to the board specific code for boards that
require special treatment of PHYs on mdio bus reset.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
http://patchwork.openwrt.org/patch/4614/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39127
11 years ago
Gabor Juhos ba860e4c3a ar71xx: make ag71xx_mdio_platform_data visible
This enables us to modify the ag71xx_mdio_platform_data from within the
board support files.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4613/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39126
11 years ago
Gabor Juhos 5237a50089 ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards
It is only on RB911G-5HPnD and RB912UAG-5HPnD boards.
The LEDs and the USB port is not working yet.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39102
11 years ago
Gabor Juhos d7a0184446 ar71xx: rb2011: use board name from the hardware config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39096
11 years ago
Gabor Juhos 26ca95fefa ar71xx: rb2011: simplify setup code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39095
11 years ago
Gabor Juhos 59b6cf1e70 ar71xx: rb2011: use the new RouterBOOT helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39094
11 years ago
Gabor Juhos 627651dfca ar71xx: rb95x: use the rb_get_wlan_data helper
Also remove unused RB_* defines.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39092
11 years ago
Gabor Juhos 16565ec94b ar71xx: add some RouterBOOT specific helper functions
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39091
11 years ago
Gabor Juhos 728c2c6cff ar71xx: rb95x: nuke rb95x_gpio_init
Set up the chipselect GPIO directly in rb95x_nand_init
instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39087
11 years ago
Gabor Juhos 3dc1cbb167 ar71xx: add kernel support for WD My Net N750
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: use a separate patch for kernel changes]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39077
11 years ago
Gabor Juhos fd393c0b05 ar71xx: add kernel support for the TL-WA901ND v3 board
Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39073
11 years ago
Gabor Juhos 9ce06f2ac8 ar71xx: move TL-WA801ND v2 setup code
The TL-WA801ND v2 board has only one LAN port which makes
it more similar to the TL-WR[78]50RE devices. Move the
board setup code into the mach-tl-wax50re.c file.

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39072
11 years ago
Gabor Juhos 40f081ad08 ar71xx: refactor TL-WAx50RE setup code
This way it is a bit easier to add other TP-LINK devices based on the
Atheros AP123 reference board with one LAN port.

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39071
11 years ago
Gabor Juhos e3e559fd52 ar71xx: add kernel support for the TL-WA801ND v2 board
Patch to add kernel support for the TP-LINK WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4500/
[juhosg:
  - the TL-WA801ND v2 does not have a sliding switch, it uses a push button
    for WPS instead. Use the tl_mr3420v2_gpio_keys array to reflect that,
  - rename kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39063
11 years ago
Felix Fietkau 7a260c3620 ath9k: merge initval and tx gain table updates, calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39001
11 years ago
Gabor Juhos bc2d7b8193 ar71xx: add kernel support for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38955
11 years ago
Gabor Juhos 981e3b354a ar71xx: improve support for the My Net Wi-Fi Range Extender device
This patch improves support for the device considerably.

1. The wifi didn't work in the initial release. This was because
the WMAC of the AR9340 is not connected to the antennas.
(However, it can pick up wifi signals, if they are strong enough!)
Instead there's a dedicated AR9300 chip on the same board, which
works.

2. Ethernet throughput is improved. iperf shows that the hardware
can sustain more than 200Mbit/s and no longer drops any packages
when the link is under load.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4461/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38949
11 years ago
Gabor Juhos af4873e41c ar71xx: Kernel support update tl-wr842n_v2 added missing usb led
Just a small oversight my part, added the support for the USB led
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4425/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38946
11 years ago
Gabor Juhos 625cf61c5b ar71xx: Add kernel support for the WR842N/ND v2
Patch to add kernel support for the TP-LINK WR842N/ND v2

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4352/
[juhosg: refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38813
11 years ago
Gabor Juhos 25756c61bc ar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boards
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38720
11 years ago
Gabor Juhos 79163c8919 ar71xx: Add kernel support for the TP-Link WA750RE / WA850RE range extender
Patch to add kernel support for the TP-LINK WA750RE and the WA850RE
range extender

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
[juhosg: rename and refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38717
11 years ago
Gabor Juhos ece1323ed4 ar71xx: add kernel support for the My Net Wi-Fi Range Extender device
This patch adds a new device definition for a
Western Digital device. The hardware seems to
be based on Qualcomm Atheros DB120 design.

Patchwork: http://patchwork.openwrt.org/patch/4281/
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
[juhosg: refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38686
11 years ago
Gabor Juhos ef8306cfd2 ar71xx: add kernel support for BHU Networks BXU2000n-2 A1 board
BXU2000n-2 A1 is a BHU Networks WLAN board, use ar9341 chip.

Patchwork: http://patchwork.openwrt.org/patch/4183/
Signed-off-by: Terry Yang <yangbo@bhunetworks.com>
[juhosg:
  - rename and refresh kernel patch,
  - fix some checkpatch warnings and adjust whitespaces in
    mach-bhu-bxu2000n2-a.c]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38591
11 years ago
Gabor Juhos 22b5040c64 ar71xx: add kernel support for the Sitecom WLR-8100 wireless router
- unsure about copyright message
  - based on AP136-010

Patchwork: http://patchwork.openwrt.org/patch/4147/
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
[juhosg: rename and refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38589
11 years ago
Gabor Juhos 7074bb286d ar71xx: add kernel support for DRAGINO2
This patch adds support for DRAGINO2 board (used by
Meshpotato v2). Most of the files included can be
found in the official svn repository provided by the
company [1]. I have just adapt it to the last OpenWrt
trunk revision (Fri Oct 4 10:49:47 2013).

 1. http://svn.dragino.com/dragino2

Patchwork: http://patchwork.openwrt.org/patch/4234/
Signed-off-by: Pau Escrich <p4u@dabax.net>
[juhosg:
 - rename and refresh kernel patch,
 - fix checkpatch warnings in  mach-dragino2.c]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38587
11 years ago
Gabor Juhos 68e13de37d ar71xx: fix WLAN 5 GHz LED init on dir-825-c1
Fixes the 5 GHz LED.

The same function has no effect on the 2.4 GHz LED at all, so we might
as well remove it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38482
11 years ago
Gabor Juhos f8aef84e49 ar71xx: improve kernel support for the TL-MR3040 v2
This patch adds support for the hardware slide switch on
the TL-MR3040 v2.

Signed-off-by: Mads Hansen <d@taba.se>
[juhosg: use EV_SW instead of EV_KEY]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38190
11 years ago
Gabor Juhos 8b920136a0 ar71xx: add kernel support for the TEW-732BR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38131
11 years ago
Gabor Juhos d661af0b77 ar71xx: vanity changes for dir-825-c1
This patch

- changes the color names from orange to amber
- changes the name of GPIO 13 from WIFI_BGN (wifi_bgn) to WLAN_2G
  (wlan2g) to be more consistent with the other routers' files
- changes the descriptions of the hardware keys to be a tad more
  explicit

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4081/
[juhosg: update the LED migration script as well]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38105
11 years ago
Gabor Juhos 0a813e9e3c ar71xx: use netgear prefix for WNDAP360 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38102
11 years ago
Gabor Juhos d0fe16cedf ar71xx: use netgear prefix for WNR612 v2 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38101
11 years ago
Gabor Juhos ae7d14f701 ar71xx: use netgear prefix for WNR2200 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38100
11 years ago
Gabor Juhos 87f7ac6b4e ar71xx: use netgear prefix for WNR2000 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38099
11 years ago
Gabor Juhos e33ccdc295 ar71xx: use netgear prefix for WNDR3700 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38098
11 years ago
Gabor Juhos 10ed605a89 ar71xx: let HW switch control WAN LED on dir-825-c1
Enable GPIO 20. This hands off control of the blue planet led to the
integrated switch. Consequently, remove the led configuration for the
blue planet led.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4080/
[juhosg: whitespace fixup]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38096
11 years ago
Gabor Juhos 50f4732438 ar71xx: fix LAN LEDs for dir-825-c1
This patches fixes the lan led configuration. The new configuration is
identical to the one in mach-db120.c and it works. The previous one
didn't work at all.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38094
11 years ago
Gabor Juhos 1dd33c4d6c ar71xx: tew-712br: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38090
11 years ago
Gabor Juhos cb18e38996 ar71xx: tew-673gru: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38089
11 years ago
Gabor Juhos a98df83f5f ar71xx: dir-825-c1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38088
11 years ago
Gabor Juhos 710314990a ar71xx: dir-825-b1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38087
11 years ago
Gabor Juhos 2a777a272c ar71xx: dir-505-a1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38086
11 years ago
Gabor Juhos e312a917d3 ar71xx: rename ath79_parse_mac_addr to ath79_parse_ascii_mac
Rename the function and extend it in order to make it
usable from board setup code.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38085
11 years ago
Gabor Juhos 9a2e94476a ar71xx: add kernel support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38072
11 years ago
Gabor Juhos 9200807877 ar71xx: wndr4300: enable HW ECC mode for the NAND controller
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38071
11 years ago
Gabor Juhos 83915a8d78 ar71xx: add ath79_nfc_set_ecc_mode helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38070
11 years ago
Gabor Juhos e3e31835ae ar71xx: add kernel support for TP-Link TL-MR13U
This patch adds support for TP-Link TL-MR13U router with built-in 10AH
rechargeable battery.

The patch is based on kamwanlai's patch:
https://forum.openwrt.org/viewtopic.php?pid=206746#p206746

Updated to accommodate recent changes introduced with:
ar71xx: remove fs_* variables from image/Makefile

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
[juhosg:
  - refresh and rename rename 930-add-tl-mr13u-support.patch =>
    625-MIPS-ath79-add-tl-mr13u-support.patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38063
11 years ago
Gabor Juhos 5e23012c77 ar71xx: wnr2200: fix a typo in a LED name
Reported-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38062
11 years ago
Gabor Juhos 49ed06e36f ar71xx: add kernel support for Netgear WNR2200 wireless router
This patch adds OpenWRT support for the Netgear WNR2200 (N300)
wireless router with USB.

Technical details of this router can be found at
http://www.netgear.com/home/products/wirelessrouters/work-and-play/WNR2200.aspx
and http://wikidevi.com/wiki/Netgear_WNR2200

Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
[juhosg:
  - add commit message and SoB line from the original patch
  - remove dead code from mach-wnr2200.c
  - refresh 624-MIPS-ath79-WNR2200-support.patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38059
11 years ago
Gabor Juhos 897c00c145 ar71xx: add wireless bgn led support for dir-825-c1
I checked the GPL code drop from D-Link and tried to get the wireless
and LAN switch LEDs to light up. I found some references in
AthSDK/www/DIR-825_C1/bsp.h as well as
AthSDK/www/DIR-825_C1/rootfs/etc/sysconfig/S2gpio.sh, but in the end I
only got the led for 2.4GHz to work. Anyway, here's the patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37963
11 years ago
Gabor Juhos 122a61aa49 ar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2
It also fixes USB Power on MR3420v2.

This time we took the information from the source of GPL:
http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg18970.html
Confirmed and tested:
https://dev.openwrt.org/ticket/13201#comment:41
Thanks to oguretsagressive for testing.

Signed-off-by: Dmytro <dioptimizer@gmail.com>

SVN-Revision: 37878
11 years ago
Gabor Juhos 9af6a5a88f ar71xx: don't register USB device on WNDAP360
Apparently registering usb device on newest trunk causes
this AP not to boot...
Since there is no USB socket in that device anyway this
can be simply removed (and device boots then no problem).

[juhosg:
  - tweak subject line and description,
  - remove #include "dev-usb.h",
  - remove 'select ATH79_DEV_USB' from Kconfig]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37844
11 years ago
John Crispin 553a469728 ar71xx: add support for dir 505 a1
this patch is based on ...

-> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37703
11 years ago
Gabor Juhos 99a12119ca ar71xx: fix tl-wa901nd buttons code
This patch fixes the code of the buttons for TP-Link WA901ND.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37696
11 years ago
Gabor Juhos 6d8163505e ar71xx: add kernel support for the Netgear WNR612 v2 board
Netgear WNR612 v2:
 - cpu Atheros AR7240 (Python) @400MHz
 - flash 4MB
 - ram 32MB
 - ethernet 10/100: 1xwan + 2xlan (only two)
 - radio AR9285

[juhosg: use a separate kernel patch]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37575
11 years ago
Gabor Juhos c5029c2ebf ar71xx: add kernel support for the TP-LINK TL-WR710N v1 board
Small router sold in EU: AR9330@400MHz, 1x USB2.0,
2x ethernet, 8MB flash, 32MB ram, one led, one button.

See: http://galeria.tech-blog.pl/TP-Link_TL-WR710N-EU/

[juhosg: use a separate kernel patch]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37572
11 years ago
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
11 years ago
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
11 years ago
Felix Fietkau 25d910a78f ar71xx: use uimage split for WZR-HP-G300NH2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37295
11 years ago
Felix Fietkau 6bff456212 ar71xx: enable uimage split for wzr-hp-ag300h/wzr-600dhp
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37294
11 years ago
Felix Fietkau fbde376c53 ar71xx: use uimage split for WZR-HP-G300NH
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37293
11 years ago
Felix Fietkau a7c5f6708b ar71xx: use uimage split for WZR-HP-G450H
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37292
11 years ago
John Crispin 39531131a9 ar71xx: add carambola2 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37260
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Gabor Juhos da66ea52ec ar71xx: register USB port for RB2011U* devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36801
11 years ago
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
11 years ago
Gabor Juhos 3467b17e69 ar71xx: rb2011: add switch led control values
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36796
11 years ago
Gabor Juhos 4cf6e53ccc ar71xx: rb2011: update RGMII RX/TX delay values
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36795
11 years ago
Gabor Juhos 6da63a8793 ar71xx: rb2011: move NAND nCE init to rb2011_nand_init
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36794
11 years ago
Gabor Juhos d6554bf66a ar71xx: add kernel support for the RB2011UAS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36792
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Gabor Juhos f7da2127ab ar71xx: fix ethernet LEDs on the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36122
11 years ago
Gabor Juhos cd5cca4ba8 ar71xx: fix USB power GPIO on the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36119
11 years ago
Gabor Juhos 4daefc9480 ar71xx: remove numeric suffix of the TL-WDR3500 USB LED
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36118
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Gabor Juhos 1d55249d7c ar71xx: use backported QCA955x patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35878
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Luka Perkov 107e0c6d1f ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35840
11 years ago
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
11 years ago
Gabor Juhos 4341b11f3e ar71xx: remove __dev{init,exit} annotations from kernel files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35687
11 years ago
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
11 years ago
Jonas Gorski f07a33afc2 ar71xx: register the micro sd card reader on RB493G
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35535
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
12 years ago