bcm53xx: backport patch enabling UART on tested devices
[15.05/openwrt.git] / target / linux / bcm53xx / patches-3.18 / 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 Date: Sun, 21 Jun 2015 12:56:32 +0200
3 Subject: [PATCH] ARM: BCM5301X: Set vcc-gpio for USB controllers
4 MIME-Version: 1.0
5 Content-Type: text/plain; charset=UTF-8
6 Content-Transfer-Encoding: 8bit
7
8 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
9 ---
10 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
11 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
12 @@ -25,6 +25,26 @@
13                        0x88000000 0x18000000>;
14         };
15  
16 +       axi@18000000 {
17 +               usb2@21000 {
18 +                       reg = <0x00021000 0x1000>;
19 +
20 +                       #address-cells = <1>;
21 +                       #size-cells = <1>;
22 +
23 +                       vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
24 +               };
25 +
26 +               usb3@23000 {
27 +                       reg = <0x00023000 0x1000>;
28 +
29 +                       #address-cells = <1>;
30 +                       #size-cells = <1>;
31 +
32 +                       vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
33 +               };
34 +       };
35 +
36         spi {
37                 compatible = "spi-gpio";
38                 num-chipselects = <1>;
39 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
40 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
41 @@ -25,6 +25,26 @@
42                        0x88000000 0x08000000>;
43         };
44  
45 +       axi@18000000 {
46 +               usb2@21000 {
47 +                       reg = <0x00021000 0x1000>;
48 +
49 +                       #address-cells = <1>;
50 +                       #size-cells = <1>;
51 +
52 +                       vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
53 +               };
54 +
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