summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: fixes whitespaces for dir-825-c1juhosg2013-02-021-7/+6
| | | | | | | 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
* ar71xx: fix mac address calculation on the OpenMesh MR600juhosg2013-02-021-3/+3
| | | | | | | 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
* ar71xx: add kernel support for the OpenMesh MR600v2juhosg2013-02-011-6/+69
| | | | | | | 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
* ar71xx: remove unused OpenMesh MR6000 platform codejuhosg2013-02-011-15/+0
| | | | | | | 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@35426 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the TL-WDR3500 boardjuhosg2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for dir-825-c1juhosg2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for Atheros AP132 Reference Boardjuhosg2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35395 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet device registration for the QCA9556 SoCjuhosg2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35394 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable fast flash read on dual-flash devicesjuhosg2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on ↵juhosg2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35037 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to register the NAND flash controller on the QCA955xjuhosg2013-01-011-7/+43
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet device registration for QCA9558juhosg2012-12-221-1/+43
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fixup allowed PHY interface types for QCA9558juhosg2012-12-221-2/+23
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't assign any MII bus device on QCA9558 by defaultjuhosg2012-12-221-1/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_datajuhosg2012-12-225-5/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the TL-MR3220 v2juhosg2012-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the NETGEAR WNDR4300juhosg2012-12-121-0/+182
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add ap91_pci_init_simple helperjuhosg2012-12-122-0/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34646 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: allow to control DMA data swap via platform datajuhosg2012-12-103-0/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34588 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the RB435G boardjuhosg2012-11-181-0/+29
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update PCI IRQ map for RB4xx devicesjuhosg2012-11-181-0/+28
| | | | | | | | Should fix #12269. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh MR600 boardjuhosg2012-11-181-0/+128
| | | | | | | 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/trunk@34231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-Link TL-WA7510Njuhosg2012-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpiojuhosg2012-11-059-19/+30
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34087 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't use the unknown LED on the ZCN-1523-5 boardjuhosg2012-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix link speed between AR7242 and AR8327 on the RB750GL/RB751G boardsjuhosg2012-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the Senao CAP4200AG boardjuhosg2012-10-271-0/+131
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rw2458n - fix flash partsjuhosg2012-10-191-10/+1
| | | | | | | | | 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/trunk@33867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the ath79_set_ar934x_eth_cfg helper in machine setup routinesjuhosg2012-10-175-97/+7
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33818 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a helper function for setting up ETH_CFG register on AR934xjuhosg2012-10-172-0/+25
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33817 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the OpenMesh OM2P-HS boardjuhosg2012-10-171-0/+68
| | | | | | | 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/trunk@33800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TL-WR841N/ND v8 boardjuhosg2012-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}_macjuhosg2012-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-673GRUjuhosg2012-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-B1juhosg2012-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-MR3040juhosg2012-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 RB2011juhosg2012-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 controllerjuhosg2012-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-2HnDjuhosg2012-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 RB751juhosg2012-09-091-8/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33348 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add RouterBoot related helper routinesjuhosg2012-09-092-0/+126
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: define MTD partitions for RB2011juhosg2012-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 RB2011Ljuhosg2012-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 AR934xjuhosg2012-09-091-0/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33343 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add dynamic MDIO clock calculationjuhosg2012-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 RB751juhosg2012-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"juhosg2012-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 infojuhosg2012-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 supportjuhosg2012-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 boardjuhosg2012-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