bcm53xx: backport upstream profiling and USB VCC patches
[15.05/openwrt.git] / target / linux / bcm53xx / patches-3.18 / 071-ARM-BCM5301X-Netgear-R6250-add-USB-GPIO.patch
1 From 6c8c58b38f17e92691dd648c0e3b66f1a6942433 Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sat, 19 Sep 2015 13:25:54 +0200
4 Subject: [PATCH] ARM: BCM5301X: Netgear R6250 add USB GPIO
5
6 Add GPIO number which is needed to activate the USB power supply.
7
8 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
10 ---
11 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
12 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
13 @@ -24,6 +24,17 @@
14                 reg = <0x00000000 0x08000000>;
15         };
16  
17 +       axi@18000000 {
18 +               usb3@23000 {
19 +                       reg = <0x00023000 0x1000>;
20 +
21 +                       #address-cells = <1>;
22 +                       #size-cells = <1>;
23 +
24 +                       vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
25 +               };
26 +       };
27 +
28         leds {
29                 compatible = "gpio-leds";
30