aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add kernel support for Netgear WNDAP360Gabor Juhos2013-05-081-0/+105
| | | | | | | | | | | | 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> SVN-Revision: 36578
* ar71xx: Add Netgear WNR2000v3 supportGabor Juhos2013-04-261-0/+91
| | | | | | | | | | 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> SVN-Revision: 36459
* ar71xx: add kernel support for TPLINK WR720N v3Gabor Juhos2013-04-261-0/+109
| | | | | | | | | | | | | | | 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> SVN-Revision: 36456
* ar71xx: fix ethernet LEDs on the TL-WDR3500Gabor Juhos2013-03-251-0/+16
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36122
* ar71xx: fix USB power GPIO on the TL-WDR3500Gabor Juhos2013-03-241-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36119
* ar71xx: remove numeric suffix of the TL-WDR3500 USB LEDGabor Juhos2013-03-241-6/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36118
* ar71xx: rw2458n - Use eeprom (art) from wifi cardGabor Juhos2013-03-151-4/+4
| | | | | | | | | 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> SVN-Revision: 36037
* ar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configurationGabor Juhos2013-03-151-4/+2
| | | | | | | | | | | | | | 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> SVN-Revision: 36036
* ar71xx: om2p-hs: use correct bit mask to disable JTAG functionalityGabor Juhos2013-03-111-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35966
* ar71xx: add kernel support for MR3420v2Gabor Juhos2013-03-111-12/+69
| | | | | | | | | [juhosg: use gpio_request_one to enable the USB power] Patch-by: Dmytro <dioptimizer@gmail.com> Signed-off-by: Gabor Juhos <juhosg@opewrt.org> SVN-Revision: 35961
* ar71xx: enabling control GPIO14 and GPIO15 on MR3040/MR11UGabor Juhos2013-03-111-0/+6
| | | | | | | | | | | | 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> SVN-Revision: 35960
* ar71xx: add kernel support for dir-835-a1Gabor Juhos2013-03-111-8/+57
| | | | | | | | | | | | | | [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> SVN-Revision: 35957
* ar71xx: use backported QCA955x patchesGabor Juhos2013-03-041-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35878
* ar71xx: rework changes from r35840Luka Perkov2013-03-031-5/+2
| | | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35865
* ar71xx: update MAC address assignment for dir-825-c1Gabor Juhos2013-03-031-9/+9
| | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35855
* ar71xx: fixes leds for dir-825-c1Gabor Juhos2013-03-031-9/+20
| | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35854
* ar71xx: add support for Buffalo WZR 600DHPLuka Perkov2013-03-011-1/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 35840
* ar71xx: fix MAC address assignment on the DIR-825-Bx boardsGabor Juhos2013-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> SVN-Revision: 35730
* ar71xx: remove __dev{init,exit} annotations from kernel filesGabor Juhos2013-02-1913-34/+34
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35687
* ar71xx: add kernel support for the Mikrotik RB951G boardGabor Juhos2013-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> SVN-Revision: 35633
* ar71xx: allow unknown multicast frames to pass to the CPU on AR934xFelix Fietkau2013-02-111-2/+4
| | | | SVN-Revision: 35564
* ar71xx: register the micro sd card reader on RB493GJonas Gorski2013-02-101-0/+3
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35535
* ar71xx: Routerboard 751 Mac Address Offset FixGabor Juhos2013-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> SVN-Revision: 35519
* ar71xx: fixes whitespaces for dir-825-c1Gabor Juhos2013-02-021-7/+6
| | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35455
* ar71xx: fix mac address calculation on the OpenMesh MR600Gabor Juhos2013-02-021-3/+3
| | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35446
* ar71xx: add kernel support for the OpenMesh MR600v2Gabor Juhos2013-02-011-6/+69
| | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35428
* ar71xx: remove unused OpenMesh MR6000 platform codeGabor Juhos2013-02-011-15/+0
| | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35426
* ar71xx: add kernel support for the TL-WDR3500 boardGabor Juhos2013-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> SVN-Revision: 35423
* ar71xx: add kernel support for dir-825-c1Gabor Juhos2013-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> SVN-Revision: 35401
* ar71xx: add kernel support for Atheros AP132 Reference BoardGabor Juhos2013-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> SVN-Revision: 35395
* ar71xx: fix ethernet device registration for the QCA9556 SoCGabor Juhos2013-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> SVN-Revision: 35394
* ar71xx: enable fast flash read on dual-flash devicesGabor Juhos2013-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> SVN-Revision: 35392
* ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on ↵Gabor Juhos2013-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> SVN-Revision: 35037
* ar71xx: allow to register the NAND flash controller on the QCA955xGabor Juhos2013-01-011-7/+43
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34945
* ar71xx: ag71xx: show PHY interface mode in dmesgGabor Juhos2012-12-251-2/+24
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34880
* ar71xx: fix ethernet device registration for QCA9558Gabor Juhos2012-12-221-1/+43
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34853
* ar71xx: fixup allowed PHY interface types for QCA9558Gabor Juhos2012-12-221-2/+23
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34851
* ar71xx: don't assign any MII bus device on QCA9558 by defaultGabor Juhos2012-12-221-1/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34850
* ar71xx: ag71xx: fix mii_bus_dev sanity checkGabor Juhos2012-12-221-1/+1
| | | | | | | | | | The mii_bus device is not required if phy_mask is zero. The driver will use a fixed connection if it is not specified. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34849
* ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_devGabor Juhos2012-12-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trying to do that causes a NULL pointer dereference: CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801d170c, ra == 801d18d4 Oops[#1]: Cpu 0 $ 0 : 00000000 00000000 00000000 00000001 $ 4 : 00000000 802e6390 ffff8f45 00000001 $ 8 : 804b5360 ffffff80 802f93bc 00000000 $12 : 802f93e8 00000000 00000000 00000000 $16 : 8381aba0 8381aba0 00000000 00000000 $20 : 8295eff0 00000032 80000000 004101b8 $24 : 00000000 777265b0 $28 : 82936000 82937cf0 00420000 801d18d4 Hi : 00000000 Lo : 00000001 epc : 801d170c ar7240sw_reset+0x1c/0x19c Tainted: G O ra : 801d18d4 ag71xx_ar7240_start+0x28/0xc0 Status: 1100fc03 KERNEL EXL IE Cause : 00800008 BadVA : 00000000 PrId : 00019750 (MIPS 74Kc) Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tab les ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O) ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80211(O) c ompat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button _hotplug(O) Process netifd (pid: 677, threadinfo=82936000, task=82cbe140, tls=77803750) Stack : ffffffff 80087900 00000001 82937d74 8381aba0 8381aba0 00000000 00000000 8295eff0 801d18d4 8295eff0 801fa4a4 00420000 80092158 00000002 8381aba0 8381a800 00000000 00000080 801cf900 8027e720 00000000 00000000 8009223c 8381a800 8381a82c 8027e720 00000000 00000000 7f9d14f0 00420000 801ec08c 8381a800 801ebfb0 33000000 82937e30 00000001 8381a800 00001003 801ec348 ... Call Trace: [<801d170c>] ar7240sw_reset+0x1c/0x19c [<801d18d4>] ag71xx_ar7240_start+0x28/0xc0 [<801cf900>] ag71xx_open+0x1d0/0x258 [<801ec08c>] __dev_open+0xcc/0x130 [<801ec348>] __dev_change_flags+0xc0/0x160 [<801ec490>] dev_change_flags+0x20/0x6c [<801ec5c8>] dev_ifsioc+0xec/0x348 [<801ecdb8>] dev_ioctl+0x594/0x67c [<800ec00c>] do_vfs_ioctl+0x598/0x5ec [<800ec0b0>] sys_ioctl+0x50/0x90 [<8006a3c4>] stack_done+0x20/0x40 Code: afbf0024 afb40020 afb10014 <8c910000> 00809021 24100104 24130704 8e440000 02002821 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34848
* generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_dataGabor Juhos2012-12-225-5/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34846
* ar71xx: add kernel support for the TL-MR3220 v2Gabor Juhos2012-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> SVN-Revision: 34779
* ar71xx: add kernel support for the NETGEAR WNDR4300Gabor Juhos2012-12-121-0/+182
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34647
* ar71xx: add ap91_pci_init_simple helperGabor Juhos2012-12-122-0/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34646
* ar71xx: ar934x_nfc: allow to control DMA data swap via platform dataGabor Juhos2012-12-105-10/+46
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34588
* ar71xx: make rb750_nand driver compatible with 3.7Gabor Juhos2012-11-201-16/+4
| | | | | | | | | Also add compatibility patches for the currently supported kernels. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34279
* ar71xx: make ar934x_nfc driver compatible with 3.7Gabor Juhos2012-11-201-13/+0
| | | | | | | | | Also add compatibility patches for the currently supported kernels. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34278
* ar71xx: remove buffer verification reference from rb4xx_nand.cGabor Juhos2012-11-201-3/+0
| | | | | | | | It is a dead code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34276
* ar71xx: restore rb4xx kernel partition size to the original valueGabor Juhos2012-11-201-1/+1
| | | | | | | | | The new lzma compressed elf kernel image fits into that, even on devices with large page NAND chips. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34274
* ar71xx: add kernel support for the RB435G boardGabor Juhos2012-11-181-0/+29
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34239