aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-06-02 06:47:32 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-06-11 02:09:12 -0400
commit36e5b26bdac0ee3791071d240334853ddd7b9790 (patch)
treefe036d6c05a19de16850e49ba426f203ea0d49e7 /arch
parente4218ef506a2f8b0b5bf1a4b6effcc2f8983f86b (diff)
sh: sh7724 mode pin comments
This patch adds comments for the sh7724 mode pins and pin function controller. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/include/cpu-sh4/cpu/sh7724.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/sh/include/cpu-sh4/cpu/sh7724.h b/arch/sh/include/cpu-sh4/cpu/sh7724.h
index 34605c9e354d..66fd1184359e 100644
--- a/arch/sh/include/cpu-sh4/cpu/sh7724.h
+++ b/arch/sh/include/cpu-sh4/cpu/sh7724.h
@@ -1,6 +1,20 @@
1#ifndef __ASM_SH7724_H__ 1#ifndef __ASM_SH7724_H__
2#define __ASM_SH7724_H__ 2#define __ASM_SH7724_H__
3 3
4/* Boot Mode Pins:
5 *
6 * MD0: CPG - Clock Mode 0->7
7 * MD1: CPG - Clock Mode 0->7
8 * MD2: CPG - Clock Mode 0->7
9 * MD3: BSC - Area0 Bus Width (16/32-bit) [CS0BCR.9,10]
10 * MD5: BSC - Endian Mode (L: Big, H: Little) [CMNCR.3]
11 * MD8: Test Mode
12 */
13
14/* Pin Function Controller:
15 * GPIO_FN_xx - GPIO used to select pin function
16 * GPIO_Pxx - GPIO mapped to real I/O pin on CPU
17 */
4enum { 18enum {
5 /* PTA */ 19 /* PTA */
6 GPIO_PTA7, GPIO_PTA6, GPIO_PTA5, GPIO_PTA4, 20 GPIO_PTA7, GPIO_PTA6, GPIO_PTA5, GPIO_PTA4,