042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. From 773880f77ae0a6782dd3da176bd25d85ff3a8c7f Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
  3. Date: Wed, 1 Jun 2016 22:07:07 +0200
  4. Subject: [PATCH] ARM: BCM5301X: Specify PHY of USB 2.0 in DT
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Driver for Northstar USB 2.0 PHY was added in 4.7-rc1 by:
  9. commit d3feb4067335 ("phy: bcm-ns-usb2: new driver for USB 2.0 PHY on
  10. Northstar").
  11. It should be used to let EHCI platform driver init PHY.
  12. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
  13. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  14. ---
  15. arch/arm/boot/dts/bcm5301x.dtsi | 11 +++++++++++
  16. 1 file changed, 11 insertions(+)
  17. --- a/arch/arm/boot/dts/bcm5301x.dtsi
  18. +++ b/arch/arm/boot/dts/bcm5301x.dtsi
  19. @@ -140,6 +140,15 @@
  20. };
  21. };
  22. + usb2_phy: usb2-phy {
  23. + compatible = "brcm,ns-usb2-phy";
  24. + reg = <0x1800c000 0x1000>;
  25. + reg-names = "dmu";
  26. + #phy-cells = <0>;
  27. + clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
  28. + clock-names = "phy-ref-clk";
  29. + };
  30. +
  31. axi@18000000 {
  32. compatible = "brcm,bus-axi";
  33. reg = <0x18000000 0x1000>;
  34. @@ -232,6 +241,8 @@
  35. #address-cells = <1>;
  36. #size-cells = <1>;
  37. +
  38. + phys = <&usb2_phy>;
  39. };
  40. usb3: usb3@23000 {