1 From dd70ccfaa79189feaa78609d44f7c3e7fa1dc6ff Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Wed, 23 Mar 2016 16:52:47 +0100
4 Subject: [PATCH] ARM: BCM5301X: Set vcc-gpio for USB controllers of few
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 There are few devices that have USB power controlled using GPIO. Linux
11 USB host driver (bcma-hcd) already supports this by reading vcc-gpio
12 from DT. Set it properly for all known devices.
14 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
15 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
18 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
19 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
26 + vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
30 + vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
32 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
33 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
35 reg = <0x00000000 0x08000000>;
40 - reg = <0x00023000 0x1000>;
42 - #address-cells = <1>;
45 - vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
50 compatible = "gpio-leds";
58 + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
60 --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
61 +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
69 + vcc-gpio = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
71 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
72 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
79 + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
83 + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
85 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
86 +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
89 clock-frequency = <125000000>;
93 + vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>;
95 --- a/arch/arm/boot/dts/bcm5301x.dtsi
96 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
103 + reg = <0x00021000 0x1000>;
105 + #address-cells = <1>;
110 + reg = <0x00023000 0x1000>;
112 + #address-cells = <1>;
117 lcpll0: lcpll0@1800c100 {