aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
Commit message (Collapse)AuthorAgeFilesLines
* AA: ar71xx: fix bad RX sensitivity on newer TL-WDR4300 boardsGabor Juhos2014-01-281-0/+10
| | | | | | | | | | | | | | | | | | Backport of r39392. On recent TL-WDR4300 boards the external LNAs of the 2.4GHz interface are connected to GPIO lines. Because these GPIO lines are disabled by default, the RX sensitivity of the device is quite bad. Setup the GPIOs of the external LNAs to fix the issue. [Backport note: the 'ath79_wmac_set_ext_lna_gpio' function is not available in AA, use the 'gpio_request_one' instead.] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@39408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: om2p-hs: use correct bit mask to disable JTAG functionalityGabor Juhos2013-03-111-1/+1
| | | | | | | | Backport of r35966. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35968 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: register the micro sd card reader on RB493GJonas Gorski2013-02-251-0/+3
| | | | | | | | Backport of r35535. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: fix MAC address assignment on the DIR-825-Bx boardsGabor Juhos2013-02-211-7/+10
| | | | | | | | | | | | | Backport of r35730. 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/branches/attitude_adjustment@35731 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: Routerboard 751 Mac Address Offset FixGabor Juhos2013-02-091-2/+10
| | | | | | | | | | | | | | | | | Backport of r35519. 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/branches/attitude_adjustment@35531 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on ↵Gabor Juhos2013-01-073-4/+7
| | | | | | | | | | | | | | | | | | | | TL-WR703N/MR3020/MR3040/MR11U boards Backport of r35037. 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> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@35038 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: add kernel support for the RB435G boardGabor Juhos2012-11-251-0/+29
| | | | | | | | Backport of r34239. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34354 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: update PCI IRQ map for RB4xx devicesGabor Juhos2012-11-251-0/+28
| | | | | | | | | | Backport of r34238. Should fix #12269. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34353 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: add kernel support for the OpenMesh MR600 boardGabor Juhos2012-11-251-0/+128
| | | | | | | | | Backport of r34231. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34345 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: add support for TP-Link TL-WA7510NGabor Juhos2012-11-251-11/+29
| | | | | | | | | | | | | | | | | | | | | | Backport of r34187. 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> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34335 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpioGabor Juhos2012-11-259-19/+30
| | | | | | | | Backport of r34087. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34333 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: don't use the unknown LED on the ZCN-1523-5 boardGabor Juhos2012-11-041-4/+1
| | | | | | | | | | | | | | | | Backport of r34076. 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> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: fix link speed between AR7242 and AR8327 on the RB750GL/RB751G ↵Gabor Juhos2012-10-291-1/+2
| | | | | | | | | | | | | boards Bacport of r33993. The default pll_1000 value had to be changed in order to make it working. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: add support for the Senao CAP4200AG boardGabor Juhos2012-10-281-0/+131
| | | | | | | | Backport of r33956. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: rw2458n - fix flash partsGabor Juhos2012-10-191-10/+1
| | | | | | | | | | | Backport of r33867. See #12338. Redwave rw2458 has uboot, not redboot. 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/branches/attitude_adjustment@33883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: use the ath79_set_ar934x_eth_cfg helper in machine setup routinesGabor Juhos2012-10-185-97/+7
| | | | | | | | Backport of r33818. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33836 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: add a helper function for setting up ETH_CFG register on AR934xGabor Juhos2012-10-182-0/+25
| | | | | | | | Backport of r33817. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33835 3c298f89-4303-0410-b956-a3cf2f4a3e73
* AA: ar71xx: add support for the OpenMesh OM2P-HS boardGabor Juhos2012-10-171-0/+68
| | | | | | | | | Backport of r33800. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TL-WR841N/ND v8 boardGabor Juhos2012-10-041-0/+159
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_macGabor Juhos2012-09-271-2/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: automatically find WLAN calibration data on TEW-673GRUGabor Juhos2012-09-251-18/+46
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: automatically find WLAN calibration data on DIR-825-B1Gabor Juhos2012-09-251-17/+44
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use different machtype and setup for the TL-MR3040Gabor Juhos2012-09-241-14/+34
| | | | | | Should fix #12211. Compile tested only. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register the NAND controller device on the RB2011Gabor Juhos2012-09-131-0/+77
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33388 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add device registration code for the AR934x NAND flash controllerGabor Juhos2012-09-132-0/+122
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33387 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add initial support for RB2011UAS-2HnDGabor Juhos2012-09-091-0/+56
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33349 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use routerboot_find_tag to find wlan data offset on RB751Gabor Juhos2012-09-091-8/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add RouterBoot related helper routinesGabor Juhos2012-09-092-0/+126
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: define MTD partitions for RB2011Gabor Juhos2012-09-091-1/+42
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33345 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add preliminary support for Mikrotik RB2011LGabor Juhos2012-09-091-0/+97
| | | | | | | | | | | | | This patch adds preliminary support for the Mikrotik RB2011L. The NAND flash is not yet supported, so only the initramfs kernel can be used for now. [juhosg: remove unnecessary PCI/USB related stuff, the board does not use that, update commit message] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934xGabor Juhos2012-09-091-0/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add dynamic MDIO clock calculationGabor Juhos2012-09-091-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33342 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the RLE library for RB751Gabor Juhos2012-09-081-35/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"Gabor Juhos2012-08-291-8/+1
| | | | | | That was based on assumptions. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: all0315n: fix ethernet according to vendor infoGabor Juhos2012-08-291-12/+2
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Buffalo WZR-HP-AG300H LED supportGabor Juhos2012-08-291-0/+56
| | | | | | | | | | | | | | | | | | | An improved LED support for Buffalo WZR-HP-AG300H. There will be two new packages to go with this patch (ar922x-led-fix-hotplug and ar922x-led-fix-init). These packages essentially perform the same task of disabling "JTAG over GPIO pins" function which is currently required for LEDs on AR922x emac GPIO to work, and are both considered a temporary fix that circumvent this problem. [juhosg: add the hotplug script from the proposed ar922x-led-fix-hotplug package to ar71xx/base-files] Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33294 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the Allnet ALL0315N boardGabor Juhos2012-08-271-0/+95
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240Gabor Juhos2012-08-271-1/+8
| | | | | | Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TRENDnet TEW-712BR boardGabor Juhos2012-08-221-0/+163
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix comment style in mach-tl-wr2543n.cGabor Juhos2012-08-221-6/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add ALL0305 board aliasGabor Juhos2012-08-221-0/+3
| | | | | | | | | | For the pure convenience of having a correctly named image and system name in /proc/cpuinfo , until we can do that by having system names in DTS... Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-Link TL-WDR3600Gabor Juhos2012-08-221-1/+2
| | | | | | | | | | | The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has only two antennas. [juhosg: remove the custom machine type, change the board name instead] Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33219 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add led defintion for the WR2543 5GHz WLAN LEDJohn Crispin2012-08-221-1/+20
| | | | | | Signed-off-by: Andy Leiserson <andy@leiserson.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: init switch hw_reset on the TL-WR1043ND boardGabor Juhos2012-08-021-2/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ew-dorin: added router firmware generationGabor Juhos2012-08-011-2/+38
| | | | | | | | [juhosg: remove dead code] Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Buffalo WLAE-AG300N initial supportGabor Juhos2012-08-011-0/+114
| | | | | | | | | | | | | | | | | | | | The patch set for Buffalo WLAE-AG300N initial support. There is another patch for wireless led support that is posted separately. Note on serial console: This unit has buffalo standard 4 pin console, but the unit may not power on if some console apparatus is connected. This is probably due to some electronic interaction between the unit's electronic power switch circuit and the serial console apparatus. If this happens, it is required to power on the unit without the console, then quickly (re-)attach it. [juhosg: fix coding style] Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make 2.4GHz wlan LED work on the WR2543NGabor Juhos2012-07-051-0/+2
| | | | | | | | Because ath9k does not supports separate LEDs for different bands yet, the 2.4GHz LED will show the activity, even if the 5GHz band is selected. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the OpenMesh OM2P-LC boardGabor Juhos2012-07-051-0/+60
| | | | | | Patch-by: Marek Linder <marek@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add initial support for the QCA955X SoCsGabor Juhos2012-07-051-1/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove the built-in MTD map of the ALL0258NGabor Juhos2012-07-031-49/+1
| | | | | | | | | Pass the mtd_layout via the kernel command line instead. Also increase the kernel partition size to 1024k, so current kernel can fit in. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32585 3c298f89-4303-0410-b956-a3cf2f4a3e73