046-0004-ARM-BCM5301X-Set-GPIO-enabling-USB-power-on-Netgear-.patch 862 B

12345678910111213141516171819202122232425262728293031
  1. From 1aca202b721ce8643f87a8f85a686595c1be6b60 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
  3. Date: Wed, 7 Dec 2016 08:56:53 +0100
  4. Subject: [PATCH 4/6] ARM: BCM5301X: Set GPIO enabling USB power on Netgear
  5. R7000
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=UTF-8
  8. Content-Transfer-Encoding: 8bit
  9. There is one GPIO controlling power for both USB ports.
  10. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  11. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  12. ---
  13. arch/arm/boot/dts/bcm4709-netgear-r7000.dts | 8 ++++++++
  14. 1 file changed, 8 insertions(+)
  15. --- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
  16. +++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
  17. @@ -100,3 +100,11 @@
  18. };
  19. };
  20. };
  21. +
  22. +&usb2 {
  23. + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  24. +};
  25. +
  26. +&usb3 {
  27. + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  28. +};