All of lore.kernel.org
 help / color / mirror / Atom feed
From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/7] ARM: i.MX27: Add GPT devicetree nodes
Date: Thu, 14 Mar 2013 13:08:57 +0100	[thread overview]
Message-ID: <1363262942-26702-3-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1363262942-26702-1-git-send-email-s.hauer@pengutronix.de>

The GPT is the GPT timer found on i.MX SoCs.

This adds the missing GPT devicetree nodes. Also fixup the watchdog
register map size along the way. it's 0x1000, not 0x4000. This didn't
hurt before as the region was not occupied by another device, but now
overlaps with the GPT.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/boot/dts/imx27.dtsip | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx27.dtsip b/arch/arm/boot/dts/imx27.dtsip
index 324130f..3e0585f 100644
--- a/arch/arm/boot/dts/imx27.dtsip
+++ b/arch/arm/boot/dts/imx27.dtsip
@@ -60,10 +60,28 @@
 
 			wdog: wdog at 10002000 {
 				compatible = "fsl,imx27-wdt", "fsl,imx21-wdt";
-				reg = <0x10002000 0x4000>;
+				reg = <0x10002000 0x1000>;
 				interrupts = <27>;
 			};
 
+			gpt1: timer at 10003000 {
+				compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
+				reg = <0x10003000 0x1000>;
+				interrupts = <26>;
+			};
+
+			gpt2: timer at 10004000 {
+				compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
+				reg = <0x10004000 0x1000>;
+				interrupts = <25>;
+			};
+
+			gpt3: timer at 10005000 {
+				compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
+				reg = <0x10005000 0x1000>;
+				interrupts = <24>;
+			};
+
 			uart1: serial at 1000a000 {
 				compatible = "fsl,imx27-uart", "fsl,imx21-uart";
 				reg = <0x1000a000 0x1000>;
@@ -188,6 +206,18 @@
 				status = "disabled";
 			};
 
+			gpt4: timer at 10019000 {
+				compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
+				reg = <0x10019000 0x1000>;
+				interrupts = <4>;
+			};
+
+			gpt5: timer at 1001a000 {
+				compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
+				reg = <0x1001a000 0x1000>;
+				interrupts = <3>;
+			};
+
 			uart5: serial at 1001b000 {
 				compatible = "fsl,imx27-uart", "fsl,imx21-uart";
 				reg = <0x1001b000 0x1000>;
@@ -211,6 +241,11 @@
 				status = "disabled";
 			};
 
+			gpt6: timer at 1001f000 {
+				compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
+				reg = <0x1001f000 0x1000>;
+				interrupts = <2>;
+			};
 		};
 
 		aipi at 10020000 { /* AIPI2 */
-- 
1.8.2.rc2

  parent reply	other threads:[~2013-03-14 12:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-14 12:08 [PATCH] i.MX: Add GPT devicetree nodes Sascha Hauer
2013-03-14 12:08 ` [PATCH 1/7] ARM: i.MX: Add GPT devicetree Documentation Sascha Hauer
2013-03-14 18:02   ` Stephen Warren
2013-03-15  5:42     ` Shawn Guo
2013-03-15  6:11       ` Sascha Hauer
2013-03-14 12:08 ` Sascha Hauer [this message]
2013-03-14 12:08 ` [PATCH 3/7] ARM: i.MX31: Add GPT devicetree node Sascha Hauer
2013-03-14 12:08 ` [PATCH 4/7] ARM: i.MX51: " Sascha Hauer
2013-03-14 12:09 ` [PATCH 5/7] ARM: i.MX53: " Sascha Hauer
2013-03-14 12:09 ` [PATCH 6/7] ARM: i.MX6: Add clocks to " Sascha Hauer
2013-03-14 12:09 ` [PATCH 7/7] ARM: i.MX27: Add clocks to GPT devicetree nodes Sascha Hauer
2013-03-15  5:43 ` [PATCH] i.MX: Add " Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1363262942-26702-3-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.