ar71xx: wndr4300: enable 5V power for the USB port
authorGabor Juhos <juhosg@openwrt.org>
Sat, 12 Apr 2014 19:58:20 +0000 (19:58 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sat, 12 Apr 2014 19:58:20 +0000 (19:58 +0000)
commit97b13abe6e2bdd202d022c1e9946ffaf6aee0576
treea729923bcba72ac926e03e28356acc36a13176a7
parent6a530ccb78bf4e3f9eebce0b4fa9f24e0e25e439
ar71xx: wndr4300: enable 5V power for the USB port

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
target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c