ARM: dts: ls1021a: fix flextimer failed to wake system
authorRan Wang <ran.wang_1@nxp.com>
Mon, 2 Nov 2020 07:26:51 +0000 (15:26 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 30 Nov 2020 07:07:29 +0000 (15:07 +0800)
The data of property 'fsl,rcpm-wakeup' is not corrcet, which causing
RCPM driver incorrectly program register IPPDEXPCR1, then flextimer is
wrongly clock gated during system suspend, can't send interrupt to
wake.

Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/ls1021a.dtsi

index 827373e..e12809d 100644 (file)
                        compatible = "fsl,ls1021a-ftm-alarm";
                        reg = <0x0 0x29d0000 0x0 0x10000>;
                        reg-names = "ftm";
-                       fsl,rcpm-wakeup = <&rcpm 0x20000 0x0>;
+                       fsl,rcpm-wakeup = <&rcpm 0x0 0x20000000>;
                        interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
                        big-endian;
                };