diff options
author | Markus Brunner <super.firetwister@gmail.com> | 2007-09-11 22:54:58 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-09-20 22:57:54 -0400 |
commit | ded5431ff311d963888ac951131a04fe7633aa79 (patch) | |
tree | 1a7b04e4f412a5140bced2074d508e1b99e49526 | |
parent | 18d18ba8ef147f9d0d97da1da1253ce5c982bb91 (diff) |
sh: Magic Panel R2 board support.
This adds support for the SH7720 (SH3-DSP) based Magic Panel R2
board.
Signed-off-by: Markus Brunner <super.firetwister@gmail.com>
Signed-off by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/Kconfig | 7 | ||||
-rw-r--r-- | arch/sh/Makefile | 1 | ||||
-rw-r--r-- | arch/sh/boards/magicpanelr2/Kconfig | 13 | ||||
-rw-r--r-- | arch/sh/boards/magicpanelr2/Makefile | 5 | ||||
-rw-r--r-- | arch/sh/boards/magicpanelr2/setup.c | 312 | ||||
-rw-r--r-- | arch/sh/configs/magicpanelr2_defconfig | 923 | ||||
-rw-r--r-- | include/asm-sh/magicpanelr2.h | 67 |
7 files changed, 1328 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index f6d6ac308f69..2c5cc0ed2e7e 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -395,11 +395,18 @@ config SH_X3PROTO | |||
395 | bool "SH-X3 Prototype board" | 395 | bool "SH-X3 Prototype board" |
396 | depends on CPU_SUBTYPE_SHX3 | 396 | depends on CPU_SUBTYPE_SHX3 |
397 | 397 | ||
398 | config SH_MAGIC_PANEL_R2 | ||
399 | bool "Magic Panel R2" | ||
400 | depends on CPU_SUBTYPE_SH7720 | ||
401 | help | ||
402 | Select Magic Panel R2 if configuring for Magic Panel R2. | ||
403 | |||
398 | endmenu | 404 | endmenu |
399 | 405 | ||
400 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" | 406 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" |
401 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" | 407 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" |
402 | source "arch/sh/boards/renesas/r7780rp/Kconfig" | 408 | source "arch/sh/boards/renesas/r7780rp/Kconfig" |
409 | source "arch/sh/boards/magicpanelr2/Kconfig" | ||
403 | 410 | ||
404 | menu "Timer and clock configuration" | 411 | menu "Timer and clock configuration" |
405 | 412 | ||
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 6c73a5b2b014..a0a2083aad3e 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -126,6 +126,7 @@ machdir-$(CONFIG_SH_SHMIN) += shmin | |||
126 | machdir-$(CONFIG_SH_7206_SOLUTION_ENGINE) += se/7206 | 126 | machdir-$(CONFIG_SH_7206_SOLUTION_ENGINE) += se/7206 |
127 | machdir-$(CONFIG_SH_7619_SOLUTION_ENGINE) += se/7619 | 127 | machdir-$(CONFIG_SH_7619_SOLUTION_ENGINE) += se/7619 |
128 | machdir-$(CONFIG_SH_LBOX_RE2) += lboxre2 | 128 | machdir-$(CONFIG_SH_LBOX_RE2) += lboxre2 |
129 | machdir-$(CONFIG_SH_MAGIC_PANEL_R2) += magicpanelr2 | ||
129 | 130 | ||
130 | incdir-y := $(notdir $(machdir-y)) | 131 | incdir-y := $(notdir $(machdir-y)) |
131 | 132 | ||
diff --git a/arch/sh/boards/magicpanelr2/Kconfig b/arch/sh/boards/magicpanelr2/Kconfig new file mode 100644 index 000000000000..b0abddc3e84f --- /dev/null +++ b/arch/sh/boards/magicpanelr2/Kconfig | |||
@@ -0,0 +1,13 @@ | |||
1 | if SH_MAGIC_PANEL_R2 | ||
2 | |||
3 | menu "Magic Panel R2 options" | ||
4 | |||
5 | config SH_MAGIC_PANEL_R2_VERSION | ||
6 | int SH_MAGIC_PANEL_R2_VERSION | ||
7 | default "3" | ||
8 | help | ||
9 | Set the version of the Magic Panel R2 | ||
10 | |||
11 | endmenu | ||
12 | |||
13 | endif | ||
diff --git a/arch/sh/boards/magicpanelr2/Makefile b/arch/sh/boards/magicpanelr2/Makefile new file mode 100644 index 000000000000..7a6d586b9072 --- /dev/null +++ b/arch/sh/boards/magicpanelr2/Makefile | |||
@@ -0,0 +1,5 @@ | |||
1 | # | ||
2 | # Makefile for the Magic Panel specific parts | ||
3 | # | ||
4 | |||
5 | obj-y := setup.o \ No newline at end of file | ||
diff --git a/arch/sh/boards/magicpanelr2/setup.c b/arch/sh/boards/magicpanelr2/setup.c new file mode 100644 index 000000000000..c5930656654f --- /dev/null +++ b/arch/sh/boards/magicpanelr2/setup.c | |||
@@ -0,0 +1,312 @@ | |||
1 | /* | ||
2 | * linux/arch/sh/boards/magicpanel/setup.c | ||
3 | * | ||
4 | * Copyright (C) 2007 Markus Brunner, Mark Jonas | ||
5 | * | ||
6 | * Magic Panel Release 2 board setup | ||
7 | * | ||
8 | * This file is subject to the terms and conditions of the GNU General Public | ||
9 | * License. See the file "COPYING" in the main directory of this archive | ||
10 | * for more details. | ||
11 | */ | ||
12 | #include <linux/init.h> | ||
13 | #include <linux/irq.h> | ||
14 | #include <linux/platform_device.h> | ||
15 | #include <linux/ide.h> | ||
16 | #include <linux/irq.h> | ||
17 | #include <linux/delay.h> | ||
18 | #include <asm/magicpanelr2.h> | ||
19 | #include <asm/heartbeat.h> | ||
20 | |||
21 | #define LAN9115_READY (ctrl_inl(0xA8000084UL) & 0x00000001UL) | ||
22 | |||
23 | /* Wait until reset finished. Timeout is 100ms. */ | ||
24 | static int __init ethernet_reset_finished(void) | ||
25 | { | ||
26 | int i; | ||
27 | |||
28 | if (LAN9115_READY) | ||
29 | return 1; | ||
30 | |||
31 | for (i = 0; i < 10; ++i) { | ||
32 | mdelay(10); | ||
33 | if (LAN9115_READY) | ||
34 | return 1; | ||
35 | } | ||
36 | |||
37 | return 0; | ||
38 | } | ||
39 | |||
40 | static void __init reset_ethernet(void) | ||
41 | { | ||
42 | /* PMDR: LAN_RESET=on */ | ||
43 | CLRBITS_OUTB(0x10, PORT_PMDR); | ||
44 | |||
45 | udelay(200); | ||
46 | |||
47 | /* PMDR: LAN_RESET=off */ | ||
48 | SETBITS_OUTB(0x10, PORT_PMDR); | ||
49 | } | ||
50 | |||
51 | static void __init setup_chip_select(void) | ||
52 | { | ||
53 | /* CS2: LAN (0x08000000 - 0x0bffffff) */ | ||
54 | /* no idle cycles, normal space, 8 bit data bus */ | ||
55 | ctrl_outl(0x36db0400, CS2BCR); | ||
56 | /* (SW:1.5 WR:3 HW:1.5), ext. wait */ | ||
57 | ctrl_outl(0x000003c0, CS2WCR); | ||
58 | |||
59 | /* CS4: CAN1 (0xb0000000 - 0xb3ffffff) */ | ||
60 | /* no idle cycles, normal space, 8 bit data bus */ | ||
61 | ctrl_outl(0x00000200, CS4BCR); | ||
62 | /* (SW:1.5 WR:3 HW:1.5), ext. wait */ | ||
63 | ctrl_outl(0x00100981, CS4WCR); | ||
64 | |||
65 | /* CS5a: CAN2 (0xb4000000 - 0xb5ffffff) */ | ||
66 | /* no idle cycles, normal space, 8 bit data bus */ | ||
67 | ctrl_outl(0x00000200, CS5ABCR); | ||
68 | /* (SW:1.5 WR:3 HW:1.5), ext. wait */ | ||
69 | ctrl_outl(0x00100981, CS5AWCR); | ||
70 | |||
71 | /* CS5b: CAN3 (0xb6000000 - 0xb7ffffff) */ | ||
72 | /* no idle cycles, normal space, 8 bit data bus */ | ||
73 | ctrl_outl(0x00000200, CS5BBCR); | ||
74 | /* (SW:1.5 WR:3 HW:1.5), ext. wait */ | ||
75 | ctrl_outl(0x00100981, CS5BWCR); | ||
76 | |||
77 | /* CS6a: Rotary (0xb8000000 - 0xb9ffffff) */ | ||
78 | /* no idle cycles, normal space, 8 bit data bus */ | ||
79 | ctrl_outl(0x00000200, CS6ABCR); | ||
80 | /* (SW:1.5 WR:3 HW:1.5), no ext. wait */ | ||
81 | ctrl_outl(0x001009C1, CS6AWCR); | ||
82 | } | ||
83 | |||
84 | static void __init setup_port_multiplexing(void) | ||
85 | { | ||
86 | /* A7 GPO(LED8); A6 GPO(LED7); A5 GPO(LED6); A4 GPO(LED5); | ||
87 | * A3 GPO(LED4); A2 GPO(LED3); A1 GPO(LED2); A0 GPO(LED1); | ||
88 | */ | ||
89 | ctrl_outw(0x5555, PORT_PACR); /* 01 01 01 01 01 01 01 01 */ | ||
90 | |||
91 | /* B7 GPO(RST4); B6 GPO(RST3); B5 GPO(RST2); B4 GPO(RST1); | ||
92 | * B3 GPO(PB3); B2 GPO(PB2); B1 GPO(PB1); B0 GPO(PB0); | ||
93 | */ | ||
94 | ctrl_outw(0x5555, PORT_PBCR); /* 01 01 01 01 01 01 01 01 */ | ||
95 | |||
96 | /* C7 GPO(PC7); C6 GPO(PC6); C5 GPO(PC5); C4 GPO(PC4); | ||
97 | * C3 LCD_DATA3; C2 LCD_DATA2; C1 LCD_DATA1; C0 LCD_DATA0; | ||
98 | */ | ||
99 | ctrl_outw(0x5500, PORT_PCCR); /* 01 01 01 01 00 00 00 00 */ | ||
100 | |||
101 | /* D7 GPO(PD7); D6 GPO(PD6); D5 GPO(PD5); D4 GPO(PD4); | ||
102 | * D3 GPO(PD3); D2 GPO(PD2); D1 GPO(PD1); D0 GPO(PD0); | ||
103 | */ | ||
104 | ctrl_outw(0x5555, PORT_PDCR); /* 01 01 01 01 01 01 01 01 */ | ||
105 | |||
106 | /* E7 (x); E6 GPI(nu); E5 GPI(nu); E4 LCD_M_DISP; | ||
107 | * E3 LCD_CL1; E2 LCD_CL2; E1 LCD_DON; E0 LCD_FLM; | ||
108 | */ | ||
109 | ctrl_outw(0x3C00, PORT_PECR); /* 00 11 11 00 00 00 00 00 */ | ||
110 | |||
111 | /* F7 (x); F6 DA1(VLCD); F5 DA0(nc); F4 AN3; | ||
112 | * F3 AN2(MID_AD); F2 AN1(EARTH_AD); F1 AN0(TEMP); F0 GPI+(nc); | ||
113 | */ | ||
114 | ctrl_outw(0x0002, PORT_PFCR); /* 00 00 00 00 00 00 00 10 */ | ||
115 | |||
116 | /* G7 (x); G6 IRQ5(TOUCH_BUSY); G5 IRQ4(TOUCH_IRQ); G4 GPI(KEY2); | ||
117 | * G3 GPI(KEY1); G2 GPO(LED11); G1 GPO(LED10); G0 GPO(LED9); | ||
118 | */ | ||
119 | ctrl_outw(0x03D5, PORT_PGCR); /* 00 00 00 11 11 01 01 01 */ | ||
120 | |||
121 | /* H7 (x); H6 /RAS(BRAS); H5 /CAS(BCAS); H4 CKE(BCKE); | ||
122 | * H3 GPO(EARTH_OFF); H2 GPO(EARTH_TEST); H1 USB2_PWR; H0 USB1_PWR; | ||
123 | */ | ||
124 | ctrl_outw(0x0050, PORT_PHCR); /* 00 00 00 00 01 01 00 00 */ | ||
125 | |||
126 | /* J7 (x); J6 AUDCK; J5 ASEBRKAK; J4 AUDATA3; | ||
127 | * J3 AUDATA2; J2 AUDATA1; J1 AUDATA0; J0 AUDSYNC; | ||
128 | */ | ||
129 | ctrl_outw(0x0000, PORT_PJCR); /* 00 00 00 00 00 00 00 00 */ | ||
130 | |||
131 | /* K7 (x); K6 (x); K5 (x); K4 (x); | ||
132 | * K3 PINT7(/PWR2); K2 PINT6(/PWR1); K1 PINT5(nu); K0 PINT4(FLASH_READY) | ||
133 | */ | ||
134 | ctrl_outw(0x00FF, PORT_PKCR); /* 00 00 00 00 11 11 11 11 */ | ||
135 | |||
136 | /* L7 TRST; L6 TMS; L5 TDO; L4 TDI; | ||
137 | * L3 TCK; L2 (x); L1 (x); L0 (x); | ||
138 | */ | ||
139 | ctrl_outw(0x0000, PORT_PLCR); /* 00 00 00 00 00 00 00 00 */ | ||
140 | |||
141 | /* M7 GPO(CURRENT_SINK); M6 GPO(PWR_SWITCH); M5 GPO(LAN_SPEED); | ||
142 | * M4 GPO(LAN_RESET); M3 GPO(BUZZER); M2 GPO(LCD_BL); | ||
143 | * M1 CS5B(CAN3_CS); M0 GPI+(nc); | ||
144 | */ | ||
145 | ctrl_outw(0x5552, PORT_PMCR); /* 01 01 01 01 01 01 00 10 */ | ||
146 | |||
147 | /* CURRENT_SINK=off, PWR_SWITCH=off, LAN_SPEED=100MBit, | ||
148 | * LAN_RESET=off, BUZZER=off, LCD_BL=off | ||
149 | */ | ||
150 | #if CONFIG_SH_MAGIC_PANEL_R2_VERSION == 2 | ||
151 | ctrl_outb(0x30, PORT_PMDR); | ||
152 | #elif CONFIG_SH_MAGIC_PANEL_R2_VERSION == 3 | ||
153 | ctrl_outb(0xF0, PORT_PMDR); | ||
154 | #else | ||
155 | #error Unknown revision of PLATFORM_MP_R2 | ||
156 | #endif | ||
157 | |||
158 | /* P7 (x); P6 (x); P5 (x); | ||
159 | * P4 GPO(nu); P3 IRQ3(LAN_IRQ); P2 IRQ2(CAN3_IRQ); | ||
160 | * P1 IRQ1(CAN2_IRQ); P0 IRQ0(CAN1_IRQ) | ||
161 | */ | ||
162 | ctrl_outw(0x0100, PORT_PPCR); /* 00 00 00 01 00 00 00 00 */ | ||
163 | ctrl_outb(0x10, PORT_PPDR); | ||
164 | |||
165 | /* R7 A25; R6 A24; R5 A23; R4 A22; | ||
166 | * R3 A21; R2 A20; R1 A19; R0 A0; | ||
167 | */ | ||
168 | ctrl_outw(0x0000, PORT_PRCR); /* 00 00 00 00 00 00 00 00 */ | ||
169 | |||
170 | /* S7 (x); S6 (x); S5 (x); S4 GPO(EEPROM_CS2); | ||
171 | * S3 GPO(EEPROM_CS1); S2 SIOF0_TXD; S1 SIOF0_RXD; S0 SIOF0_SCK; | ||
172 | */ | ||
173 | ctrl_outw(0x0140, PORT_PSCR); /* 00 00 00 01 01 00 00 00 */ | ||
174 | |||
175 | /* T7 (x); T6 (x); T5 (x); T4 COM1_CTS; | ||
176 | * T3 COM1_RTS; T2 COM1_TXD; T1 COM1_RXD; T0 GPO(WDOG) | ||
177 | */ | ||
178 | ctrl_outw(0x0001, PORT_PTCR); /* 00 00 00 00 00 00 00 01 */ | ||
179 | |||
180 | /* U7 (x); U6 (x); U5 (x); U4 GPI+(/AC_FAULT); | ||
181 | * U3 GPO(TOUCH_CS); U2 TOUCH_TXD; U1 TOUCH_RXD; U0 TOUCH_SCK; | ||
182 | */ | ||
183 | ctrl_outw(0x0240, PORT_PUCR); /* 00 00 00 10 01 00 00 00 */ | ||
184 | |||
185 | /* V7 (x); V6 (x); V5 (x); V4 GPO(MID2); | ||
186 | * V3 GPO(MID1); V2 CARD_TxD; V1 CARD_RxD; V0 GPI+(/BAT_FAULT); | ||
187 | */ | ||
188 | ctrl_outw(0x0142, PORT_PVCR); /* 00 00 00 01 01 00 00 10 */ | ||
189 | } | ||
190 | |||
191 | static void __init mpr2_setup(char **cmdline_p) | ||
192 | { | ||
193 | __set_io_port_base(0xa0000000); | ||
194 | |||
195 | /* set Pin Select Register A: | ||
196 | * /PCC_CD1, /PCC_CD2, PCC_BVD1, PCC_BVD2, | ||
197 | * /IOIS16, IRQ4, IRQ5, USB1d_SUSPEND | ||
198 | */ | ||
199 | ctrl_outw(0xAABC, PORT_PSELA); | ||
200 | /* set Pin Select Register B: | ||
201 | * /SCIF0_RTS, /SCIF0_CTS, LCD_VCPWC, | ||
202 | * LCD_VEPWC, IIC_SDA, IIC_SCL, Reserved | ||
203 | */ | ||
204 | ctrl_outw(0x3C00, PORT_PSELB); | ||
205 | /* set Pin Select Register C: | ||
206 | * SIOF1_SCK, SIOF1_RxD, SCIF1_RxD, SCIF1_TxD, Reserved | ||
207 | */ | ||
208 | ctrl_outw(0x0000, PORT_PSELC); | ||
209 | /* set Pin Select Register D: Reserved, SIOF1_TxD, Reserved, SIOF1_MCLK, | ||
210 | * Reserved, SIOF1_SYNC, Reserved, SCIF1_SCK, Reserved | ||
211 | */ | ||
212 | ctrl_outw(0x0000, PORT_PSELD); | ||
213 | /* set USB TxRx Control: Reserved, DRV, Reserved, USB_TRANS, USB_SEL */ | ||
214 | ctrl_outw(0x0101, PORT_UTRCTL); | ||
215 | /* set USB Clock Control: USSCS, USSTB, Reserved (HighByte always A5) */ | ||
216 | ctrl_outw(0xA5C0, PORT_UCLKCR_W); | ||
217 | |||
218 | setup_chip_select(); | ||
219 | |||
220 | setup_port_multiplexing(); | ||
221 | |||
222 | reset_ethernet(); | ||
223 | |||
224 | printk(KERN_INFO "Magic Panel Release 2 A.%i\n", | ||
225 | CONFIG_SH_MAGIC_PANEL_R2_VERSION); | ||
226 | |||
227 | if (ethernet_reset_finished() == 0) | ||
228 | printk(KERN_WARNING "Ethernet not ready\n"); | ||
229 | } | ||
230 | |||
231 | static struct resource smc911x_resources[] = { | ||
232 | [0] = { | ||
233 | .start = 0xa8000000, | ||
234 | .end = 0xabffffff, | ||
235 | .flags = IORESOURCE_MEM, | ||
236 | }, | ||
237 | [1] = { | ||
238 | .start = 35, | ||
239 | .end = 35, | ||
240 | .flags = IORESOURCE_IRQ, | ||
241 | }, | ||
242 | }; | ||
243 | |||
244 | static struct platform_device smc911x_device = { | ||
245 | .name = "smc911x", | ||
246 | .id = -1, | ||
247 | .num_resources = ARRAY_SIZE(smc911x_resources), | ||
248 | .resource = smc911x_resources, | ||
249 | }; | ||
250 | |||
251 | static struct resource heartbeat_resources[] = { | ||
252 | [0] = { | ||
253 | .start = PA_LED, | ||
254 | .end = PA_LED, | ||
255 | .flags = IORESOURCE_MEM, | ||
256 | }, | ||
257 | }; | ||
258 | |||
259 | static struct heartbeat_data heartbeat_data = { | ||
260 | .flags = HEARTBEAT_INVERTED, | ||
261 | }; | ||
262 | |||
263 | static struct platform_device heartbeat_device = { | ||
264 | .name = "heartbeat", | ||
265 | .id = -1, | ||
266 | .dev = { | ||
267 | .platform_data = &heartbeat_data, | ||
268 | }, | ||
269 | .num_resources = ARRAY_SIZE(heartbeat_resources), | ||
270 | .resource = heartbeat_resources, | ||
271 | }; | ||
272 | |||
273 | static struct platform_device *mpr2_devices[] __initdata = { | ||
274 | &heartbeat_device, | ||
275 | &smc911x_device, | ||
276 | }; | ||
277 | |||
278 | static int __init mpr2_devices_setup(void) | ||
279 | { | ||
280 | return platform_add_devices(mpr2_devices, ARRAY_SIZE(mpr2_devices)); | ||
281 | } | ||
282 | device_initcall(mpr2_devices_setup); | ||
283 | |||
284 | /* | ||
285 | * Initialize IRQ setting | ||
286 | */ | ||
287 | static void __init init_mpr2_IRQ(void) | ||
288 | { | ||
289 | plat_irq_setup_pins(IRQ_MODE_IRQ); /* install handlers for IRQ0-5 */ | ||
290 | |||
291 | set_irq_type(32, IRQ_TYPE_LEVEL_LOW); /* IRQ0 CAN1 */ | ||
292 | set_irq_type(33, IRQ_TYPE_LEVEL_LOW); /* IRQ1 CAN2 */ | ||
293 | set_irq_type(34, IRQ_TYPE_LEVEL_LOW); /* IRQ2 CAN3 */ | ||
294 | set_irq_type(35, IRQ_TYPE_LEVEL_LOW); /* IRQ3 SMSC9115 */ | ||
295 | set_irq_type(36, IRQ_TYPE_EDGE_RISING); /* IRQ4 touchscreen */ | ||
296 | set_irq_type(37, IRQ_TYPE_EDGE_FALLING); /* IRQ5 touchscreen */ | ||
297 | |||
298 | intc_set_priority(32, 13); /* IRQ0 CAN1 */ | ||
299 | intc_set_priority(33, 13); /* IRQ0 CAN2 */ | ||
300 | intc_set_priority(34, 13); /* IRQ0 CAN3 */ | ||
301 | intc_set_priority(35, 6); /* IRQ3 SMSC9115 */ | ||
302 | } | ||
303 | |||
304 | /* | ||
305 | * The Machine Vector | ||
306 | */ | ||
307 | |||
308 | static struct sh_machine_vector mv_mpr2 __initmv = { | ||
309 | .mv_name = "mpr2", | ||
310 | .mv_setup = mpr2_setup, | ||
311 | .mv_init_irq = init_mpr2_IRQ, | ||
312 | }; | ||
diff --git a/arch/sh/configs/magicpanelr2_defconfig b/arch/sh/configs/magicpanelr2_defconfig new file mode 100644 index 000000000000..ce4e76491be1 --- /dev/null +++ b/arch/sh/configs/magicpanelr2_defconfig | |||
@@ -0,0 +1,923 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.23-rc2 | ||
4 | # Fri Aug 17 12:15:16 2007 | ||
5 | # | ||
6 | CONFIG_SUPERH=y | ||
7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
8 | CONFIG_GENERIC_BUG=y | ||
9 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
10 | CONFIG_GENERIC_HWEIGHT=y | ||
11 | CONFIG_GENERIC_HARDIRQS=y | ||
12 | CONFIG_GENERIC_IRQ_PROBE=y | ||
13 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
14 | CONFIG_GENERIC_TIME=y | ||
15 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
16 | CONFIG_STACKTRACE_SUPPORT=y | ||
17 | CONFIG_LOCKDEP_SUPPORT=y | ||
18 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
19 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
20 | CONFIG_ARCH_NO_VIRT_TO_BUS=y | ||
21 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
22 | |||
23 | # | ||
24 | # General setup | ||
25 | # | ||
26 | CONFIG_EXPERIMENTAL=y | ||
27 | CONFIG_BROKEN_ON_SMP=y | ||
28 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
29 | CONFIG_LOCALVERSION="" | ||
30 | # CONFIG_LOCALVERSION_AUTO is not set | ||
31 | CONFIG_SWAP=y | ||
32 | CONFIG_SYSVIPC=y | ||
33 | CONFIG_SYSVIPC_SYSCTL=y | ||
34 | CONFIG_POSIX_MQUEUE=y | ||
35 | CONFIG_BSD_PROCESS_ACCT=y | ||
36 | CONFIG_BSD_PROCESS_ACCT_V3=y | ||
37 | # CONFIG_TASKSTATS is not set | ||
38 | # CONFIG_USER_NS is not set | ||
39 | CONFIG_AUDIT=y | ||
40 | # CONFIG_IKCONFIG is not set | ||
41 | CONFIG_LOG_BUF_SHIFT=17 | ||
42 | CONFIG_SYSFS_DEPRECATED=y | ||
43 | CONFIG_RELAY=y | ||
44 | CONFIG_BLK_DEV_INITRD=y | ||
45 | CONFIG_INITRAMFS_SOURCE="" | ||
46 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
47 | CONFIG_SYSCTL=y | ||
48 | CONFIG_EMBEDDED=y | ||
49 | CONFIG_UID16=y | ||
50 | CONFIG_SYSCTL_SYSCALL=y | ||
51 | CONFIG_KALLSYMS=y | ||
52 | CONFIG_KALLSYMS_ALL=y | ||
53 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
54 | CONFIG_HOTPLUG=y | ||
55 | CONFIG_PRINTK=y | ||
56 | CONFIG_BUG=y | ||
57 | CONFIG_ELF_CORE=y | ||
58 | CONFIG_BASE_FULL=y | ||
59 | CONFIG_FUTEX=y | ||
60 | CONFIG_ANON_INODES=y | ||
61 | CONFIG_EPOLL=y | ||
62 | CONFIG_SIGNALFD=y | ||
63 | CONFIG_TIMERFD=y | ||
64 | CONFIG_EVENTFD=y | ||
65 | CONFIG_SHMEM=y | ||
66 | CONFIG_VM_EVENT_COUNTERS=y | ||
67 | CONFIG_SLAB=y | ||
68 | # CONFIG_SLUB is not set | ||
69 | # CONFIG_SLOB is not set | ||
70 | CONFIG_RT_MUTEXES=y | ||
71 | # CONFIG_TINY_SHMEM is not set | ||
72 | CONFIG_BASE_SMALL=0 | ||
73 | CONFIG_MODULES=y | ||
74 | CONFIG_MODULE_UNLOAD=y | ||
75 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
76 | CONFIG_MODVERSIONS=y | ||
77 | CONFIG_MODULE_SRCVERSION_ALL=y | ||
78 | CONFIG_KMOD=y | ||
79 | CONFIG_BLOCK=y | ||
80 | # CONFIG_LBD is not set | ||
81 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
82 | # CONFIG_LSF is not set | ||
83 | # CONFIG_BLK_DEV_BSG is not set | ||
84 | |||
85 | # | ||
86 | # IO Schedulers | ||
87 | # | ||
88 | CONFIG_IOSCHED_NOOP=y | ||
89 | # CONFIG_IOSCHED_AS is not set | ||
90 | # CONFIG_IOSCHED_DEADLINE is not set | ||
91 | # CONFIG_IOSCHED_CFQ is not set | ||
92 | # CONFIG_DEFAULT_AS is not set | ||
93 | # CONFIG_DEFAULT_DEADLINE is not set | ||
94 | # CONFIG_DEFAULT_CFQ is not set | ||
95 | CONFIG_DEFAULT_NOOP=y | ||
96 | CONFIG_DEFAULT_IOSCHED="noop" | ||
97 | |||
98 | # | ||
99 | # System type | ||
100 | # | ||
101 | CONFIG_CPU_SH3=y | ||
102 | # CONFIG_CPU_SUBTYPE_SH7619 is not set | ||
103 | # CONFIG_CPU_SUBTYPE_SH7206 is not set | ||
104 | # CONFIG_CPU_SUBTYPE_SH7705 is not set | ||
105 | # CONFIG_CPU_SUBTYPE_SH7706 is not set | ||
106 | # CONFIG_CPU_SUBTYPE_SH7707 is not set | ||
107 | # CONFIG_CPU_SUBTYPE_SH7708 is not set | ||
108 | # CONFIG_CPU_SUBTYPE_SH7709 is not set | ||
109 | # CONFIG_CPU_SUBTYPE_SH7710 is not set | ||
110 | # CONFIG_CPU_SUBTYPE_SH7712 is not set | ||
111 | CONFIG_CPU_SUBTYPE_SH7720=y | ||
112 | # CONFIG_CPU_SUBTYPE_SH7750 is not set | ||
113 | # CONFIG_CPU_SUBTYPE_SH7091 is not set | ||
114 | # CONFIG_CPU_SUBTYPE_SH7750R is not set | ||
115 | # CONFIG_CPU_SUBTYPE_SH7750S is not set | ||
116 | # CONFIG_CPU_SUBTYPE_SH7751 is not set | ||
117 | # CONFIG_CPU_SUBTYPE_SH7751R is not set | ||
118 | # CONFIG_CPU_SUBTYPE_SH7760 is not set | ||
119 | # CONFIG_CPU_SUBTYPE_SH4_202 is not set | ||
120 | # CONFIG_CPU_SUBTYPE_ST40STB1 is not set | ||
121 | # CONFIG_CPU_SUBTYPE_ST40GX1 is not set | ||
122 | # CONFIG_CPU_SUBTYPE_SH7770 is not set | ||
123 | # CONFIG_CPU_SUBTYPE_SH7780 is not set | ||
124 | # CONFIG_CPU_SUBTYPE_SH7785 is not set | ||
125 | # CONFIG_CPU_SUBTYPE_SHX3 is not set | ||
126 | # CONFIG_CPU_SUBTYPE_SH7343 is not set | ||
127 | # CONFIG_CPU_SUBTYPE_SH7722 is not set | ||
128 | |||
129 | # | ||
130 | # Memory management options | ||
131 | # | ||
132 | CONFIG_QUICKLIST=y | ||
133 | CONFIG_MMU=y | ||
134 | CONFIG_PAGE_OFFSET=0x80000000 | ||
135 | CONFIG_MEMORY_START=0x0C000000 | ||
136 | CONFIG_MEMORY_SIZE=0x03F00000 | ||
137 | CONFIG_VSYSCALL=y | ||
138 | CONFIG_ARCH_FLATMEM_ENABLE=y | ||
139 | CONFIG_ARCH_SPARSEMEM_ENABLE=y | ||
140 | CONFIG_ARCH_SPARSEMEM_DEFAULT=y | ||
141 | CONFIG_MAX_ACTIVE_REGIONS=1 | ||
142 | CONFIG_ARCH_POPULATES_NODE_MAP=y | ||
143 | CONFIG_ARCH_SELECT_MEMORY_MODEL=y | ||
144 | CONFIG_PAGE_SIZE_4KB=y | ||
145 | # CONFIG_PAGE_SIZE_8KB is not set | ||
146 | # CONFIG_PAGE_SIZE_64KB is not set | ||
147 | CONFIG_SELECT_MEMORY_MODEL=y | ||
148 | CONFIG_FLATMEM_MANUAL=y | ||
149 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
150 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
151 | CONFIG_FLATMEM=y | ||
152 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
153 | CONFIG_SPARSEMEM_STATIC=y | ||
154 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
155 | # CONFIG_RESOURCES_64BIT is not set | ||
156 | CONFIG_ZONE_DMA_FLAG=0 | ||
157 | CONFIG_NR_QUICK=2 | ||
158 | |||
159 | # | ||
160 | # Cache configuration | ||
161 | # | ||
162 | # CONFIG_SH_DIRECT_MAPPED is not set | ||
163 | CONFIG_CACHE_WRITEBACK=y | ||
164 | # CONFIG_CACHE_WRITETHROUGH is not set | ||
165 | # CONFIG_CACHE_OFF is not set | ||
166 | |||
167 | # | ||
168 | # Processor features | ||
169 | # | ||
170 | CONFIG_CPU_LITTLE_ENDIAN=y | ||
171 | # CONFIG_CPU_BIG_ENDIAN is not set | ||
172 | # CONFIG_SH_FPU_EMU is not set | ||
173 | CONFIG_SH_DSP=y | ||
174 | CONFIG_SH_ADC=y | ||
175 | CONFIG_CPU_HAS_INTEVT=y | ||
176 | CONFIG_CPU_HAS_INTC_IRQ=y | ||
177 | CONFIG_CPU_HAS_SR_RB=y | ||
178 | CONFIG_CPU_HAS_DSP=y | ||
179 | |||
180 | # | ||
181 | # Board support | ||
182 | # | ||
183 | CONFIG_SH_MAGIC_PANEL_R2=y | ||
184 | |||
185 | # | ||
186 | # Magic Panel R2 options | ||
187 | # | ||
188 | CONFIG_SH_MAGIC_PANEL_R2_VERSION=2 | ||
189 | |||
190 | # | ||
191 | # Timer and clock configuration | ||
192 | # | ||
193 | CONFIG_SH_TMU=y | ||
194 | CONFIG_SH_TIMER_IRQ=16 | ||
195 | CONFIG_SH_PCLK_FREQ=24000000 | ||
196 | # CONFIG_TICK_ONESHOT is not set | ||
197 | # CONFIG_NO_HZ is not set | ||
198 | # CONFIG_HIGH_RES_TIMERS is not set | ||
199 | |||
200 | # | ||
201 | # CPU Frequency scaling | ||
202 | # | ||
203 | # CONFIG_CPU_FREQ is not set | ||
204 | |||
205 | # | ||
206 | # DMA support | ||
207 | # | ||
208 | CONFIG_SH_DMA_API=y | ||
209 | CONFIG_SH_DMA=y | ||
210 | CONFIG_NR_ONCHIP_DMA_CHANNELS=6 | ||
211 | # CONFIG_NR_DMA_CHANNELS_BOOL is not set | ||
212 | |||
213 | # | ||
214 | # Companion Chips | ||
215 | # | ||
216 | |||
217 | # | ||
218 | # Additional SuperH Device Drivers | ||
219 | # | ||
220 | CONFIG_HEARTBEAT=y | ||
221 | # CONFIG_PUSH_SWITCH is not set | ||
222 | |||
223 | # | ||
224 | # Kernel features | ||
225 | # | ||
226 | # CONFIG_HZ_100 is not set | ||
227 | CONFIG_HZ_250=y | ||
228 | # CONFIG_HZ_300 is not set | ||
229 | # CONFIG_HZ_1000 is not set | ||
230 | CONFIG_HZ=250 | ||
231 | # CONFIG_KEXEC is not set | ||
232 | # CONFIG_CRASH_DUMP is not set | ||
233 | CONFIG_PREEMPT_NONE=y | ||
234 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
235 | # CONFIG_PREEMPT is not set | ||
236 | |||
237 | # | ||
238 | # Boot options | ||
239 | # | ||
240 | CONFIG_ZERO_PAGE_OFFSET=0x00001000 | ||
241 | CONFIG_BOOT_LINK_OFFSET=0x00800000 | ||
242 | # CONFIG_CMDLINE_BOOL is not set | ||
243 | |||
244 | # | ||
245 | # Bus options | ||
246 | # | ||
247 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
248 | |||
249 | # | ||
250 | # PCCARD (PCMCIA/CardBus) support | ||
251 | # | ||
252 | # CONFIG_PCCARD is not set | ||
253 | |||
254 | # | ||
255 | # Executable file formats | ||
256 | # | ||
257 | CONFIG_BINFMT_ELF=y | ||
258 | # CONFIG_BINFMT_MISC is not set | ||
259 | |||
260 | # | ||
261 | # Networking | ||
262 | # | ||
263 | CONFIG_NET=y | ||
264 | |||
265 | # | ||
266 | # Networking options | ||
267 | # | ||
268 | CONFIG_PACKET=y | ||
269 | CONFIG_PACKET_MMAP=y | ||
270 | CONFIG_UNIX=y | ||
271 | # CONFIG_NET_KEY is not set | ||
272 | CONFIG_INET=y | ||
273 | # CONFIG_IP_MULTICAST is not set | ||
274 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
275 | CONFIG_IP_FIB_HASH=y | ||
276 | CONFIG_IP_PNP=y | ||
277 | CONFIG_IP_PNP_DHCP=y | ||
278 | # CONFIG_IP_PNP_BOOTP is not set | ||
279 | # CONFIG_IP_PNP_RARP is not set | ||
280 | # CONFIG_NET_IPIP is not set | ||
281 | # CONFIG_NET_IPGRE is not set | ||
282 | # CONFIG_ARPD is not set | ||
283 | # CONFIG_SYN_COOKIES is not set | ||
284 | # CONFIG_INET_AH is not set | ||
285 | # CONFIG_INET_ESP is not set | ||
286 | # CONFIG_INET_IPCOMP is not set | ||
287 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
288 | # CONFIG_INET_TUNNEL is not set | ||
289 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
290 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
291 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
292 | CONFIG_INET_DIAG=y | ||
293 | CONFIG_INET_TCP_DIAG=y | ||
294 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
295 | CONFIG_TCP_CONG_CUBIC=y | ||
296 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
297 | # CONFIG_TCP_MD5SIG is not set | ||
298 | # CONFIG_IPV6 is not set | ||
299 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
300 | # CONFIG_INET6_TUNNEL is not set | ||
301 | # CONFIG_NETWORK_SECMARK is not set | ||
302 | # CONFIG_NETFILTER is not set | ||
303 | # CONFIG_IP_DCCP is not set | ||
304 | # CONFIG_IP_SCTP is not set | ||
305 | # CONFIG_TIPC is not set | ||
306 | # CONFIG_ATM is not set | ||
307 | # CONFIG_BRIDGE is not set | ||
308 | # CONFIG_VLAN_8021Q is not set | ||
309 | # CONFIG_DECNET is not set | ||
310 | # CONFIG_LLC2 is not set | ||
311 | # CONFIG_IPX is not set | ||
312 | # CONFIG_ATALK is not set | ||
313 | # CONFIG_X25 is not set | ||
314 | # CONFIG_LAPB is not set | ||
315 | # CONFIG_ECONET is not set | ||
316 | # CONFIG_WAN_ROUTER is not set | ||
317 | |||
318 | # | ||
319 | # QoS and/or fair queueing | ||
320 | # | ||
321 | # CONFIG_NET_SCHED is not set | ||
322 | |||
323 | # | ||
324 | # Network testing | ||
325 | # | ||
326 | # CONFIG_NET_PKTGEN is not set | ||
327 | # CONFIG_HAMRADIO is not set | ||
328 | # CONFIG_IRDA is not set | ||
329 | # CONFIG_BT is not set | ||
330 | # CONFIG_AF_RXRPC is not set | ||
331 | |||
332 | # | ||
333 | # Wireless | ||
334 | # | ||
335 | # CONFIG_CFG80211 is not set | ||
336 | # CONFIG_WIRELESS_EXT is not set | ||
337 | # CONFIG_MAC80211 is not set | ||
338 | # CONFIG_IEEE80211 is not set | ||
339 | # CONFIG_RFKILL is not set | ||
340 | # CONFIG_NET_9P is not set | ||
341 | |||
342 | # | ||
343 | # Device Drivers | ||
344 | # | ||
345 | |||
346 | # | ||
347 | # Generic Driver Options | ||
348 | # | ||
349 | # CONFIG_STANDALONE is not set | ||
350 | # CONFIG_PREVENT_FIRMWARE_BUILD is not set | ||
351 | CONFIG_FW_LOADER=y | ||
352 | # CONFIG_DEBUG_DRIVER is not set | ||
353 | # CONFIG_DEBUG_DEVRES is not set | ||
354 | # CONFIG_SYS_HYPERVISOR is not set | ||
355 | # CONFIG_CONNECTOR is not set | ||
356 | CONFIG_MTD=y | ||
357 | # CONFIG_MTD_DEBUG is not set | ||
358 | # CONFIG_MTD_CONCAT is not set | ||
359 | CONFIG_MTD_PARTITIONS=y | ||
360 | CONFIG_MTD_REDBOOT_PARTS=y | ||
361 | CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 | ||
362 | # CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set | ||
363 | # CONFIG_MTD_REDBOOT_PARTS_READONLY is not set | ||
364 | CONFIG_MTD_CMDLINE_PARTS=y | ||
365 | |||
366 | # | ||
367 | # User Modules And Translation Layers | ||
368 | # | ||
369 | CONFIG_MTD_CHAR=y | ||
370 | CONFIG_MTD_BLKDEVS=y | ||
371 | CONFIG_MTD_BLOCK=y | ||
372 | # CONFIG_FTL is not set | ||
373 | # CONFIG_NFTL is not set | ||
374 | # CONFIG_INFTL is not set | ||
375 | # CONFIG_RFD_FTL is not set | ||
376 | # CONFIG_SSFDC is not set | ||
377 | |||
378 | # | ||
379 | # RAM/ROM/Flash chip drivers | ||
380 | # | ||
381 | CONFIG_MTD_CFI=y | ||
382 | # CONFIG_MTD_JEDECPROBE is not set | ||
383 | CONFIG_MTD_GEN_PROBE=y | ||
384 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
385 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
386 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
387 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
388 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
389 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
390 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
391 | CONFIG_MTD_CFI_I1=y | ||
392 | CONFIG_MTD_CFI_I2=y | ||
393 | # CONFIG_MTD_CFI_I4 is not set | ||
394 | # CONFIG_MTD_CFI_I8 is not set | ||
395 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
396 | CONFIG_MTD_CFI_AMDSTD=y | ||
397 | # CONFIG_MTD_CFI_STAA is not set | ||
398 | CONFIG_MTD_CFI_UTIL=y | ||
399 | # CONFIG_MTD_RAM is not set | ||
400 | # CONFIG_MTD_ROM is not set | ||
401 | # CONFIG_MTD_ABSENT is not set | ||
402 | |||
403 | # | ||
404 | # Mapping drivers for chip access | ||
405 | # | ||
406 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
407 | # CONFIG_MTD_PHYSMAP is not set | ||
408 | # CONFIG_MTD_SOLUTIONENGINE is not set | ||
409 | CONFIG_MTD_MAGICPANELR2=y | ||
410 | # CONFIG_MTD_PLATRAM is not set | ||
411 | |||
412 | # | ||
413 | # Self-contained MTD device drivers | ||
414 | # | ||
415 | # CONFIG_MTD_SLRAM is not set | ||
416 | # CONFIG_MTD_PHRAM is not set | ||
417 | # CONFIG_MTD_MTDRAM is not set | ||
418 | # CONFIG_MTD_BLOCK2MTD is not set | ||
419 | |||
420 | # | ||
421 | # Disk-On-Chip Device Drivers | ||
422 | # | ||
423 | # CONFIG_MTD_DOC2000 is not set | ||
424 | # CONFIG_MTD_DOC2001 is not set | ||
425 | # CONFIG_MTD_DOC2001PLUS is not set | ||
426 | # CONFIG_MTD_NAND is not set | ||
427 | # CONFIG_MTD_ONENAND is not set | ||
428 | |||
429 | # | ||
430 | # UBI - Unsorted block images | ||
431 | # | ||
432 | # CONFIG_MTD_UBI is not set | ||
433 | # CONFIG_PARPORT is not set | ||
434 | CONFIG_BLK_DEV=y | ||
435 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
436 | # CONFIG_BLK_DEV_LOOP is not set | ||
437 | # CONFIG_BLK_DEV_NBD is not set | ||
438 | CONFIG_BLK_DEV_RAM=y | ||
439 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
440 | CONFIG_BLK_DEV_RAM_SIZE=65536 | ||
441 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | ||
442 | # CONFIG_CDROM_PKTCDVD is not set | ||
443 | # CONFIG_ATA_OVER_ETH is not set | ||
444 | CONFIG_MISC_DEVICES=y | ||
445 | # CONFIG_EEPROM_93CX6 is not set | ||
446 | # CONFIG_IDE is not set | ||
447 | |||
448 | # | ||
449 | # SCSI device support | ||
450 | # | ||
451 | # CONFIG_RAID_ATTRS is not set | ||
452 | # CONFIG_SCSI is not set | ||
453 | # CONFIG_SCSI_DMA is not set | ||
454 | # CONFIG_SCSI_NETLINK is not set | ||
455 | # CONFIG_ATA is not set | ||
456 | # CONFIG_MD is not set | ||
457 | CONFIG_NETDEVICES=y | ||
458 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
459 | # CONFIG_DUMMY is not set | ||
460 | # CONFIG_BONDING is not set | ||
461 | # CONFIG_MACVLAN is not set | ||
462 | # CONFIG_EQUALIZER is not set | ||
463 | # CONFIG_TUN is not set | ||
464 | # CONFIG_PHYLIB is not set | ||
465 | CONFIG_NET_ETHERNET=y | ||
466 | CONFIG_MII=y | ||
467 | # CONFIG_STNIC is not set | ||
468 | # CONFIG_SMC91X is not set | ||
469 | CONFIG_SMC911X=y | ||
470 | # CONFIG_NETDEV_1000 is not set | ||
471 | # CONFIG_NETDEV_10000 is not set | ||
472 | |||
473 | # | ||
474 | # Wireless LAN | ||
475 | # | ||
476 | # CONFIG_WLAN_PRE80211 is not set | ||
477 | # CONFIG_WLAN_80211 is not set | ||
478 | # CONFIG_WAN is not set | ||
479 | # CONFIG_PPP is not set | ||
480 | # CONFIG_SLIP is not set | ||
481 | # CONFIG_SHAPER is not set | ||
482 | # CONFIG_NETCONSOLE is not set | ||
483 | # CONFIG_NETPOLL is not set | ||
484 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
485 | # CONFIG_ISDN is not set | ||
486 | # CONFIG_PHONE is not set | ||
487 | |||
488 | # | ||
489 | # Input device support | ||
490 | # | ||
491 | CONFIG_INPUT=y | ||
492 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
493 | # CONFIG_INPUT_POLLDEV is not set | ||
494 | |||
495 | # | ||
496 | # Userland interfaces | ||
497 | # | ||
498 | CONFIG_INPUT_MOUSEDEV=y | ||
499 | CONFIG_INPUT_MOUSEDEV_PSAUX=y | ||
500 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
501 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
502 | # CONFIG_INPUT_JOYDEV is not set | ||
503 | # CONFIG_INPUT_TSDEV is not set | ||
504 | CONFIG_INPUT_EVDEV=y | ||
505 | # CONFIG_INPUT_EVBUG is not set | ||
506 | |||
507 | # | ||
508 | # Input Device Drivers | ||
509 | # | ||
510 | CONFIG_INPUT_KEYBOARD=y | ||
511 | CONFIG_KEYBOARD_ATKBD=y | ||
512 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
513 | # CONFIG_KEYBOARD_LKKBD is not set | ||
514 | # CONFIG_KEYBOARD_XTKBD is not set | ||
515 | # CONFIG_KEYBOARD_NEWTON is not set | ||
516 | # CONFIG_KEYBOARD_STOWAWAY is not set | ||
517 | CONFIG_INPUT_MOUSE=y | ||
518 | # CONFIG_MOUSE_PS2 is not set | ||
519 | # CONFIG_MOUSE_SERIAL is not set | ||
520 | # CONFIG_MOUSE_VSXXXAA is not set | ||
521 | # CONFIG_INPUT_JOYSTICK is not set | ||
522 | # CONFIG_INPUT_TABLET is not set | ||
523 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
524 | # CONFIG_INPUT_MISC is not set | ||
525 | |||
526 | # | ||
527 | # Hardware I/O ports | ||
528 | # | ||
529 | CONFIG_SERIO=y | ||
530 | # CONFIG_SERIO_I8042 is not set | ||
531 | CONFIG_SERIO_SERPORT=y | ||
532 | CONFIG_SERIO_LIBPS2=y | ||
533 | # CONFIG_SERIO_RAW is not set | ||
534 | # CONFIG_GAMEPORT is not set | ||
535 | |||
536 | # | ||
537 | # Character devices | ||
538 | # | ||
539 | CONFIG_VT=y | ||
540 | CONFIG_VT_CONSOLE=y | ||
541 | CONFIG_HW_CONSOLE=y | ||
542 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
543 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
544 | |||
545 | # | ||
546 | # Serial drivers | ||
547 | # | ||
548 | CONFIG_SERIAL_8250=y | ||
549 | CONFIG_SERIAL_8250_CONSOLE=y | ||
550 | CONFIG_SERIAL_8250_NR_UARTS=48 | ||
551 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 | ||
552 | CONFIG_SERIAL_8250_EXTENDED=y | ||
553 | # CONFIG_SERIAL_8250_MANY_PORTS is not set | ||
554 | CONFIG_SERIAL_8250_SHARE_IRQ=y | ||
555 | # CONFIG_SERIAL_8250_DETECT_IRQ is not set | ||
556 | # CONFIG_SERIAL_8250_RSA is not set | ||
557 | |||
558 | # | ||
559 | # Non-8250 serial port support | ||
560 | # | ||
561 | CONFIG_SERIAL_SH_SCI=y | ||
562 | CONFIG_SERIAL_SH_SCI_NR_UARTS=2 | ||
563 | CONFIG_SERIAL_SH_SCI_CONSOLE=y | ||
564 | CONFIG_SERIAL_CORE=y | ||
565 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
566 | CONFIG_UNIX98_PTYS=y | ||
567 | CONFIG_LEGACY_PTYS=y | ||
568 | CONFIG_LEGACY_PTY_COUNT=256 | ||
569 | # CONFIG_IPMI_HANDLER is not set | ||
570 | # CONFIG_WATCHDOG is not set | ||
571 | # CONFIG_HW_RANDOM is not set | ||
572 | # CONFIG_R3964 is not set | ||
573 | # CONFIG_RAW_DRIVER is not set | ||
574 | # CONFIG_TCG_TPM is not set | ||
575 | # CONFIG_I2C is not set | ||
576 | |||
577 | # | ||
578 | # SPI support | ||
579 | # | ||
580 | # CONFIG_SPI is not set | ||
581 | # CONFIG_SPI_MASTER is not set | ||
582 | # CONFIG_W1 is not set | ||
583 | # CONFIG_POWER_SUPPLY is not set | ||
584 | # CONFIG_HWMON is not set | ||
585 | |||
586 | # | ||
587 | # Multifunction device drivers | ||
588 | # | ||
589 | # CONFIG_MFD_SM501 is not set | ||
590 | |||
591 | # | ||
592 | # Multimedia devices | ||
593 | # | ||
594 | # CONFIG_VIDEO_DEV is not set | ||
595 | # CONFIG_DVB_CORE is not set | ||
596 | CONFIG_DAB=y | ||
597 | |||
598 | # | ||
599 | # Graphics support | ||
600 | # | ||
601 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
602 | |||
603 | # | ||
604 | # Display device support | ||
605 | # | ||
606 | # CONFIG_DISPLAY_SUPPORT is not set | ||
607 | # CONFIG_VGASTATE is not set | ||
608 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
609 | # CONFIG_FB is not set | ||
610 | |||
611 | # | ||
612 | # Console display driver support | ||
613 | # | ||
614 | CONFIG_DUMMY_CONSOLE=y | ||
615 | |||
616 | # | ||
617 | # Sound | ||
618 | # | ||
619 | # CONFIG_SOUND is not set | ||
620 | # CONFIG_HID_SUPPORT is not set | ||
621 | # CONFIG_USB_SUPPORT is not set | ||
622 | # CONFIG_MMC is not set | ||
623 | # CONFIG_NEW_LEDS is not set | ||
624 | CONFIG_RTC_LIB=y | ||
625 | CONFIG_RTC_CLASS=y | ||
626 | # CONFIG_RTC_HCTOSYS is not set | ||
627 | # CONFIG_RTC_DEBUG is not set | ||
628 | |||
629 | # | ||
630 | # RTC interfaces | ||
631 | # | ||
632 | CONFIG_RTC_INTF_SYSFS=y | ||
633 | CONFIG_RTC_INTF_PROC=y | ||
634 | CONFIG_RTC_INTF_DEV=y | ||
635 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
636 | # CONFIG_RTC_DRV_TEST is not set | ||
637 | |||
638 | # | ||
639 | # SPI RTC drivers | ||
640 | # | ||
641 | |||
642 | # | ||
643 | # Platform RTC drivers | ||
644 | # | ||
645 | # CONFIG_RTC_DRV_DS1553 is not set | ||
646 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
647 | # CONFIG_RTC_DRV_DS1742 is not set | ||
648 | # CONFIG_RTC_DRV_M48T86 is not set | ||
649 | # CONFIG_RTC_DRV_M48T59 is not set | ||
650 | # CONFIG_RTC_DRV_V3020 is not set | ||
651 | |||
652 | # | ||
653 | # on-CPU RTC drivers | ||
654 | # | ||
655 | CONFIG_RTC_DRV_SH=y | ||
656 | |||
657 | # | ||
658 | # DMA Engine support | ||
659 | # | ||
660 | # CONFIG_DMA_ENGINE is not set | ||
661 | |||
662 | # | ||
663 | # DMA Clients | ||
664 | # | ||
665 | |||
666 | # | ||
667 | # DMA Devices | ||
668 | # | ||
669 | |||
670 | # | ||
671 | # Userspace I/O | ||
672 | # | ||
673 | # CONFIG_UIO is not set | ||
674 | |||
675 | # | ||
676 | # File systems | ||
677 | # | ||
678 | CONFIG_EXT2_FS=y | ||
679 | # CONFIG_EXT2_FS_XATTR is not set | ||
680 | # CONFIG_EXT2_FS_XIP is not set | ||
681 | CONFIG_EXT3_FS=y | ||
682 | # CONFIG_EXT3_FS_XATTR is not set | ||
683 | # CONFIG_EXT4DEV_FS is not set | ||
684 | CONFIG_JBD=y | ||
685 | # CONFIG_JBD_DEBUG is not set | ||
686 | # CONFIG_REISERFS_FS is not set | ||
687 | # CONFIG_JFS_FS is not set | ||
688 | # CONFIG_FS_POSIX_ACL is not set | ||
689 | # CONFIG_XFS_FS is not set | ||
690 | # CONFIG_GFS2_FS is not set | ||
691 | # CONFIG_OCFS2_FS is not set | ||
692 | # CONFIG_MINIX_FS is not set | ||
693 | # CONFIG_ROMFS_FS is not set | ||
694 | # CONFIG_INOTIFY is not set | ||
695 | # CONFIG_QUOTA is not set | ||
696 | # CONFIG_DNOTIFY is not set | ||
697 | # CONFIG_AUTOFS_FS is not set | ||
698 | # CONFIG_AUTOFS4_FS is not set | ||
699 | # CONFIG_FUSE_FS is not set | ||
700 | |||
701 | # | ||
702 | # CD-ROM/DVD Filesystems | ||
703 | # | ||
704 | # CONFIG_ISO9660_FS is not set | ||
705 | # CONFIG_UDF_FS is not set | ||
706 | |||
707 | # | ||
708 | # DOS/FAT/NT Filesystems | ||
709 | # | ||
710 | # CONFIG_MSDOS_FS is not set | ||
711 | # CONFIG_VFAT_FS is not set | ||
712 | # CONFIG_NTFS_FS is not set | ||
713 | |||
714 | # | ||
715 | # Pseudo filesystems | ||
716 | # | ||
717 | CONFIG_PROC_FS=y | ||
718 | CONFIG_PROC_KCORE=y | ||
719 | CONFIG_PROC_SYSCTL=y | ||
720 | CONFIG_SYSFS=y | ||
721 | CONFIG_TMPFS=y | ||
722 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
723 | # CONFIG_HUGETLBFS is not set | ||
724 | # CONFIG_HUGETLB_PAGE is not set | ||
725 | CONFIG_RAMFS=y | ||
726 | # CONFIG_CONFIGFS_FS is not set | ||
727 | |||
728 | # | ||
729 | # Miscellaneous filesystems | ||
730 | # | ||
731 | # CONFIG_ADFS_FS is not set | ||
732 | # CONFIG_AFFS_FS is not set | ||
733 | # CONFIG_HFS_FS is not set | ||
734 | # CONFIG_HFSPLUS_FS is not set | ||
735 | # CONFIG_BEFS_FS is not set | ||
736 | # CONFIG_BFS_FS is not set | ||
737 | # CONFIG_EFS_FS is not set | ||
738 | CONFIG_JFFS2_FS=y | ||
739 | CONFIG_JFFS2_FS_DEBUG=0 | ||
740 | # CONFIG_JFFS2_FS_WRITEBUFFER is not set | ||
741 | # CONFIG_JFFS2_SUMMARY is not set | ||
742 | # CONFIG_JFFS2_FS_XATTR is not set | ||
743 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
744 | CONFIG_JFFS2_ZLIB=y | ||
745 | CONFIG_JFFS2_RTIME=y | ||
746 | # CONFIG_JFFS2_RUBIN is not set | ||
747 | # CONFIG_CRAMFS is not set | ||
748 | # CONFIG_VXFS_FS is not set | ||
749 | # CONFIG_HPFS_FS is not set | ||
750 | # CONFIG_QNX4FS_FS is not set | ||
751 | # CONFIG_SYSV_FS is not set | ||
752 | # CONFIG_UFS_FS is not set | ||
753 | |||
754 | # | ||
755 | # Network File Systems | ||
756 | # | ||
757 | CONFIG_NFS_FS=y | ||
758 | CONFIG_NFS_V3=y | ||
759 | # CONFIG_NFS_V3_ACL is not set | ||
760 | # CONFIG_NFS_V4 is not set | ||
761 | # CONFIG_NFS_DIRECTIO is not set | ||
762 | # CONFIG_NFSD is not set | ||
763 | CONFIG_ROOT_NFS=y | ||
764 | CONFIG_LOCKD=y | ||
765 | CONFIG_LOCKD_V4=y | ||
766 | CONFIG_NFS_COMMON=y | ||
767 | CONFIG_SUNRPC=y | ||
768 | CONFIG_SUNRPC_BIND34=y | ||
769 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
770 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
771 | # CONFIG_SMB_FS is not set | ||
772 | # CONFIG_CIFS is not set | ||
773 | # CONFIG_NCP_FS is not set | ||
774 | # CONFIG_CODA_FS is not set | ||
775 | # CONFIG_AFS_FS is not set | ||
776 | |||
777 | # | ||
778 | # Partition Types | ||
779 | # | ||
780 | # CONFIG_PARTITION_ADVANCED is not set | ||
781 | CONFIG_MSDOS_PARTITION=y | ||
782 | |||
783 | # | ||
784 | # Native Language Support | ||
785 | # | ||
786 | CONFIG_NLS=y | ||
787 | CONFIG_NLS_DEFAULT="cp437" | ||
788 | CONFIG_NLS_CODEPAGE_437=y | ||
789 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
790 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
791 | CONFIG_NLS_CODEPAGE_850=y | ||
792 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
793 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
794 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
795 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
796 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
797 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
798 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
799 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
800 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
801 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
802 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
803 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
804 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
805 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
806 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
807 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
808 | # CONFIG_NLS_ISO8859_8 is not set | ||
809 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
810 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
811 | # CONFIG_NLS_ASCII is not set | ||
812 | CONFIG_NLS_ISO8859_1=y | ||
813 | # CONFIG_NLS_ISO8859_2 is not set | ||
814 | # CONFIG_NLS_ISO8859_3 is not set | ||
815 | # CONFIG_NLS_ISO8859_4 is not set | ||
816 | # CONFIG_NLS_ISO8859_5 is not set | ||
817 | # CONFIG_NLS_ISO8859_6 is not set | ||
818 | # CONFIG_NLS_ISO8859_7 is not set | ||
819 | # CONFIG_NLS_ISO8859_9 is not set | ||
820 | # CONFIG_NLS_ISO8859_13 is not set | ||
821 | # CONFIG_NLS_ISO8859_14 is not set | ||
822 | # CONFIG_NLS_ISO8859_15 is not set | ||
823 | # CONFIG_NLS_KOI8_R is not set | ||
824 | # CONFIG_NLS_KOI8_U is not set | ||
825 | # CONFIG_NLS_UTF8 is not set | ||
826 | |||
827 | # | ||
828 | # Distributed Lock Manager | ||
829 | # | ||
830 | # CONFIG_DLM is not set | ||
831 | |||
832 | # | ||
833 | # Profiling support | ||
834 | # | ||
835 | # CONFIG_PROFILING is not set | ||
836 | |||
837 | # | ||
838 | # Kernel hacking | ||
839 | # | ||
840 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
841 | # CONFIG_PRINTK_TIME is not set | ||
842 | CONFIG_ENABLE_MUST_CHECK=y | ||
843 | CONFIG_MAGIC_SYSRQ=y | ||
844 | # CONFIG_UNUSED_SYMBOLS is not set | ||
845 | # CONFIG_DEBUG_FS is not set | ||
846 | # CONFIG_HEADERS_CHECK is not set | ||
847 | CONFIG_DEBUG_KERNEL=y | ||
848 | # CONFIG_DEBUG_SHIRQ is not set | ||
849 | # CONFIG_DETECT_SOFTLOCKUP is not set | ||
850 | # CONFIG_SCHED_DEBUG is not set | ||
851 | # CONFIG_SCHEDSTATS is not set | ||
852 | # CONFIG_TIMER_STATS is not set | ||
853 | # CONFIG_DEBUG_SLAB is not set | ||
854 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
855 | # CONFIG_RT_MUTEX_TESTER is not set | ||
856 | # CONFIG_DEBUG_SPINLOCK is not set | ||
857 | # CONFIG_DEBUG_MUTEXES is not set | ||
858 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
859 | # CONFIG_PROVE_LOCKING is not set | ||
860 | # CONFIG_LOCK_STAT is not set | ||
861 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
862 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
863 | CONFIG_DEBUG_KOBJECT=y | ||
864 | CONFIG_DEBUG_BUGVERBOSE=y | ||
865 | CONFIG_DEBUG_INFO=y | ||
866 | # CONFIG_DEBUG_VM is not set | ||
867 | # CONFIG_DEBUG_LIST is not set | ||
868 | CONFIG_FRAME_POINTER=y | ||
869 | # CONFIG_FORCED_INLINING is not set | ||
870 | # CONFIG_RCU_TORTURE_TEST is not set | ||
871 | # CONFIG_FAULT_INJECTION is not set | ||
872 | # CONFIG_SH_STANDARD_BIOS is not set | ||
873 | CONFIG_EARLY_SCIF_CONSOLE=y | ||
874 | CONFIG_EARLY_SCIF_CONSOLE_PORT=0xa4430000 | ||
875 | CONFIG_EARLY_PRINTK=y | ||
876 | # CONFIG_DEBUG_BOOTMEM is not set | ||
877 | # CONFIG_DEBUG_STACKOVERFLOW is not set | ||
878 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
879 | # CONFIG_4KSTACKS is not set | ||
880 | CONFIG_SH_KGDB=y | ||
881 | |||
882 | # | ||
883 | # KGDB configuration options | ||
884 | # | ||
885 | # CONFIG_MORE_COMPILE_OPTIONS is not set | ||
886 | # CONFIG_KGDB_NMI is not set | ||
887 | CONFIG_KGDB_SYSRQ=y | ||
888 | |||
889 | # | ||
890 | # Serial port setup | ||
891 | # | ||
892 | CONFIG_KGDB_DEFPORT=0 | ||
893 | CONFIG_KGDB_DEFBAUD=115200 | ||
894 | CONFIG_KGDB_DEFPARITY_N=y | ||
895 | # CONFIG_KGDB_DEFPARITY_E is not set | ||
896 | # CONFIG_KGDB_DEFPARITY_O is not set | ||
897 | CONFIG_KGDB_DEFBITS_8=y | ||
898 | # CONFIG_KGDB_DEFBITS_7 is not set | ||
899 | |||
900 | # | ||
901 | # Security options | ||
902 | # | ||
903 | # CONFIG_KEYS is not set | ||
904 | # CONFIG_SECURITY is not set | ||
905 | # CONFIG_CRYPTO is not set | ||
906 | |||
907 | # | ||
908 | # Library routines | ||
909 | # | ||
910 | CONFIG_BITREVERSE=y | ||
911 | CONFIG_CRC_CCITT=m | ||
912 | CONFIG_CRC16=m | ||
913 | # CONFIG_CRC_ITU_T is not set | ||
914 | CONFIG_CRC32=y | ||
915 | # CONFIG_CRC7 is not set | ||
916 | # CONFIG_LIBCRC32C is not set | ||
917 | CONFIG_AUDIT_GENERIC=y | ||
918 | CONFIG_ZLIB_INFLATE=y | ||
919 | CONFIG_ZLIB_DEFLATE=y | ||
920 | CONFIG_PLIST=y | ||
921 | CONFIG_HAS_IOMEM=y | ||
922 | CONFIG_HAS_IOPORT=y | ||
923 | CONFIG_HAS_DMA=y | ||
diff --git a/include/asm-sh/magicpanelr2.h b/include/asm-sh/magicpanelr2.h new file mode 100644 index 000000000000..c644a77ee357 --- /dev/null +++ b/include/asm-sh/magicpanelr2.h | |||
@@ -0,0 +1,67 @@ | |||
1 | /* | ||
2 | * include/asm-sh/magicpanelr2.h | ||
3 | * | ||
4 | * Copyright (C) 2007 Markus Brunner, Mark Jonas | ||
5 | * | ||
6 | * I/O addresses and bitmasks for Magic Panel Release 2 board | ||
7 | * | ||
8 | * This file is subject to the terms and conditions of the GNU General Public | ||
9 | * License. See the file "COPYING" in the main directory of this archive | ||
10 | * for more details. | ||
11 | */ | ||
12 | |||
13 | #ifndef __ASM_SH_MAGICPANELR2_H | ||
14 | #define __ASM_SH_MAGICPANELR2_H | ||
15 | |||
16 | #include <asm/gpio.h> | ||
17 | |||
18 | #define __IO_PREFIX mpr2 | ||
19 | #include <asm/io_generic.h> | ||
20 | |||
21 | |||
22 | #define SETBITS_OUTB(mask, reg) ctrl_outb(ctrl_inb(reg) | mask, reg) | ||
23 | #define SETBITS_OUTW(mask, reg) ctrl_outw(ctrl_inw(reg) | mask, reg) | ||
24 | #define SETBITS_OUTL(mask, reg) ctrl_outl(ctrl_inl(reg) | mask, reg) | ||
25 | #define CLRBITS_OUTB(mask, reg) ctrl_outb(ctrl_inb(reg) & ~mask, reg) | ||
26 | #define CLRBITS_OUTW(mask, reg) ctrl_outw(ctrl_inw(reg) & ~mask, reg) | ||
27 | #define CLRBITS_OUTL(mask, reg) ctrl_outl(ctrl_inl(reg) & ~mask, reg) | ||
28 | |||
29 | |||
30 | #define PA_LED PORT_PADR /* LED */ | ||
31 | |||
32 | |||
33 | /* BSC */ | ||
34 | #define CMNCR 0xA4FD0000UL | ||
35 | #define CS0BCR 0xA4FD0004UL | ||
36 | #define CS2BCR 0xA4FD0008UL | ||
37 | #define CS3BCR 0xA4FD000CUL | ||
38 | #define CS4BCR 0xA4FD0010UL | ||
39 | #define CS5ABCR 0xA4FD0014UL | ||
40 | #define CS5BBCR 0xA4FD0018UL | ||
41 | #define CS6ABCR 0xA4FD001CUL | ||
42 | #define CS6BBCR 0xA4FD0020UL | ||
43 | #define CS0WCR 0xA4FD0024UL | ||
44 | #define CS2WCR 0xA4FD0028UL | ||
45 | #define CS3WCR 0xA4FD002CUL | ||
46 | #define CS4WCR 0xA4FD0030UL | ||
47 | #define CS5AWCR 0xA4FD0034UL | ||
48 | #define CS5BWCR 0xA4FD0038UL | ||
49 | #define CS6AWCR 0xA4FD003CUL | ||
50 | #define CS6BWCR 0xA4FD0040UL | ||
51 | |||
52 | |||
53 | /* usb */ | ||
54 | |||
55 | #define PORT_UTRCTL 0xA405012CUL | ||
56 | #define PORT_UCLKCR_W 0xA40A0008UL | ||
57 | |||
58 | #define INTC_ICR0 0xA414FEE0UL | ||
59 | #define INTC_ICR1 0xA4140010UL | ||
60 | #define INTC_ICR2 0xA4140012UL | ||
61 | |||
62 | /* MTD */ | ||
63 | |||
64 | #define MPR2_MTD_BOOTLOADER_SIZE 0x00060000UL | ||
65 | #define MPR2_MTD_KERNEL_SIZE 0x00200000UL | ||
66 | |||
67 | #endif /* __ASM_SH_MAGICPANELR2_H */ | ||