131-dt-sun5i-add-usbclock-bindings.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. From 5b08dd0d672b59fff16d02239ca6a36aaecdb1ca Mon Sep 17 00:00:00 2001
  2. From: Roman Byshko <rbyshko@gmail.com>
  3. Date: Fri, 7 Feb 2014 16:21:52 +0100
  4. Subject: [PATCH] ARM: sun5i: 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/sun5i-a10s.dtsi | 9 +++++++++
  10. arch/arm/boot/dts/sun5i-a13.dtsi | 9 +++++++++
  11. 2 files changed, 18 insertions(+)
  12. --- a/arch/arm/boot/dts/sun5i-a10s.dtsi
  13. +++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
  14. @@ -272,6 +272,15 @@
  15. clock-output-names = "ir0";
  16. };
  17. + usb_clk: clk@01c200cc {
  18. + #clock-cells = <1>;
  19. + #reset-cells = <1>;
  20. + compatible = "allwinner,sun5i-a13-usb-clk";
  21. + reg = <0x01c200cc 0x4>;
  22. + clocks = <&pll6 1>;
  23. + clock-output-names = "usb_ohci0", "usb_phy";
  24. + };
  25. +
  26. mbus_clk: clk@01c2015c {
  27. #clock-cells = <0>;
  28. compatible = "allwinner,sun4i-mod0-clk";
  29. --- a/arch/arm/boot/dts/sun5i-a13.dtsi
  30. +++ b/arch/arm/boot/dts/sun5i-a13.dtsi
  31. @@ -274,6 +274,15 @@
  32. clock-output-names = "ir0";
  33. };
  34. + usb_clk: clk@01c200cc {
  35. + #clock-cells = <1>;
  36. + #reset-cells = <1>;
  37. + compatible = "allwinner,sun5i-a13-usb-clk";
  38. + reg = <0x01c200cc 0x4>;
  39. + clocks = <&pll6 1>;
  40. + clock-output-names = "usb_ohci0", "usb_phy";
  41. + };
  42. +
  43. mbus_clk: clk@01c2015c {
  44. #clock-cells = <0>;
  45. compatible = "allwinner,sun4i-mod0-clk";