summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker GatewayChris Blake2016-09-274-0/+178
| | | | | | | | | This patch adds support for Cisco's Z1. Detailed instructions for the flashing the device can be found in the OpenWrt wiki: <https://wiki.openwrt.org/toh/meraki/z1> Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* ar71xx: disable flow control to the built-in switch on AR934xFelix Fietkau2016-08-251-1/+0
| | | | | | | It apparently causes a regression on some devices if the ethernet cable is plugged in while booting. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for Zbtlink ZBT-WE1526Piotr Dymacz2016-08-184-0/+165
| | | | | | | | | | | | | | | | | | | | | Zbtlink ZBT-WE1526 is based on Qualcomm Atheros QCA9531 v2. Short specification: - 650/400/200 MHz (CPU/DDR/AHB) - 5x 10/100 Mbps Ethernet - 1x USB 2.0 - 128 MB of RAM (DDR2) - 16 MB of FLASH - 2T2R 2.4 GHz, up to 22 dBm - two external, non-detachable antennas - 8x LED, 1x button - UART header (pinout: VCC, RX, TX, GND) Flash instruction: Use sysupgrade in vendor firmare which is based on OpenWrt. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for gl-mifiZhao Gang2016-07-244-0/+126
| | | | | | | This add initial support for gl-mifi. Product page: http://www.gl-inet.com/mifi/ Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
* ar71xx: add support for gl-ar300mZhao Gang2016-07-204-0/+194
| | | | | | | This add initial support for gl-ar300m router. Product page: http://www.gl-inet.com/ar300m/ Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
* ar71xx: add support for jjPlus JWAP230Piotr Dymacz2016-07-134-0/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jjPlus JWAP230 is based on Qualcomm Atheros QCA9558 + QCA8337. Short specification: - 720/600/200 MHz (CPU/DDR/AHB) - 2x 10/100/1000 Mbps Ethernet - 128 MB of RAM (DDR2) - 16 MB of FLASH - 3T3R 2.4 GHz with external PA (SST12LP15A), up to 28 dBm - 3x MMCX connectors - power input: 802.3at PoE or wide range DC (36-57 V) - optional 802.3af PSE - 1x mini-PCIe connector with PCIe, USB buses and SIM slot - 1x mini-PCIe connector with PCIe bus - 1x USB type-A connector - 6x LED, 1x button (hardware reset) - RS232 (MAX3223) and (E)JTAG headers Default configuration: - WAN on eth1 (RJ45 near LEDs with PoE input) - LAN on eth0 (RJ45 near DC jack) - left top LED set to be status LED - all LEDs configurable form user space Flash instruction (do it under U-Boot, using RS232): 1. tftp 0x80060000 lede-ar71xx-generic-jwap230-squashfs-sysupgrade.bin 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9f050000" 5. saveenv && reset Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for Wallys DR531Piotr Dymacz2016-07-134-0/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wallys DR531 is based on Qualcomm Atheros QCA9531 v2. Short specification: - 550/400/200 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet - 64 MB of RAM (DDR2) - 8 MB of FLASH - 2T2R 2.4 GHz with external PA (SE2576L), up to 30 dBm - 2x MMCX connectors - mini-PCIe connector with PCIe/USB buses and SIM slot - 7x LED, 1x button, 1x optional buzzer - UART, (E)JTAG and LED headers Default configuration: - WAN on eth1 (RJ45 near DC jack) - LAN on eth0 (RJ45 near button) - S4 LED set to be status LED - all LEDs configurable form user space - button configured for reset Flash instruction (do it under U-Boot, using UART): 1. tftp 0x80060000 lede-ar71xx-generic-dr531-squashfs-sysupgrade.bin 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9f050000" 5. saveenv && reset Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: disable pdata->use_flow_control for QCA9558Felix Fietkau2016-06-271-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: rename ethernet pdata->builtin_switch to use_flow_controlFelix Fietkau2016-06-272-7/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: enable flow control for ethernet MACs with built-in switchFelix Fietkau2016-06-262-0/+7
| | | | | | | | Should fix LAN speed issues on some devices. This is an updated version of the previously reverted commit with the same name. It improves the check for MACs connected to a built-in switch Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "ar71xx/cpe510: use second wifi calibration table"Alexander Couzens2016-06-161-1/+1
| | | | | | | | Using the high power table can damage the device in some cases. This reverts commit bf27ac019c137e7baf90ca6ef0e40945ae871797. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx: mach-ubnt-xm.c convert patches to mach fileArne Zachlod2016-06-131-0/+700
| | | | Signed-off-by: Arne Zachlod <arne@nerdkeller.org>
* ar71xx: add support for OpenEmbed SOM9331Allan Nick Pedrana2016-06-074-0/+137
| | | | | | | | This patch adds the target profile SOM9331 and configures hardware functionality for the 3x Eth Ports & corresponding LED's, the USB Host, the USART to USB bridge and the System LED. Signed-off-by: Allan Nick Pedrana <nik9993@gmail.com>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-074-4/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add WRTnode2Q supportKeLei Liang2016-06-064-0/+138
| | | | Signed-off-by: KeLei Liang <xzmu@wrtnode.com>
* ar71xx: Fix TL-WR841N v11 LEDs, use separate machineStijn Segers2016-05-312-1/+71
| | | | Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
* ar71xx/cpe510: use second wifi calibration tableAlexander Couzens2016-05-231-1/+1
| | | | | | | The cpe510 has two calibration tables. The first calibration table requires to modify ath9k driver to work (patched tx gain table). Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx/cpe510: split profile into 2 profiles cpe210 and cpe510Alexander Couzens2016-05-232-6/+25
| | | | | | | Split profile into 2GHz and 5GHz. The 5GHz devices are quite "special". The 2 GHz works perfect. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx: add kernel support for the OpenMesh MR1750v2Sven Eckelmann2016-05-232-0/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh OM2P-HSv3Sven Eckelmann2016-05-232-0/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx/cpe510: enable LNA for CPE210/220/510/520Alexander Couzens2016-05-201-0/+6
| | | | | | | The LNA improves the rx path. Within a simple test setup it improved the signal from -60dbm to -40dbm. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx: fix DDR write buffer flushing issues with 4.4Felix Fietkau2016-05-151-73/+16
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for TP-LINK TL-WR842N/ND v3Cezary Jackiewicz2016-05-143-8/+105
| | | | | | | | | | | - CPU QCA9531-BL3A - RAM: 64MB - flash: 16MB - USB AP143 platform, similar to tl-wr841n v10/v11, but with USB Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ar71xx: add proper support for Archer-C7 V2John Crispin2016-05-142-4/+41
| | | | | | This has minor differences to the V1 Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: Fix TP-LINK Archer-C5/C7 v2 rfkillJohn Crispin2016-05-121-1/+1
| | | | | | Fix ARCHER_C7_GPIO_BTN_RFKILL, which is attached to GPIO23 Signed-off-by: Lars Buerding <lb.wrt@metatux.net>
* ar71xx: Add support for Ubiquiti UniFi AP AC PROP.Wassi2016-05-123-1/+72
| | | | | Add support for the Ubiquiti UniFi AP AC PRO Signed-off-by: P.Wassi <p.wassi at gmx.at>
* ar71xx: Rename unifiac to unifiac-liteP.Wassi2016-05-123-9/+9
| | | | | | | To avoid confusion with different unifiac devices, rename existing target "unifiac" to "unifiac-lite", before "unifiac-pro" is introduced. Signed-off-by: P.Wassi <p.wassi at gmx.at>
* ar71xx: add TP-Link TL-WR810N supportblogic2016-05-104-0/+147
| | | | | | | | | This patch adds support for the TP-Link TL-WR810N. https://wiki.openwrt.org/toh/tp-link/tl-wr810n Signed-off-by: Jens Steinhauser <jens.steinhauser@gmail.com> SVN-Revision: 49286
* ar71xx: Fix eth0 support for Ubiquiti UniFi AP ACblogic2016-05-101-0/+1
| | | | | | | Fix eth0 support for the Ubiquiti UniFi AP AC Signed-off-by: Paul Wassi <p.wassi at gmx.at> SVN-Revision: 49277
* ar71xx: Add support for the OMYlink OMY-G1John Crispin2016-04-264-0/+135
| | | | | | | | | | https://wiki.openwrt.org/toh/omylink/omy-g1 http://www.omylink.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49258
* ar71xx: fix build errorHauke Mehrtens2016-04-172-0/+2
| | | | | | | | | | This fixes a build error introduced in r49193. This closes #22230 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49194
* ar71xx: fix build with kernel 4.4Hauke Mehrtens2016-04-172-0/+8
| | | | | | | | | | The file linux/mdio-gpio.h was moved to linux/platform_data/mdio-gpio.h in kernel 4.4 Reported-by: Arjen de Korte <arjen+openwrt@de-korte.org> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49193
* ar71xx: add TP-Link TL-WA901ND-v4 supportJohn Crispin2016-04-094-0/+123
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> SVN-Revision: 49158
* ar71xx: add support for Compex WPJ342John Crispin2016-04-094-0/+190
| | | | | | | | | | | | OpenWrt can be flashed with following uboot commands: tftpboot 0x80500000 openwrt-ar71xx-generic-wpj342-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 49157
* ar71xx: add kernel support for the OpenMesh OM5P-ACv2 boardJohn Crispin2016-04-094-0/+228
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49149
* ar71xx: add kernel support for the OpenMesh OM5P-AC boardJohn Crispin2016-04-094-0/+204
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49141
* ar71xx: WPN824N: enable buttonsJohn Crispin2016-04-011-5/+33
| | | | | | | | Enable buttons connected to the GPIOs of the AR9285. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> SVN-Revision: 49109
* ar71xx: WPN824N: set WLAN LED nameJohn Crispin2016-04-011-5/+2
| | | | | | | | | Make use of ap9x_pci_setup_wmac_led_name() to set the name of the WLAN LED. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> SVN-Revision: 49108
* ar71xx: WNR2200: enable control of all LEDs and buttonsJohn Crispin2016-04-011-36/+109
| | | | | | | | | This patch provides full GPIO support for WNR2200 (LEDs and buttons). It exposes all LEDs to operating system, including Ethernet ones. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 49101
* ar71xx: WNR2200: fix for random WLAN MACJohn Crispin2016-04-011-2/+37
| | | | | | | | | | Fix for invalid/random/duplicate WLAN MAC address in WNR2200. 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: 49100
* ar71xx: cosmetic fix of alfa ap120c/ap96 orderingLuka Perkov2016-03-244-14/+14
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 49086
* ar71xx: add support for ap120cLuka Perkov2016-03-234-0/+157
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 49082
* ar71xx: WNR1000v2: enable control of all LEDs and buttonsJohn Crispin2016-03-231-5/+127
| | | | | | | | | This patch provides full GPIO support for WNR1000v2 (LEDs and buttons). It exposes all LEDs to operating system, including Ethernet ones. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 49076
* Revert "ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg"John Crispin2016-03-231-13/+3
| | | | | | | | | | | | | Not all mach-* files set all boards correctly in ETH_CFG. They depend on some preset values by u-boot which were not previously modified by ath79_setup_qca955x_eth_cfg. Avoiding to modify them in this function keeps it backward compatible for these boards. This reverts commit 119b8ab2c2eac237ec4e9c4d0ed53df22b5c6978. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49072
* Revert "ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x"John Crispin2016-03-2315-27/+17
| | | | | | | | | | | | The default delays RXD 3. RDV 3, TXD 0, TXE 0 doesn't seem to work for some boards. These boards depend on the preset values of u-boot which may differ. This reverts commit f2d4bb96b62512caa161dcc2867c91692fb16a38. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49071
* 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