146-1-dt-sun5i-a10s-add-hstimer.patch 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. From 5ace5467690055b1772dcac69dd1377735b8a34b Mon Sep 17 00:00:00 2001
  2. From: Maxime Ripard <[email protected]>
  3. Date: Thu, 7 Nov 2013 12:01:48 +0100
  4. Subject: [PATCH] ARM: sun5i: a10s: Add support for the High Speed Timers
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. The Allwinner A10s has support for two high speed timers. Now that we
  9. have a driver to support it, we can enable them in the device tree.
  10. Signed-off-by: Maxime Ripard <[email protected]>
  11. Tested-by: Emilio López <[email protected]>
  12. Signed-off-by: Daniel Lezcano <[email protected]>
  13. ---
  14. arch/arm/boot/dts/sun5i-a10s.dtsi | 7 +++++++
  15. 1 file changed, 7 insertions(+)
  16. --- a/arch/arm/boot/dts/sun5i-a10s.dtsi
  17. +++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
  18. @@ -454,5 +454,12 @@
  19. clock-frequency = <100000>;
  20. status = "disabled";
  21. };
  22. +
  23. + timer@01c60000 {
  24. + compatible = "allwinner,sun5i-a13-hstimer";
  25. + reg = <0x01c60000 0x1000>;
  26. + interrupts = <82>, <83>;
  27. + clocks = <&ahb_gates 28>;
  28. + };
  29. };
  30. };