summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c
Commit message (Collapse)AuthorAgeFilesLines
* ar8216: rework/fix AR8337 MAC swap handlingFelix Fietkau2015-12-201-1/+0
| | | | | | | | | | | | | | In r45970 the MAC swap handling was made opt-in, however some boards have been forgotten during the conversion. Since the reference design uses this MAC swapping, and pretty much all known boards using this chip seem to do so too, enabling the swapping is a more reasonable default than leaving it disabled. Change the code to still allow boards to opt-out of this. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47956
* ar71xx: Add support for ZyXEL NBG6616.Felix Fietkau2015-11-071-18/+123
| | | | | | Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net> SVN-Revision: 47405
* ar8216: Fix problem with AR8337 MAC swap handlingFelix Fietkau2015-06-141-0/+1
| | | | | | | | | | | | | | | | | | | | | AR8337 supports a configuration bit to swap MAC0 and MAC6. Currently this is set in general if an AR8337 is detected and causes issues with devices using an AR8334 (internally an AR8337, just less chip pins). And it might even cause issues with AR8337-based devices with different board designs. Swapping the MAC's however isn't needed for AR8337 in general. It's just needed in case of certain board designs (affected devices seem to be based on Atheros reference board AP135/136-010). Therefore this configuration bit should be moved to platform data. The patch includes the needed changes to the device initialization code of affected devices. Hopefully I didn't miss any .. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 45970
* ar71xx: ZyXEL NBG6716 rfkill switch fixJohn Crispin2015-02-141-2/+2
| | | | | | | | ZyXEL NBG6716 "rfkill" is a switch, not a button. Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com> SVN-Revision: 44453
* ar71xx: ZyXEL NBG6716 add gpio usb power on/offJohn Crispin2015-02-131-0/+7
| | | | | | | | ZyXEL NBG6716 add missing GPIO USB power on/off Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com> SVN-Revision: 44425
* ar71xx: ZyXEL NBG6716 led/buttons cleanupJohn Crispin2015-02-121-12/+12
| | | | | | | | | | ZyXEL NBG6716 led/buttons cleanup - improper numbered leds - improper named buttons Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com> SVN-Revision: 44417
* ar71xx: fix nbg6716 power and usb ledJohn Crispin2015-02-091-2/+2
| | | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Marcin Mikolajczak <gr4ffy@gmail.com> SVN-Revision: 44358
* ar71xx: use ath79_setup_qca955x_eth_cfg helper for QCA955x based boardsGabor Juhos2014-07-131-18/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 41627
* 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> SVN-Revision: 40499