aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add hard_cfg offset detection for rb2011 support - fixes wlan on ↵Felix Fietkau2013-05-133-7/+51
| | | | | | | | some newer devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36631
* ar71xx: add kernel support for Netgear WNDAP360Gabor Juhos2013-05-081-0/+105
| | | | | | | | | | | | 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
* ar71xx: Add Netgear WNR2000v3 supportGabor Juhos2013-04-261-0/+91
| | | | | | | | | | 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
* ar71xx: add kernel support for TPLINK WR720N v3Gabor Juhos2013-04-261-0/+109
| | | | | | | | | | | | | | | 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
* ar71xx: fix ethernet LEDs on the TL-WDR3500Gabor Juhos2013-03-251-0/+16
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36122
* ar71xx: fix USB power GPIO on the TL-WDR3500Gabor Juhos2013-03-241-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36119
* ar71xx: remove numeric suffix of the TL-WDR3500 USB LEDGabor Juhos2013-03-241-6/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36118
* ar71xx: rw2458n - Use eeprom (art) from wifi cardGabor Juhos2013-03-151-4/+4
| | | | | | | | | 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
* ar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configurationGabor Juhos2013-03-151-4/+2
| | | | | | | | | | | | | | 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
* ar71xx: om2p-hs: use correct bit mask to disable JTAG functionalityGabor Juhos2013-03-111-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35966
* ar71xx: add kernel support for MR3420v2Gabor Juhos2013-03-111-12/+69
| | | | | | | | | [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
* ar71xx: enabling control GPIO14 and GPIO15 on MR3040/MR11UGabor Juhos2013-03-111-0/+6
| | | | | | | | | | | | 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
* ar71xx: add kernel support for dir-835-a1Gabor Juhos2013-03-111-8/+57
| | | | | | | | | | | | | | [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
* ar71xx: use backported QCA955x patchesGabor Juhos2013-03-041-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35878
* ar71xx: rework changes from r35840Luka Perkov2013-03-031-5/+2
| | | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35865
* ar71xx: update MAC address assignment for dir-825-c1Gabor Juhos2013-03-031-9/+9
| | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35855
* ar71xx: fixes leds for dir-825-c1Gabor Juhos2013-03-031-9/+20
| | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35854
* ar71xx: add support for Buffalo WZR 600DHPLuka Perkov2013-03-011-1/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 35840
* ar71xx: fix MAC address assignment on the DIR-825-Bx boardsGabor Juhos2013-02-211-7/+10
| | | | | | | | | | | 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
* ar71xx: remove __dev{init,exit} annotations from kernel filesGabor Juhos2013-02-191-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35687
* ar71xx: add kernel support for the Mikrotik RB951G boardGabor Juhos2013-02-171-0/+214
| | | | | | | | | | | | | | | | | 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
* ar71xx: register the micro sd card reader on RB493GJonas Gorski2013-02-101-0/+3
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35535
* ar71xx: Routerboard 751 Mac Address Offset FixGabor Juhos2013-02-081-2/+10
| | | | | | | | | | | | | | | 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
* ar71xx: fixes whitespaces for dir-825-c1Gabor Juhos2013-02-021-7/+6
| | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35455
* ar71xx: fix mac address calculation on the OpenMesh MR600Gabor Juhos2013-02-021-3/+3
| | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35446
* ar71xx: add kernel support for the OpenMesh MR600v2Gabor Juhos2013-02-011-6/+69
| | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35428
* ar71xx: remove unused OpenMesh MR6000 platform codeGabor Juhos2013-02-011-15/+0
| | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35426
* ar71xx: add kernel support for the TL-WDR3500 boardGabor Juhos2013-02-011-0/+153
| | | | | | | | | | | | | | | | | | | | | | | | 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
* ar71xx: add kernel support for dir-825-c1Gabor Juhos2013-01-291-0/+189
| | | | | | | | | | | [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
* ar71xx: add kernel support for Atheros AP132 Reference BoardGabor Juhos2013-01-291-0/+189
| | | | | | | | | Based on http://patchwork.openwrt.org/patch/3162/ Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35395
* ar71xx: fix ethernet device registration for the QCA9556 SoCGabor Juhos2013-01-291-0/+12
| | | | | | | | | Based on http://patchwork.openwrt.org/patch/3162/ Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35394
* ar71xx: enable fast flash read on dual-flash devicesGabor Juhos2013-01-291-0/+1
| | | | | | | | | | | | | | | This improves flash read speed on various Buffalo units. mtd_speedtest results on the WZR-HP-AG300H: old new delta eraseblock read speed: 726 KiB/s 2068 KiB/s +184.85% page read speed: 699 KiB/s 1973 KiB/s +182.26% 2 page read speed: 711 KiB/s 2043 KiB/s +187.34% Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35392
* ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on ↵Gabor Juhos2013-01-073-4/+7
| | | | | | | | | | | | | | | | | | TL-WR703N/MR3020/MR3040/MR11U boards The PHY_SWAP and PHY_ADDR_SWAP bits are initialized differently by different versions of the bootloader. This leads to broken ethernet connection with OpenWrt on some boards. Turn both SWAP bits OFF on these boards to make it consistent regardless of the bootloader used. Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35037
* ar71xx: allow to register the NAND flash controller on the QCA955xGabor Juhos2013-01-011-7/+43
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34945
* ar71xx: fix ethernet device registration for QCA9558Gabor Juhos2012-12-221-1/+43
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34853
* ar71xx: fixup allowed PHY interface types for QCA9558Gabor Juhos2012-12-221-2/+23
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34851
* ar71xx: don't assign any MII bus device on QCA9558 by defaultGabor Juhos2012-12-221-1/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34850
* generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_dataGabor Juhos2012-12-225-5/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34846
* ar71xx: add kernel support for the TL-MR3220 v2Gabor Juhos2012-12-191-10/+42
| | | | | | | | | | | | | | | Based on the following patch: http://patchwork.openwrt.org/patch/3043/ [juhosg: - remove custom LED and button arrays - use separate machine specific patch - update Kconfig] Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34779
* ar71xx: add kernel support for the NETGEAR WNDR4300Gabor Juhos2012-12-121-0/+182
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34647
* ar71xx: add ap91_pci_init_simple helperGabor Juhos2012-12-122-0/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34646
* ar71xx: ar934x_nfc: allow to control DMA data swap via platform dataGabor Juhos2012-12-103-0/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34588
* ar71xx: add kernel support for the RB435G boardGabor Juhos2012-11-181-0/+29
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34239
* ar71xx: update PCI IRQ map for RB4xx devicesGabor Juhos2012-11-181-0/+28
| | | | | | | | Should fix #12269. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34238
* ar71xx: add kernel support for the OpenMesh MR600 boardGabor Juhos2012-11-181-0/+128
| | | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34231
* ar71xx: add support for TP-Link TL-WA7510NGabor Juhos2012-11-131-11/+29
| | | | | | | | | | | | | | | | | | | | It is mostly the same as TL-WA901N. WLAN and LAN are working. LAN LED is working. WLAN signal strength LEDs are not working yet. http://wiki.openwrt.org/toh/tp-link/tl-wa7510n?s[]=wa7510n [juhosg: - cleanup commit message - move non kernel related stuff into separate changes - rename and refresh 615-MIPS-ath79-TL-WA7510N-v1-support patch - merge WA7510N support into the mach-tl-wa901nd.c file - add 3.6 support] Signed-off-by: Stefan Helmert <helst_listen@aol.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34187
* ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpioGabor Juhos2012-11-059-19/+30
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34087
* ar71xx: don't use the unknown LED on the ZCN-1523-5 boardGabor Juhos2012-11-041-4/+1
| | | | | | | | | | | | | | According to #12421, GPIO 1 controls the power output on the unused lines of the LAN2 port. Remove the LED definition in order to prevent possible permanent hardware damage. If someone needs that, the power-out feature can be controlled via the GPIO sysfs interface. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34076
* ar71xx: fix link speed between AR7242 and AR8327 on the RB750GL/RB751G boardsGabor Juhos2012-10-291-1/+2
| | | | | | | | | The default pll_1000 value had to be changed in order to make it working. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33993
* ar71xx: add support for the Senao CAP4200AG boardGabor Juhos2012-10-271-0/+131
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 33956