aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/cpu-sh4/cpu/sh7785.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/cpu-sh4/cpu/sh7785.h')
-rw-r--r--arch/sh/include/cpu-sh4/cpu/sh7785.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/sh/include/cpu-sh4/cpu/sh7785.h b/arch/sh/include/cpu-sh4/cpu/sh7785.h
index e4006afb735e..89afaa6dc2d8 100644
--- a/arch/sh/include/cpu-sh4/cpu/sh7785.h
+++ b/arch/sh/include/cpu-sh4/cpu/sh7785.h
@@ -1,6 +1,30 @@
1#ifndef __ASM_SH7785_H__ 1#ifndef __ASM_SH7785_H__
2#define __ASM_SH7785_H__ 2#define __ASM_SH7785_H__
3 3
4/* Boot Mode Pins, more information in sh7785 manual Rev.1.00, page 1628 */
5enum {
6 MODE_PIN_MODE0, /* CPG - Initial Pck/Bck Frequency [FRQMR1] */
7 MODE_PIN_MODE1, /* CPG - Initial Uck/SHck/DDRck Frequency [FRQMR1] */
8 MODE_PIN_MODE2, /* CPG - Reserved (L: Normal operation) */
9 MODE_PIN_MODE3, /* CPG - Reserved (L: Normal operation) */
10 MODE_PIN_MODE4, /* CPG - Initial PLL setting (72x/36x) */
11 MODE_PIN_MODE5, /* LBSC - Area0 Memory Type / Bus Width [CS0BCR.8] */
12 MODE_PIN_MODE6, /* LBSC - Area0 Memory Type / Bus Width [CS0BCR.9] */
13 MODE_PIN_MODE7, /* LBSC - Area0 Memory Type / Bus Width [CS0BCR.3] */
14 MODE_PIN_MODE8, /* LBSC - Endian Mode (L: Big, H: Little) [BCR.31] */
15 MODE_PIN_MODE9, /* LBSC - Master/Slave Mode (L: Slave) [BCR.30] */
16 MODE_PIN_MODE10, /* CPG - Clock Input (L: Ext Clk, H: Crystal) */
17 MODE_PIN_MODE11, /* PCI - Pin Mode (LL: PCI host, LH: PCI slave) */
18 MODE_PIN_MODE12, /* PCI - Pin Mode (HL: Local bus, HH: DU) */
19 MODE_PIN_MODE13, /* Boot Address Mode (L: 29-bit, H: 32-bit) */
20 MODE_PIN_MODE14, /* Reserved (H: Normal operation) */
21 MODE_PIN_MPMD, /* Emulation Mode (L: Emulation mode, H: LSI mode) */
22};
23
24/* Pin Function Controller:
25 * GPIO_FN_xx - GPIO used to select pin function
26 * GPIO_Pxx - GPIO mapped to real I/O pin on CPU
27 */
4enum { 28enum {
5 /* PA */ 29 /* PA */
6 GPIO_PA7, GPIO_PA6, GPIO_PA5, GPIO_PA4, 30 GPIO_PA7, GPIO_PA6, GPIO_PA5, GPIO_PA4,