Add luci mirror repository
[librecmc/librecmc.git] / target / linux / sunxi / patches-4.19 / 101-arm64-dts-allwinner-a64-Enable-A64-timer-workaround.patch
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
6 As instability in the architectural timer has been observed on multiple
7 devices using this SoC, inluding the Pine64 and the Orange Pi Win,
8 enable the workaround in the SoC's device tree.
9
10 Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
11 Signed-off-by: Samuel Holland <samuel@sholland.org>
12 Signed-off-by: Chen-Yu Tsai <wens@csie.org>
13 ---
14  arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 1 +
15  1 file changed, 1 insertion(+)
16
17 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
18 +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
19 @@ -159,6 +159,7 @@
20  
21         timer {
22                 compatible = "arm,armv8-timer";
23 +               allwinner,erratum-unknown1;
24                 interrupts = <GIC_PPI 13
25                         (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
26                              <GIC_PPI 14