049-v4.14-0001-ARM-dts-BCM5301X-Specify-USB-ports-for-each-controll.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
  2. Date: Tue, 27 Jun 2017 19:35:27 +0200
  3. Subject: [PATCH] ARM: dts: BCM5301X: Specify USB ports for each controller
  4. MIME-Version: 1.0
  5. Content-Type: text/plain; charset=UTF-8
  6. Content-Transfer-Encoding: 8bit
  7. Northstar has 3 controllers: OHCI and EHCI (each with 2 ports) and XHCI
  8. (with just 1 port). Describe them in the DT. In future this will allow
  9. to reference them as trigger sources.
  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/bcm5301x.dtsi | 34 ++++++++++++++++++++++++++++++++++
  14. 1 file changed, 34 insertions(+)
  15. --- a/arch/arm/boot/dts/bcm5301x.dtsi
  16. +++ b/arch/arm/boot/dts/bcm5301x.dtsi
  17. @@ -272,6 +272,19 @@
  18. reg = <0x00021000 0x1000>;
  19. interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
  20. phys = <&usb2_phy>;
  21. +
  22. + #address-cells = <1>;
  23. + #size-cells = <0>;
  24. +
  25. + ehci_port1: port@1 {
  26. + reg = <1>;
  27. + #trigger-source-cells = <0>;
  28. + };
  29. +
  30. + ehci_port2: port@2 {
  31. + reg = <2>;
  32. + #trigger-source-cells = <0>;
  33. + };
  34. };
  35. ohci: ohci@22000 {
  36. @@ -280,6 +293,19 @@
  37. compatible = "generic-ohci";
  38. reg = <0x00022000 0x1000>;
  39. interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
  40. +
  41. + #address-cells = <1>;
  42. + #size-cells = <0>;
  43. +
  44. + ohci_port1: port@1 {
  45. + reg = <1>;
  46. + #trigger-source-cells = <0>;
  47. + };
  48. +
  49. + ohci_port2: port@2 {
  50. + reg = <2>;
  51. + #trigger-source-cells = <0>;
  52. + };
  53. };
  54. };
  55. @@ -300,6 +326,14 @@
  56. interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
  57. phys = <&usb3_phy>;
  58. phy-names = "usb";
  59. +
  60. + #address-cells = <1>;
  61. + #size-cells = <0>;
  62. +
  63. + xhci_port1: port@1 {
  64. + reg = <1>;
  65. + #trigger-source-cells = <0>;
  66. + };
  67. };
  68. };