* [PATCH] sh: sh7723 mode pin definitions
@ 2009-06-02 8:27 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2009-06-02 8:27 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@igel.co.jp>
This patch adds sh7723 mode pin definitions. Mode pins and
pin function controller comments are added as well.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
---
--- 0001/arch/sh/include/cpu-sh4/cpu/sh7723.h
+++ work/arch/sh/include/cpu-sh4/cpu/sh7723.h 2009-06-02 15:19:42.000000000 +0900
@@ -1,6 +1,21 @@
#ifndef __ASM_SH7723_H__
#define __ASM_SH7723_H__
+/* Boot Mode Pins */
+enum {
+ MODE_PIN_MD0, /* CPG - Clock Mode 0->3 */
+ MODE_PIN_MD1, /* CPG - Clock Mode 0->3 */
+ MODE_PIN_MD2, /* CPG - Reserved (L: Normal operation) */
+ MODE_PIN_MD3, /* BSC - Area0 Bus Width (16/32-bit) [CS0BCR.9,10] */
+ MODE_PIN_MD5 = 5, /* BSC - Endian Mode (L: Big, H: Little) [CMNCR.3]*/
+ MODE_PIN_MD8 = 8, /* Test Mode (?) */
+ MODE_PIN_TSTMD, /* Test Mode (H: Normal operation) */
+};
+
+/* Pin Function Controller:
+ * GPIO_FN_xx - GPIO used to select pin function
+ * GPIO_Pxx - GPIO mapped to real I/O pin on CPU
+ */
enum {
/* PTA */
GPIO_PTA7, GPIO_PTA6, GPIO_PTA5, GPIO_PTA4,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-02 8:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-02 8:27 [PATCH] sh: sh7723 mode pin definitions Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox