rpcd: iwinfo plugin fixes
[openwrt.git] / target / linux / bcm53xx / patches-4.1 / 321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch
1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
2 Subject: [PATCH] ARM: BCM5301X: Set vcc-gpio for USB controllers
3 MIME-Version: 1.0
4 Content-Type: text/plain; charset=UTF-8
5 Content-Transfer-Encoding: 8bit
6
7 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 ---
9 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
10 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
11 @@ -24,6 +24,26 @@
12                 reg = <0x00000000 0x08000000>;
13         };
14  
15 +       axi@18000000 {
16 +               usb2@21000 {
17 +                       reg = <0x00021000 0x1000>;
18 +
19 +                       #address-cells = <1>;
20 +                       #size-cells = <1>;
21 +
22 +                       vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
23 +               };
24 +
25 +               usb3@23000 {
26 +                       reg = <0x00023000 0x1000>;
27 +
28 +                       #address-cells = <1>;
29 +                       #size-cells = <1>;
30 +
31 +                       vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
32 +               };
33 +       };
34 +
35         spi {
36                 compatible = "spi-gpio";
37                 num-chipselects = <1>;
38 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
39 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
40 @@ -24,6 +24,17 @@
41                 reg = <0x00000000 0x08000000>;
42         };
43  
44 +       axi@18000000 {
45 +               usb3@23000 {
46 +                       reg = <0x00023000 0x1000>;
47 +
48 +                       #address-cells = <1>;
49 +                       #size-cells = <1>;
50 +
51 +                       vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
52 +               };
53 +       };
54 +
55         leds {
56                 compatible = "gpio-leds";
57  
58 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
59 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
60 @@ -24,6 +24,26 @@
61                 reg = <0x00000000 0x08000000>;
62         };
63  
64 +       axi@18000000 {
65 +               usb2@21000 {
66 +                       reg = <0x00021000 0x1000>;
67 +
68 +                       #address-cells = <1>;
69 +                       #size-cells = <1>;
70 +
71 +                       vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
72 +               };
73 +
74 +               usb3@23000 {
75 +                       reg = <0x00023000 0x1000>;
76 +
77 +                       #address-cells = <1>;
78 +                       #size-cells = <1>;
79 +
80 +                       vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
81 +               };
82 +       };
83 +
84         leds {
85                 compatible = "gpio-leds";
86