bcm53xx: Netgear R8000: define GPIO powering USB ports
authorRafał Miłecki <zajec5@gmail.com>
Sat, 7 Nov 2015 00:26:20 +0000 (00:26 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Sat, 7 Nov 2015 00:26:20 +0000 (00:26 +0000)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r47337

SVN-Revision: 47399

target/linux/bcm53xx/patches-3.18/321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch
target/linux/bcm53xx/patches-3.18/351-ARM-BCM5301X-Enable-ChipCommon-UART-serial-console.patch

index 7e5f018fd477ec0f6067ef4908c4980af8e68a55..34a9b4f130122b0f317a26b70f96757166efd1f4 100644 (file)
@@ -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";
index fe820cf81e7a5e3d7da304102926f7090621393f..5dc077a049ca7644bd5129d6c3e41d1fa43a492a 100644 (file)
@@ -151,8 +151,8 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
                #address-cells = <1>;
 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-@@ -25,6 +25,18 @@
-                      0x88000000 0x08000000>;
+@@ -45,6 +45,18 @@
+               };
        };
  
 +      chipcommonA {