Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1177100
| From | Alison Wang <b18965@freescale.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] arm: dts: ls1021a: add wakeup device ftm0 node for ls1021a |
| Date | 2015-07-06 05:00 +0200 |
| Message-ID | <pJ4Ns-2uC-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: Wang Dongsheng <dongsheng.wang@freescale.com>
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>
---
arch/arm/boot/dts/ls1021a-qds.dts | 4 ++++
arch/arm/boot/dts/ls1021a.dtsi | 8 ++++++++
2 files changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/ls1021a-qds.dts b/arch/arm/boot/dts/ls1021a-qds.dts
index 9533f1d..e2ccae6 100644
--- a/arch/arm/boot/dts/ls1021a-qds.dts
+++ b/arch/arm/boot/dts/ls1021a-qds.dts
@@ -146,6 +146,10 @@
status = "okay";
};
+&ftm0 {
+ status = "okay";
+};
+
&i2c0 {
status = "okay";
diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 4ad30d0..707850f 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -335,6 +335,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";
+ };
+
wdog0: watchdog@2ad0000 {
compatible = "fsl,imx21-wdt";
reg = <0x0 0x2ad0000 0x0 0x10000>;
--
2.1.0.27.g96db324
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] arm: dts: ls1021a: add wakeup device ftm0 node for ls1021a Alison Wang <b18965@freescale.com> - 2015-07-06 05:00 +0200
csiph-web