summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: rework changes from r35840luka2013-03-031-5/+2
| | | | | | | 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
* ar71xx: update MAC address assignment for dir-825-c1juhosg2013-03-031-9/+9
| | | | | | | 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
* ar71xx: fixes leds for dir-825-c1juhosg2013-03-031-9/+20
| | | | | | | 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
* ar71xx: add support for Buffalo WZR 600DHPluka2013-03-011-1/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix MAC address assignment on the DIR-825-Bx boardsjuhosg2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35730 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove __dev{init,exit} annotations from kernel filesjuhosg2013-02-191-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35687 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the Mikrotik RB951G boardjuhosg2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35633 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register the micro sd card reader on RB493Gjogo2013-02-101-0/+3
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Routerboard 751 Mac Address Offset Fixjuhosg2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35519 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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