summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR1750John Crispin2016-03-231-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> SVN-Revision: 49070
* ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR900John Crispin2016-03-231-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> SVN-Revision: 49069
* ar71xx: WNR1000v2: fix for random WLAN MACJohn Crispin2016-03-201-2/+7
| | | | | | | | | | | Fix for invalid/random WLAN MAC address in WNR1000v2. Permanent platform MAC is calculated and assigned during system startup. WLAN MAC follows wired Ethernet interface addresses. This is the same fix as for WNR2000v3 and WNR612v2. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 49051
* ar71xx: Use PHY fixups for Open Mesh MR1750John Crispin2016-03-161-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> SVN-Revision: 49031
* ar71xx: Use PHY fixups for Open Mesh MR900John Crispin2016-03-161-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> SVN-Revision: 49030
* ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955xJohn Crispin2016-03-1617-19/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some u-boot versions for QCA955x change the delays based on the link speed during boot. This usually breaks the support of other linkspeeds when OpenWrt is booted. It also conflicts with the at803x_platform_data::fixup_rgmii_tx_delay. OpenWrt has to set its own values in QCA955X_GMAC_REG_ETH_CFG. The default RGMII values from the Atheros u-boot are currently used to preset the existing mach files. These may have to be adjusted for boards using different values but which are not currently set them explicitely in OpenWrt. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Cc: Gabor Juhos <juhosg@openwrt.org> Cc: Imre Kaloz <kaloz@openwrt.org> Cc: Christian Beier <cb@shoutrlabs.com> Cc: Chris R Blake <chrisrblake93@gmail.com> Cc: Benjamin Berg <benjamin@sipsolutions.net> Cc: Heiner Kallweit <hkallweit1@gmail.com> Cc: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Cc: Matthias Schiffer <mschiffer@universe-factory.net> Cc: Dirk Neukirchen <dirkneukirchen@web.de> Cc: Christian Mehlis <christian@m3hlis.de> Cc: Luka Perkov <luka@openwrt.org> Cc: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 49029
* ar71xx: Clear bits in ath79_setup_qca955x_eth_cfgJohn Crispin2016-03-161-3/+13
| | | | | | | | | | | Some u-boot versions for QCA955x set currently not cleared bits depending on the used link speed. This breaks the rx/tx under OpenWrt. The mach-*.c file is responsible to select the correct configuration bits and thus the ath79_setup_qca955x_eth_cfg has to clear the unset. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49028
* ar71xx: Add support for the OMYlink OMY-X1John Crispin2016-03-164-0/+117
| | | | | | | | | | | | This patch adds support for the OMYlink OMY-X1 https://wiki.openwrt.org/toh/omylink/omy-x1 http://www.omylink.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49026
* ar71xx: Arduino Yun board 'WLAN RST' button supportJohn Crispin2016-03-101-0/+21
| | | | | | | | This patch adds support for Arduino Yun board "WLAN RST" button. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com> SVN-Revision: 48983
* ar71xx: add support for the Telldus TellStick ZNet LiteJohn Crispin2016-03-104-0/+141
| | | | | | Signed-off-by: Micke Prag <micke.prag@telldus.se> SVN-Revision: 48977
* ar71xx: fix qca956x ethernet initializationFelix Fietkau2016-03-071-3/+18
| | | | | | | | | Complete internal switch initialization for QCA956X. Set default mdio device if the interface mode of GE0 is not SGMII (fix ticket #21520). Signed-off-by: Weijie Gao <hackpascal@gmail.com> SVN-Revision: 48937
* ar71xx: WNR612v2: enable control of all LEDs and buttonsFelix Fietkau2016-03-051-2/+67
| | | | | | | | | This patch provides full GPIO support for WNR612v2 (LEDs and buttons). It exposes all LEDs to operating system, including Ethernet ones. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48924
* ar71xx: WNR2000v3: enable control of all LEDs and buttonsFelix Fietkau2016-03-051-10/+128
| | | | | | | | | This patch provides full GPIO support for WNR2000v3 (LEDs and buttons). It exposes all LEDs to operating system, including Ethernet ones. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48922
* mac80211: ath9k: enable GPIO buttonsFelix Fietkau2016-03-052-0/+21
| | | | | | | | | | Enable platform-defined GPIO button support for ath9k device. Key poller is activated for attached platform buttons. Requires ath9k GPIO chip access. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48921
* mac80211: ath9k: enable platform WLAN LED nameFelix Fietkau2016-03-022-0/+15
| | | | | | | | | Enable platform-supplied WLAN LED name for ath9k device. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> Acked-by: Hartmut Knaack <knaack.h@gmx.de> SVN-Revision: 48879
* ar71xx: WNR612v2: fix for random WLAN MACFelix Fietkau2016-02-251-1/+7
| | | | | | | | | | Fix for invalid/random WLAN MAC address in WNR612v2. Permanent platform MAC is calculated and assigned during system startup. WLAN MAC follows wired Ethernet interface addresses. This is the same fix as for WNR2000v3. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48779
* ar71xx: WNR2000v3: fix for random WLAN MACFelix Fietkau2016-02-251-6/+41
| | | | | | | | | | Fix for invalid/random WLAN MAC address in WNR2000v3. Permanent platform MAC is calculated and assigned during system startup. WLAN MAC follows wired Ethernet interface addresses. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48777
* ar71xx: Support for Ubiquiti UniFi AP AC LITEJohn Crispin2016-02-124-0/+121
| | | | | | | Add support for the Ubiquiti UniFi AP AC LITE Signed-off-by: P.Wassi <p.wassi at gmx.at> SVN-Revision: 48711
* ar71xx: Make code formatting consistent on ath79/machtypes.hJohn Crispin2016-02-121-10/+10
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> SVN-Revision: 48706
* ar71xx: Added support for TL-WA801NDv3John Crispin2016-02-124-1/+146
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> SVN-Revision: 48705
* ar71xx: register only the built-in switch MDIO bus, hook up eth0 to it, ↵Felix Fietkau2016-02-071-1/+2
| | | | | | | | should hopefully fix regression reported in #21520 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48652
* ar71xx: fix MDIO bus probe on QCA956xFelix Fietkau2016-02-071-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48651
* ar71xx: fold patch 622-MIPS-ath79-add-support-for-QCA956x-ethernet.patch ↵Felix Fietkau2016-02-071-11/+56
| | | | | | | | into files/ Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48650
* ar71xx: add support for linux 4.4Felix Fietkau2016-01-301-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48563
* ar71xx: fix a few include errorsFelix Fietkau2016-01-301-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48562
* ar71xx: fix AR8337 switch initialization on dLAN pro 1200+ WiFi acJohn Crispin2016-01-191-0/+1
| | | | | | | | unswap ports 0/6 (broken by 17b8dcd63100a6b9e35199882f38bdc2be640777) Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 48357
* ar71xx: add support for Netgear WPN824NJohn Crispin2016-01-193-3/+124
| | | | | | | | | | | | | | | | 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> SVN-Revision: 48356
* ar71xx: fix ap152 supportFelix Fietkau2016-01-101-1/+0
| | | | | | | | | | - ethernet gigabit pll - switch configuration - sysupgrade Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 48187
* V2 ar71xx : Add Support for the Bitmain Antrouter R1John Crispin2016-01-014-0/+110
| | | | | | | | | | This patch adds support for the Bitmain Antrouter R1 http://wiki.openwrt.org/toh/bitmain/r1 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 48058
* ar71xx: Add support for AirTight Networks C-55John Crispin2015-12-234-0/+144
| | | | | | | | This patch is to add support for the AirTight Networks C-55 Access Point Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47973
* ar8216: rework/fix AR8337 MAC swap handlingFelix Fietkau2015-12-205-5/+0
| | | | | | | | | | | | | | In r45970 the MAC swap handling was made opt-in, however some boards have been forgotten during the conversion. Since the reference design uses this MAC swapping, and pretty much all known boards using this chip seem to do so too, enabling the swapping is a more reasonable default than leaving it disabled. Change the code to still allow boards to opt-out of this. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47956
* ar71xx: Add ath79_register_m25p80_large to support >16MB SPI chipsFelix Fietkau2015-12-192-0/+9
| | | | | | | | | | The following patch is to add ath79_register_m25p80_large, which sets is_flash to false to support bit banging. This is needed on some 32MB+ SPI chips, such as the S25FL256S1 Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47952
* ar71xx: Kernel board definition for PowerCloud CR5000Felix Fietkau2015-12-194-0/+189
| | | | | | | | | | | | Kernel part of support for the PowerCloud Systems CR5000. The CR5000 is a dual-band 802.11n wireless router with 8MB flash, 64 MB RAM, (unused in stock firmware) USB 2.0 port, and five port gigabit ethernet switch. The CR5000 was sold as hardware for the Skydog cloud-managed router service. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 47940
* ar71xx: Kernel board definition for PowerCloud CR3000Felix Fietkau2015-12-194-0/+173
| | | | | | | | | | | | Kernel part of support for PowerCloud CR3000. The CR3000 is a 802.11n 2.4 GHz wireless router with 8MB flash, 64MB RAM, a four port fast ethernet switch, and a fast ethernet wan port which was sold by PowerCloud Systems as hardware for the Skydog cloud-managed router service. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 47939
* ar71xx: Kernel board definition for PowerCloud CAP324Felix Fietkau2015-12-194-0/+145
| | | | | | | | | | | | | | | Kernel part of support for PowerCloud CAP324 Cloud AP. The CAP324 Cloud AP was a device sold by PowerCloud Systems as hardware for the CloudCommand service for 'cloud' based managment of large numbers access points. The CAP324 is a dual-band 802.11n wireless access point with 16MB flash and 128MB RAM and single gigabit ethernet port. It can be powered via PoE or a power adaptor. Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> SVN-Revision: 47938
* ar71xx: add support for TRENDnet TEW-823DRUJohn Crispin2015-12-174-0/+193
| | | | | | | | | | | | | | Add support for TRENDnet TEW-823DRU: - cpu: QCA9558 @720MHz - flash: 16MB - ram: 256MB - 4+1 RJ45 100/1000Mbps - wifi: QCA9558 (bgn) and QCA9880-BR4A (ac) - 1x USB 2.0 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 47927
* ar71xx: add support for Cisco's MR18John Crispin2015-12-124-0/+310
| | | | | | | | | | | This patch adds support for Cisco's MR18. Detailed instructions for the flashing the device can be found in the OpenWrt forum thread: <https://forum.openwrt.org/viewtopic.php?id=59248> Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> SVN-Revision: 47878
* ar71xx: reorganize target patches/files to make it possible to add boards ↵Felix Fietkau2015-12-113-0/+1814
| | | | | | | | without adding patch files Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47874
* ar71xx: on wnr2200, revert the mac0/mac1, the ethernet interfaces are ↵Felix Fietkau2015-12-111-3/+3
| | | | | | | | swapped. use MAC1 for wlan Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47873
* ar71xx: fix MAC address swapping on WNR2200 and fix the WLAN MAC addressFelix Fietkau2015-12-111-3/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47871
* ar71xx: Add support for Wallys DR344John Crispin2015-12-111-0/+184
| | | | | | | | This patch is for Wallys DR344 support under OpenWRT Signed-off-by: Philippe Duchein <wireless-dev@duchein.net> SVN-Revision: 47847
* ar71xx: add GL-Domino Pi support V3John Crispin2015-11-241-0/+136
| | | | | | | | This is the patch for GL-Domino Pi V3. Updated against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> SVN-Revision: 47622
* ar71xx: add GL-AR300 support V3John Crispin2015-11-241-0/+103
| | | | | | | | This is the patch for GL-AR300 V3, tested against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> SVN-Revision: 47621
* ar71xx: add GL-AR150 support V3John Crispin2015-11-241-0/+125
| | | | | | | | This is the 3rd version. Modified against the latest trunk. Signed-off-by: alzhao<alzhao@gmail.com> SVN-Revision: 47620
* ar71xx: add support for the devolo dLAN HotspotJohn Crispin2015-11-211-0/+117
| | | | | | Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 47554
* ar71xx: add Arduino YunHauke Mehrtens2015-11-101-0/+137
| | | | | | | | | | | | | | | | | | | This is based on patches from Federico Fissore <f.fissore@arduino.cc> especially this one: https://github.com/arduino/openwrt-yun/commit/7e2976fa83fb0d72a955574499178c387a1b3c92 The console is running with 250000 baud which is a non standard baud rate and needs an extra patch to be applied, I will try to get this patch upstream or something else which accomplish the same. Some upstream code looks like there are many different versions of this SoC, are these only internal versions and all versions on the consumer market are the same? I saw different GPIO configuration and flash sizes of 8MB and 16MB? Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47451
* ar71xx: add support for TP-LINK TL-WR941ND v6 (international version)Felix Fietkau2015-11-081-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> SVN-Revision: 47420
* ar71xx: Add support for ZyXEL NBG6616.Felix Fietkau2015-11-071-18/+123
| | | | | | Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> SVN-Revision: 47405
* 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> SVN-Revision: 47261
* ar71xx: Send power to USB port on WNR2200John Crispin2015-10-191-4/+4
| | | | | | | | | | | | | This patch fixes ticket #15267 by enabling power on the WNR2200's USB port. At present, the USB port on the WNR2200 is non-functional due to it not receiving power. This patch defines an additional GPIO pin, but none of the current GPIO definitions have been modified. Signed-off-by: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX@bitmessage.ch> SVN-Revision: 47236