1 From f3a115bd1372e774979ecb81919664279b81810e Mon Sep 17 00:00:00 2001
2 From: Biwen Li <biwen.li@nxp.com>
3 Date: Fri, 28 Jun 2019 16:36:20 +0800
4 Subject: [PATCH] arm: dts: ls1021a: replace ftm0 with ftm_alarm0 DT node
6 The patch replaces ftm0 with ftm_alarm0 DT node
10 - aliases ftm_alarm0 as rtc1
12 Signed-off-by: Biwen Li <biwen.li@nxp.com>
14 arch/arm/boot/dts/ls1021a.dtsi | 24 ++++++++++++++----------
15 1 file changed, 14 insertions(+), 10 deletions(-)
17 --- a/arch/arm/boot/dts/ls1021a.dtsi
18 +++ b/arch/arm/boot/dts/ls1021a.dtsi
31 - ftm0: ftm0@29d0000 {
32 - compatible = "fsl,ftm-alarm";
33 - reg = <0x0 0x29d0000 0x0 0x10000>,
34 - <0x0 0x1ee2140 0x0 0x4>;
35 - reg-names = "ftm", "FlexTimer1";
36 - interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
42 compatible = "fsl,vf610-ftm-pwm";
48 + rcpm: rcpm@1ee2140 {
49 + compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1+";
50 + reg = <0x0 0x1ee2140 0x0 0x8>;
51 + #fsl,rcpm-wakeup-cells = <2>;
54 + ftm_alarm0: timer0@29d0000 {
55 + compatible = "fsl,ls1021a-ftm-alarm";
56 + reg = <0x0 0x29d0000 0x0 0x10000>;
57 + fsl,rcpm-wakeup = <&rcpm 0x0 0x20000000>;
58 + interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;