bcm53xx: reorder some arch patches
[openwrt/staging/chunkeey.git] / target / linux / bcm53xx / patches-4.1 / 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 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
16 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
17 @@ -24,6 +24,26 @@
18 reg = <0x00000000 0x08000000>;
19 };
20
21 + axi@18000000 {
22 + usb2@21000 {
23 + reg = <0x00021000 0x1000>;
24 +
25 + #address-cells = <1>;
26 + #size-cells = <1>;
27 +
28 + vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
29 + };
30 +
31 + usb3@23000 {
32 + reg = <0x00023000 0x1000>;
33 +
34 + #address-cells = <1>;
35 + #size-cells = <1>;
36 +
37 + vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
38 + };
39 + };
40 +
41 spi {
42 compatible = "spi-gpio";
43 num-chipselects = <1>;
44 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
45 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
46 @@ -24,6 +24,17 @@
47 reg = <0x00000000 0x08000000>;
48 };
49
50 + axi@18000000 {
51 + usb3@23000 {
52 + reg = <0x00023000 0x1000>;
53 +
54 + #address-cells = <1>;
55 + #size-cells = <1>;
56 +
57 + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
58 + };
59 + };
60 +
61 leds {
62 compatible = "gpio-leds";
63