aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79
Commit message (Collapse)AuthorAgeFilesLines
* CC: ar71xx: Add support to DomyWifi DW33DJing Lin2016-10-281-0/+187
| | | | Signed-off-by: Jing Lin <mumuqz@163.com>
* ar71xx: add kernel support for the OpenMesh MR1750v2Sven Eckelmann2016-09-211-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh OM2P-HSv3Sven Eckelmann2016-09-211-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh OM5P-ACv2 boardSven Eckelmann2016-09-211-0/+216
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49149
* ar71xx: add kernel support for the OpenMesh OM5P-AC boardSven Eckelmann2016-09-211-0/+193
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49141
* ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR1750Sven Eckelmann2016-09-211-1/+23
| | | | | | | | | | | | The MR1750 must unset some bits in ETH_CFG which were set by u-boot to work correctly under OpenWrt. But the global function ath79_setup_qca955x_eth_cfg will not unset all of them to increase the backward compatiblity with older mach-* files. A private (simplified) version for MR1750 can be used instead. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49070
* ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR900Sven Eckelmann2016-09-211-1/+23
| | | | | | | | | | | | The MR900 must unset some bits in ETH_CFG which were set by u-boot to work correctly under OpenWrt. But the global function ath79_setup_qca955x_eth_cfg will not unset all of them to increase the backward compatiblity with older mach-* files. A private (simplified) version for MR900 can be used instead. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49069
* ar71xx: Use PHY fixups for Open Mesh MR1750Sven Eckelmann2016-09-211-3/+22
| | | | | | | | | | | | | | | | | | The delays of PHY/MAC on the MR1750 are done by u-boot and OpenWrt in different ways. u-boot only modifies the ETH_CFG of the QCA955x based on the link speed. But OpenWrt can only modify the PHY delays based on the link speed. This can lead to communication problems when u-boot initializes the ETH_CFG for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY delays to an incompatible value. Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and only rely on the AT803x PHY settings. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49031
* ar71xx: Use PHY fixups for Open Mesh MR900Sven Eckelmann2016-09-211-3/+22
| | | | | | | | | | | | | | | | | | The delays of PHY/MAC on the MR900 are done by u-boot and OpenWrt in different ways. u-boot only modifies the ETH_CFG of the QCA955x based on the link speed. But OpenWrt can only modify the PHY delays based on the link speed. This can lead to communication problems when u-boot initializes the ETH_CFG for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY delays to an incompatible value. Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and only rely on the AT803x PHY settings. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49030
* ar71xx: Use *_eth_cfg helper for Open Mesh MR900 boardsSven Eckelmann2016-09-211-20/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46241
* ar71xx: add kernel support for the OpenMesh MR1750 boardSven Eckelmann2016-09-211-0/+129
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46926
* ar71xx: backport support for Netgear WPN824NJohn Crispin2016-04-251-2/+122
| | | | | | | | | | | | | | | | Add support for Netgear WPN824N. Hardware specs: * AR7240, 4 LAN ports, 1 WAN port * AR9285 WLAN * 32 MB RAM * 4 MB Flash * 16 LEDs (LAN, WAN and Power/Status contain two LEDs for dual color effect) * 3 Buttons (not supported) Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add TP-Link TL-WA901ND v4 support to Chaos Calmer 15.05.1John Crispin2016-04-251-0/+112
| | | | | | | | | | | This patch backports support for the TP-Link TL-WA901ND v4 to Chaos Calmer 15.05.1, which was added into trunk recently [1]. Signed-off by Stijn Segers <francesco.borromini@inventati.org> [1]: http://patchwork.ozlabs.org/patch/606780/ git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49226 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: cosmetic fix of alfa ap120c/ap96 orderingLuka Perkov2016-03-241-4/+4
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for ap120cLuka Perkov2016-03-231-0/+147
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-LINK TL-WR941ND v6 (international version)John Crispin2016-03-011-0/+149
| | | | | | | | | | | | | | | | | The international version is completely different from the already supported Chinese version. The WLAN of the QCA956x SoC used by this router has been fixed in r46948. This patch looks like it changes a lot in 700-MIPS-ath79-openwrt-machines.patch; that is not the case. Unfortunately, quilt decided to completely reorganize the Kconfig patch even though only a single section has been added. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Backport of r47420 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: compex wpj531 register usb supportJohn Crispin2016-03-011-0/+1
| | | | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> Backport of r46283 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: compex wpj531 fix setting mac address on ethernetJohn Crispin2016-03-011-6/+5
| | | | | | | | Signed-off-by: Christian Mehlis <christian@m3hlis.de> Backport of r46282 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: compex wpj531 fix ethernet registrationJohn Crispin2016-03-011-2/+2
| | | | | | | | | | | | | In fb6f62e97733312053ab593fcf68eea47a21169e several settings are set on the ethernet device, but they are not working. Fix Ethernet by setting the right values. Signed-off-by: Christian Mehlis <christian@m3hlis.de> Backport of r46281 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rework patch for qca953x/956xJohn Crispin2016-03-011-2/+16
| | | | | | | | | | | | | | | | | | | | | Patch cherry-picked from the following location: https://www.codeaurora.org/cgit/quic/qsdk/oss/system/openwrt/commit/?h=release/coconut_ioe4531_2.0&id=5c357bf6c763e4140dddcc9a3bc5f005525a9c0e Changelist, - add more register defines - add EHCI support - fix GPIO pin count to 18 - fix chained irq disabled - fix GMAC0/GMAC1 initial - fix WMAC irq number to 47 - merge the changes of dev-eth.c from the patch to file. Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Backport of r46207 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48854 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet initialization on QCA953x-based boards (TP-Link ↵John Crispin2016-03-012-0/+13
| | | | | | | | | | | | | | TL-WR841N/ND v9, Compex WPJ531) The initialization routines for these boards were relying on some (wrong) defaults for the QCA953x ethernet. Make these defaults explicit to prevent breaking them when the QCA953x defaults are fixed. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Backport of r46206 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are ↵Felix Fietkau2016-01-031-3/+3
| | | | | | | | | | swapped. use MAC1 for wlan Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r47873 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC addressFelix Fietkau2016-01-031-3/+4
| | | | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r47871 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Bitmain Antminer S1/S3 set GPIO for USB PowerJohn Crispin2015-10-262-1/+6
| | | | | | | | | | | Antminers using the stock bootloader will not hash without this GPIO set. Applies to DD and CC Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Backport of r47261 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47267 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Bitmain Antminer S1 & S3 cleanupJohn Crispin2015-10-202-7/+7
| | | | | | | | | | | | Sets the LEDs to boardname:color:led-name Sets the LAN to eth0 Corrects the profile names in the Makefile and changes tabs to spaces in the Makefile 'define Device/' like the other devices. Other corrections such as the Machine Name and HWIDs Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add Gainstrong MiniBox v1.0 support to 15.05John Crispin2015-10-191-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch supersedes the v1 from September 17th. Bumping the patch version - the MiniBox profile showed up under M, but since it's called 'Gainstrong MiniBox v1.0' now it looks out of place. Renamed the profile to gs-minibox-v1.mk to fix that. The following patch adds support for the Gainstrong MiniBox to 15.05 Chaos Calmer. Fixed items: - Inverted LED polarity (OOLITE seems to suffer from the same problem). - Changed uppercase MINIBOX_V1_ prefix as requested. - Prefixes are now gs_minibox_ similar to gs_oolite_ (same vendor). - Mention the vendor (Gainstrong) in code headers. Compiles fine, has been confirmed working by owners. Question: I've seen some boards use tools/firmware-utils/src/mktplinkfw.c, the MiniBox images build fine without, so I'm wondering: do I need to add it in there as well? Any added benefit? Thank you Signed-off by: Stijn Segers <francesco.borromini@inventati.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47235 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for WeIO boardJohn Crispin2015-10-191-0/+140
| | | | | | | | | | | Support for WeIO board (http://we-io.net), backported from Designated Driver trunk. Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com> Backport of r47110 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for D-LINK DIR-615 rev. Ix boardJohn Crispin2015-10-151-0/+133
| | | | | | | | | | backport of r46248. Signed-off-by: Jaehoon You <teslamint@gmail.com> rebased on r46767. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47191 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for Black SwiftJohn Crispin2015-08-171-0/+83
| | | | | | | | | | | | Add support for the Black Swift board: http://www.black-swift.com/ Took relevant parts and slightly adapted from: https://github.com/blackswift/openwrt/blob/master/bsb.patch Signed-off-by: Bruno Randolf <br1@einfach.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46674 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Backport support for Onion OmegaJohn Crispin2015-08-031-0/+84
| | | | | | | | | | | | Backport of r46458 to CC https://onion.io/omega Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: Boken Lin <bl@onion.io> Tested-by: Jacky Huang <huangfangcheng@163.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: ar71xx: add kernel support for EnGenius EPG5000.John Crispin2015-07-241-0/+178
| | | | | | | | Backport of r46047. Signed-off-by: Christian Beier <cb@shoutrlabs.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* v3: CC : ar71xx: Backport Support for the Bitmain Antminer S3John Crispin2015-07-241-0/+98
| | | | | | | | Backport of r46236 to CC : add support for the Bitmain Antminer S3 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46445 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the devolo dLAN pro 1200+ WiFi acJohn Crispin2015-07-241-0/+189
| | | | | | | | Backport of r46342 Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the devolo dLAN pro 500 Wireless+John Crispin2015-07-241-0/+203
| | | | | | | | Backport of r46338 Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: add kernel support for EnGenius EPG5000."John Crispin2015-06-291-178/+0
| | | | | | | | This reverts commit 27386b74adfe868f693176f55861984432afd2ce. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for EnGenius EPG5000.John Crispin2015-06-181-0/+178
| | | | | | | | Signed-off-by: Christian Beier <cb@shoutrlabs.com> Backport of r46047 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TL-WR720N-v4.John Crispin2015-06-181-2/+1
| | | | | | | | | | | | The hardware should be almost the same as TL-WR720N-v3. WiFi and LAN networks were tested by "Lo Yuk Fai <loyukfai@gmail.com>". Failsafe and slider switch were tested by "Wong min <alpha080@gmail.com>". Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> Backport of r46046 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46056 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for compex wpj531John Crispin2015-06-181-0/+136
| | | | | | | | | | | | | tftpboot 0x80500000 openwrt-ar71xx-generic-wpj531-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize erase 0x9f680000 +1 cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Christian Mehlis <christian@m3hlis.de> Backport of r46045 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add Support for the Bitmain Antminer S1John Crispin2015-06-181-0/+98
| | | | | | | | | | | | | This patch adds support for the Bitmain Antminer S1 Cryptocurrency Miner http://wiki.openwrt.org/toh/bitmain/s1 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: James Hilliard <james.hilliard1@gmail.com> Backport of r46044 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: Fix problem with AR8337 MAC swap handlingFelix Fietkau2015-06-144-0/+4
| | | | | | | | | | | | | | | | | | | | | AR8337 supports a configuration bit to swap MAC0 and MAC6. Currently this is set in general if an AR8337 is detected and causes issues with devices using an AR8334 (internally an AR8337, just less chip pins). And it might even cause issues with AR8337-based devices with different board designs. Swapping the MAC's however isn't needed for AR8337 in general. It's just needed in case of certain board designs (affected devices seem to be based on Atheros reference board AP135/136-010). Therefore this configuration bit should be moved to platform data. The patch includes the needed changes to the device initialization code of affected devices. Hopefully I didn't miss any .. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix 100/10mbps ethernet link issues on mynet range extenderFelix Fietkau2015-06-141-0/+20
| | | | | | | | | | | | | | | | | | The mynet range extender hardware is suffering from ethernet link loss when booting with a recent openwrt image. This only happens on 100mbps links, with 1Gbps speed the link was fine. The cause of the problem is that the AR8035 PHY (aka F1E) requires turning on and off the special TX delay setting depending on the speed of the link. The 10mbps mode only needed the proper pll value, which was extracted from the vendor code. Reported-by: Pascal Paradis Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for the Meraki MR12 & MR16John Crispin2015-05-232-0/+233
| | | | | | | | | | This patch is to add support for the Meraki MR12 and MR16 Access Points. Currently everything is working, minus the 2nd NIC interface on the MR12 which is built into the SoC. Signed-off-by: Chris R Blake <chrisrblake93 at gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add status led found on ew-dorin boardsLuka Perkov2015-05-101-1/+7
| | | | | | Signed-off-by: Catrinel Catrinescu <cc@80211.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45656 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: do general formatting on wnr2000-v4Felix Fietkau2015-05-081-43/+52
| | | | | | Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45640 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix spelling, add copyright on wnr2000-v4Felix Fietkau2015-05-081-2/+3
| | | | | | Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Green WAN LED on wnr2000-v4Felix Fietkau2015-05-081-0/+4
| | | | | | Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for green LAN LEDS for wnr2000-v4Felix Fietkau2015-05-081-8/+40
| | | | | | Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix amber WAN LED setting for wnr2000-v4Felix Fietkau2015-05-081-1/+1
| | | | | | Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make WLAN button RFKILL on wnr2000-v4Felix Fietkau2015-05-081-1/+1
| | | | | | | | | Users will now be provided with the inherent wifi toggle functionality of /etc/rc.button/rfkill Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: set all buttons to be active_low on wnr2000-v4Felix Fietkau2015-05-081-0/+3
| | | | | | | | | Originally pressing a button would trigger a release state and vice-versa, as observed from hotplug.d. Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45634 3c298f89-4303-0410-b956-a3cf2f4a3e73