From 623760ee756313c85dd5a43a5d639a76384bcede Mon Sep 17 00:00:00 2001 From: Wang Dongsheng Date: Thu, 25 Sep 2014 14:42:37 +0800 Subject: arm: dts: ls1021a: add wakeup device ftm0 node for ls1021a Add ftm0 node, cause of ftm0 can be set as a alarm before system going to deep sleep. Signed-off-by: Wang Dongsheng Change-Id: Ie337ec554f6acd625cd691a0e07ffb96807cfa10 Reviewed-on: http://git.am.freescale.net:8181/19838 Tested-by: Review Code-CDREVIEW Reviewed-by: Li Xiubo Reviewed-by: Zhengxiong Jin diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts index d162b8b..37dad85 100644 --- a/arch/arm/boot/dts/ls1021a-qds.dts +++ b/arch/arm/boot/dts/ls1021a-qds.dts @@ -111,6 +111,10 @@ status = "okay"; }; +&ftm0 { + status = "okay"; +}; + &i2c0 { status = "okay"; pca9547@77 { diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 22cf9b2..ee95c8d 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -368,6 +368,14 @@ status = "disabled"; }; + ftm0: ftm0@29d0000 { + compatible = "fsl,ftm-alarm"; + reg = <0x0 0x29d0000 0x0 0x10000>; + interrupts = ; + big-endian; + status = "disabled"; + }; + pwm3: ftm@2a00000 { compatible = "fsl,vf610-ftm-pwm"; #pwm-cells = <3>; -- cgit v0.10.2