diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2010-11-28 21:21:48 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-28 23:05:26 -0500 |
commit | 4b82b68925d19ab32159ba94b30768f705812e0f (patch) | |
tree | eeddb00ae17e3ef91a6a475530151b8daeb33dea | |
parent | 11fee467a119afac02d336bf41dcd9c4db2b6106 (diff) |
ARM: mach-shmobile: mackerel: document switch and pin modes.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 60 |
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 */ |
61 | static struct mtd_partition nor_flash_partitions[] = { | 121 | static struct mtd_partition nor_flash_partitions[] = { |
62 | { | 122 | { |