layerscape: add patches-5.4
[openwrt/staging/stintel.git] / target / linux / layerscape / patches-5.4 / 302-dts-0087-arm-dts-ls1021a-fix-that-FlexTimer-cannot-wakeup-sys.patch
1 From c221e05b50ca68daf5a20069ee1928171ef43bae Mon Sep 17 00:00:00 2001
2 From: Biwen Li <biwen.li@nxp.com>
3 Date: Sat, 14 Sep 2019 12:59:36 +0800
4 Subject: [PATCH] arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in
5 deep sleep
6
7 The patch fixes a bug that FlexTimer cannot
8 wakeup system in deep sleep.
9
10 Signed-off-by: Biwen Li <biwen.li@nxp.com>
11 ---
12 arch/arm/boot/dts/ls1021a.dtsi | 6 ++++++
13 1 file changed, 6 insertions(+)
14
15 --- a/arch/arm/boot/dts/ls1021a.dtsi
16 +++ b/arch/arm/boot/dts/ls1021a.dtsi
17 @@ -998,6 +998,12 @@
18 compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1+";
19 reg = <0x0 0x1ee2140 0x0 0x8>;
20 #fsl,rcpm-wakeup-cells = <2>;
21 +
22 + /*
23 + * The second and third entry compose an alt offset
24 + * address for IPPDEXPCR1(SCFG_SPARECR8)
25 + */
26 + fsl,ippdexpcr1-alt-addr = <&scfg 0x0 0x51c>;
27 };
28
29 ftm_alarm0: timer0@29d0000 {