kernel: add missing config symbol (fixes #19880)
[oweals/openwrt.git] / target / linux / bcm53xx / patches-3.18 / 321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch
index 69df4bbbf12e5248dc66186104b81ffd66f1ddeb..586d7387abd298cf15531e030a49eb7dea494b95 100644 (file)
@@ -1,4 +1,4 @@
-From 639576e401c3fba58f0b502d926215deed5be091 Mon Sep 17 00:00:00 2001
+From f1ee1275f65e87e035260f4d09a0f0ba98c6854d Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
 Date: Sun, 21 Jun 2015 12:56:32 +0200
 Subject: [PATCH] ARM: BCM5301X: Set vcc-gpio for USB controllers
@@ -8,15 +8,43 @@ Content-Transfer-Encoding: 8bit
 
 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 ---
- arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 11 +++++++++++
- 1 file changed, 11 insertions(+)
+ arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 20 ++++++++++++++++++++
+ arch/arm/boot/dts/bcm4708-netgear-r6250.dts       | 11 +++++++++++
+ 2 files changed, 31 insertions(+)
 
-diff --git a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-index d8ccc70..a05b8c2 100644
+--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
++++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
+@@ -25,6 +25,26 @@
+                      0x88000000 0x18000000>;
+       };
++      axi@18000000 {
++              usb2@21000 {
++                      reg = <0x00021000 0x1000>;
++
++                      #address-cells = <1>;
++                      #size-cells = <1>;
++
++                      vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
++              };
++
++              usb3@23000 {
++                      reg = <0x00023000 0x1000>;
++
++                      #address-cells = <1>;
++                      #size-cells = <1>;
++
++                      vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
++              };
++      };
++
+       spi {
+               compatible = "spi-gpio";
+               num-chipselects = <1>;
 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
-@@ -35,6 +35,17 @@
-               };
+@@ -25,6 +25,17 @@
+                      0x88000000 0x08000000>;
        };
  
 +      axi@18000000 {
@@ -33,6 +61,3 @@ index d8ccc70..a05b8c2 100644
        leds {
                compatible = "gpio-leds";
  
--- 
-1.8.4.5
-