1
0

132-dt-sun8i-add-h3-usbclocks.patch 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. From d6a71e3caae07fb2d98e93ee62477273abaceb27 Mon Sep 17 00:00:00 2001
  2. From: Reinder de Haan <patchesrdh@mveas.com>
  3. Date: Tue, 3 Nov 2015 15:13:00 +0100
  4. Subject: [PATCH] ARM: dts: sun8i: Add support for H3 usb clocks
  5. Add a node describing the usb-clks found on the H3.
  6. Signed-off-by: Reinder de Haan <patchesrdh@mveas.com>
  7. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  8. ---
  9. arch/arm/boot/dts/sun8i-h3.dtsi | 12 ++++++++++++
  10. 1 file changed, 12 insertions(+)
  11. --- a/arch/arm/boot/dts/sun8i-h3.dtsi
  12. +++ b/arch/arm/boot/dts/sun8i-h3.dtsi
  13. @@ -269,6 +269,18 @@
  14. "mmc2_sample";
  15. };
  16. + usb_clk: clk@01c200cc {
  17. + #clock-cells = <1>;
  18. + #reset-cells = <1>;
  19. + compatible = "allwinner,sun8i-h3-usb-clk";
  20. + reg = <0x01c200cc 0x4>;
  21. + clocks = <&osc24M>;
  22. + clock-output-names = "usb_phy0", "usb_phy1",
  23. + "usb_phy2", "usb_phy3",
  24. + "usb_ohci0", "usb_ohci1",
  25. + "usb_ohci2", "usb_ohci3";
  26. + };
  27. +
  28. mbus_clk: clk@01c2015c {
  29. #clock-cells = <0>;
  30. compatible = "allwinner,sun8i-a23-mbus-clk";