Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed740cb9 authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt
Browse files

sh: sh7722 mode pin definitions



This patch adds sh7722 mode pin and pin function
controller comments.

Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 36e5b26b
Loading
Loading
Loading
Loading
+14 −0
Original line number Original line Diff line number Diff line
#ifndef __ASM_SH7722_H__
#ifndef __ASM_SH7722_H__
#define __ASM_SH7722_H__
#define __ASM_SH7722_H__


/* Boot Mode Pins:
 *
 * MD0: CPG - Clock Mode 0->3
 * MD1: CPG - Clock Mode 0->3
 * MD2: CPG - Reserved (L: Normal operation)
 * 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 {
enum {
	/* PTA */
	/* PTA */
	GPIO_PTA7, GPIO_PTA6, GPIO_PTA5, GPIO_PTA4,
	GPIO_PTA7, GPIO_PTA6, GPIO_PTA5, GPIO_PTA4,