044-0005-ARM-BCM5301X-Specify-USB-3.0-PHY-in-DT.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. From 5b92db97f4ae345bd6f045c9427471680a7fe2e7 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
  3. Date: Wed, 21 Sep 2016 22:58:34 +0200
  4. Subject: [PATCH] ARM: BCM5301X: Specify USB 3.0 PHY 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 3.0 PHY has been recently added under the name
  9. phy-bcm-ns-usb3. Add binding for it into the DT files.
  10. The only slightly tricky part is BCM47094 which uses different PHY
  11. version and requires different compatible value.
  12. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  13. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  14. ---
  15. arch/arm/boot/dts/bcm47094.dtsi | 6 ++++++
  16. arch/arm/boot/dts/bcm5301x.dtsi | 7 +++++++
  17. 2 files changed, 13 insertions(+)
  18. --- a/arch/arm/boot/dts/bcm47094.dtsi
  19. +++ b/arch/arm/boot/dts/bcm47094.dtsi
  20. @@ -6,6 +6,12 @@
  21. #include "bcm4708.dtsi"
  22. +/ {
  23. + usb3_phy: usb3-phy {
  24. + compatible = "brcm,ns-bx-usb3-phy";
  25. + };
  26. +};
  27. +
  28. &uart0 {
  29. clock-frequency = <125000000>;
  30. };
  31. --- a/arch/arm/boot/dts/bcm5301x.dtsi
  32. +++ b/arch/arm/boot/dts/bcm5301x.dtsi
  33. @@ -149,6 +149,13 @@
  34. clock-names = "phy-ref-clk";
  35. };
  36. + usb3_phy: usb3-phy {
  37. + compatible = "brcm,ns-ax-usb3-phy";
  38. + reg = <0x18105000 0x1000>, <0x18003000 0x1000>;
  39. + reg-names = "dmp", "ccb-mii";
  40. + #phy-cells = <0>;
  41. + };
  42. +
  43. axi@18000000 {
  44. compatible = "brcm,bus-axi";
  45. reg = <0x18000000 0x1000>;