995da1f33351ad7e2ed580d8b9f461e7650c0a3f
[15.05/openwrt.git] / target / linux / bcm53xx / patches-3.18 / 321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch
1 From f1ee1275f65e87e035260f4d09a0f0ba98c6854d Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Sun, 21 Jun 2015 12:56:32 +0200
4 Subject: [PATCH] ARM: BCM5301X: Set vcc-gpio for USB controllers
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
10 ---
11  arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 20 ++++++++++++++++++++
12  arch/arm/boot/dts/bcm4708-netgear-r6250.dts       | 11 +++++++++++
13  2 files changed, 31 insertions(+)
14
15 diff --git a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
16 index 0b76a07..d0bb118 100644
17 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
18 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
19 @@ -25,6 +25,26 @@
20                        0x88000000 0x18000000>;
21         };
22  
23 +       axi@18000000 {
24 +               usb2@21000 {
25 +                       reg = <0x00021000 0x1000>;
26 +
27 +                       #address-cells = <1>;
28 +                       #size-cells = <1>;
29 +
30 +                       vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
31 +               };
32 +
33 +               usb3@23000 {
34 +                       reg = <0x00023000 0x1000>;
35 +
36 +                       #address-cells = <1>;
37 +                       #size-cells = <1>;
38 +
39 +                       vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
40 +               };
41 +       };
42 +
43         spi {
44                 compatible = "spi-gpio";
45                 num-chipselects = <1>;
46 diff --git a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
47 index d8ccc70..a05b8c2 100644
48 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
49 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
50 @@ -35,6 +35,17 @@
51                 };
52         };
53  
54 +       axi@18000000 {
55 +               usb3@23000 {
56 +                       reg = <0x00023000 0x1000>;
57 +
58 +                       #address-cells = <1>;
59 +                       #size-cells = <1>;
60 +
61 +                       vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
62 +               };
63 +       };
64 +
65         leds {
66                 compatible = "gpio-leds";
67  
68 -- 
69 1.8.4.5
70