Skip to content

Commit

Permalink
sh: sh7724 mode pin comments
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Jun 11, 2009
1 parent e4218ef commit 36e5b26
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/sh/include/cpu-sh4/cpu/sh7724.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
#ifndef __ASM_SH7724_H__
#define __ASM_SH7724_H__

/* Boot Mode Pins:
*
* MD0: CPG - Clock Mode 0->7
* MD1: CPG - Clock Mode 0->7
* MD2: CPG - Clock Mode 0->7
* MD3: BSC - Area0 Bus Width (16/32-bit) [CS0BCR.9,10]
* MD5: BSC - Endian Mode (L: Big, H: Little) [CMNCR.3]
* MD8: Test Mode
*/

/* 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,
Expand Down

0 comments on commit 36e5b26

Please sign in to comment.