diff options
author | Wang Dongsheng <dongsheng.wang@freescale.com> | 2014-09-25 06:42:37 (GMT) |
---|---|---|
committer | Matthew Weigel <Matthew.Weigel@freescale.com> | 2014-12-11 18:36:44 (GMT) |
commit | 623760ee756313c85dd5a43a5d639a76384bcede (patch) | |
tree | 53c239d1bd8154d8c86ec7c133b0e0b5d5c792e1 | |
parent | 4d7ebd78a55df1a0cb6b04d62422f8c238af677f (diff) | |
download | linux-fsl-qoriq-623760ee756313c85dd5a43a5d639a76384bcede.tar.xz |
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 <dongsheng.wang@freescale.com>
Change-Id: Ie337ec554f6acd625cd691a0e07ffb96807cfa10
Reviewed-on: http://git.am.freescale.net:8181/19838
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Li Xiubo <Li.Xiubo@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
-rw-r--r-- | arch/arm/boot/dts/ls1021a-qds.dts | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/ls1021a.dtsi | 8 |
2 files changed, 12 insertions, 0 deletions
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 = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; + big-endian; + status = "disabled"; + }; + pwm3: ftm@2a00000 { compatible = "fsl,vf610-ftm-pwm"; #pwm-cells = <3>; |