aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79
Commit message (Collapse)AuthorAgeFilesLines
...
* ar71xx: fix reset button gpio for OM2P/OM2P-HSJohn Crispin2014-10-061-1/+1
| | | | | | | | | | | A typo in the definition for the OM2P reset button disabled its functionality in OpenWrt. The actual button for these two devices is "1" and not "11". Signed-off-by: Oren Poleg <oren@poleg.org> [sven@open-mesh.org: added a commit subject+message] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42782 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add qihoo 360 c301 router supportJohn Crispin2014-09-151-0/+166
| | | | | | | | | | | | | | | Qihoo 360 C301 is a dual band wireless router supports 802.11n and 802.11ac. Its chipset is AR9344 + AR9882 with two 16MB flashes. This patch adds its initial support. v2: * use mtd_get_mac_ascii to fetch MAC address for ath10k. * use ath79_register_pci to initialize AR9882. Signed-off-by: Weijie Gao <hackpascal@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331Felix Fietkau2014-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | While the AR9331 has a gigabit MAC towards the internal switch, the integrated PHYs however are only 100-base-tx capable. The existing code however advertieses gigabit capability in the link status word. If you attach such a PHY to a gigabit capable switch on the remote end, with some probability it attempts to negotiate gigabit and fails, falling baco to the AR9331 assuming a 10mbit half-duplex link. This has been observed quite frequently with the Carambola2 and gigabit capable switches. In ath79_register_eth(), "pdata->has_gbit = 1;" is set unconditionally for both AR9331 ethernet ports. This is most likely wrong. Despite the two MAC IP cores being gigabit MACs, the MAC for eth1 is connected to a 100base-T PHY via MII. The has_gbit attribute is used in the ethernet driver to determine the supported link modes. So either pdata->has_gbit is not set to 1 anymore, or the ethernet driver needs to be modified to determine the advertised link code word on another criteria than pdata->has_gbit. This patch implements the former solution. Signed-off-by: Harald Welte <laforge@gnumonks.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use ETH_ALEN for consistencyJohn Crispin2014-08-251-3/+3
| | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMACJohn Crispin2014-08-181-3/+1
| | | | | | | | | | | | This sets the MAC address of the WLAN interface to the "official" primary MAC address (the one on the label under the devices, and the one used with the stock firmware). The MAC address used so far (primary-1) isn't even used at all with the stock firmware, which sets (primary) on LAN and WLAN and (primary+1) on the WAN interface (like OpenWrt does with this patch). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42193 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 boardJohn Crispin2014-08-181-0/+1
| | | | | | | | | | The OpenMesh MR600(v1) can only enable the 2.4G WiFi PHY LED through the mini-PCIe device. Not configuring the LED pin inside the platform data makes it impossible to configure it through any standard OpenWrt tool. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42184 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add support for the NC-LINK SMART-300Imre Kaloz2014-08-111-0/+135
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add linux 3.14 supportFelix Fietkau2014-08-071-6/+3
| | | | | | | Signed-off-by: Zhao, Gang <gang.zhao.42@gmail.com> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42038 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update Carambola2 platform dataFelix Fietkau2014-08-041-9/+0
| | | | | | | | | | | | Change list: * Remove button info on GPIO12, there is no button there. * Remove nvram mtd partition, as it's not used for anything, saves 64k for user data. Tested building for carambola2 target. Signed-off-by: Mantas Pucka <mantas@8devices.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: oolite: the buttons are not active_lowJohn Crispin2014-08-011-3/+3
| | | | | | | | | this caused factory resets when reboot was pressed Signed-off-by: Brent Thomson <brentthomson@gmail.com> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add support for the archer c5Imre Kaloz2014-07-231-1/+10
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix GL.iNet WLAN LEDJohn Crispin2014-07-211-1/+1
| | | | | | | | LED script expects WLAN LED to be "gl-connect:red:wlan". Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machinesJohn Crispin2014-07-211-1/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh OM5P boardJohn Crispin2014-07-201-0/+122
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the EnGenius EAP300 v2 boardGabor Juhos2014-07-141-0/+101
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the Tube2H boardGabor Juhos2014-07-141-0/+113
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ALFA NETWORK's nameGabor Juhos2014-07-141-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the EnGenius ESR900Gabor Juhos2014-07-141-0/+200
| | | | | | | | | | | | | | | Signed-off-by: Forest Crossman <cyrozap@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/5714/ [juhosg: - drop nvram.c modifications, - create a separate kernel patch, - use ath79_setup_qca955x_eth_cfg helper, - merge esr900_{010,common}_setup functions, - statically init AR8327 pad configurations, - use pr_err instead of printk] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41640 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use ath79_setup_qca955x_eth_cfg helper for QCA955x based boardsGabor Juhos2014-07-134-72/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for EnGenius ESR1750Gabor Juhos2014-07-131-0/+176
| | | | | | | | | | | Signed-off-by: Jon Suphammer <jon@suphammer.net> Patchwork: http://patchwork.openwrt.org/patch/5840/ [juhosg: - fix coding style in mach-esr1750.c, - rename and refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a helper function for setting up ETH_CFG register on QCA955xGabor Juhos2014-07-132-0/+19
| | | | | | | | | Signed-off-by: Jon Suphammer <jon@suphammer.net> Patchwork: http://patchwork.openwrt.org/patch/5839/ [juhosg: fix coding style] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow ath79_nvram_parse_mac_addr parsing mac with quotesGabor Juhos2014-07-131-0/+5
| | | | | | | | | | | | Signed-off-by: Jon Suphammer <jon@suphammer.net> Patchwork: http://patchwork.openwrt.org/patch/5838/ [juhosg: - fix coding style, - check the first and the last character of the MAC string instead of using the strchr() function] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41622 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for GL-Inet V1 boards/routersGabor Juhos2014-07-131-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The GL-Connect GL.iNet v1 router is basically a TP-Link TL-WR703N with more DRAM/Flash, 2x Ethernet ports and console/GPIO header in the same small form-factor: <http://www.gl-inet.com/w/?lang=en> Moreover, the manufacturer is promoting the OpenWrt usage to replace the original firmware and proposing patches against both AA and trunk: <http://www.gl-inet.com/w/?p=398&lang=en> This is a clean up of the original manufacturer GPLv2 patch by alzhao, proposed to the list by Mark Janssen. Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr> Signed-off-by: Mark Janssen <mark@sig-io.nl> Signed-off-by: alzhao <alzhao@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/5273/ [juhosg: - remove user-space and image generation support, will be included from other patches, - fix coding style and drop superfluous comment in mach-gl-inet.c, - rename and refresh kernel patch, - adjust subject] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-LINK TL-WA860RE v1John Crispin2014-07-131-0/+73
| | | | | | | | | | | | | | | | New router/repeater from TP-LINK - CPU: Atheros AR9341-DL3A (AP123) - Flash: 4MB - Ram: 32MB Similar to TL-WA850RE. Changes: rename file after r41596 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: added support for TL-WA830RE V2John Crispin2014-07-131-0/+132
| | | | | | | | Corrected patch ath79 insted of auth79. Sorry. Signed-off-by: Fredrik Jonson <fredrik@famjonson.se> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for MikroTik RouterBOARD SXT LiteJohn Crispin2014-07-011-0/+238
| | | | | | | | | | | | | | | | This patch adds support for the MikroTik RouterBOARD SXT Lite. The new RB911L series is also supported as a result. v2 of this patch fixes the wmac offset to match what is on the sticker. v3 refreshes the patch against r41148 and defines the power led as the status led in diag.sh v4 refreshes the patch against r41353 and fixes the patch path issue to make git am work correctly v5 selects the kernel config option in the mikrotik profile rather than in the main ar71xx config Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com> Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: r41348 is missing these filesJohn Crispin2014-06-262-0/+198
| | | | | | | | sorry, the downside when applying patches with patch Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41350 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: WNDAP360 adding wifi LED supportJohn Crispin2014-06-021-3/+4
| | | | | | | | | I added WIFI LED support (so now AP blinks nicely), I removed WPS button GPIO (as it doesn't exist) and changed GPIO for reset button. Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40976 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for HiWiFi HC6361.John Crispin2014-06-021-0/+115
| | | | | | | | | | | | | | | | This board manufactured by HiWiFi has the following features. - Atheros 9331 SoC. - 16MB flash and 64MB RAM. - 4GB eMMC storage via SK6226 USB 2.0 controller. - 2 LAN and 1 WAN ethernet ports with LEDs on them. - 3 blue LEDs on the front panel. - 1 button labeled as "reset". - Powered by a USB cable. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for dlink dir-615-e1John Crispin2014-06-021-0/+8
| | | | | | | | | | | | Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be uploaded through dlink's normal firmware update web page. Add profile for dir-615-e1 so the generated image can be uploaded through the firmware update web page. Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh OM2P-HSv2John Crispin2014-06-021-0/+1
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh OM2Pv2 boardJohn Crispin2014-06-021-0/+1
| | | | | | | | Signed-off-by: Marek Lindner <marek@open-mesh.com> [sven@open-mesh.com: Rebased] Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix typo in tl-wr710n mac setup (fixes #16469)Felix Fietkau2014-05-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40840 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb91x: fix ethernet packet loss issuesGabor Juhos2014-04-131-0/+19
| | | | | | | | | | | | | | The RB91x boards are suffering from ethernet packet loss after a cold boot. The cause of the problem is that the AR8035 PHYs requires special register settings to work reliably on these boards. Enable the RGMII TX, RX delays and disable SmartEE functionality of the AR8035 PHYs. Also enable the RXD delay in the ETH_CFG register to fix the issue. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40509 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for ZyXEL NBG 6716Gabor Juhos2014-04-131-0/+285
| | | | | | | | | | | | | | | | | | | | | | With this patch OpenWRT supports the following on the ZyXEL NBG 6716: -WiFi 2G (ath9k) -WiFi 5G (ath10k) -NAND flash -2 Ethernet interfaces -USB 2.0 -LEDs including switch -reasonale defaults at first boot Signed-off-by: André Valentin <avalentin@marcant.net> Patchwork: http://patchwork.openwrt.org/patch/5101/ [juhosg: - rename and refresh kernel patch, - fix a few typos, - change button key codes, - use zyxel prefix in LED names] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: wndr4300: indicate WNDR3700v4 in the kernel support filesGabor Juhos2014-04-121-2/+2
| | | | | | | | | Apart from the wireless chip, the WNDR3700 v4 and the WNDR4300 is the same device. Indicate this in the kernel files. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: wndr4300: enable 5V power for the USB portGabor Juhos2014-04-121-0/+9
| | | | | | | | | | | | | | The 5V power of the USB is controlled by a GPIO pin of the external WiFi chip. Setup the GPIO bitmasks in the platform data of the WiFi chip to ensure that the 5V power gets enabled by the ath9k driver. Based on the the WNDR3700v4 support patch from Ralph Perlich: http://patchwork.openwrt.org/patch/4763/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40478 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: wndr4300: use KEY_RFKILL code for the Wireless buttonGabor Juhos2014-04-121-1/+1
| | | | | | | | | Based on the the WNDR3700v4 support patch from Ralph Perlich: http://patchwork.openwrt.org/patch/4763/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40477 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: wndr4300: add LED for 2.4Ghz wifi interfaceGabor Juhos2014-04-121-0/+6
| | | | | | | | | Based on the the WNDR3700v4 support patch from Ralph Perlich: http://patchwork.openwrt.org/patch/4763/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40475 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: wndr4300: select GPIO_OUT functionality for LED GPIOsGabor Juhos2014-04-121-0/+6
| | | | | | | | | The bootloader does not initializes the output function correctly for all LEDs. DO that from the board setup code. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: wndr4300: change 'orange' to 'amber' in LED color namesGabor Juhos2014-04-121-9/+10
| | | | | | | | | | | | The hardware manual says amber so change the color part of the LED names to reflect that. Also update the constant names. Based on the the WNDR3700v4 support patch from Ralph Perlich: http://patchwork.openwrt.org/patch/4763/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for the TP-LINK TL-WR841N/ND v9Felix Fietkau2014-04-071-0/+138
| | | | | | | | | | Everything seems to be working fine. Potential issues: * VLAN port IDs are reversed with regard to the numbers on the case. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for QCA953x SoCFelix Fietkau2014-04-071-0/+40
| | | | | | | | | | | | | | | | | I don't have access to the specs, so I'm not sure about every detail, but I haven't seen any problems with my test system, a TL-WR841N v9. It looks pretty much like a QCA955x without PCI, a little twist in the clock calculation and a AR9331-compatible switch. Features not yet supported: * EHCI (my test system doesn't have USB) * ? (I have no idea if the QCA953x has any other features I don't know about that aren't used by the TL-WR841N v9) Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40399 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the Oolite v1 boardGabor Juhos2014-03-271-0/+103
| | | | | | | | | | | | | | Patch-by: Lars Bøgild Thomsen <lth@cow.dk> Patchwork: http://patchwork.openwrt.org/patch/4922/ [juhosg: - use a separate patch for kernel changes, - reorder Kconfig and Makefile entries, - change function and variable names to be lowercase only and fix misaligned tabs in mach-gs-oolite.c, ... ] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb95x: use correct SPI flash addressGabor Juhos2014-03-121-1/+1
| | | | | | | | | | | The flash address passed to rb_init_info() is bogus, use the predefined AR71XX_SPI_BASE macro instead. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: fix memory initialization bugGabor Juhos2014-03-121-1/+1
| | | | | | | | | | | sizeof(array_from_function_definition) gives back the size of the pointer. sizeof(type) * array_size should be used in memset. Signed-off-by: David Völgyes <david.volgyes@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4950/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb91x: register GPIO LEDsGabor Juhos2014-02-231-0/+51
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb91x: add SPI device for the serial shift registerGabor Juhos2014-02-231-2/+62
| | | | | | | | | | | | | The RB91x boards are using a serial shift register connected to the SPI bus to drive some of the LEDs. Rework the board setup code to register a SPI device for that. This makes it possible to use the 'spi-74x164' driver to control the device. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb91x-nand: rewrite to use GPIO APIGabor Juhos2014-02-231-1/+22
| | | | | | | | | Rewrite tha rb91x-nand driver to use GPIO API to modify the NAND control lines. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb91x: register a gpio-latch platform deviceGabor Juhos2014-02-221-0/+21
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39699 3c298f89-4303-0410-b956-a3cf2f4a3e73