bcm53xx: Netgear R8000: define GPIO powering USB ports
authorRafał Miłecki <zajec5@gmail.com>
Sun, 1 Nov 2015 22:21:59 +0000 (22:21 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Sun, 1 Nov 2015 22:21:59 +0000 (22:21 +0000)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47337

target/linux/bcm53xx/patches-4.1/321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch
target/linux/bcm53xx/patches-4.1/331-ARM-BCM5301X-Specify-RAM-on-devices-by-including-HIG.patch
target/linux/bcm53xx/patches-4.1/351-ARM-BCM5301X-Enable-ChipCommon-UART-on-untested-devi.patch
target/linux/bcm53xx/patches-4.3/321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch
target/linux/bcm53xx/patches-4.3/331-ARM-BCM5301X-Specify-RAM-on-devices-by-including-HIG.patch
target/linux/bcm53xx/patches-4.3/351-ARM-BCM5301X-Enable-ChipCommon-UART-on-untested-devi.patch

index 871598f2e078b660908e3bf0638c478de5b40937..ed4d1bcb03bfd73a382d317bcf8b94471a7b7f6d 100644 (file)
@@ -1,6 +1,4 @@
-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
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
@@ -8,10 +6,6 @@ Content-Transfer-Encoding: 8bit
 
 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 ---
- arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 20 ++++++++++++++++++++
- arch/arm/boot/dts/bcm4708-netgear-r6250.dts       | 11 +++++++++++
- 2 files changed, 31 insertions(+)
-
 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
 @@ -24,6 +24,26 @@
@@ -61,3 +55,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
+@@ -24,6 +24,26 @@
+               reg = <0x00000000 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 750d83368c111292a2acd8472f715bdec4d455bd..b53c57f7d5ddd001da0f111e35d1ac788b5c5c14 100644 (file)
@@ -98,7 +98,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +                     0x88000000 0x08000000>;
        };
  
-       leds {
+       axi@18000000 {
 --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
 +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
 @@ -21,7 +21,8 @@
index 8f192f98a4cd2b0f3764a2d880f734b8dda241c9..dad4f8a8244ff23fbbeb3cbb6a1a1072f4952ae3 100644 (file)
@@ -92,7 +92,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +};
 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-@@ -107,3 +107,8 @@
+@@ -127,3 +127,8 @@
                };
        };
  };
index 871598f2e078b660908e3bf0638c478de5b40937..ed4d1bcb03bfd73a382d317bcf8b94471a7b7f6d 100644 (file)
@@ -1,6 +1,4 @@
-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
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
@@ -8,10 +6,6 @@ Content-Transfer-Encoding: 8bit
 
 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 ---
- arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 20 ++++++++++++++++++++
- arch/arm/boot/dts/bcm4708-netgear-r6250.dts       | 11 +++++++++++
- 2 files changed, 31 insertions(+)
-
 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
 @@ -24,6 +24,26 @@
@@ -61,3 +55,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
+@@ -24,6 +24,26 @@
+               reg = <0x00000000 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 750d83368c111292a2acd8472f715bdec4d455bd..b53c57f7d5ddd001da0f111e35d1ac788b5c5c14 100644 (file)
@@ -98,7 +98,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +                     0x88000000 0x08000000>;
        };
  
-       leds {
+       axi@18000000 {
 --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
 +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
 @@ -21,7 +21,8 @@
index 8f192f98a4cd2b0f3764a2d880f734b8dda241c9..dad4f8a8244ff23fbbeb3cbb6a1a1072f4952ae3 100644 (file)
@@ -92,7 +92,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
 +};
 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
-@@ -107,3 +107,8 @@
+@@ -127,3 +127,8 @@
                };
        };
  };