The patch fixes a bug that FlexTimer cannot
wakeup system in deep sleep.

Signed-off-by: Biwen Li <biwen...@nxp.com>
---
Change in v5:
        - none

Change in v4:
        - update property name
          fsl,ippdexpcr-alt-addr -> fsl,ippdexpcr1-alt-addr

Change in v3:
        - update property name
          fsl,rcpm-scfg -> fsl,ippdexpcr-alt-addr
          
Change in v2:
        - none

 arch/arm/boot/dts/ls1021a.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 816e2926c448..6659d83c3aa2 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -988,6 +988,12 @@
                        compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1+";
                        reg = <0x0 0x1ee2140 0x0 0x8>;
                        #fsl,rcpm-wakeup-cells = <2>;
+
+                       /*
+                        * The second and third entry compose an alt offset
+                        * address for IPPDEXPCR1(SCFG_SPARECR8)
+                        */
+                       fsl,ippdexpcr1-alt-addr = <&scfg 0x0 0x51c>;
                };
 
                ftm_alarm0: timer0@29d0000 {
-- 
2.17.1

Reply via email to