diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-11-07 00:26:20 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2015-11-07 00:26:20 +0000 |
commit | d1b4b244ccde54ea065d88869f8fe21a0f2743ff (patch) | |
tree | ac660032919113e5343d7321c4a4dc5a4dce724c /target/linux/bcm53xx/patches-3.18/321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch | |
parent | da3997fc2dc9e2c88323b60cff1b30dc087867de (diff) | |
download | upstream-d1b4b244ccde54ea065d88869f8fe21a0f2743ff.tar.gz upstream-d1b4b244ccde54ea065d88869f8fe21a0f2743ff.tar.bz2 upstream-d1b4b244ccde54ea065d88869f8fe21a0f2743ff.zip |
bcm53xx: Netgear R8000: define GPIO powering USB ports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47337
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47399 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/bcm53xx/patches-3.18/321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch')
-rw-r--r-- | target/linux/bcm53xx/patches-3.18/321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-3.18/321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch b/target/linux/bcm53xx/patches-3.18/321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch index 7e5f018fd4..34a9b4f130 100644 --- a/target/linux/bcm53xx/patches-3.18/321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch +++ b/target/linux/bcm53xx/patches-3.18/321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch @@ -61,3 +61,32 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com> leds { compatible = "gpio-leds"; +--- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts ++++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts +@@ -25,6 +25,26 @@ + 0x88000000 0x08000000>; + }; + ++ axi@18000000 { ++ usb2@21000 { ++ reg = <0x00021000 0x1000>; ++ ++ #address-cells = <1>; ++ #size-cells = <1>; ++ ++ vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>; ++ }; ++ ++ usb3@23000 { ++ reg = <0x00023000 0x1000>; ++ ++ #address-cells = <1>; ++ #size-cells = <1>; ++ ++ vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>; ++ }; ++ }; ++ + leds { + compatible = "gpio-leds"; + |