321-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers.patch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
  7. ---
  8. --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
  9. +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
  10. @@ -24,6 +24,26 @@
  11. reg = <0x00000000 0x08000000>;
  12. };
  13. + axi@18000000 {
  14. + usb2@21000 {
  15. + reg = <0x00021000 0x1000>;
  16. +
  17. + #address-cells = <1>;
  18. + #size-cells = <1>;
  19. +
  20. + vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
  21. + };
  22. +
  23. + usb3@23000 {
  24. + reg = <0x00023000 0x1000>;
  25. +
  26. + #address-cells = <1>;
  27. + #size-cells = <1>;
  28. +
  29. + vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_LOW>;
  30. + };
  31. + };
  32. +
  33. spi {
  34. compatible = "spi-gpio";
  35. num-chipselects = <1>;
  36. --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
  37. +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
  38. @@ -24,6 +24,17 @@
  39. reg = <0x00000000 0x08000000>;
  40. };
  41. + axi@18000000 {
  42. + usb3@23000 {
  43. + reg = <0x00023000 0x1000>;
  44. +
  45. + #address-cells = <1>;
  46. + #size-cells = <1>;
  47. +
  48. + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  49. + };
  50. + };
  51. +
  52. leds {
  53. compatible = "gpio-leds";
  54. --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
  55. +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
  56. @@ -24,6 +24,26 @@
  57. reg = <0x00000000 0x08000000>;
  58. };
  59. + axi@18000000 {
  60. + usb2@21000 {
  61. + reg = <0x00021000 0x1000>;
  62. +
  63. + #address-cells = <1>;
  64. + #size-cells = <1>;
  65. +
  66. + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  67. + };
  68. +
  69. + usb3@23000 {
  70. + reg = <0x00023000 0x1000>;
  71. +
  72. + #address-cells = <1>;
  73. + #size-cells = <1>;
  74. +
  75. + vcc-gpio = <&chipcommon 0 GPIO_ACTIVE_HIGH>;
  76. + };
  77. + };
  78. +
  79. leds {
  80. compatible = "gpio-leds";