summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch
AgeCommit message (Collapse)Author
2013-09-25ar71xx: improve kernel support for the TL-MR3040 v2juhosg
This patch adds support for the hardware slide switch on the TL-MR3040 v2. Signed-off-by: Mads Hansen <d@taba.se> [juhosg: use EV_SW instead of EV_KEY] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-23ar71xx: add kernel support for the TEW-732BR boardjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: vanity changes for dir-825-c1juhosg
This patch - changes the color names from orange to amber - changes the name of GPIO 13 from WIFI_BGN (wifi_bgn) to WLAN_2G (wlan2g) to be more consistent with the other routers' files - changes the descriptions of the hardware keys to be a tad more explicit Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Patchwork: http://patchwork.openwrt.org/patch/4081/ [juhosg: update the LED migration script as well] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: use netgear prefix for WNDAP360 LED namesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: use netgear prefix for WNR612 v2 LED namesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: use netgear prefix for WNR2200 LED namesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: use netgear prefix for WNR2000 LED namesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: use netgear prefix for WNDR3700 LED namesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: let HW switch control WAN LED on dir-825-c1juhosg
Enable GPIO 20. This hands off control of the blue planet led to the integrated switch. Consequently, remove the led configuration for the blue planet led. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Patchwork: http://patchwork.openwrt.org/patch/4080/ [juhosg: whitespace fixup] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-21ar71xx: fix LAN LEDs for dir-825-c1juhosg
This patches fixes the lan led configuration. The new configuration is identical to the one in mach-db120.c and it works. The previous one didn't work at all. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: tew-712br: use ath79_parse_ascii_mac helperjuhosg
Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: tew-673gru: use ath79_parse_ascii_mac helperjuhosg
Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: dir-825-c1: use ath79_parse_ascii_mac helperjuhosg
Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: dir-825-b1: use ath79_parse_ascii_mac helperjuhosg
Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: dir-505-a1: use ath79_parse_ascii_mac helperjuhosg
Remove the local MAC address parser function and use the generic one instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-20ar71xx: rename ath79_parse_mac_addr to ath79_parse_ascii_macjuhosg
Rename the function and extend it in order to make it usable from board setup code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add kernel support for the WD My Net N600 boardjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: wndr4300: enable HW ECC mode for the NAND controllerjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add ath79_nfc_set_ecc_mode helperjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add kernel support for TP-Link TL-MR13Ujuhosg
This patch adds support for TP-Link TL-MR13U router with built-in 10AH rechargeable battery. The patch is based on kamwanlai's patch: https://forum.openwrt.org/viewtopic.php?pid=206746#p206746 Updated to accommodate recent changes introduced with: ar71xx: remove fs_* variables from image/Makefile Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4063/ [juhosg: - refresh and rename rename 930-add-tl-mr13u-support.patch => 625-MIPS-ath79-add-tl-mr13u-support.patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: wnr2200: fix a typo in a LED namejuhosg
Reported-by: Roman A. aka BasicXP <x12ozmouse@ya.ru> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-19ar71xx: add kernel support for Netgear WNR2200 wireless routerjuhosg
This patch adds OpenWRT support for the Netgear WNR2200 (N300) wireless router with USB. Technical details of this router can be found at http://www.netgear.com/home/products/wirelessrouters/work-and-play/WNR2200.aspx and http://wikidevi.com/wiki/Netgear_WNR2200 Signed-off-by: Aidan Kissane <aidankissane@googlemail.com> Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4055/ [juhosg: - add commit message and SoB line from the original patch - remove dead code from mach-wnr2200.c - refresh 624-MIPS-ath79-WNR2200-support.patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-13ar71xx: add wireless bgn led support for dir-825-c1juhosg
I checked the GPL code drop from D-Link and tried to get the wireless and LAN switch LEDs to light up. I found some references in AthSDK/www/DIR-825_C1/bsp.h as well as AthSDK/www/DIR-825_C1/rootfs/etc/sysconfig/S2gpio.sh, but in the end I only got the led for 2.4GHz to work. Anyway, here's the patch. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02ar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2juhosg
It also fixes USB Power on MR3420v2. This time we took the information from the source of GPL: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg18970.html Confirmed and tested: https://dev.openwrt.org/ticket/13201#comment:41 Thanks to oguretsagressive for testing. Signed-off-by: Dmytro <dioptimizer@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27ar71xx: don't register USB device on WNDAP360juhosg
Apparently registering usb device on newest trunk causes this AP not to boot... Since there is no USB socket in that device anyway this can be simply removed (and device boots then no problem). [juhosg: - tweak subject line and description, - remove #include "dev-usb.h", - remove 'select ATH79_DEV_USB' from Kconfig] Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05ar71xx: add support for dir 505 a1blogic
this patch is based on ... -> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05ar71xx: fix tl-wa901nd buttons codejuhosg
This patch fixes the code of the buttons for TP-Link WA901ND. Signed-off-by: Rocco Folino <lordzen@autistici.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28ar71xx: add kernel support for the Netgear WNR612 v2 boardjuhosg
Netgear WNR612 v2: - cpu Atheros AR7240 (Python) @400MHz - flash 4MB - ram 32MB - ethernet 10/100: 1xwan + 2xlan (only two) - radio AR9285 [juhosg: use a separate kernel patch] Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3876/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28ar71xx: add kernel support for the TP-LINK TL-WR710N v1 boardjuhosg
Small router sold in EU: AR9330@400MHz, 1x USB2.0, 2x ethernet, 8MB flash, 32MB ram, one led, one button. See: http://galeria.tech-blog.pl/TP-Link_TL-WR710N-EU/ [juhosg: use a separate kernel patch] Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3873/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28ar71xx: TEW632BRP has buttons 'active low', fix board configjuhosg
Looks like trunk@37090 has changed the logic that determines if router's button was pressed. This resulted in TEW632BRP always booting into failsafe mode because it detected pressed button (which was not pressed). Measure with voltmeter has shown that buttons on this router are actually active-low. This patch reflects this fact in board configuration and fixes 'load info failsafe mode' issue. Note: it looks like Trendnet TEW632BRP and a close relative to TEW-652BRP V1.0 and D-Link DIR-615C1, so same problem may exist on those routers as well. This patch doesn't affect routers other than 632BRP and unfortunately I do not have hardware to test this issue with other routers. This patch fixes #13893 and is tested on actuall Trendnet TEW632BRP. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-26ar71xx: add kernel support for the TL-MR10U boardjuhosg
Based on andelf's patch: http://andelf.diandian.com/post/2013-05-22/40050677370 [juhosg: extend WR703N code to handle the TL-MR10U instead of adding a separate mach-tl-mr10u file]] Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3840/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14ar71xx: use uimage split for WZR-HP-G300NH2nbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14ar71xx: enable uimage split for wzr-hp-ag300h/wzr-600dhpnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14ar71xx: use uimage split for WZR-HP-G300NHnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-14ar71xx: use uimage split for WZR-HP-G450Hnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-11ar71xx: add carambola2 supportblogic
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08ar71xx: disable JTAG on TL-WR841N-v8/MR3420v2juhosg
It also fixes USB Power on MR3420v2. Signed-off-by: Dmytro <dioptimizer@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-08ar71xx: fix for wrong eth0 mac assignment on Netgear WNDAP360juhosg
Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-02ar71xx: Buffalo WZR-HP-AG300H (600DHP) change button typeluka
switch buttons should be declared as switch so the failsafe shell is not triggered by accident in procd Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-04ar71xx: add support for WIFI button on tp-link tl-mr3220v2juhosg
The TP-LINK TL-MR3220 v2 has a button on the left side labeled "WIFI". This is GPIO 24. This patch adds the support for this button. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30ar71xx: register USB port for RB2011U* devicesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30ar71xx: make the SFP port usable on RB2011*S boardsjuhosg
The port 6 of the switch is connected to the SFP cage on the RB2011*S boards. Add a helper function to correctly initialize the switch configuration data on those boards to make the SFP port usable. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30ar71xx: rb2011: add switch led control valuesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30ar71xx: rb2011: update RGMII RX/TX delay valuesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30ar71xx: rb2011: move NAND nCE init to rb2011_nand_initjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30ar71xx: add kernel support for the RB2011UASjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-30ar71xx: add kernel support for the TP-LINK Archer C7 boardjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-26ar71xx: set eth0 mac address to match bottom label of the OM2P LCjuhosg
Signed-off-by: marek@open-mesh.com CC: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-13ar71xx: add hard_cfg offset detection for rb2011 support - fixes wlan on ↵nbd
some newer devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-08ar71xx: add kernel support for Netgear WNDAP360juhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36578 3c298f89-4303-0410-b956-a3cf2f4a3e73