summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch/mips/ath79
AgeCommit message (Collapse)Author
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
2013-04-26ar71xx: Add Netgear WNR2000v3 supportjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26ar71xx: add kernel support for TPLINK WR720N v3juhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25ar71xx: fix ethernet LEDs on the TL-WDR3500juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24ar71xx: fix USB power GPIO on the TL-WDR3500juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24ar71xx: remove numeric suffix of the TL-WDR3500 USB LEDjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15ar71xx: rw2458n - Use eeprom (art) from wifi cardjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15ar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configurationjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11ar71xx: om2p-hs: use correct bit mask to disable JTAG functionalityjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11ar71xx: add kernel support for MR3420v2juhosg
[juhosg: use gpio_request_one to enable the USB power] Patch-by: Dmytro <dioptimizer@gmail.com> Signed-off-by: Gabor Juhos <juhosg@opewrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11ar71xx: enabling control GPIO14 and GPIO15 on MR3040/MR11Ujuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11ar71xx: add kernel support for dir-835-a1juhosg
[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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04ar71xx: use backported QCA955x patchesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03ar71xx: rework changes from r35840luka
Signed-off-by: Luka Perkov <luka@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03ar71xx: update MAC address assignment for dir-825-c1juhosg
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03ar71xx: fixes leds for dir-825-c1juhosg
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-01ar71xx: add support for Buffalo WZR 600DHPluka
Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21ar71xx: fix MAC address assignment on the DIR-825-Bx boardsjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19ar71xx: remove __dev{init,exit} annotations from kernel filesjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17ar71xx: add kernel support for the Mikrotik RB951G boardjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10ar71xx: register the micro sd card reader on RB493Gjogo
Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-08ar71xx: Routerboard 751 Mac Address Offset Fixjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02ar71xx: fixes whitespaces for dir-825-c1juhosg
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02ar71xx: fix mac address calculation on the OpenMesh MR600juhosg
Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01ar71xx: add kernel support for the OpenMesh MR600v2juhosg
Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35428 3c298f89-4303-0410-b956-a3cf2f4a3e73