aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-shmobile/board-mackerel.c60
1 files changed, 60 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index 21443fef28e6..889ce4f54ffd 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
@@ -57,6 +57,66 @@
57 * 0x4000_0000 LPDDR2-SDRAM (POP) 32bit 57 * 0x4000_0000 LPDDR2-SDRAM (POP) 32bit
58 */ 58 */
59 59
60/*
61 * CPU mode
62 *
63 * SW4 | Boot Area| Master | Remarks
64 * 1 | 2 | 3 | 4 | 5 | 6 | 8 | | Processor|
65 * ----+-----+-----+-----+-----+-----+-----+----------+----------+--------------
66 * ON | ON | OFF | ON | ON | OFF | OFF | External | System | External ROM
67 * ON | ON | ON | ON | ON | OFF | OFF | External | System | ROM Debug
68 * ON | ON | X | ON | OFF | OFF | OFF | Built-in | System | ROM Debug
69 * X | OFF | X | X | X | X | OFF | Built-in | System | MaskROM
70 * OFF | X | X | X | X | X | OFF | Built-in | System | MaskROM
71 * X | X | X | OFF | X | X | OFF | Built-in | System | MaskROM
72 * OFF | ON | OFF | X | X | OFF | ON | External | System | Standalone
73 * ON | OFF | OFF | X | X | OFF | ON | External | Realtime | Standalone
74*/
75
76/*
77 * NOR Flash ROM
78 *
79 * SW1 | SW2 | SW7 | NOR Flash ROM
80 * bit1 | bit1 bit2 | bit1 | Memory allocation
81 * ------+------------+------+------------------
82 * OFF | ON OFF | ON | Area 0
83 * OFF | ON OFF | OFF | Area 4
84 */
85
86/*
87 * SMSC 9220
88 *
89 * SW1 SMSC 9220
90 * -----------------------
91 * ON access disable
92 * OFF access enable
93 */
94
95/*
96 * NAND Flash ROM
97 *
98 * SW1 | SW2 | SW7 | NAND Flash ROM
99 * bit1 | bit1 bit2 | bit2 | Memory allocation
100 * ------+------------+------+------------------
101 * OFF | ON OFF | ON | FCE 0
102 * OFF | ON OFF | OFF | FCE 1
103 */
104
105/*
106 * External interrupt pin settings
107 *
108 * IRQX | pin setting | device | level
109 * ------+--------------------+--------------------+-------
110 * IRQ0 | ICR1A.IRQ0SA=0010 | SDHI2 card detect | Low
111 * IRQ6 | ICR1A.IRQ6SA=0011 | Ether(LAN9220) | High
112 * IRQ7 | ICR1A.IRQ7SA=0010 | LCD Tuch Panel | Low
113 * IRQ8 | ICR2A.IRQ8SA=0010 | MMC/SD card detect | Low
114 * IRQ9 | ICR2A.IRQ9SA=0010 | KEY(TCA6408) | Low
115 * IRQ21 | ICR4A.IRQ21SA=0011 | Sensor(ADXL345) | High
116 * IRQ22 | ICR4A.IRQ22SA=0011 | Sensor(AK8975) | High
117
118*/
119
60/* MTD */ 120/* MTD */
61static struct mtd_partition nor_flash_partitions[] = { 121static struct mtd_partition nor_flash_partitions[] = {
62 { 122 {