From: b39297@freescale.com (Wu Guoxing)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: mx35: 3ds: add mc9s08dz60 gpio definitions
Date: Mon, 12 Mar 2012 12:57:58 +0800 [thread overview]
Message-ID: <1331528279-2263-1-git-send-email-b39297@freescale.com> (raw)
add a new header file for mx35 3ds board
add the mc9s08dz60 gpio definitions
Signed-off-by: Wu Guoxing <b39297@freescale.com>
---
arch/arm/plat-mxc/include/mach/board_mx35_3ds.h | 26 +++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/plat-mxc/include/mach/board_mx35_3ds.h
diff --git a/arch/arm/plat-mxc/include/mach/board_mx35_3ds.h b/arch/arm/plat-mxc/include/mach/board_mx35_3ds.h
new file mode 100644
index 0000000..df0d5f7
--- /dev/null
+++ b/arch/arm/plat-mxc/include/mach/board_mx35_3ds.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2012 Freescale Semiconductor, Inc. All Rights Reserved.
+ *
+ * Author: Wu Guoxing <b39297@freescale.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __ASM_ARCH_MXC_BOARD_MX35_3DS_H__
+#define __ASM_ARCH_MXC_BOARD_MX35_3DS_H__
+
+#define GPIO_MC9S08DZ60_GPS_ENABLE 0
+#define GPIO_MC9S08DZ60_HDD_ENABLE 4
+#define GPIO_MC9S08DZ60_WIFI_ENABLE 5
+#define GPIO_MC9S08DZ60_LCD_ENABLE 6
+#define GPIO_MC9S08DZ60_SPEAKER_ENABLE 8
+
+#endif
--
1.7.1
next reply other threads:[~2012-03-12 4:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-12 4:57 Wu Guoxing [this message]
2012-03-12 4:57 ` [PATCH v7 2/2] ARM : mx35: 3ds-board: add framebuffer device Wu Guoxing
2012-03-13 13:30 ` [PATCH 1/2] ARM: mx35: 3ds: add mc9s08dz60 gpio definitions Sascha Hauer
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=1331528279-2263-1-git-send-email-b39297@freescale.com \
--to=b39297@freescale.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).