106-dt-sun7i-add-arch-timer-node.patch 874 B

12345678910111213141516171819202122232425262728293031
  1. From 0f9bb2cf6171f47d932df46e34cc5cfce384ff3d Mon Sep 17 00:00:00 2001
  2. From: Marc Zyngier <marc.zyngier@arm.com>
  3. Date: Tue, 18 Feb 2014 14:04:44 +0000
  4. Subject: [PATCH] ARM: sun7i: add arch timer node
  5. The Allwinner A20 SoC is built around a pair of Cortex-A7 cores,
  6. which have the usual generic timers. Report this in the DT.
  7. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
  8. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  9. ---
  10. arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++
  11. 1 file changed, 8 insertions(+)
  12. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  13. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  14. @@ -49,6 +49,14 @@
  15. reg = <0x40000000 0x80000000>;
  16. };
  17. + timer {
  18. + compatible = "arm,armv7-timer";
  19. + interrupts = <1 13 0xf08>,
  20. + <1 14 0xf08>,
  21. + <1 11 0xf08>,
  22. + <1 10 0xf08>;
  23. + };
  24. +
  25. clocks {
  26. #address-cells = <1>;
  27. #size-cells = <1>;