From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Subject: [PATCH 05/10] ARM i.MX53: add imx-gpio devices
Date: Fri, 31 Aug 2012 10:54:27 +0200 [thread overview]
Message-ID: <1346403272-24446-6-git-send-email-s.trumtrar@pengutronix.de> (raw)
In-Reply-To: <1346403272-24446-1-git-send-email-s.trumtrar@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
arch/arm/mach-imx/imx53.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/mach-imx/imx53.c b/arch/arm/mach-imx/imx53.c
index 7c679bb..4071dce 100644
--- a/arch/arm/mach-imx/imx53.c
+++ b/arch/arm/mach-imx/imx53.c
@@ -88,6 +88,13 @@ static int imx53_init(void)
add_generic_device("imx_iim", 0, NULL, MX53_IIM_BASE_ADDR, SZ_4K,
IORESOURCE_MEM, NULL);
+ add_generic_device("imx-gpio", 0, NULL, MX53_GPIO1_BASE_ADDR, 0x1000, IORESOURCE_MEM, NULL);
+ add_generic_device("imx-gpio", 1, NULL, MX53_GPIO2_BASE_ADDR, 0x1000, IORESOURCE_MEM, NULL);
+ add_generic_device("imx-gpio", 2, NULL, MX53_GPIO3_BASE_ADDR, 0x1000, IORESOURCE_MEM, NULL);
+ add_generic_device("imx-gpio", 3, NULL, MX53_GPIO4_BASE_ADDR, 0x1000, IORESOURCE_MEM, NULL);
+ add_generic_device("imx-gpio", 4, NULL, MX53_GPIO5_BASE_ADDR, 0x1000, IORESOURCE_MEM, NULL);
+ add_generic_device("imx-gpio", 5, NULL, MX53_GPIO6_BASE_ADDR, 0x1000, IORESOURCE_MEM, NULL);
+ add_generic_device("imx-gpio", 6, NULL, MX53_GPIO7_BASE_ADDR, 0x1000, IORESOURCE_MEM, NULL);
return 0;
}
coredevice_initcall(imx53_init);
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2012-08-31 8:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-31 8:54 [PATCH 00/10] ARM i.MX: add gpiolib support Steffen Trumtrar
2012-08-31 8:54 ` [PATCH 01/10] " Steffen Trumtrar
2012-09-03 7:00 ` Sascha Hauer
2012-09-03 7:03 ` Sascha Hauer
2012-08-31 8:54 ` [PATCH 02/10] ARM i.MX: switch to " Steffen Trumtrar
2012-08-31 8:54 ` [PATCH 03/10] ARM i.MX5: add imx-gpio devices Steffen Trumtrar
2012-09-03 7:01 ` Sascha Hauer
2012-08-31 8:54 ` [PATCH 04/10] ARM i.MX6: " Steffen Trumtrar
2012-08-31 8:54 ` Steffen Trumtrar [this message]
2012-08-31 8:54 ` [PATCH 06/10] ARM i.MX35: " Steffen Trumtrar
2012-08-31 8:54 ` [PATCH 07/10] ARM i.MX27: " Steffen Trumtrar
2012-08-31 8:54 ` [PATCH 08/10] ARM i.MX25: " Steffen Trumtrar
2012-08-31 8:54 ` [PATCH 09/10] ARM i.MX1: " Steffen Trumtrar
2012-08-31 8:54 ` [PATCH 10/10] ARM i.MX21: " Steffen Trumtrar
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=1346403272-24446-6-git-send-email-s.trumtrar@pengutronix.de \
--to=s.trumtrar@pengutronix.de \
--cc=barebox@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox