1
0

101-arm64-dts-allwinner-a64-Enable-A64-timer-workaround.patch 956 B

1234567891011121314151617181920212223242526
  1. From 55ec26d6a4241363fa94f15377ebd8f1116fbfd7 Mon Sep 17 00:00:00 2001
  2. From: Samuel Holland <samuel@sholland.org>
  3. Date: Sat, 12 Jan 2019 20:17:19 -0600
  4. Subject: [PATCH] arm64: dts: allwinner: a64: Enable A64 timer workaround
  5. As instability in the architectural timer has been observed on multiple
  6. devices using this SoC, inluding the Pine64 and the Orange Pi Win,
  7. enable the workaround in the SoC's device tree.
  8. Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
  9. Signed-off-by: Samuel Holland <samuel@sholland.org>
  10. Signed-off-by: Chen-Yu Tsai <wens@csie.org>
  11. ---
  12. arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 +
  13. 1 file changed, 1 insertion(+)
  14. --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
  15. +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
  16. @@ -114,6 +114,7 @@
  17. timer {
  18. compatible = "arm,armv8-timer";
  19. + allwinner,erratum-unknown1;
  20. interrupts = <GIC_PPI 13
  21. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
  22. <GIC_PPI 14