aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.zh@hitachi.com>2007-03-28 11:07:35 -0400
committerPaul Mundt <lethal@hera.kernel.org>2007-05-06 22:11:55 -0400
commitb75762302e144b73f12b72c59b99401d036680aa (patch)
tree92b2ea71d705652bcb3ec9435e86fcf9c06b5757
parentcd6c7ea234dc8a8607283e056d8010b2bd3c6369 (diff)
sh: SH7780 Solution Engine board support.
This adds support for the SH7780-based Solution Engine reference board. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.zh@hitachi.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/Kconfig8
-rw-r--r--arch/sh/Makefile1
-rw-r--r--arch/sh/boards/se/7780/Makefile10
-rw-r--r--arch/sh/boards/se/7780/irq.c89
-rw-r--r--arch/sh/boards/se/7780/setup.c122
-rw-r--r--arch/sh/configs/se7780_defconfig1309
-rw-r--r--arch/sh/drivers/pci/pci-sh7780.c30
-rw-r--r--arch/sh/drivers/pci/pci-sh7780.h16
-rw-r--r--arch/sh/tools/mach-types1
-rw-r--r--include/asm-sh/se7780.h108
10 files changed, 1686 insertions, 8 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 4b6948f41d3f..0b465d622cfc 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -99,6 +99,14 @@ config SH_7751_SOLUTION_ENGINE
99 help 99 help
100 Select 7751 SolutionEngine if configuring for a Hitachi SH7751 100 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
101 evaluation board. 101 evaluation board.
102
103config SH_7780_SOLUTION_ENGINE
104 bool "SolutionEngine7780"
105 select SOLUTION_ENGINE
106 select CPU_SUBTYPE_SH7780
107 help
108 Select 7780 SolutionEngine if configuring for a Renesas SH7780
109 evaluation board.
102 110
103config SH_7300_SOLUTION_ENGINE 111config SH_7300_SOLUTION_ENGINE
104 bool "SolutionEngine7300" 112 bool "SolutionEngine7300"
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index b00ed904aa00..d7c12053160b 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -89,6 +89,7 @@ core-$(CONFIG_SH_FPU_EMU) += arch/sh/math-emu/
89# Boards 89# Boards
90machdir-$(CONFIG_SH_SOLUTION_ENGINE) := se/770x 90machdir-$(CONFIG_SH_SOLUTION_ENGINE) := se/770x
91machdir-$(CONFIG_SH_7751_SOLUTION_ENGINE) := se/7751 91machdir-$(CONFIG_SH_7751_SOLUTION_ENGINE) := se/7751
92machdir-$(CONFIG_SH_7780_SOLUTION_ENGINE) := se/7780
92machdir-$(CONFIG_SH_7300_SOLUTION_ENGINE) := se/7300 93machdir-$(CONFIG_SH_7300_SOLUTION_ENGINE) := se/7300
93machdir-$(CONFIG_SH_7343_SOLUTION_ENGINE) := se/7343 94machdir-$(CONFIG_SH_7343_SOLUTION_ENGINE) := se/7343
94machdir-$(CONFIG_SH_73180_SOLUTION_ENGINE) := se/73180 95machdir-$(CONFIG_SH_73180_SOLUTION_ENGINE) := se/73180
diff --git a/arch/sh/boards/se/7780/Makefile b/arch/sh/boards/se/7780/Makefile
new file mode 100644
index 000000000000..6b88adae3ecc
--- /dev/null
+++ b/arch/sh/boards/se/7780/Makefile
@@ -0,0 +1,10 @@
1#
2# Makefile for the HITACHI UL SolutionEngine 7780 specific parts of the kernel
3#
4# This file is subject to the terms and conditions of the GNU General Public
5# License. See the file "COPYING" in the main directory of this archive
6# for more details.
7#
8#
9
10obj-y := setup.o irq.o
diff --git a/arch/sh/boards/se/7780/irq.c b/arch/sh/boards/se/7780/irq.c
new file mode 100644
index 000000000000..3d0625c2d07b
--- /dev/null
+++ b/arch/sh/boards/se/7780/irq.c
@@ -0,0 +1,89 @@
1/*
2 * linux/arch/sh/boards/se/7780/irq.c
3 *
4 * Copyright (C) 2006,2007 Nobuhiro Iwamatsu
5 *
6 * Hitachi UL SolutionEngine 7780 Support.
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/interrupt.h>
15#include <asm/irq.h>
16#include <asm/io.h>
17#include <asm/se7780.h>
18
19#define INTC_INTMSK0 0xFFD00044
20#define INTC_INTMSKCLR0 0xFFD00064
21
22static void disable_se7780_irq(unsigned int irq)
23{
24 struct intc2_data *p = get_irq_chip_data(irq);
25 ctrl_outl(1 << p->msk_shift, INTC_INTMSK0 + p->msk_offset);
26}
27
28static void enable_se7780_irq(unsigned int irq)
29{
30 struct intc2_data *p = get_irq_chip_data(irq);
31 ctrl_outl(1 << p->msk_shift, INTC_INTMSKCLR0 + p->msk_offset);
32}
33
34static struct irq_chip se7780_irq_chip __read_mostly = {
35 .name = "SE7780",
36 .mask = disable_se7780_irq,
37 .unmask = enable_se7780_irq,
38 .mask_ack = disable_se7780_irq,
39};
40
41static struct intc2_data intc2_irq_table[] = {
42 { 2, 0, 31, 0, 31, 3 }, /* daughter board EXTINT1 */
43 { 4, 0, 30, 0, 30, 3 }, /* daughter board EXTINT2 */
44 { 6, 0, 29, 0, 29, 3 }, /* daughter board EXTINT3 */
45 { 8, 0, 28, 0, 28, 3 }, /* SMC 91C111 (LAN) */
46 { 10, 0, 27, 0, 27, 3 }, /* daughter board EXTINT4 */
47 { 4, 0, 30, 0, 30, 3 }, /* daughter board EXTINT5 */
48 { 2, 0, 31, 0, 31, 3 }, /* daughter board EXTINT6 */
49 { 2, 0, 31, 0, 31, 3 }, /* daughter board EXTINT7 */
50 { 2, 0, 31, 0, 31, 3 }, /* daughter board EXTINT8 */
51 { 0 , 0, 24, 0, 24, 3 }, /* SM501 */
52};
53
54/*
55 * Initialize IRQ setting
56 */
57void __init init_se7780_IRQ(void)
58{
59 int i ;
60
61 /* enable all interrupt at FPGA */
62 ctrl_outw(0, FPGA_INTMSK1);
63 /* mask SM501 interrupt */
64 ctrl_outw((ctrl_inw(FPGA_INTMSK1) | 0x0002), FPGA_INTMSK1);
65 /* enable all interrupt at FPGA */
66 ctrl_outw(0, FPGA_INTMSK2);
67
68 /* set FPGA INTSEL register */
69 /* FPGA + 0x06 */
70 ctrl_outw( ((IRQPIN_SM501 << IRQPOS_SM501) |
71 (IRQPIN_SMC91CX << IRQPOS_SMC91CX)), FPGA_INTSEL1);
72
73 /* FPGA + 0x08 */
74 ctrl_outw(((IRQPIN_EXTINT4 << IRQPOS_EXTINT4) |
75 (IRQPIN_EXTINT3 << IRQPOS_EXTINT3) |
76 (IRQPIN_EXTINT2 << IRQPOS_EXTINT2) |
77 (IRQPIN_EXTINT1 << IRQPOS_EXTINT1)), FPGA_INTSEL2);
78
79 /* FPGA + 0x0A */
80 ctrl_outw((IRQPIN_PCCPW << IRQPOS_PCCPW), FPGA_INTSEL3);
81
82 for (i = 0; i < ARRAY_SIZE(intc2_irq_table); i++) {
83 disable_irq_nosync(intc2_irq_table[i].irq);
84 set_irq_chip_and_handler_name( intc2_irq_table[i].irq, &se7780_irq_chip,
85 handle_level_irq, "level");
86 set_irq_chip_data( intc2_irq_table[i].irq, &intc2_irq_table[i] );
87 disable_se7780_irq(intc2_irq_table[i].irq);
88 }
89}
diff --git a/arch/sh/boards/se/7780/setup.c b/arch/sh/boards/se/7780/setup.c
new file mode 100644
index 000000000000..df7d08a24c9f
--- /dev/null
+++ b/arch/sh/boards/se/7780/setup.c
@@ -0,0 +1,122 @@
1/*
2 * linux/arch/sh/boards/se/7780/setup.c
3 *
4 * Copyright (C) 2006,2007 Nobuhiro Iwamatsu
5 *
6 * Hitachi UL SolutionEngine 7780 Support.
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/platform_device.h>
14#include <asm/machvec.h>
15#include <asm/se7780.h>
16#include <asm/io.h>
17
18/* Heartbeat */
19static unsigned char heartbeat_bit_pos[] = { 0, 1, 2, 3, 4, 5, 6, 7 };
20
21static struct resource heartbeat_resources[] = {
22 [0] = {
23 .start = PA_LED,
24 .end = PA_LED + ARRAY_SIZE(heartbeat_bit_pos) - 1,
25 .flags = IORESOURCE_MEM,
26 },
27};
28
29static struct platform_device heartbeat_device = {
30 .name = "heartbeat",
31 .id = -1,
32 .dev = {
33 .platform_data = heartbeat_bit_pos,
34 },
35 .num_resources = ARRAY_SIZE(heartbeat_resources),
36 .resource = heartbeat_resources,
37};
38
39/* SMC91x */
40static struct resource smc91x_eth_resources[] = {
41 [0] = {
42 .name = "smc91x-regs" ,
43 .start = PA_LAN + 0x300,
44 .end = PA_LAN + 0x300 + 0x10 ,
45 .flags = IORESOURCE_MEM,
46 },
47 [1] = {
48 .start = SMC_IRQ,
49 .end = SMC_IRQ,
50 .flags = IORESOURCE_IRQ,
51 },
52};
53
54static struct platform_device smc91x_eth_device = {
55 .name = "smc91x",
56 .id = 0,
57 .dev = {
58 .dma_mask = NULL, /* don't use dma */
59 .coherent_dma_mask = 0xffffffff,
60 },
61 .num_resources = ARRAY_SIZE(smc91x_eth_resources),
62 .resource = smc91x_eth_resources,
63};
64
65static struct platform_device *se7780_devices[] __initdata = {
66 &heartbeat_device,
67 &smc91x_eth_device,
68};
69
70static int __init se7780_devices_setup(void)
71{
72 return platform_add_devices(se7780_devices,
73 ARRAY_SIZE(se7780_devices));
74}
75device_initcall(se7780_devices_setup);
76
77#define GPIO_PHCR 0xFFEA000E
78#define GPIO_PMSELR 0xFFEA0080
79#define GPIO_PECR 0xFFEA0008
80
81static void __init se7780_setup(char **cmdline_p)
82{
83 /* "SH-Linux" on LED Display */
84 ctrl_outw( 'S' , PA_LED_DISP + (DISP_SEL0_ADDR << 1) );
85 ctrl_outw( 'H' , PA_LED_DISP + (DISP_SEL1_ADDR << 1) );
86 ctrl_outw( '-' , PA_LED_DISP + (DISP_SEL2_ADDR << 1) );
87 ctrl_outw( 'L' , PA_LED_DISP + (DISP_SEL3_ADDR << 1) );
88 ctrl_outw( 'i' , PA_LED_DISP + (DISP_SEL4_ADDR << 1) );
89 ctrl_outw( 'n' , PA_LED_DISP + (DISP_SEL5_ADDR << 1) );
90 ctrl_outw( 'u' , PA_LED_DISP + (DISP_SEL6_ADDR << 1) );
91 ctrl_outw( 'x' , PA_LED_DISP + (DISP_SEL7_ADDR << 1) );
92
93 printk(KERN_INFO "Hitachi UL Solutions Engine 7780SE03 support.\n");
94
95 /*
96 * PCI REQ/GNT setting
97 * REQ0/GNT0 -> USB
98 * REQ1/GNT1 -> PC Card
99 * REQ2/GNT2 -> Serial ATA
100 * REQ3/GNT3 -> PCI slot
101 */
102 ctrl_outw(0x0213, FPGA_REQSEL);
103
104 /* GPIO setting */
105 ctrl_outw(0x0000, GPIO_PECR);
106 ctrl_outw(ctrl_inw(GPIO_PHCR)&0xfff3, GPIO_PHCR);
107 ctrl_outw(0x0c00, GPIO_PMSELR);
108
109 /* iVDR Power ON */
110 ctrl_outw(0x0001, FPGA_IVDRPW);
111}
112
113/*
114 * The Machine Vector
115 */
116struct sh_machine_vector mv_se7780 __initmv = {
117 .mv_name = "Solution Engine 7780" ,
118 .mv_setup = se7780_setup ,
119 .mv_nr_irqs = 111 ,
120 .mv_init_irq = init_se7780_IRQ,
121};
122ALIAS_MV(se7780)
diff --git a/arch/sh/configs/se7780_defconfig b/arch/sh/configs/se7780_defconfig
new file mode 100644
index 000000000000..538661e98793
--- /dev/null
+++ b/arch/sh/configs/se7780_defconfig
@@ -0,0 +1,1309 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.21-rc3
4# Thu Mar 15 14:06:20 2007
5#
6CONFIG_SUPERH=y
7CONFIG_RWSEM_GENERIC_SPINLOCK=y
8CONFIG_GENERIC_BUG=y
9CONFIG_GENERIC_FIND_NEXT_BIT=y
10CONFIG_GENERIC_HWEIGHT=y
11CONFIG_GENERIC_HARDIRQS=y
12CONFIG_GENERIC_IRQ_PROBE=y
13CONFIG_GENERIC_CALIBRATE_DELAY=y
14# CONFIG_GENERIC_TIME is not set
15CONFIG_STACKTRACE_SUPPORT=y
16CONFIG_LOCKDEP_SUPPORT=y
17# CONFIG_ARCH_HAS_ILOG2_U32 is not set
18# CONFIG_ARCH_HAS_ILOG2_U64 is not set
19CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
20
21#
22# Code maturity level options
23#
24# CONFIG_EXPERIMENTAL is not set
25CONFIG_BROKEN_ON_SMP=y
26CONFIG_INIT_ENV_ARG_LIMIT=32
27
28#
29# General setup
30#
31CONFIG_LOCALVERSION=""
32CONFIG_LOCALVERSION_AUTO=y
33# CONFIG_SWAP is not set
34CONFIG_SYSVIPC=y
35# CONFIG_IPC_NS is not set
36CONFIG_SYSVIPC_SYSCTL=y
37# CONFIG_BSD_PROCESS_ACCT is not set
38# CONFIG_TASKSTATS is not set
39# CONFIG_UTS_NS is not set
40# CONFIG_AUDIT is not set
41CONFIG_IKCONFIG=y
42CONFIG_IKCONFIG_PROC=y
43CONFIG_SYSFS_DEPRECATED=y
44# CONFIG_RELAY is not set
45# CONFIG_BLK_DEV_INITRD is not set
46CONFIG_SYSCTL=y
47CONFIG_EMBEDDED=y
48CONFIG_UID16=y
49CONFIG_SYSCTL_SYSCALL=y
50# CONFIG_KALLSYMS is not set
51# CONFIG_HOTPLUG is not set
52CONFIG_PRINTK=y
53CONFIG_BUG=y
54CONFIG_ELF_CORE=y
55CONFIG_BASE_FULL=y
56CONFIG_FUTEX=y
57# CONFIG_EPOLL is not set
58CONFIG_SHMEM=y
59CONFIG_SLAB=y
60CONFIG_VM_EVENT_COUNTERS=y
61CONFIG_RT_MUTEXES=y
62# CONFIG_TINY_SHMEM is not set
63CONFIG_BASE_SMALL=0
64# CONFIG_SLOB is not set
65
66#
67# Loadable module support
68#
69CONFIG_MODULES=y
70CONFIG_MODULE_UNLOAD=y
71# CONFIG_MODVERSIONS is not set
72# CONFIG_MODULE_SRCVERSION_ALL is not set
73CONFIG_KMOD=y
74
75#
76# Block layer
77#
78CONFIG_BLOCK=y
79# CONFIG_LBD is not set
80# CONFIG_LSF is not set
81
82#
83# IO Schedulers
84#
85CONFIG_IOSCHED_NOOP=y
86# CONFIG_IOSCHED_AS is not set
87CONFIG_IOSCHED_DEADLINE=y
88# CONFIG_IOSCHED_CFQ is not set
89# CONFIG_DEFAULT_AS is not set
90CONFIG_DEFAULT_DEADLINE=y
91# CONFIG_DEFAULT_CFQ is not set
92# CONFIG_DEFAULT_NOOP is not set
93CONFIG_DEFAULT_IOSCHED="deadline"
94
95#
96# System type
97#
98CONFIG_SOLUTION_ENGINE=y
99# CONFIG_SH_SOLUTION_ENGINE is not set
100# CONFIG_SH_7751_SOLUTION_ENGINE is not set
101CONFIG_SH_7780_SOLUTION_ENGINE=y
102# CONFIG_SH_7300_SOLUTION_ENGINE is not set
103# CONFIG_SH_7343_SOLUTION_ENGINE is not set
104# CONFIG_SH_73180_SOLUTION_ENGINE is not set
105# CONFIG_SH_7751_SYSTEMH is not set
106# CONFIG_SH_HP6XX is not set
107# CONFIG_SH_SATURN is not set
108# CONFIG_SH_DREAMCAST is not set
109# CONFIG_SH_MPC1211 is not set
110# CONFIG_SH_SH03 is not set
111# CONFIG_SH_SECUREEDGE5410 is not set
112# CONFIG_SH_HS7751RVOIP is not set
113# CONFIG_SH_7710VOIPGW is not set
114# CONFIG_SH_RTS7751R2D is not set
115# CONFIG_SH_HIGHLANDER is not set
116# CONFIG_SH_EDOSK7705 is not set
117# CONFIG_SH_SH4202_MICRODEV is not set
118# CONFIG_SH_LANDISK is not set
119# CONFIG_SH_TITAN is not set
120# CONFIG_SH_SHMIN is not set
121# CONFIG_SH_7206_SOLUTION_ENGINE is not set
122# CONFIG_SH_7619_SOLUTION_ENGINE is not set
123# CONFIG_SH_UNKNOWN is not set
124
125#
126# Processor selection
127#
128CONFIG_CPU_SH4=y
129CONFIG_CPU_SH4A=y
130
131#
132# SH-2 Processor Support
133#
134# CONFIG_CPU_SUBTYPE_SH7604 is not set
135# CONFIG_CPU_SUBTYPE_SH7619 is not set
136
137#
138# SH-2A Processor Support
139#
140# CONFIG_CPU_SUBTYPE_SH7206 is not set
141
142#
143# SH-3 Processor Support
144#
145# CONFIG_CPU_SUBTYPE_SH7300 is not set
146# CONFIG_CPU_SUBTYPE_SH7705 is not set
147# CONFIG_CPU_SUBTYPE_SH7706 is not set
148# CONFIG_CPU_SUBTYPE_SH7707 is not set
149# CONFIG_CPU_SUBTYPE_SH7708 is not set
150# CONFIG_CPU_SUBTYPE_SH7709 is not set
151# CONFIG_CPU_SUBTYPE_SH7710 is not set
152
153#
154# SH-4 Processor Support
155#
156# CONFIG_CPU_SUBTYPE_SH7750 is not set
157# CONFIG_CPU_SUBTYPE_SH7091 is not set
158# CONFIG_CPU_SUBTYPE_SH7750R is not set
159# CONFIG_CPU_SUBTYPE_SH7750S is not set
160# CONFIG_CPU_SUBTYPE_SH7751 is not set
161# CONFIG_CPU_SUBTYPE_SH7751R is not set
162# CONFIG_CPU_SUBTYPE_SH7760 is not set
163# CONFIG_CPU_SUBTYPE_SH4_202 is not set
164
165#
166# ST40 Processor Support
167#
168# CONFIG_CPU_SUBTYPE_ST40STB1 is not set
169# CONFIG_CPU_SUBTYPE_ST40GX1 is not set
170
171#
172# SH-4A Processor Support
173#
174# CONFIG_CPU_SUBTYPE_SH7770 is not set
175CONFIG_CPU_SUBTYPE_SH7780=y
176# CONFIG_CPU_SUBTYPE_SH7785 is not set
177
178#
179# SH4AL-DSP Processor Support
180#
181# CONFIG_CPU_SUBTYPE_SH73180 is not set
182# CONFIG_CPU_SUBTYPE_SH7343 is not set
183# CONFIG_CPU_SUBTYPE_SH7722 is not set
184
185#
186# Memory management options
187#
188CONFIG_MMU=y
189CONFIG_PAGE_OFFSET=0x80000000
190CONFIG_MEMORY_START=0x08000000
191CONFIG_MEMORY_SIZE=0x08000000
192CONFIG_32BIT=y
193CONFIG_VSYSCALL=y
194CONFIG_PAGE_SIZE_4KB=y
195# CONFIG_PAGE_SIZE_8KB is not set
196# CONFIG_PAGE_SIZE_64KB is not set
197CONFIG_FLATMEM=y
198CONFIG_FLAT_NODE_MEM_MAP=y
199# CONFIG_SPARSEMEM_STATIC is not set
200CONFIG_SPLIT_PTLOCK_CPUS=4
201# CONFIG_RESOURCES_64BIT is not set
202CONFIG_ZONE_DMA_FLAG=0
203
204#
205# Cache configuration
206#
207# CONFIG_SH_DIRECT_MAPPED is not set
208# CONFIG_SH_WRITETHROUGH is not set
209# CONFIG_SH_OCRAM is not set
210
211#
212# Processor features
213#
214CONFIG_CPU_LITTLE_ENDIAN=y
215# CONFIG_CPU_BIG_ENDIAN is not set
216CONFIG_SH_FPU=y
217# CONFIG_SH_DSP is not set
218# CONFIG_SH_STORE_QUEUES is not set
219CONFIG_CPU_HAS_INTEVT=y
220CONFIG_CPU_HAS_INTC2_IRQ=y
221CONFIG_CPU_HAS_SR_RB=y
222
223#
224# Timer and clock configuration
225#
226CONFIG_SH_TMU=y
227CONFIG_SH_TIMER_IRQ=28
228# CONFIG_NO_IDLE_HZ is not set
229CONFIG_SH_PCLK_FREQ=33333333
230
231#
232# CPU Frequency scaling
233#
234# CONFIG_CPU_FREQ is not set
235
236#
237# DMA support
238#
239# CONFIG_SH_DMA is not set
240
241#
242# Companion Chips
243#
244# CONFIG_HD6446X_SERIES is not set
245
246#
247# Additional SuperH Device Drivers
248#
249CONFIG_HEARTBEAT=y
250# CONFIG_PUSH_SWITCH is not set
251
252#
253# Kernel features
254#
255# CONFIG_HZ_100 is not set
256CONFIG_HZ_250=y
257# CONFIG_HZ_300 is not set
258# CONFIG_HZ_1000 is not set
259CONFIG_HZ=250
260# CONFIG_SMP is not set
261CONFIG_PREEMPT_NONE=y
262# CONFIG_PREEMPT_VOLUNTARY is not set
263# CONFIG_PREEMPT is not set
264
265#
266# Boot options
267#
268CONFIG_ZERO_PAGE_OFFSET=0x00001000
269CONFIG_BOOT_LINK_OFFSET=0x00810000
270# CONFIG_UBC_WAKEUP is not set
271# CONFIG_CMDLINE_BOOL is not set
272
273#
274# Bus options
275#
276CONFIG_PCI=y
277CONFIG_SH_PCIDMA_NONCOHERENT=y
278CONFIG_PCI_AUTO=y
279CONFIG_PCI_AUTO_UPDATE_RESOURCES=y
280
281#
282# PCCARD (PCMCIA/CardBus) support
283#
284
285#
286# PCI Hotplug Support
287#
288
289#
290# Executable file formats
291#
292CONFIG_BINFMT_ELF=y
293# CONFIG_BINFMT_FLAT is not set
294# CONFIG_BINFMT_MISC is not set
295
296#
297# Networking
298#
299CONFIG_NET=y
300
301#
302# Networking options
303#
304# CONFIG_NETDEBUG is not set
305CONFIG_PACKET=y
306# CONFIG_PACKET_MMAP is not set
307CONFIG_UNIX=y
308CONFIG_XFRM=y
309# CONFIG_XFRM_USER is not set
310# CONFIG_NET_KEY is not set
311CONFIG_INET=y
312CONFIG_IP_MULTICAST=y
313# CONFIG_IP_ADVANCED_ROUTER is not set
314CONFIG_IP_FIB_HASH=y
315CONFIG_IP_PNP=y
316# CONFIG_IP_PNP_DHCP is not set
317# CONFIG_IP_PNP_BOOTP is not set
318# CONFIG_IP_PNP_RARP is not set
319# CONFIG_NET_IPIP is not set
320# CONFIG_NET_IPGRE is not set
321# CONFIG_IP_MROUTE is not set
322# CONFIG_SYN_COOKIES is not set
323# CONFIG_INET_AH is not set
324# CONFIG_INET_ESP is not set
325# CONFIG_INET_IPCOMP is not set
326# CONFIG_INET_XFRM_TUNNEL is not set
327# CONFIG_INET_TUNNEL is not set
328CONFIG_INET_XFRM_MODE_TRANSPORT=y
329CONFIG_INET_XFRM_MODE_TUNNEL=y
330CONFIG_INET_XFRM_MODE_BEET=y
331CONFIG_INET_DIAG=y
332CONFIG_INET_TCP_DIAG=y
333# CONFIG_TCP_CONG_ADVANCED is not set
334CONFIG_TCP_CONG_CUBIC=y
335CONFIG_DEFAULT_TCP_CONG="cubic"
336CONFIG_IPV6=y
337# CONFIG_IPV6_PRIVACY is not set
338# CONFIG_IPV6_ROUTER_PREF is not set
339# CONFIG_INET6_AH is not set
340# CONFIG_INET6_ESP is not set
341# CONFIG_INET6_IPCOMP is not set
342# CONFIG_INET6_XFRM_TUNNEL is not set
343# CONFIG_INET6_TUNNEL is not set
344# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
345# CONFIG_INET6_XFRM_MODE_TUNNEL is not set
346# CONFIG_INET6_XFRM_MODE_BEET is not set
347# CONFIG_IPV6_SIT is not set
348# CONFIG_IPV6_TUNNEL is not set
349# CONFIG_NETWORK_SECMARK is not set
350# CONFIG_NETFILTER is not set
351# CONFIG_BRIDGE is not set
352# CONFIG_VLAN_8021Q is not set
353# CONFIG_DECNET is not set
354# CONFIG_LLC2 is not set
355# CONFIG_IPX is not set
356# CONFIG_ATALK is not set
357
358#
359# QoS and/or fair queueing
360#
361# CONFIG_NET_SCHED is not set
362
363#
364# Network testing
365#
366# CONFIG_NET_PKTGEN is not set
367# CONFIG_HAMRADIO is not set
368# CONFIG_IRDA is not set
369# CONFIG_BT is not set
370# CONFIG_IEEE80211 is not set
371
372#
373# Device Drivers
374#
375
376#
377# Generic Driver Options
378#
379CONFIG_STANDALONE=y
380# CONFIG_PREVENT_FIRMWARE_BUILD is not set
381# CONFIG_SYS_HYPERVISOR is not set
382
383#
384# Connector - unified userspace <-> kernelspace linker
385#
386# CONFIG_CONNECTOR is not set
387
388#
389# Memory Technology Devices (MTD)
390#
391CONFIG_MTD=y
392# CONFIG_MTD_DEBUG is not set
393# CONFIG_MTD_CONCAT is not set
394CONFIG_MTD_PARTITIONS=y
395# CONFIG_MTD_REDBOOT_PARTS is not set
396# CONFIG_MTD_CMDLINE_PARTS is not set
397
398#
399# User Modules And Translation Layers
400#
401CONFIG_MTD_CHAR=y
402CONFIG_MTD_BLKDEVS=y
403CONFIG_MTD_BLOCK=y
404# CONFIG_FTL is not set
405# CONFIG_NFTL is not set
406# CONFIG_INFTL is not set
407# CONFIG_RFD_FTL is not set
408# CONFIG_SSFDC is not set
409
410#
411# RAM/ROM/Flash chip drivers
412#
413CONFIG_MTD_CFI=y
414# CONFIG_MTD_JEDECPROBE is not set
415CONFIG_MTD_GEN_PROBE=y
416CONFIG_MTD_CFI_ADV_OPTIONS=y
417CONFIG_MTD_CFI_NOSWAP=y
418# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
419# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
420CONFIG_MTD_CFI_GEOMETRY=y
421# CONFIG_MTD_MAP_BANK_WIDTH_1 is not set
422# CONFIG_MTD_MAP_BANK_WIDTH_2 is not set
423CONFIG_MTD_MAP_BANK_WIDTH_4=y
424# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
425# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
426# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
427# CONFIG_MTD_CFI_I1 is not set
428CONFIG_MTD_CFI_I2=y
429# CONFIG_MTD_CFI_I4 is not set
430# CONFIG_MTD_CFI_I8 is not set
431# CONFIG_MTD_OTP is not set
432# CONFIG_MTD_CFI_INTELEXT is not set
433CONFIG_MTD_CFI_AMDSTD=y
434# CONFIG_MTD_CFI_STAA is not set
435CONFIG_MTD_CFI_UTIL=y
436# CONFIG_MTD_RAM is not set
437CONFIG_MTD_ROM=y
438# CONFIG_MTD_ABSENT is not set
439# CONFIG_MTD_OBSOLETE_CHIPS is not set
440
441#
442# Mapping drivers for chip access
443#
444# CONFIG_MTD_COMPLEX_MAPPINGS is not set
445# CONFIG_MTD_PHYSMAP is not set
446# CONFIG_MTD_PLATRAM is not set
447
448#
449# Self-contained MTD device drivers
450#
451# CONFIG_MTD_PMC551 is not set
452# CONFIG_MTD_SLRAM is not set
453# CONFIG_MTD_PHRAM is not set
454# CONFIG_MTD_MTDRAM is not set
455# CONFIG_MTD_BLOCK2MTD is not set
456
457#
458# Disk-On-Chip Device Drivers
459#
460# CONFIG_MTD_DOC2000 is not set
461# CONFIG_MTD_DOC2001 is not set
462# CONFIG_MTD_DOC2001PLUS is not set
463
464#
465# NAND Flash Device Drivers
466#
467# CONFIG_MTD_NAND is not set
468
469#
470# OneNAND Flash Device Drivers
471#
472# CONFIG_MTD_ONENAND is not set
473
474#
475# Parallel port support
476#
477# CONFIG_PARPORT is not set
478
479#
480# Plug and Play support
481#
482# CONFIG_PNPACPI is not set
483
484#
485# Block devices
486#
487# CONFIG_BLK_CPQ_DA is not set
488# CONFIG_BLK_CPQ_CISS_DA is not set
489# CONFIG_BLK_DEV_DAC960 is not set
490# CONFIG_BLK_DEV_COW_COMMON is not set
491CONFIG_BLK_DEV_LOOP=y
492# CONFIG_BLK_DEV_CRYPTOLOOP is not set
493# CONFIG_BLK_DEV_NBD is not set
494# CONFIG_BLK_DEV_SX8 is not set
495# CONFIG_BLK_DEV_UB is not set
496# CONFIG_BLK_DEV_RAM is not set
497# CONFIG_CDROM_PKTCDVD is not set
498# CONFIG_ATA_OVER_ETH is not set
499
500#
501# Misc devices
502#
503# CONFIG_SGI_IOC4 is not set
504
505#
506# ATA/ATAPI/MFM/RLL support
507#
508# CONFIG_IDE is not set
509
510#
511# SCSI device support
512#
513# CONFIG_RAID_ATTRS is not set
514CONFIG_SCSI=y
515# CONFIG_SCSI_NETLINK is not set
516CONFIG_SCSI_PROC_FS=y
517
518#
519# SCSI support type (disk, tape, CD-ROM)
520#
521CONFIG_BLK_DEV_SD=y
522# CONFIG_CHR_DEV_ST is not set
523# CONFIG_CHR_DEV_OSST is not set
524# CONFIG_BLK_DEV_SR is not set
525CONFIG_CHR_DEV_SG=y
526# CONFIG_CHR_DEV_SCH is not set
527
528#
529# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
530#
531# CONFIG_SCSI_MULTI_LUN is not set
532# CONFIG_SCSI_CONSTANTS is not set
533# CONFIG_SCSI_LOGGING is not set
534# CONFIG_SCSI_SCAN_ASYNC is not set
535
536#
537# SCSI Transports
538#
539# CONFIG_SCSI_SPI_ATTRS is not set
540# CONFIG_SCSI_FC_ATTRS is not set
541# CONFIG_SCSI_ISCSI_ATTRS is not set
542# CONFIG_SCSI_SAS_ATTRS is not set
543# CONFIG_SCSI_SAS_LIBSAS is not set
544
545#
546# SCSI low-level drivers
547#
548# CONFIG_ISCSI_TCP is not set
549# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
550# CONFIG_SCSI_3W_9XXX is not set
551# CONFIG_SCSI_ACARD is not set
552# CONFIG_SCSI_AACRAID is not set
553# CONFIG_SCSI_AIC7XXX is not set
554# CONFIG_SCSI_AIC7XXX_OLD is not set
555# CONFIG_SCSI_AIC79XX is not set
556# CONFIG_SCSI_AIC94XX is not set
557# CONFIG_SCSI_DPT_I2O is not set
558# CONFIG_SCSI_ARCMSR is not set
559# CONFIG_MEGARAID_NEWGEN is not set
560# CONFIG_MEGARAID_LEGACY is not set
561# CONFIG_MEGARAID_SAS is not set
562# CONFIG_SCSI_HPTIOP is not set
563# CONFIG_SCSI_DMX3191D is not set
564# CONFIG_SCSI_FUTURE_DOMAIN is not set
565# CONFIG_SCSI_IPS is not set
566# CONFIG_SCSI_INITIO is not set
567# CONFIG_SCSI_INIA100 is not set
568# CONFIG_SCSI_STEX is not set
569# CONFIG_SCSI_SYM53C8XX_2 is not set
570# CONFIG_SCSI_IPR is not set
571# CONFIG_SCSI_QLOGIC_1280 is not set
572# CONFIG_SCSI_QLA_FC is not set
573# CONFIG_SCSI_QLA_ISCSI is not set
574# CONFIG_SCSI_LPFC is not set
575# CONFIG_SCSI_DC390T is not set
576# CONFIG_SCSI_NSP32 is not set
577# CONFIG_SCSI_DEBUG is not set
578# CONFIG_SCSI_SRP is not set
579
580#
581# Serial ATA (prod) and Parallel ATA (experimental) drivers
582#
583CONFIG_ATA=y
584# CONFIG_ATA_NONSTANDARD is not set
585# CONFIG_SATA_AHCI is not set
586# CONFIG_SATA_SVW is not set
587# CONFIG_ATA_PIIX is not set
588# CONFIG_SATA_NV is not set
589# CONFIG_PDC_ADMA is not set
590# CONFIG_SATA_QSTOR is not set
591# CONFIG_SATA_PROMISE is not set
592CONFIG_SATA_SIL=y
593# CONFIG_SATA_SIL24 is not set
594# CONFIG_SATA_SIS is not set
595# CONFIG_SATA_ULI is not set
596# CONFIG_SATA_VIA is not set
597# CONFIG_SATA_VITESSE is not set
598# CONFIG_PATA_AMD is not set
599# CONFIG_PATA_CS5520 is not set
600# CONFIG_PATA_EFAR is not set
601# CONFIG_ATA_GENERIC is not set
602# CONFIG_PATA_HPT3X3 is not set
603# CONFIG_PATA_JMICRON is not set
604# CONFIG_PATA_TRIFLEX is not set
605# CONFIG_PATA_MARVELL is not set
606# CONFIG_PATA_MPIIX is not set
607# CONFIG_PATA_NETCELL is not set
608# CONFIG_PATA_RZ1000 is not set
609# CONFIG_PATA_PDC2027X is not set
610# CONFIG_PATA_SIL680 is not set
611# CONFIG_PATA_VIA is not set
612# CONFIG_PATA_WINBOND is not set
613# CONFIG_PATA_PLATFORM is not set
614
615#
616# Multi-device support (RAID and LVM)
617#
618# CONFIG_MD is not set
619
620#
621# Fusion MPT device support
622#
623# CONFIG_FUSION is not set
624# CONFIG_FUSION_SPI is not set
625# CONFIG_FUSION_FC is not set
626# CONFIG_FUSION_SAS is not set
627
628#
629# IEEE 1394 (FireWire) support
630#
631# CONFIG_IEEE1394 is not set
632
633#
634# I2O device support
635#
636# CONFIG_I2O is not set
637
638#
639# Network device support
640#
641CONFIG_NETDEVICES=y
642# CONFIG_DUMMY is not set
643# CONFIG_BONDING is not set
644# CONFIG_EQUALIZER is not set
645# CONFIG_TUN is not set
646
647#
648# ARCnet devices
649#
650# CONFIG_ARCNET is not set
651
652#
653# PHY device support
654#
655CONFIG_PHYLIB=y
656
657#
658# MII PHY device drivers
659#
660# CONFIG_MARVELL_PHY is not set
661# CONFIG_DAVICOM_PHY is not set
662# CONFIG_QSEMI_PHY is not set
663# CONFIG_LXT_PHY is not set
664# CONFIG_CICADA_PHY is not set
665# CONFIG_VITESSE_PHY is not set
666CONFIG_SMSC_PHY=y
667# CONFIG_BROADCOM_PHY is not set
668# CONFIG_FIXED_PHY is not set
669
670#
671# Ethernet (10 or 100Mbit)
672#
673CONFIG_NET_ETHERNET=y
674CONFIG_MII=y
675# CONFIG_STNIC is not set
676# CONFIG_HAPPYMEAL is not set
677# CONFIG_SUNGEM is not set
678# CONFIG_CASSINI is not set
679# CONFIG_NET_VENDOR_3COM is not set
680CONFIG_SMC91X=y
681
682#
683# Tulip family network device support
684#
685# CONFIG_NET_TULIP is not set
686# CONFIG_HP100 is not set
687CONFIG_NET_PCI=y
688# CONFIG_PCNET32 is not set
689# CONFIG_AMD8111_ETH is not set
690# CONFIG_ADAPTEC_STARFIRE is not set
691# CONFIG_B44 is not set
692# CONFIG_FORCEDETH is not set
693# CONFIG_DGRS is not set
694# CONFIG_EEPRO100 is not set
695# CONFIG_E100 is not set
696# CONFIG_FEALNX is not set
697# CONFIG_NATSEMI is not set
698# CONFIG_NE2K_PCI is not set
699# CONFIG_8139TOO is not set
700# CONFIG_SIS900 is not set
701# CONFIG_EPIC100 is not set
702# CONFIG_SUNDANCE is not set
703# CONFIG_TLAN is not set
704# CONFIG_VIA_RHINE is not set
705
706#
707# Ethernet (1000 Mbit)
708#
709# CONFIG_ACENIC is not set
710# CONFIG_DL2K is not set
711# CONFIG_E1000 is not set
712# CONFIG_NS83820 is not set
713# CONFIG_HAMACHI is not set
714# CONFIG_R8169 is not set
715# CONFIG_SIS190 is not set
716# CONFIG_SKGE is not set
717# CONFIG_SKY2 is not set
718# CONFIG_SK98LIN is not set
719# CONFIG_VIA_VELOCITY is not set
720# CONFIG_TIGON3 is not set
721# CONFIG_BNX2 is not set
722# CONFIG_QLA3XXX is not set
723
724#
725# Ethernet (10000 Mbit)
726#
727# CONFIG_CHELSIO_T1 is not set
728# CONFIG_CHELSIO_T3 is not set
729# CONFIG_IXGB is not set
730# CONFIG_S2IO is not set
731# CONFIG_MYRI10GE is not set
732# CONFIG_NETXEN_NIC is not set
733
734#
735# Token Ring devices
736#
737# CONFIG_TR is not set
738
739#
740# Wireless LAN (non-hamradio)
741#
742# CONFIG_NET_RADIO is not set
743
744#
745# Wan interfaces
746#
747# CONFIG_WAN is not set
748# CONFIG_FDDI is not set
749# CONFIG_PPP is not set
750# CONFIG_SLIP is not set
751# CONFIG_NET_FC is not set
752# CONFIG_NETPOLL is not set
753# CONFIG_NET_POLL_CONTROLLER is not set
754
755#
756# ISDN subsystem
757#
758# CONFIG_ISDN is not set
759
760#
761# Telephony Support
762#
763# CONFIG_PHONE is not set
764
765#
766# Input device support
767#
768CONFIG_INPUT=y
769# CONFIG_INPUT_FF_MEMLESS is not set
770
771#
772# Userland interfaces
773#
774CONFIG_INPUT_MOUSEDEV=y
775# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
776CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
777CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
778# CONFIG_INPUT_JOYDEV is not set
779# CONFIG_INPUT_TSDEV is not set
780# CONFIG_INPUT_EVDEV is not set
781# CONFIG_INPUT_EVBUG is not set
782
783#
784# Input Device Drivers
785#
786# CONFIG_INPUT_KEYBOARD is not set
787# CONFIG_INPUT_MOUSE is not set
788# CONFIG_INPUT_JOYSTICK is not set
789# CONFIG_INPUT_TOUCHSCREEN is not set
790# CONFIG_INPUT_MISC is not set
791
792#
793# Hardware I/O ports
794#
795# CONFIG_SERIO is not set
796# CONFIG_GAMEPORT is not set
797
798#
799# Character devices
800#
801CONFIG_VT=y
802CONFIG_VT_CONSOLE=y
803CONFIG_HW_CONSOLE=y
804# CONFIG_VT_HW_CONSOLE_BINDING is not set
805# CONFIG_SERIAL_NONSTANDARD is not set
806
807#
808# Serial drivers
809#
810# CONFIG_SERIAL_8250 is not set
811
812#
813# Non-8250 serial port support
814#
815CONFIG_SERIAL_SH_SCI=y
816CONFIG_SERIAL_SH_SCI_NR_UARTS=2
817CONFIG_SERIAL_SH_SCI_CONSOLE=y
818CONFIG_SERIAL_CORE=y
819CONFIG_SERIAL_CORE_CONSOLE=y
820# CONFIG_SERIAL_JSM is not set
821CONFIG_UNIX98_PTYS=y
822# CONFIG_LEGACY_PTYS is not set
823
824#
825# IPMI
826#
827# CONFIG_IPMI_HANDLER is not set
828
829#
830# Watchdog Cards
831#
832# CONFIG_WATCHDOG is not set
833# CONFIG_HW_RANDOM is not set
834# CONFIG_GEN_RTC is not set
835# CONFIG_DTLK is not set
836# CONFIG_R3964 is not set
837# CONFIG_APPLICOM is not set
838# CONFIG_DRM is not set
839# CONFIG_RAW_DRIVER is not set
840
841#
842# TPM devices
843#
844
845#
846# I2C support
847#
848# CONFIG_I2C is not set
849
850#
851# SPI support
852#
853# CONFIG_SPI is not set
854# CONFIG_SPI_MASTER is not set
855
856#
857# Dallas's 1-wire bus
858#
859# CONFIG_W1 is not set
860
861#
862# Hardware Monitoring support
863#
864CONFIG_HWMON=y
865# CONFIG_HWMON_VID is not set
866# CONFIG_HWMON_DEBUG_CHIP is not set
867
868#
869# Multifunction device drivers
870#
871# CONFIG_MFD_SM501 is not set
872
873#
874# Multimedia devices
875#
876# CONFIG_VIDEO_DEV is not set
877
878#
879# Digital Video Broadcasting Devices
880#
881# CONFIG_DVB is not set
882# CONFIG_USB_DABUSB is not set
883
884#
885# Graphics support
886#
887# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
888CONFIG_FB=y
889CONFIG_FIRMWARE_EDID=y
890# CONFIG_FB_DDC is not set
891# CONFIG_FB_CFB_FILLRECT is not set
892# CONFIG_FB_CFB_COPYAREA is not set
893# CONFIG_FB_CFB_IMAGEBLIT is not set
894# CONFIG_FB_SVGALIB is not set
895# CONFIG_FB_MACMODES is not set
896# CONFIG_FB_BACKLIGHT is not set
897# CONFIG_FB_MODE_HELPERS is not set
898# CONFIG_FB_TILEBLITTING is not set
899
900#
901# Frambuffer hardware drivers
902#
903# CONFIG_FB_CIRRUS is not set
904# CONFIG_FB_PM2 is not set
905# CONFIG_FB_CYBER2000 is not set
906# CONFIG_FB_ASILIANT is not set
907# CONFIG_FB_IMSTT is not set
908# CONFIG_FB_EPSON1355 is not set
909# CONFIG_FB_S1D13XXX is not set
910# CONFIG_FB_NVIDIA is not set
911# CONFIG_FB_RIVA is not set
912# CONFIG_FB_MATROX is not set
913# CONFIG_FB_RADEON is not set
914# CONFIG_FB_ATY128 is not set
915# CONFIG_FB_ATY is not set
916# CONFIG_FB_S3 is not set
917# CONFIG_FB_SIS is not set
918# CONFIG_FB_NEOMAGIC is not set
919# CONFIG_FB_KYRO is not set
920# CONFIG_FB_3DFX is not set
921# CONFIG_FB_VOODOO1 is not set
922# CONFIG_FB_TRIDENT is not set
923# CONFIG_FB_VIRTUAL is not set
924
925#
926# Console display driver support
927#
928CONFIG_DUMMY_CONSOLE=y
929CONFIG_FRAMEBUFFER_CONSOLE=y
930# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
931# CONFIG_FONTS is not set
932CONFIG_FONT_8x8=y
933CONFIG_FONT_8x16=y
934
935#
936# Logo configuration
937#
938CONFIG_LOGO=y
939# CONFIG_LOGO_LINUX_MONO is not set
940# CONFIG_LOGO_LINUX_VGA16 is not set
941CONFIG_LOGO_LINUX_CLUT224=y
942# CONFIG_LOGO_SUPERH_MONO is not set
943# CONFIG_LOGO_SUPERH_VGA16 is not set
944CONFIG_LOGO_SUPERH_CLUT224=y
945
946#
947# Sound
948#
949CONFIG_SOUND=y
950
951#
952# Advanced Linux Sound Architecture
953#
954# CONFIG_SND is not set
955
956#
957# Open Sound System
958#
959CONFIG_SOUND_PRIME=y
960# CONFIG_OBSOLETE_OSS is not set
961# CONFIG_SOUND_BT878 is not set
962# CONFIG_SOUND_ICH is not set
963# CONFIG_SOUND_TRIDENT is not set
964# CONFIG_SOUND_MSNDCLAS is not set
965# CONFIG_SOUND_MSNDPIN is not set
966# CONFIG_SOUND_VIA82CXXX is not set
967
968#
969# HID Devices
970#
971CONFIG_HID=y
972# CONFIG_HID_DEBUG is not set
973
974#
975# USB support
976#
977CONFIG_USB_ARCH_HAS_HCD=y
978CONFIG_USB_ARCH_HAS_OHCI=y
979CONFIG_USB_ARCH_HAS_EHCI=y
980CONFIG_USB=y
981CONFIG_USB_DEBUG=y
982
983#
984# Miscellaneous USB options
985#
986CONFIG_USB_DEVICEFS=y
987
988#
989# USB Host Controller Drivers
990#
991CONFIG_USB_EHCI_HCD=y
992# CONFIG_USB_EHCI_BIG_ENDIAN_MMIO is not set
993# CONFIG_USB_ISP116X_HCD is not set
994CONFIG_USB_OHCI_HCD=y
995# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
996# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
997CONFIG_USB_OHCI_LITTLE_ENDIAN=y
998# CONFIG_USB_UHCI_HCD is not set
999# CONFIG_USB_SL811_HCD is not set
1000
1001#
1002# USB Device Class drivers
1003#
1004# CONFIG_USB_ACM is not set
1005# CONFIG_USB_PRINTER is not set
1006
1007#
1008# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
1009#
1010
1011#
1012# may also be needed; see USB_STORAGE Help for more information
1013#
1014CONFIG_USB_STORAGE=y
1015# CONFIG_USB_STORAGE_DEBUG is not set
1016# CONFIG_USB_STORAGE_FREECOM is not set
1017# CONFIG_USB_STORAGE_DPCM is not set
1018# CONFIG_USB_STORAGE_KARMA is not set
1019# CONFIG_USB_LIBUSUAL is not set
1020
1021#
1022# USB Input Devices
1023#
1024CONFIG_USB_HID=y
1025# CONFIG_USB_HIDINPUT_POWERBOOK is not set
1026# CONFIG_USB_HIDDEV is not set
1027# CONFIG_USB_AIPTEK is not set
1028# CONFIG_USB_WACOM is not set
1029# CONFIG_USB_ACECAD is not set
1030# CONFIG_USB_KBTAB is not set
1031# CONFIG_USB_POWERMATE is not set
1032# CONFIG_USB_TOUCHSCREEN is not set
1033# CONFIG_USB_XPAD is not set
1034# CONFIG_USB_ATI_REMOTE is not set
1035# CONFIG_USB_ATI_REMOTE2 is not set
1036# CONFIG_USB_APPLETOUCH is not set
1037# CONFIG_USB_GTCO is not set
1038
1039#
1040# USB Imaging devices
1041#
1042# CONFIG_USB_MICROTEK is not set
1043
1044#
1045# USB Network Adapters
1046#
1047# CONFIG_USB_KAWETH is not set
1048# CONFIG_USB_PEGASUS is not set
1049# CONFIG_USB_USBNET_MII is not set
1050# CONFIG_USB_USBNET is not set
1051CONFIG_USB_MON=y
1052
1053#
1054# USB port drivers
1055#
1056
1057#
1058# USB Serial Converter support
1059#
1060# CONFIG_USB_SERIAL is not set
1061
1062#
1063# USB Miscellaneous drivers
1064#
1065# CONFIG_USB_EMI62 is not set
1066# CONFIG_USB_EMI26 is not set
1067# CONFIG_USB_LCD is not set
1068# CONFIG_USB_BERRY_CHARGE is not set
1069# CONFIG_USB_LED is not set
1070# CONFIG_USB_CYPRESS_CY7C63 is not set
1071# CONFIG_USB_CYTHERM is not set
1072# CONFIG_USB_PHIDGET is not set
1073# CONFIG_USB_IDMOUSE is not set
1074# CONFIG_USB_FTDI_ELAN is not set
1075# CONFIG_USB_APPLEDISPLAY is not set
1076# CONFIG_USB_SISUSBVGA is not set
1077# CONFIG_USB_LD is not set
1078# CONFIG_USB_TRANCEVIBRATOR is not set
1079# CONFIG_USB_IOWARRIOR is not set
1080
1081#
1082# USB DSL modem support
1083#
1084
1085#
1086# USB Gadget Support
1087#
1088# CONFIG_USB_GADGET is not set
1089
1090#
1091# MMC/SD Card support
1092#
1093# CONFIG_MMC is not set
1094
1095#
1096# LED devices
1097#
1098# CONFIG_NEW_LEDS is not set
1099
1100#
1101# LED drivers
1102#
1103
1104#
1105# LED Triggers
1106#
1107
1108#
1109# InfiniBand support
1110#
1111# CONFIG_INFINIBAND is not set
1112
1113#
1114# EDAC - error detection and reporting (RAS) (EXPERIMENTAL)
1115#
1116
1117#
1118# Real Time Clock
1119#
1120
1121#
1122# DMA Engine support
1123#
1124# CONFIG_DMA_ENGINE is not set
1125
1126#
1127# DMA Clients
1128#
1129
1130#
1131# DMA Devices
1132#
1133
1134#
1135# Auxiliary Display support
1136#
1137
1138#
1139# Virtualization
1140#
1141
1142#
1143# File systems
1144#
1145CONFIG_EXT2_FS=y
1146# CONFIG_EXT2_FS_XATTR is not set
1147# CONFIG_EXT2_FS_XIP is not set
1148# CONFIG_EXT3_FS is not set
1149# CONFIG_REISERFS_FS is not set
1150# CONFIG_JFS_FS is not set
1151# CONFIG_FS_POSIX_ACL is not set
1152# CONFIG_XFS_FS is not set
1153# CONFIG_MINIX_FS is not set
1154# CONFIG_ROMFS_FS is not set
1155CONFIG_INOTIFY=y
1156CONFIG_INOTIFY_USER=y
1157# CONFIG_QUOTA is not set
1158# CONFIG_DNOTIFY is not set
1159# CONFIG_AUTOFS_FS is not set
1160# CONFIG_AUTOFS4_FS is not set
1161# CONFIG_FUSE_FS is not set
1162
1163#
1164# CD-ROM/DVD Filesystems
1165#
1166# CONFIG_ISO9660_FS is not set
1167# CONFIG_UDF_FS is not set
1168
1169#
1170# DOS/FAT/NT Filesystems
1171#
1172CONFIG_FAT_FS=y
1173CONFIG_MSDOS_FS=y
1174CONFIG_VFAT_FS=y
1175CONFIG_FAT_DEFAULT_CODEPAGE=437
1176CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1177# CONFIG_NTFS_FS is not set
1178
1179#
1180# Pseudo filesystems
1181#
1182CONFIG_PROC_FS=y
1183# CONFIG_PROC_KCORE is not set
1184CONFIG_PROC_SYSCTL=y
1185# CONFIG_SYSFS is not set
1186CONFIG_TMPFS=y
1187# CONFIG_TMPFS_POSIX_ACL is not set
1188# CONFIG_HUGETLBFS is not set
1189# CONFIG_HUGETLB_PAGE is not set
1190CONFIG_RAMFS=y
1191
1192#
1193# Miscellaneous filesystems
1194#
1195# CONFIG_HFSPLUS_FS is not set
1196# CONFIG_JFFS2_FS is not set
1197CONFIG_CRAMFS=y
1198# CONFIG_VXFS_FS is not set
1199# CONFIG_HPFS_FS is not set
1200# CONFIG_QNX4FS_FS is not set
1201# CONFIG_SYSV_FS is not set
1202# CONFIG_UFS_FS is not set
1203
1204#
1205# Network File Systems
1206#
1207CONFIG_NFS_FS=y
1208CONFIG_NFS_V3=y
1209# CONFIG_NFS_V3_ACL is not set
1210# CONFIG_NFS_DIRECTIO is not set
1211# CONFIG_NFSD is not set
1212CONFIG_ROOT_NFS=y
1213CONFIG_LOCKD=y
1214CONFIG_LOCKD_V4=y
1215CONFIG_NFS_COMMON=y
1216CONFIG_SUNRPC=y
1217# CONFIG_SMB_FS is not set
1218# CONFIG_CIFS is not set
1219# CONFIG_NCP_FS is not set
1220# CONFIG_CODA_FS is not set
1221
1222#
1223# Partition Types
1224#
1225# CONFIG_PARTITION_ADVANCED is not set
1226CONFIG_MSDOS_PARTITION=y
1227
1228#
1229# Native Language Support
1230#
1231CONFIG_NLS=y
1232CONFIG_NLS_DEFAULT="iso8859-1"
1233# CONFIG_NLS_CODEPAGE_437 is not set
1234# CONFIG_NLS_CODEPAGE_737 is not set
1235# CONFIG_NLS_CODEPAGE_775 is not set
1236# CONFIG_NLS_CODEPAGE_850 is not set
1237# CONFIG_NLS_CODEPAGE_852 is not set
1238# CONFIG_NLS_CODEPAGE_855 is not set
1239# CONFIG_NLS_CODEPAGE_857 is not set
1240# CONFIG_NLS_CODEPAGE_860 is not set
1241# CONFIG_NLS_CODEPAGE_861 is not set
1242# CONFIG_NLS_CODEPAGE_862 is not set
1243# CONFIG_NLS_CODEPAGE_863 is not set
1244# CONFIG_NLS_CODEPAGE_864 is not set
1245# CONFIG_NLS_CODEPAGE_865 is not set
1246# CONFIG_NLS_CODEPAGE_866 is not set
1247# CONFIG_NLS_CODEPAGE_869 is not set
1248# CONFIG_NLS_CODEPAGE_936 is not set
1249# CONFIG_NLS_CODEPAGE_950 is not set
1250# CONFIG_NLS_CODEPAGE_932 is not set
1251# CONFIG_NLS_CODEPAGE_949 is not set
1252# CONFIG_NLS_CODEPAGE_874 is not set
1253# CONFIG_NLS_ISO8859_8 is not set
1254# CONFIG_NLS_CODEPAGE_1250 is not set
1255# CONFIG_NLS_CODEPAGE_1251 is not set
1256# CONFIG_NLS_ASCII is not set
1257# CONFIG_NLS_ISO8859_1 is not set
1258# CONFIG_NLS_ISO8859_2 is not set
1259# CONFIG_NLS_ISO8859_3 is not set
1260# CONFIG_NLS_ISO8859_4 is not set
1261# CONFIG_NLS_ISO8859_5 is not set
1262# CONFIG_NLS_ISO8859_6 is not set
1263# CONFIG_NLS_ISO8859_7 is not set
1264# CONFIG_NLS_ISO8859_9 is not set
1265# CONFIG_NLS_ISO8859_13 is not set
1266# CONFIG_NLS_ISO8859_14 is not set
1267# CONFIG_NLS_ISO8859_15 is not set
1268# CONFIG_NLS_KOI8_R is not set
1269# CONFIG_NLS_KOI8_U is not set
1270# CONFIG_NLS_UTF8 is not set
1271
1272#
1273# Kernel hacking
1274#
1275CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1276# CONFIG_PRINTK_TIME is not set
1277CONFIG_ENABLE_MUST_CHECK=y
1278# CONFIG_MAGIC_SYSRQ is not set
1279# CONFIG_UNUSED_SYMBOLS is not set
1280# CONFIG_HEADERS_CHECK is not set
1281# CONFIG_DEBUG_KERNEL is not set
1282CONFIG_LOG_BUF_SHIFT=14
1283# CONFIG_DEBUG_BUGVERBOSE is not set
1284# CONFIG_SH_STANDARD_BIOS is not set
1285# CONFIG_EARLY_SCIF_CONSOLE is not set
1286# CONFIG_SH_KGDB is not set
1287
1288#
1289# Security options
1290#
1291# CONFIG_KEYS is not set
1292
1293#
1294# Cryptographic options
1295#
1296# CONFIG_CRYPTO is not set
1297
1298#
1299# Library routines
1300#
1301CONFIG_BITREVERSE=y
1302# CONFIG_CRC_CCITT is not set
1303# CONFIG_CRC16 is not set
1304CONFIG_CRC32=y
1305# CONFIG_LIBCRC32C is not set
1306CONFIG_ZLIB_INFLATE=y
1307CONFIG_PLIST=y
1308CONFIG_HAS_IOMEM=y
1309CONFIG_HAS_IOPORT=y
diff --git a/arch/sh/drivers/pci/pci-sh7780.c b/arch/sh/drivers/pci/pci-sh7780.c
index 16b30a9e94bb..5508e45d4838 100644
--- a/arch/sh/drivers/pci/pci-sh7780.c
+++ b/arch/sh/drivers/pci/pci-sh7780.c
@@ -72,12 +72,27 @@ static int __init sh7780_pci_init(void)
72 } 72 }
73 73
74 /* Setup the INTC */ 74 /* Setup the INTC */
75 ctrl_outl(0x00200000, INTC_ICR0); /* INTC SH-4 Mode */ 75 if (mach_is_7780se()) {
76 ctrl_outl(0x00078000, INTC_INT2MSKCR); /* enable PCIINTA - PCIINTD */ 76 /* ICR0: IRL=use separately */
77 ctrl_outl(0x40000000, INTC_INTMSK1); /* disable IRL4-7 Interrupt */ 77 ctrl_outl(0x00C00020, INTC_ICR0);
78 ctrl_outl(0x0000fffe, INTC_INTMSK2); /* disable IRL4-7 Interrupt */ 78 /* ICR1: detect low level(for 2ndcut) */
79 ctrl_outl(0x80000000, INTC_INTMSKCLR1); /* enable IRL0-3 Interrupt */ 79 ctrl_outl(0xAAAA0000, INTC_ICR1);
80 ctrl_outl(0xfffe0000, INTC_INTMSKCLR2); /* enable IRL0-3 Interrupt */ 80 /* INTPRI: priority=3(all) */
81 ctrl_outl(0x33333333, INTC_INTPRI);
82 } else {
83 /* INTC SH-4 Mode */
84 ctrl_outl(0x00200000, INTC_ICR0);
85 /* enable PCIINTA - PCIINTD */
86 ctrl_outl(0x00078000, INTC_INT2MSKCR);
87 /* disable IRL4-7 Interrupt */
88 ctrl_outl(0x40000000, INTC_INTMSK1);
89 /* disable IRL4-7 Interrupt */
90 ctrl_outl(0x0000fffe, INTC_INTMSK2);
91 /* enable IRL0-3 Interrupt */
92 ctrl_outl(0x80000000, INTC_INTMSKCLR1);
93 /* enable IRL0-3 Interrupt */
94 ctrl_outl(0xfffe0000, INTC_INTMSKCLR2);
95 }
81 96
82 if ((ret = sh4_pci_check_direct()) != 0) 97 if ((ret = sh4_pci_check_direct()) != 0)
83 return ret; 98 return ret;
@@ -147,9 +162,8 @@ int __init sh7780_pcic_init(struct sh4_pci_address_map *map)
147 * DMA interrupts... 162 * DMA interrupts...
148 */ 163 */
149 164
150#ifdef CONFIG_SH_HIGHLANDER 165 /* Apply any last-minute PCIC fixups */
151 pci_fixup_pcic(); 166 pci_fixup_pcic();
152#endif
153 167
154 /* SH7780 init done, set central function init complete */ 168 /* SH7780 init done, set central function init complete */
155 /* use round robin mode to stop a device starving/overruning */ 169 /* use round robin mode to stop a device starving/overruning */
diff --git a/arch/sh/drivers/pci/pci-sh7780.h b/arch/sh/drivers/pci/pci-sh7780.h
index bd44255509e6..00d12d0f8c1f 100644
--- a/arch/sh/drivers/pci/pci-sh7780.h
+++ b/arch/sh/drivers/pci/pci-sh7780.h
@@ -66,6 +66,22 @@
66#define SH7780_PCIPMCSR_BSE 0x046 66#define SH7780_PCIPMCSR_BSE 0x046
67#define SH7780_PCICDD 0x047 67#define SH7780_PCICDD 0x047
68 68
69#define SH7780_PCICR 0x100 /* PCI Control Register */
70#define SH7780_PCILSR 0x104 /* PCI Local Space Register0 */
71#define SH7780_PCILSR1 0x108 /* PCI Local Space Register1 */
72#define SH7780_PCILAR0 0x10C /* PCI Local Address Register1 */
73#define SH7780_PCILAR1 0x110 /* PCI Local Address Register1 */
74#define SH7780_PCIIR 0x114 /* PCI Interrupt Register */
75#define SH7780_PCIIMR 0x118 /* PCI Interrupt Mask Register */
76#define SH7780_PCIAIR 0x11C /* Error Address Register */
77#define SH7780_PCICIR 0x120 /* Error Command/Data Register */
78#define SH7780_PCIAINT 0x130 /* Arbiter Interrupt Register */
79#define SH7780_PCIAINTM 0x134 /* Arbiter Int. Mask Register */
80#define SH7780_PCIBMIR 0x138 /* Error Bus Master Register */
81#define SH7780_PCIPAR 0x1C0 /* PIO Address Register */
82#define SH7780_PCIPINT 0x1CC /* Power Mgmnt Int. Register */
83#define SH7780_PCIPINTM 0x1D0 /* Power Mgmnt Mask Register */
84
69#define SH7780_PCIMBR0 0x1E0 85#define SH7780_PCIMBR0 0x1E0
70#define SH7780_PCIMBMR0 0x1E4 86#define SH7780_PCIMBMR0 0x1E4
71#define SH7780_PCIMBR2 0x1F0 87#define SH7780_PCIMBR2 0x1F0
diff --git a/arch/sh/tools/mach-types b/arch/sh/tools/mach-types
index 5b1236c2cfec..554f801db67b 100644
--- a/arch/sh/tools/mach-types
+++ b/arch/sh/tools/mach-types
@@ -9,6 +9,7 @@ SE SH_SOLUTION_ENGINE
97751SE SH_7751_SOLUTION_ENGINE 97751SE SH_7751_SOLUTION_ENGINE
107300SE SH_7300_SOLUTION_ENGINE 107300SE SH_7300_SOLUTION_ENGINE
117343SE SH_7343_SOLUTION_ENGINE 117343SE SH_7343_SOLUTION_ENGINE
127780SE SH_7780_SOLUTION_ENGINE
1273180SE SH_73180_SOLUTION_ENGINE 1373180SE SH_73180_SOLUTION_ENGINE
137751SYSTEMH SH_7751_SYSTEMH 147751SYSTEMH SH_7751_SYSTEMH
14HP6XX SH_HP6XX 15HP6XX SH_HP6XX
diff --git a/include/asm-sh/se7780.h b/include/asm-sh/se7780.h
new file mode 100644
index 000000000000..40e9b41458cd
--- /dev/null
+++ b/include/asm-sh/se7780.h
@@ -0,0 +1,108 @@
1#ifndef __ASM_SH_SE7780_H
2#define __ASM_SH_SE7780_H
3
4/*
5 * linux/include/asm-sh/se7780.h
6 *
7 * Copyright (C) 2006,2007 Nobuhiro Iwamatsu
8 *
9 * Hitachi UL SolutionEngine 7780 Support.
10 *
11 * This file is subject to the terms and conditions of the GNU General Public
12 * License. See the file "COPYING" in the main directory of this archive
13 * for more details.
14 */
15#include <asm/addrspace.h>
16
17/* Box specific addresses. */
18#define SE_AREA0_WIDTH 4 /* Area0: 32bit */
19#define PA_ROM 0xa0000000 /* EPROM */
20#define PA_ROM_SIZE 0x00400000 /* EPROM size 4M byte */
21#define PA_FROM 0xa1000000 /* Flash-ROM */
22#define PA_FROM_SIZE 0x01000000 /* Flash-ROM size 16M byte */
23#define PA_EXT1 0xa4000000
24#define PA_EXT1_SIZE 0x04000000
25#define PA_SM501 PA_EXT1 /* Graphic IC (SM501) */
26#define PA_SM501_SIZE PA_EXT1_SIZE /* Graphic IC (SM501) */
27#define PA_SDRAM 0xa8000000 /* DDR-SDRAM(Area2/3) 128MB */
28#define PA_SDRAM_SIZE 0x08000000
29
30#define PA_EXT4 0xb0000000
31#define PA_EXT4_SIZE 0x04000000
32#define PA_EXT_FLASH PA_EXT4 /* Expansion Flash-ROM */
33
34#define PA_PERIPHERAL PA_AREA6_IO /* SW6-6=ON */
35
36#define PA_LAN (PA_PERIPHERAL + 0) /* SMC LAN91C111 */
37#define PA_LED_DISP (PA_PERIPHERAL + 0x02000000) /* 8words LED Display */
38#define DISP_CHAR_RAM (7 << 3)
39#define DISP_SEL0_ADDR (DISP_CHAR_RAM + 0)
40#define DISP_SEL1_ADDR (DISP_CHAR_RAM + 1)
41#define DISP_SEL2_ADDR (DISP_CHAR_RAM + 2)
42#define DISP_SEL3_ADDR (DISP_CHAR_RAM + 3)
43#define DISP_SEL4_ADDR (DISP_CHAR_RAM + 4)
44#define DISP_SEL5_ADDR (DISP_CHAR_RAM + 5)
45#define DISP_SEL6_ADDR (DISP_CHAR_RAM + 6)
46#define DISP_SEL7_ADDR (DISP_CHAR_RAM + 7)
47
48#define DISP_UDC_RAM (5 << 3)
49#define PA_FPGA (PA_PERIPHERAL + 0x03000000) /* FPGA base address */
50
51/* FPGA register address and bit */
52#define FPGA_SFTRST (PA_FPGA + 0) /* Soft reset register */
53#define FPGA_INTMSK1 (PA_FPGA + 2) /* Interrupt Mask register 1 */
54#define FPGA_INTMSK2 (PA_FPGA + 4) /* Interrupt Mask register 2 */
55#define FPGA_INTSEL1 (PA_FPGA + 6) /* Interrupt select register 1 */
56#define FPGA_INTSEL2 (PA_FPGA + 8) /* Interrupt select register 2 */
57#define FPGA_INTSEL3 (PA_FPGA + 10) /* Interrupt select register 3 */
58#define FPGA_PCI_INTSEL1 (PA_FPGA + 12) /* PCI Interrupt select register 1 */
59#define FPGA_PCI_INTSEL2 (PA_FPGA + 14) /* PCI Interrupt select register 2 */
60#define FPGA_INTSET (PA_FPGA + 16) /* IRQ/IRL select register */
61#define FPGA_INTSTS1 (PA_FPGA + 18) /* Interrupt status register 1 */
62#define FPGA_INTSTS2 (PA_FPGA + 20) /* Interrupt status register 2 */
63#define FPGA_REQSEL (PA_FPGA + 22) /* REQ/GNT select register */
64#define FPGA_DBG_LED (PA_FPGA + 32) /* Debug LED(D-LED[8:1] */
65#define PA_LED FPGA_DBG_LED
66#define FPGA_IVDRID (PA_FPGA + 36) /* iVDR ID Register */
67#define FPGA_IVDRPW (PA_FPGA + 38) /* iVDR Power ON Register */
68#define FPGA_MMCID (PA_FPGA + 40) /* MMC ID Register */
69
70/* FPGA INTSEL position */
71/* INTSEL1 */
72#define IRQPOS_SMC91CX (0 * 4)
73#define IRQPOS_SM501 (1 * 4)
74/* INTSEL2 */
75#define IRQPOS_EXTINT1 (0 * 4)
76#define IRQPOS_EXTINT2 (1 * 4)
77#define IRQPOS_EXTINT3 (2 * 4)
78#define IRQPOS_EXTINT4 (3 * 4)
79/* INTSEL3 */
80#define IRQPOS_PCCPW (0 * 4)
81
82/* IDE interrupt */
83#define IRQ_IDE0 67 /* iVDR */
84
85/* SMC interrupt */
86#define SMC_IRQ 8
87
88/* SM501 interrupt */
89#define SM501_IRQ 0
90
91/* interrupt pin */
92#define IRQPIN_EXTINT1 0 /* IRQ0 pin */
93#define IRQPIN_EXTINT2 1 /* IRQ1 pin */
94#define IRQPIN_EXTINT3 2 /* IRQ2 pin */
95#define IRQPIN_SMC91CX 3 /* IRQ3 pin */
96#define IRQPIN_EXTINT4 4 /* IRQ4 pin */
97#define IRQPIN_PCC0 5 /* IRQ5 pin */
98#define IRQPIN_PCC2 6 /* IRQ6 pin */
99#define IRQPIN_SM501 7 /* IRQ7 pin */
100#define IRQPIN_PCCPW 7 /* IRQ7 pin */
101
102/* arch/sh/boards/se/7780/irq.c */
103void init_se7780_IRQ(void);
104
105#define __IO_PREFIX se7780
106#include <asm/io_generic.h>
107
108#endif /* __ASM_SH_SE7780_H */