scripts/getver.sh: Use 'git-rev-parse' to detect if tree lies in Git repository
[openwrt/staging/dedeckeh.git] / target / linux / bcm53xx / patches-4.4 / 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/bcm4709-netgear-r8000.dts
39 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
40 @@ -24,6 +24,26 @@
41 reg = <0x00000000 0x08000000>;
42 };
43
44 + axi@18000000 {
45 + usb2@21000 {
46 + reg = <0x00021000 0x1000>;
47 +
48 + #address-cells = <1>;
49 + #size-cells = <1>;
50 +
51 + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
52 + };
53 +
54 + usb3@23000 {
55 + reg = <0x00023000 0x1000>;
56 +
57 + #address-cells = <1>;
58 + #size-cells = <1>;
59 +
60 + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
61 + };
62 + };
63 +
64 leds {
65 compatible = "gpio-leds";
66
67 --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
68 +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
69 @@ -24,6 +24,17 @@
70 reg = <0x00000000 0x08000000>;
71 };
72
73 + axi@18000000 {
74 + usb2@21000 {
75 + reg = <0x00021000 0x1000>;
76 +
77 + #address-cells = <1>;
78 + #size-cells = <1>;
79 +
80 + vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
81 + };
82 + };
83 +
84 leds {
85 compatible = "gpio-leds";
86