aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: Detect USB port on Mikrotik RB750UPJoão Chaínho2017-01-151-0/+3
| | | | | | The USB port on Mikrotik RB750UP isn’t detected. This patch provides a fix. Tested and working. Signed-off-by: João Chaínho <joaochainho@gmail.com>
* ar71xx: disable sub-page writes on routerboard nand driversFelix Fietkau2017-01-113-0/+3
| | | | | | They seem to fail in tests using UBI, and are not used by yaffs2 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix RB4xx CPLD SPI device mode setupFelix Fietkau2017-01-111-1/+1
| | | | | | | | Commit af79fdbe4af3 changed the code to use tx_nbits for dual SPI tx transfers, however the SPI stack only allows this when the device mode includes the relevant bit as well Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix RB4xx SPI driver mode bitsFelix Fietkau2017-01-111-1/+1
| | | | | | Accept SPI_TX_DUAL in device mode to fix the CPLD driver Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for TP-Link WBS210/510Matthias Schiffer2017-01-052-3/+58
| | | | | | | The devices are mostly identical to the CPE210/510, but use external antennas. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: remove a non-upstream spi core patchFelix Fietkau2017-01-054-189/+8
| | | | | | | - use standard flags instead - remove dead code from the rb4xx spi drivers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for TP-Link RE450Tal Keren2016-12-224-0/+199
| | | | | | | | | | | | | | | | | | | | | | | Add full support for TP-Link RE450. The wireless SoC is similiar to Archer C7: QCA9558 + QCA9880 (pci). The ethernet interface is AR8035, but the mdio is connected to the gpio and the chipset builtin mdio bus isn't used, which is unique (and weird), so the kernel gpio mdio module is used. The two ethernet leds are connected to the GPIO, so they are both configured, one to indicate link status and the other to indicate data transfer. The generation of the image was added to the image Makefile. The return value of tplink-safeloader is not ignored anymore (to fail on error) The result factory image is flashable from the stock web ui. Signed-off-by: Tal Keren <kooolk@gmail.com> [rd@radekdostal.com: ar71xx: RE450: do not build RE450 for nand] Signed-off-by: Radek Dostál <rd@radekdostal.com> [hyniu@o2.pl: ar71xx: RE450: Renaming LED accordance with the standard] Signed-off-by: Henryk Heisig <hyniu@o2.pl> [jo@mein.io: squash fixes from Radek and Henryk into original commit] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: add support for TP-LINK WR1043ND v4Ludwig Thomeczek2016-12-204-1/+203
| | | | Signed-off-by: Ludwig Thomeczek <ledesrc@wxorx.net>
* ar71xx: add support for TP-LINK TL-WR940N v4David Lutz2016-12-164-0/+160
| | | | Signed-off-by: David Lutz <kpanic@hirnduenger.de>
* ar71xx: Added missing support for Linksys E2100LGad Krumholz2016-12-142-0/+137
| | | | | | | | | | | | | It's based on the WRT160NL according to https://wiki.openwrt.org/toh/linksys/e2100l Based on research done here: https://forum.openwrt.org/viewtopic.php?id=24244 and here: https://forum.openwrt.org/viewtopic.php?pid=120791#p120791 this patch was conceived. Signed-off-by: Gad Krumholz <gad.krumholz@gmail.com> [Jo-Philipp Wich: fix ordering, move addpattern change into separate commit] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: Add support for Netgear WNR2000v1Huan Truong2016-12-141-44/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds supports for the WNR2000v1 board with 4MB flash, and produces device-specific factory, rootfs, and sysupgrade files for the WNR2000v1. This board is errorneously claimed as supported on the OpenWRT wiki as AP81, but AP81 image would not work because of APT81 image requiring having 8MB of flash, while WNR2000v1 has only 4MB. The image requires the u-boot bootloader to be modified to fuhry's bootloader first. Short specification: - CPU: Atheros AR9132 - 4x 10/100 Mbps Ethernet, 1x WAN 10/100 Mbps - 4 MB of Flash - 32 MB of RAM - UART header (J1) on board - 1x button Factory/Initial flash instructions: - Set up a TFTP server on your local machine. - Download the uImage for ar71xx-generic and the rootfs image for ar71xx-generic-wnr2000 and save in the tftp server root. - Gain serial access to the router via the UART port (telnetenable over the network only won't work!). - Upgrade the u-boot bootloader to fuhry's version by running the script: http://fuhry.com/b/wnr2000/install-repart.sh - When the router restarts, interrupt u-boot and gain access to u-boot command line. - Repartititon the board and flash initial uImage and rootfs as follow. Commands to type in u-boot: # tells u-boot that we have a tftp server on 192.168.1.10 setenv serverip 192.168.1.10 # tells u-boot that the router should take the address 192.168.1.1 setenv ipaddr 192.168.1.1 # erase the region from 0x050000-0x3f0000 erase 0xbf050000 +0x3A0000 # loads sqfs.bin on TFTP server, and put it to memory address 0x81000000 tftpboot 0x81000000 sqfs.bin # it will tell you the length of sqfs.bin in hex, let's say ZZZZZZ # copy bit by bit 0xZZZZZZ bytes from offset 0x050000 cp.b 0x81000000 0xbf050000 0xZZZZZZ # same to the uImage.bin, write it right next to sqfs.bin # again, 0xYYYYYY is the length that tftpboot reports tftpboot 0x81000000 uImage.bin cp.b 0x81000000 0xbf2a0000 0xYYYYYY # We need to tell the kernel what board it is booting into, and where to find the partitions setenv bootargs "board=WNR2000 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,3712k(firmware),64k(art)ro rootfstype=squashfs,jffs2 noinitrd" # Tell u-boot where to find the uImage setenv bootcmd "bootm 0xbf2a0000" # Tell u-boot to save parameters to the u-boot-env partitions saveenv # Reset the board reset Tested on: - WNR2000v1 board. - Initial flash works. Known bugs: - I don't know why factory image doesn't work on initial flash on stock firmware in u-boot recovery mode while it should. - Sysupgrade does not yet work, if you do -f it will mess up your installation (requiring a reinstall of sqfs and uImage). Signed-off-by: Huan Truong <htruong@tnhh.net>
* ar71xx: remove PB92 reference design board supportFelix Fietkau2016-12-124-81/+0
| | | | | | | Due to flash size limitations, support for this board has not been functional for years Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove AP113 reference design board supportFelix Fietkau2016-12-124-96/+0
| | | | | | | Due to flash size limitations, support for this board has not been functional for years Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove AP81 reference design board supportFelix Fietkau2016-12-122-2/+0
| | | | | | This board is very old and unlikely to still be relevant today. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove obsolete duplicate driver source fileFelix Fietkau2016-12-121-294/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove AP83 reference design board supportFelix Fietkau2016-12-125-568/+0
| | | | | | | | This board is very old and unlikely to still be relevant today. Support for it contains a significant amount of device specific baggage which is worth getting rid of. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: clean up spi controller related patchesFelix Fietkau2016-12-127-76/+8
| | | | | | Remove various hacks for fast read, un-break device tree support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for YunCore SR3200 and XD3200Piotr Dymacz2016-12-124-0/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | YunCore SR3200 is a dual-band AC1200 router, based on Qualcomm/Atheros QCA9563+QCA9882+QCA8337N. YunCore XD3200 (FCC ID: 2ADUG-XD3200) is a dual-band AC1200 ceiling mount AP with PoE support, based on Qualcomm/Atheros QCA9563+QCA9882+QCA8334. Common specification: - 775/650/258 MHz (CPU/DDR/AHB) - 128 MB or RAM (DDR2) - 16 MB of FLASH (SPI NOR) - 2T2R 2.4 GHz, with ext. PA (SKY65174-21), up to 30 dBm - 2T2R 5 GHz, with ext. PA (SKY85405-11) and LNA (SKY85601-11), up to 30 dBm SR3200 specification: - 5x 10/100/1000 Mbps Ethernet - 6x ext. RP-SMA antennas (actually, only 4 are connected with radio chips) - 3x LED (+ 5x LED in RJ45 sockets), 1x button - UART header on PCB XD3200 specification: - 2x 10/100/1000 Mbps Ethernet, with 802.3at PoE support (WAN port) - 4x internal antennas - 3 sets of LEDs on external PCB (+ 2x LED near RJ45 sockets), 1x button - UART and JTAG (custom 6-pin, 2 mm pitch) headers on PCB LED for 5 GHz WLAN is currently not supported on both devices as it is connected directly to the QCA9882 radio chip. Flash instruction under vendor firmware, using telnet/SSH: 1. If your firmware does not have root password, go to point 5 2. Connect PC with 192.168.1.x address to LAN or WAN port 3. Power up device, enter failsafe mode with button (no LED indicator!) 4. Change root password and reboot (mount_root, passwd ..., reboot -f) 5. Upload lede-ar71xx-...-sysupgrade.bin to /tmp using SCP 6. Connect PC with 192.168.188.x address to LAN port, SSH to 192.168.188.253 7. Invoke: - cd /tmp - fw_setenv bootcmd "bootm 0x9fe80000 || bootm 0x9f050000" - mtd -e firmware -r write lede-ar71xx-...-sysupgrade.bin firmware Flash instruction under U-Boot, using UART: 1. tftp 0x80060000 lede-ar71xx-...-sysupgrade.bin 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9fe80000 || bootm 0x9f050000" 5. saveenv && reset Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix LEDs and sysupgrade support for TL-WA801ND v3Matthias Schiffer2016-12-061-3/+3
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: set GPIO reset line for Ubiquiti NanoStation Loco XWFelix Fietkau2016-12-041-0/+17
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: move DomyWifi DW33D to nand subtargetPiotr Dymacz2016-11-241-4/+0
| | | | | | | | | This device uses NAND FLASH, so it should be kept in nand subtarget. Also, inlcude in packages kmod-usb-ledtrig-usbport instead of obsolete kmod-ledtrig-usbdev. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for YunCore CPE830Piotr Dymacz2016-11-214-26/+115
| | | | | | | | | CPE830 is a clone of AP90Q, with different type of antenna (panel) and additional 4 LEDs for WiFi signal level indication. Use the same flash approach as for YunCore AP90Q. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for YunCore CPE870Piotr Dymacz2016-11-214-0/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | YunCore CPE870 is an outdoor CPE/AP based on Atheros AR9341. Short specification: - 535/400/200 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet, passive PoE support - 64/128 MB of RAM (DDR2) - 8 MB of FLASH - 2T2R 2.4 GHz with external PA (SKY65174-21), up to 30 dBm - internal 14 dBi panel antenna - 8x LED, 1x button - UART (JP1) header on PCB Flash instruction (do it under U-Boot, using UART): 1. tftp 0x80060000 lede-ar71xx-generic-cpe870-squashfs-sysupgrade.bin 2. erase 0x9f020000 +$filesize 3. cp.b $fileaddr 0x9f020000 $filesize 4. setenv bootcmd "bootm 0x9f020000" 5. saveenv && reset Vendor firmware access (login/password): Admin/5up Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for YunCore AP90QPiotr Dymacz2016-11-214-0/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | YunCore AP90Q is an outdoor CPE/AP based on Qualcomm/Atheros QCA9531 v2. Short specification: - 650/600/216 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet, passive PoE support - 64/128 MB of RAM (DDR2) - 16 MB of FLASH - 2T2R 2.4 GHz with external PA, up to 29 dBm - 2x internal 5 dBi omni antennas - 4x LED, 1x button - UART (JP1) header on PCB Flash instruction under U-Boot, using UART: 1. tftp 0x80060000 lede-ar71xx-generic-ap90q-squashfs-sysupgrade 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9f050000" 5. saveenv && reset Flash instruction under vendor fimrware, using telnet/SSH: 1. Connect PC with 192.168.1.x address to WAN port 2. Power up device, enter failsafe mode with button (no LED indicator!) 3. Change root password and reboot (mount_root, passwd ..., reboot -f) 4. Upload lede-ar71xx-generic-ap90q-squashfs-sysupgrade.bin to /tmp using SCP 5. Connect PC with 192.168.188.x address to LAN port, SSH to 192.168.188.253 6. Invoke: - cd /tmp - fw_setenv bootcmd "bootm 0x9f050000" - mtd erase firmware - mtd -r write lede-ar71xx-generic-ap90q-squashfs-sysupgrade.bin firmware Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for COMFAST CF-E380AC v1 and v2Piotr Dymacz2016-11-214-6/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COMFAST CF-E380AC v1/v2 is a ceiling mount AP with PoE support, based on Qualcomm/Atheros QCA9558+QCA9880+AR8035. There are two versions of this model, with different RAM and U-Boot mtd partition sizes: - v1: 128 MB of RAM, 128 KB U-Boot image size - v2: 256 MB of RAM, 256 KB U-Boot image size Version number is available only inside vendor GUI, hardware and markings are the same. Short specification: - 720/600/200 MHz (CPU/DDR/AHB) - 1x 10/100/1000 Mbps Ethernet, with PoE support - 128 or 256 MB of RAM (DDR2) - 16 MB of FLASH - 3T3R 2.4 GHz, with external PA (SE2576L), up to 28 dBm - 3T3R 5 GHz, with external PA (SE5003L1), up to 30 dBm - 6x internal antennas - 1x RGB LED, 1x button - UART (T11), LEDs/GPIO (J7) and USB (T12) headers on PCB - external watchdog (Pericon Technology PT7A7514) Flash instruction: Original firmware is based on OpenWrt. Use sysupgrade image directly in vendor GUI. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for COMFAST CF-E320N v2 and CF-E520N/CF-E530NPiotr Dymacz2016-11-214-39/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As we already have support for CF-E316N v2 and many devices from this vendor look similar, the support was included in existing mach-*.c file, with few cleanups and fixes. All 3 devices are based on Qualcomm/Atheros QCA9531 v2. COMFAST CF-E320N v2 is a ceiling mount AP with PoE support. Short specification: - 650/393/216 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet, both with PoE support - 64 MB of RAM (DDR2) - 16 MB of FLASH - 2T2R 2.4 GHz, up to 22 dBm - 2x internal antennas - 1x RGB LED, 1x button - UART (J1), GPIO (J9) and USB (J2) headers on PCB - external watchdog (Pericon Technology PT7A7514) COMFAST CF-E520N/CF-E530N are in-wall APs with USB and PoE support. They seem to have different only the front panel. Short specification: - 650/393/216 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet, WAN with PoE support - 1x USB 2.0 (in CF-E520N covered by panel, available on PCB) - 32 MB of RAM (DDR2) - 8 MB of FLASH - 2T2R 2.4 GHz, up to 22 dBm - 2x internal antennas - 1x LED, 1x button - UART (J1) headers on PCB Flash instruction: Original firmware is based on OpenWrt. Use sysupgrade image directly in vendor GUI. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix drivers/mtd/nand/ar934x_nfc.cPaul Wassi2016-11-181-8/+2
| | | | | | | Fix the incorrect usage of ar934x_nfc_write_page and ar934x_nfc_write_page_raw. Add *page* in the argument list and remove the local variable. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* ar71xx: tl-wpa8630: Use dynamic parsing of the firmware partitionHenryk Heisig2016-11-161-1/+7
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: add support for Buffalo BHR-4GRV2FUKAUMI Naoki2016-11-164-0/+181
| | | | Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
* ar71xx: enable HSR tuner on Ubiquiti UAP Outdoor+Matthias Schiffer2016-11-151-0/+1
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: wpa8630: change board name to tl-wpa8630Henryk Heisig2016-11-085-168/+170
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: Add support to Powerline ac TP-Link WPA8630Henryk Heisig2016-10-314-0/+177
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: fix ethernet on wpj344 boardChristian Mehlis2016-10-311-0/+1
| | | | | | | | | In 814d70b2 the member mac06_exchange_en of struct ar8327_pad_cfg was changed to mac06_exchange_dis, but wpj344 was not adopted to stay in sync. Signed-off-by: Christian Mehlis <christian@m3hlis.de> Reported-by: Nick Dennis <ndennis@rapiduswireless.com>
* ar71xx: add support for D-Link DAP-2695 rev. A1Stijn Tintel2016-10-274-0/+202
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* ar71xx: add support for TP-Link WR802N v1Julius Schulz-Zander2016-10-264-0/+108
| | | | | | | This patch adds support solely for version 1 of the TP-Link WR802N. It is based on Rick Pannen's patch posted on the OpenWrt devel list. Signed-off-by: Julius Schulz-Zander <julius@inet.tu-berlin.de>
* ar71xx: add mac partition to the MR12/MR16Chris Blake2016-10-262-19/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | On the stock Meraki Firmare for the MR12/MR16, a chunk of SPI space after u-boot-env is used to store the boards Mac address. Sadly as this was removed on any device already on OpenWRT/LEDE, moving forward a new, 64k partition named "mac" will be used to store the mac address for the device (which is the minimum size). This allows users to properly set the correct MAC, without editing the ART partition (which holds the same MAC for all devices). The reason the space is taken from kernel instead of rootfs is currently kernels are only 1.3MB, so that way we can leave the current rootfs space alone for users who fully utilize the available storage space. Once this partition is added to a device, you can set your MAC doing the following: mtd erase mac echo -n -e '\x00\x18\x0a\x33\x44\x55' > /dev/mtd5 sync && reboot Where 00:18:0a:33:44:55 is your MAC address. This was tested, and confirmed working on both the MR12 and MR16. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* ar71xx: Add support to DomyWifi DW33DJing Lin2016-10-254-0/+205
| | | | Signed-off-by: Jing Lin <mumuqz@163.com>
* ar71xx: Add support to TP-Link EAP120Henryk Heisig2016-10-184-0/+137
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: add support for the Airtight C-60Christian Lamparter2016-10-154-0/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the Airtight C-60. SOC: Atheros AR9344 rev 2 (CPU:560.000MHz) RAM: 128 MiB NOR: MX25L3205D 4MiB NAND: ST Micro NAND 32MiB 3,3V 8-bit SW-NET: AR8327N (2 Ports) WLAN1: Dual-Band AR9340 Rev:2 (built-in SoC) WLAN2: Dual-Band AR9300 Rev:4 PCIe Chip The switch is setup for an accesspoint: LAN1: (gigabit) is the wan-port. LAN2: (fast ethernet) is bridged with the br-lan. Flashing Guide (via initramfs): 1. Connect a PC to the serial port of the C-60. power up the C-60. Enter u-boot command prompt: #> nand erase #> setenv bootcmd "bootm 0x9f060000" #> saveenv #> setenv ipaddr 192.168.1.1 #> setenv netmask 255.255.255.0 #> setenv serverip 192.168.1.100 #> setenv bootfile lede-ar71xx-nand-c-60-initramfs-kernel.bin #> tftpboot #> bootm 2. Wait for the C-60 to boot LEDE. On the root prompt. Enter: # ubiformat /dev/mtd4 # ubiattach -p /dev/mtd4 3. After that copy the sysupgrade.tar onto the router and run: # sysupgrade sysupgrade.tar to flash the image. Special thanks to Chris Blake <chrisrblake93@gmail.com>. He provided a C-60 unit and he helped with debugging the switch, LEDs and platfrom support. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* ar71xx: add kernel support for D-Link DIR-869 A1Matthias Schiffer2016-10-114-0/+190
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: comsetic cleanups in files/arch/mips/ath79/{Makefile,machtypes.h}Piotr Dymacz2016-10-042-422/+422
| | | | | | Keep everything in alphabetical order and aligned in columns. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix LED names for GL Innovations boardsPiotr Dymacz2016-10-045-18/+18
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* 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: fix ethernet driver fast reset issue causing tx timeoutsFelix Fietkau2016-09-031-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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 software transmit timestamp supportStephen Walker2016-07-152-0/+3
| | | | | | Add software transmit timestamp and ethtool (-T) timestamp support Signed-off-by: Stephen Walker <stephendwalker+github@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>