132-dt-sun7i-add-usbclock-bindings.patch 946 B

123456789101112131415161718192021222324252627282930
  1. From 25a1ac92997df2b1e2c76a374d444605cbc96a9f Mon Sep 17 00:00:00 2001
  2. From: Roman Byshko <rbyshko@gmail.com>
  3. Date: Fri, 7 Feb 2014 16:21:53 +0100
  4. Subject: [PATCH] ARM: sun7i: dt: Add bindings for USB clocks
  5. Signed-off-by: Roman Byshko <rbyshko@gmail.com>
  6. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  7. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  8. ---
  9. arch/arm/boot/dts/sun7i-a20.dtsi | 9 +++++++++
  10. 1 file changed, 9 insertions(+)
  11. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  12. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  13. @@ -313,6 +313,15 @@
  14. clock-output-names = "ir1";
  15. };
  16. + usb_clk: clk@01c200cc {
  17. + #clock-cells = <1>;
  18. + #reset-cells = <1>;
  19. + compatible = "allwinner,sun4i-a10-usb-clk";
  20. + reg = <0x01c200cc 0x4>;
  21. + clocks = <&pll6 1>;
  22. + clock-output-names = "usb_ohci0", "usb_ohci1", "usb_phy";
  23. + };
  24. +
  25. spi3_clk: clk@01c200d4 {
  26. #clock-cells = <0>;
  27. compatible = "allwinner,sun4i-mod0-clk";