Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: Solution Engine SH7343 board support.

This adds support for the SE7343 board.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+1710 -13
+22 -13
arch/sh/Kconfig
··· 51 51 52 52 menu "System type" 53 53 54 + config SOLUTION_ENGINE 55 + bool 56 + 54 57 choice 55 58 prompt "SuperH system type" 56 59 default SH_UNKNOWN 57 60 58 61 config SH_SOLUTION_ENGINE 59 62 bool "SolutionEngine" 63 + select SOLUTION_ENGINE 60 64 help 61 65 Select SolutionEngine if configuring for a Hitachi SH7709 62 66 or SH7750 evaluation board. 63 67 64 68 config SH_7751_SOLUTION_ENGINE 65 69 bool "SolutionEngine7751" 70 + select SOLUTION_ENGINE 66 71 select CPU_SUBTYPE_SH7751 67 72 help 68 73 Select 7751 SolutionEngine if configuring for a Hitachi SH7751 ··· 75 70 76 71 config SH_7300_SOLUTION_ENGINE 77 72 bool "SolutionEngine7300" 73 + select SOLUTION_ENGINE 78 74 select CPU_SUBTYPE_SH7300 79 75 help 80 - Select 7300 SolutionEngine if configuring for a Hitachi SH7300(SH-Mobile V) 81 - evaluation board. 76 + Select 7300 SolutionEngine if configuring for a Hitachi 77 + SH7300(SH-Mobile V) evaluation board. 78 + 79 + config SH_7343_SOLUTION_ENGINE 80 + bool "SolutionEngine7343" 81 + select SOLUTION_ENGINE 82 + select CPU_SUBTYPE_SH7343 83 + help 84 + Select 7343 SolutionEngine if configuring for a Hitachi 85 + SH7343 (SH-Mobile 3AS) evaluation board. 82 86 83 87 config SH_73180_SOLUTION_ENGINE 84 88 bool "SolutionEngine73180" 85 - select CPU_SUBTYPE_SH73180 86 - help 87 - Select 73180 SolutionEngine if configuring for a Hitachi SH73180(SH-Mobile 3) 88 - evaluation board. 89 + select SOLUTION_ENGINE 90 + select CPU_SUBTYPE_SH73180 91 + help 92 + Select 73180 SolutionEngine if configuring for a Hitachi 93 + SH73180(SH-Mobile 3) evaluation board. 89 94 90 95 config SH_7751_SYSTEMH 91 96 bool "SystemH7751R" ··· 409 394 config HEARTBEAT 410 395 bool "Heartbeat LED" 411 396 depends on SH_MPC1211 || SH_SH03 || \ 412 - SH_BIGSUR || \ 413 - SH_7751_SOLUTION_ENGINE || SH_7300_SOLUTION_ENGINE || \ 414 - SH_73180_SOLUTION_ENGINE || SH_SOLUTION_ENGINE || \ 397 + SH_BIGSUR || SOLUTION_ENGINE || \ 415 398 SH_RTS7751R2D || SH_SH4202_MICRODEV || SH_LANDISK 416 399 help 417 400 Use the power-on LED on your machine as a load meter. The exact ··· 443 430 initially work for you. It may help to enable device hotplugging 444 431 support. As of this writing the exact hardware interface is 445 432 strongly in flux, so no good recommendation can be made. 446 - 447 - config PREEMPT 448 - bool "Preemptible Kernel (EXPERIMENTAL)" 449 - depends on EXPERIMENTAL 450 433 451 434 config SMP 452 435 bool "Symmetric multi-processing support"
+1
arch/sh/Makefile
··· 89 89 machdir-$(CONFIG_SH_SOLUTION_ENGINE) := se/770x 90 90 machdir-$(CONFIG_SH_7751_SOLUTION_ENGINE) := se/7751 91 91 machdir-$(CONFIG_SH_7300_SOLUTION_ENGINE) := se/7300 92 + machdir-$(CONFIG_SH_7343_SOLUTION_ENGINE) := se/7343 92 93 machdir-$(CONFIG_SH_73180_SOLUTION_ENGINE) := se/73180 93 94 machdir-$(CONFIG_SH_HP6XX) := hp6xx 94 95 machdir-$(CONFIG_SH_EC3104) := ec3104
+7
arch/sh/boards/se/7343/Makefile
··· 1 + # 2 + # Makefile for the 7343 SolutionEngine specific parts of the kernel 3 + # 4 + 5 + obj-y := setup.o io.o irq.o 6 + 7 + obj-$(CONFIG_HEARTBEAT) += led.o
+275
arch/sh/boards/se/7343/io.c
··· 1 + /* 2 + * arch/sh/boards/se/7343/io.c 3 + * 4 + * I/O routine for SH-Mobile3AS 7343 SolutionEngine. 5 + * 6 + */ 7 + 8 + #include <linux/config.h> 9 + #include <linux/kernel.h> 10 + #include <asm/io.h> 11 + #include <asm/mach/se7343.h> 12 + 13 + #define badio(fn, a) panic("bad i/o operation %s for %08lx.", #fn, a) 14 + 15 + struct iop { 16 + unsigned long start, end; 17 + unsigned long base; 18 + struct iop *(*check) (struct iop * p, unsigned long port); 19 + unsigned char (*inb) (struct iop * p, unsigned long port); 20 + unsigned short (*inw) (struct iop * p, unsigned long port); 21 + void (*outb) (struct iop * p, unsigned char value, unsigned long port); 22 + void (*outw) (struct iop * p, unsigned short value, unsigned long port); 23 + }; 24 + 25 + struct iop * 26 + simple_check(struct iop *p, unsigned long port) 27 + { 28 + static int count; 29 + 30 + if (count < 100) 31 + count++; 32 + 33 + port &= 0xFFFF; 34 + 35 + if ((p->start <= port) && (port <= p->end)) 36 + return p; 37 + else 38 + badio(check, port); 39 + } 40 + 41 + struct iop * 42 + ide_check(struct iop *p, unsigned long port) 43 + { 44 + if (((0x1f0 <= port) && (port <= 0x1f7)) || (port == 0x3f7)) 45 + return p; 46 + return NULL; 47 + } 48 + 49 + unsigned char 50 + simple_inb(struct iop *p, unsigned long port) 51 + { 52 + return *(unsigned char *) (p->base + port); 53 + } 54 + 55 + unsigned short 56 + simple_inw(struct iop *p, unsigned long port) 57 + { 58 + return *(unsigned short *) (p->base + port); 59 + } 60 + 61 + void 62 + simple_outb(struct iop *p, unsigned char value, unsigned long port) 63 + { 64 + *(unsigned char *) (p->base + port) = value; 65 + } 66 + 67 + void 68 + simple_outw(struct iop *p, unsigned short value, unsigned long port) 69 + { 70 + *(unsigned short *) (p->base + port) = value; 71 + } 72 + 73 + unsigned char 74 + pcc_inb(struct iop *p, unsigned long port) 75 + { 76 + unsigned long addr = p->base + port + 0x40000; 77 + unsigned long v; 78 + 79 + if (port & 1) 80 + addr += 0x00400000; 81 + v = *(volatile unsigned char *) addr; 82 + return v; 83 + } 84 + 85 + void 86 + pcc_outb(struct iop *p, unsigned char value, unsigned long port) 87 + { 88 + unsigned long addr = p->base + port + 0x40000; 89 + 90 + if (port & 1) 91 + addr += 0x00400000; 92 + *(volatile unsigned char *) addr = value; 93 + } 94 + 95 + unsigned char 96 + bad_inb(struct iop *p, unsigned long port) 97 + { 98 + badio(inb, port); 99 + } 100 + 101 + void 102 + bad_outb(struct iop *p, unsigned char value, unsigned long port) 103 + { 104 + badio(inw, port); 105 + } 106 + 107 + #ifdef CONFIG_SMC91X 108 + /* MSTLANEX01 LAN at 0xb400:0000 */ 109 + static struct iop laniop = { 110 + .start = 0x00, 111 + .end = 0x0F, 112 + .base = 0x04000000, 113 + .check = simple_check, 114 + .inb = simple_inb, 115 + .inw = simple_inw, 116 + .outb = simple_outb, 117 + .outw = simple_outw, 118 + }; 119 + #endif 120 + 121 + #ifdef CONFIG_NE2000 122 + /* NE2000 pc card NIC */ 123 + static struct iop neiop = { 124 + .start = 0x280, 125 + .end = 0x29f, 126 + .base = 0xb0600000 + 0x80, /* soft 0x280 -> hard 0x300 */ 127 + .check = simple_check, 128 + .inb = pcc_inb, 129 + .inw = simple_inw, 130 + .outb = pcc_outb, 131 + .outw = simple_outw, 132 + }; 133 + #endif 134 + 135 + #ifdef CONFIG_IDE 136 + /* CF in CF slot */ 137 + static struct iop cfiop = { 138 + .base = 0xb0600000, 139 + .check = ide_check, 140 + .inb = pcc_inb, 141 + .inw = simple_inw, 142 + .outb = pcc_outb, 143 + .outw = simple_outw, 144 + }; 145 + #endif 146 + 147 + static __inline__ struct iop * 148 + port2iop(unsigned long port) 149 + { 150 + if (0) ; 151 + #if defined(CONFIG_SMC91X) 152 + else if (laniop.check(&laniop, port)) 153 + return &laniop; 154 + #endif 155 + #if defined(CONFIG_NE2000) 156 + else if (neiop.check(&neiop, port)) 157 + return &neiop; 158 + #endif 159 + #if defined(CONFIG_IDE) 160 + else if (cfiop.check(&cfiop, port)) 161 + return &cfiop; 162 + #endif 163 + else 164 + return NULL; 165 + } 166 + 167 + static inline void 168 + delay(void) 169 + { 170 + ctrl_inw(0xac000000); 171 + ctrl_inw(0xac000000); 172 + } 173 + 174 + unsigned char 175 + sh7343se_inb(unsigned long port) 176 + { 177 + struct iop *p = port2iop(port); 178 + return (p->inb) (p, port); 179 + } 180 + 181 + unsigned char 182 + sh7343se_inb_p(unsigned long port) 183 + { 184 + unsigned char v = sh7343se_inb(port); 185 + delay(); 186 + return v; 187 + } 188 + 189 + unsigned short 190 + sh7343se_inw(unsigned long port) 191 + { 192 + struct iop *p = port2iop(port); 193 + return (p->inw) (p, port); 194 + } 195 + 196 + unsigned int 197 + sh7343se_inl(unsigned long port) 198 + { 199 + badio(inl, port); 200 + } 201 + 202 + void 203 + sh7343se_outb(unsigned char value, unsigned long port) 204 + { 205 + struct iop *p = port2iop(port); 206 + (p->outb) (p, value, port); 207 + } 208 + 209 + void 210 + sh7343se_outb_p(unsigned char value, unsigned long port) 211 + { 212 + sh7343se_outb(value, port); 213 + delay(); 214 + } 215 + 216 + void 217 + sh7343se_outw(unsigned short value, unsigned long port) 218 + { 219 + struct iop *p = port2iop(port); 220 + (p->outw) (p, value, port); 221 + } 222 + 223 + void 224 + sh7343se_outl(unsigned int value, unsigned long port) 225 + { 226 + badio(outl, port); 227 + } 228 + 229 + void 230 + sh7343se_insb(unsigned long port, void *addr, unsigned long count) 231 + { 232 + unsigned char *a = addr; 233 + struct iop *p = port2iop(port); 234 + while (count--) 235 + *a++ = (p->inb) (p, port); 236 + } 237 + 238 + void 239 + sh7343se_insw(unsigned long port, void *addr, unsigned long count) 240 + { 241 + unsigned short *a = addr; 242 + struct iop *p = port2iop(port); 243 + while (count--) 244 + *a++ = (p->inw) (p, port); 245 + } 246 + 247 + void 248 + sh7343se_insl(unsigned long port, void *addr, unsigned long count) 249 + { 250 + badio(insl, port); 251 + } 252 + 253 + void 254 + sh7343se_outsb(unsigned long port, const void *addr, unsigned long count) 255 + { 256 + unsigned char *a = (unsigned char *) addr; 257 + struct iop *p = port2iop(port); 258 + while (count--) 259 + (p->outb) (p, *a++, port); 260 + } 261 + 262 + void 263 + sh7343se_outsw(unsigned long port, const void *addr, unsigned long count) 264 + { 265 + unsigned short *a = (unsigned short *) addr; 266 + struct iop *p = port2iop(port); 267 + while (count--) 268 + (p->outw) (p, *a++, port); 269 + } 270 + 271 + void 272 + sh7343se_outsl(unsigned long port, const void *addr, unsigned long count) 273 + { 274 + badio(outsw, port); 275 + }
+193
arch/sh/boards/se/7343/irq.c
··· 1 + /* 2 + * arch/sh/boards/se/7343/irq.c 3 + * 4 + */ 5 + 6 + #include <linux/config.h> 7 + #include <linux/init.h> 8 + #include <linux/interrupt.h> 9 + #include <linux/irq.h> 10 + #include <asm/irq.h> 11 + #include <asm/io.h> 12 + #include <asm/mach/se7343.h> 13 + 14 + static void 15 + disable_intreq_irq(unsigned int irq) 16 + { 17 + int bit = irq - OFFCHIP_IRQ_BASE; 18 + u16 val; 19 + 20 + val = ctrl_inw(PA_CPLD_IMSK); 21 + val |= 1 << bit; 22 + ctrl_outw(val, PA_CPLD_IMSK); 23 + } 24 + 25 + static void 26 + enable_intreq_irq(unsigned int irq) 27 + { 28 + int bit = irq - OFFCHIP_IRQ_BASE; 29 + u16 val; 30 + 31 + val = ctrl_inw(PA_CPLD_IMSK); 32 + val &= ~(1 << bit); 33 + ctrl_outw(val, PA_CPLD_IMSK); 34 + } 35 + 36 + static void 37 + mask_and_ack_intreq_irq(unsigned int irq) 38 + { 39 + disable_intreq_irq(irq); 40 + } 41 + 42 + static unsigned int 43 + startup_intreq_irq(unsigned int irq) 44 + { 45 + enable_intreq_irq(irq); 46 + return 0; 47 + } 48 + 49 + static void 50 + shutdown_intreq_irq(unsigned int irq) 51 + { 52 + disable_intreq_irq(irq); 53 + } 54 + 55 + static void 56 + end_intreq_irq(unsigned int irq) 57 + { 58 + if (!(irq_desc[irq].status & (IRQ_DISABLED | IRQ_INPROGRESS))) 59 + enable_intreq_irq(irq); 60 + } 61 + 62 + static struct hw_interrupt_type intreq_irq_type = { 63 + .typename = "FPGA-IRQ", 64 + .startup = startup_intreq_irq, 65 + .shutdown = shutdown_intreq_irq, 66 + .enable = enable_intreq_irq, 67 + .disable = disable_intreq_irq, 68 + .ack = mask_and_ack_intreq_irq, 69 + .end = end_intreq_irq 70 + }; 71 + 72 + static void 73 + make_intreq_irq(unsigned int irq) 74 + { 75 + disable_irq_nosync(irq); 76 + irq_desc[irq].handler = &intreq_irq_type; 77 + disable_intreq_irq(irq); 78 + } 79 + 80 + int 81 + shmse_irq_demux(int irq) 82 + { 83 + int bit; 84 + volatile u16 val; 85 + 86 + if (irq == IRQ5_IRQ) { 87 + /* Read status Register */ 88 + val = ctrl_inw(PA_CPLD_ST); 89 + bit = ffs(val); 90 + if (bit != 0) 91 + return OFFCHIP_IRQ_BASE + bit - 1; 92 + } 93 + return irq; 94 + } 95 + 96 + /* IRQ5 is multiplexed between the following sources: 97 + * 1. PC Card socket 98 + * 2. Extension slot 99 + * 3. USB Controller 100 + * 4. Serial Controller 101 + * 102 + * We configure IRQ5 as a cascade IRQ. 103 + */ 104 + static struct irqaction irq5 = { no_action, 0, CPU_MASK_NONE, "IRQ5-cascade", 105 + NULL, NULL}; 106 + 107 + /* 108 + * Initialize IRQ setting 109 + */ 110 + void __init 111 + init_7343se_IRQ(void) 112 + { 113 + /* Setup Multiplexed interrupts */ 114 + ctrl_outw(8, PA_CPLD_MODESET); /* Set all CPLD interrupts to active 115 + * low. 116 + */ 117 + /* Mask all CPLD controller interrupts */ 118 + ctrl_outw(0x0fff, PA_CPLD_IMSK); 119 + 120 + /* PC Card interrupts */ 121 + make_intreq_irq(PC_IRQ0); 122 + make_intreq_irq(PC_IRQ1); 123 + make_intreq_irq(PC_IRQ2); 124 + make_intreq_irq(PC_IRQ3); 125 + 126 + /* Extension Slot Interrupts */ 127 + make_intreq_irq(EXT_IRQ0); 128 + make_intreq_irq(EXT_IRQ1); 129 + make_intreq_irq(EXT_IRQ2); 130 + make_intreq_irq(EXT_IRQ3); 131 + 132 + /* USB Controller interrupts */ 133 + make_intreq_irq(USB_IRQ0); 134 + make_intreq_irq(USB_IRQ1); 135 + 136 + /* Serial Controller interrupts */ 137 + make_intreq_irq(UART_IRQ0); 138 + make_intreq_irq(UART_IRQ1); 139 + 140 + /* Setup all external interrupts to be active low */ 141 + ctrl_outw(0xaaaa, INTC_ICR1); 142 + 143 + make_ipr_irq(IRQ5_IRQ, IRQ5_IPR_ADDR+2, IRQ5_IPR_POS, IRQ5_PRIORITY); 144 + setup_irq(IRQ5_IRQ, &irq5); 145 + /* Set port control to use IRQ5 */ 146 + *(u16 *)0xA4050108 &= ~0xc; 147 + 148 + make_ipr_irq(SIOF0_IRQ, SIOF0_IPR_ADDR, SIOF0_IPR_POS, SIOF0_PRIORITY); 149 + make_ipr_irq(VPU_IRQ, VPU_IPR_ADDR, VPU_IPR_POS, 8); 150 + 151 + ctrl_outb(0x0f, INTC_IMCR5); /* enable SCIF IRQ */ 152 + 153 + make_ipr_irq(DMTE0_IRQ, DMA1_IPR_ADDR, DMA1_IPR_POS, DMA1_PRIORITY); 154 + make_ipr_irq(DMTE1_IRQ, DMA1_IPR_ADDR, DMA1_IPR_POS, DMA1_PRIORITY); 155 + make_ipr_irq(DMTE2_IRQ, DMA1_IPR_ADDR, DMA1_IPR_POS, DMA1_PRIORITY); 156 + make_ipr_irq(DMTE3_IRQ, DMA1_IPR_ADDR, DMA1_IPR_POS, DMA1_PRIORITY); 157 + make_ipr_irq(DMTE4_IRQ, DMA2_IPR_ADDR, DMA2_IPR_POS, DMA2_PRIORITY); 158 + make_ipr_irq(DMTE5_IRQ, DMA2_IPR_ADDR, DMA2_IPR_POS, DMA2_PRIORITY); 159 + 160 + /* I2C block */ 161 + make_ipr_irq(IIC0_ALI_IRQ, IIC0_IPR_ADDR, IIC0_IPR_POS, IIC0_PRIORITY); 162 + make_ipr_irq(IIC0_TACKI_IRQ, IIC0_IPR_ADDR, IIC0_IPR_POS, 163 + IIC0_PRIORITY); 164 + make_ipr_irq(IIC0_WAITI_IRQ, IIC0_IPR_ADDR, IIC0_IPR_POS, 165 + IIC0_PRIORITY); 166 + make_ipr_irq(IIC0_DTEI_IRQ, IIC0_IPR_ADDR, IIC0_IPR_POS, IIC0_PRIORITY); 167 + 168 + make_ipr_irq(IIC1_ALI_IRQ, IIC1_IPR_ADDR, IIC1_IPR_POS, IIC1_PRIORITY); 169 + make_ipr_irq(IIC1_TACKI_IRQ, IIC1_IPR_ADDR, IIC1_IPR_POS, 170 + IIC1_PRIORITY); 171 + make_ipr_irq(IIC1_WAITI_IRQ, IIC1_IPR_ADDR, IIC1_IPR_POS, 172 + IIC1_PRIORITY); 173 + make_ipr_irq(IIC1_DTEI_IRQ, IIC1_IPR_ADDR, IIC1_IPR_POS, IIC1_PRIORITY); 174 + 175 + /* SIOF */ 176 + make_ipr_irq(SIOF0_IRQ, SIOF0_IPR_ADDR, SIOF0_IPR_POS, SIOF0_PRIORITY); 177 + 178 + /* SIU */ 179 + make_ipr_irq(SIU_IRQ, SIU_IPR_ADDR, SIU_IPR_POS, SIU_PRIORITY); 180 + 181 + /* VIO interrupt */ 182 + make_ipr_irq(CEU_IRQ, VIO_IPR_ADDR, VIO_IPR_POS, VIO_PRIORITY); 183 + make_ipr_irq(BEU_IRQ, VIO_IPR_ADDR, VIO_IPR_POS, VIO_PRIORITY); 184 + make_ipr_irq(VEU_IRQ, VIO_IPR_ADDR, VIO_IPR_POS, VIO_PRIORITY); 185 + 186 + /*MFI interrupt*/ 187 + 188 + make_ipr_irq(MFI_IRQ, MFI_IPR_ADDR, MFI_IPR_POS, MFI_PRIORITY); 189 + 190 + /* LCD controller */ 191 + make_ipr_irq(LCDC_IRQ, LCDC_IPR_ADDR, LCDC_IPR_POS, LCDC_PRIORITY); 192 + ctrl_outw(0x2000, PA_MRSHPC + 0x0c); /* mrshpc irq enable */ 193 + }
+46
arch/sh/boards/se/7343/led.c
··· 1 + /* 2 + * arch/sh/boards/se/7343/led.c 3 + * 4 + */ 5 + 6 + #include <linux/config.h> 7 + #include <linux/sched.h> 8 + #include <asm/mach/se7343.h> 9 + 10 + /* Cycle the LED's in the clasic Knightrider/Sun pattern */ 11 + void heartbeat_7343se(void) 12 + { 13 + static unsigned int cnt = 0, period = 0; 14 + volatile unsigned short *p = (volatile unsigned short *) PA_LED; 15 + static unsigned bit = 0, up = 1; 16 + 17 + cnt += 1; 18 + if (cnt < period) { 19 + return; 20 + } 21 + 22 + cnt = 0; 23 + 24 + /* Go through the points (roughly!): 25 + * f(0)=10, f(1)=16, f(2)=20, f(5)=35,f(inf)->110 26 + */ 27 + period = 110 - ((300 << FSHIFT) / ((avenrun[0] / 5) + (3 << FSHIFT))); 28 + 29 + if (up) { 30 + if (bit == 7) { 31 + bit--; 32 + up = 0; 33 + } else { 34 + bit++; 35 + } 36 + } else { 37 + if (bit == 0) { 38 + bit++; 39 + up = 1; 40 + } else { 41 + bit--; 42 + } 43 + } 44 + *p = 1 << (bit + LED_SHIFT); 45 + 46 + }
+84
arch/sh/boards/se/7343/setup.c
··· 1 + #include <linux/config.h> 2 + #include <linux/init.h> 3 + #include <linux/platform_device.h> 4 + #include <asm/machvec.h> 5 + #include <asm/mach/se7343.h> 6 + #include <asm/irq.h> 7 + 8 + void heartbeat_7343se(void); 9 + void init_7343se_IRQ(void); 10 + 11 + static struct resource smc91x_resources[] = { 12 + [0] = { 13 + .start = 0x10000000, 14 + .end = 0x1000000F, 15 + .flags = IORESOURCE_MEM, 16 + }, 17 + [1] = { 18 + /* 19 + * shared with other devices via externel 20 + * interrupt controller in FPGA... 21 + */ 22 + .start = EXT_IRQ2, 23 + .end = EXT_IRQ2, 24 + .flags = IORESOURCE_IRQ, 25 + }, 26 + }; 27 + 28 + static struct platform_device smc91x_device = { 29 + .name = "smc91x", 30 + .id = 0, 31 + .num_resources = ARRAY_SIZE(smc91x_resources), 32 + .resource = smc91x_resources, 33 + }; 34 + 35 + static struct platform_device *smc91x_platform_devices[] __initdata = { 36 + &smc91x_device, 37 + }; 38 + 39 + static int __init sh7343se_devices_setup(void) 40 + { 41 + return platform_add_devices(smc91x_platform_devices, 42 + ARRAY_SIZE(smc91x_platform_devices)); 43 + } 44 + 45 + static void __init sh7343se_setup(char **cmdline_p) 46 + { 47 + device_initcall(sh7343se_devices_setup); 48 + } 49 + 50 + /* 51 + * The Machine Vector 52 + */ 53 + struct sh_machine_vector mv_7343se __initmv = { 54 + .mv_name = "SolutionEngine 7343", 55 + .mv_setup = sh7343se_setup, 56 + .mv_nr_irqs = 108, 57 + .mv_inb = sh7343se_inb, 58 + .mv_inw = sh7343se_inw, 59 + .mv_inl = sh7343se_inl, 60 + .mv_outb = sh7343se_outb, 61 + .mv_outw = sh7343se_outw, 62 + .mv_outl = sh7343se_outl, 63 + 64 + .mv_inb_p = sh7343se_inb_p, 65 + .mv_inw_p = sh7343se_inw, 66 + .mv_inl_p = sh7343se_inl, 67 + .mv_outb_p = sh7343se_outb_p, 68 + .mv_outw_p = sh7343se_outw, 69 + .mv_outl_p = sh7343se_outl, 70 + 71 + .mv_insb = sh7343se_insb, 72 + .mv_insw = sh7343se_insw, 73 + .mv_insl = sh7343se_insl, 74 + .mv_outsb = sh7343se_outsb, 75 + .mv_outsw = sh7343se_outsw, 76 + .mv_outsl = sh7343se_outsl, 77 + 78 + .mv_init_irq = init_7343se_IRQ, 79 + .mv_irq_demux = shmse_irq_demux, 80 + #ifdef CONFIG_HEARTBEAT 81 + .mv_heartbeat = heartbeat_7343se, 82 + #endif 83 + }; 84 + ALIAS_MV(7343se)
+997
arch/sh/configs/se7343_defconfig
··· 1 + # 2 + # Automatically generated make config: don't edit 3 + # Linux kernel version: 2.6.17 4 + # Mon Aug 7 20:14:44 2006 5 + # 6 + CONFIG_SUPERH=y 7 + CONFIG_RWSEM_GENERIC_SPINLOCK=y 8 + CONFIG_GENERIC_FIND_NEXT_BIT=y 9 + CONFIG_GENERIC_HWEIGHT=y 10 + CONFIG_GENERIC_HARDIRQS=y 11 + CONFIG_GENERIC_IRQ_PROBE=y 12 + CONFIG_GENERIC_CALIBRATE_DELAY=y 13 + 14 + # 15 + # Code maturity level options 16 + # 17 + CONFIG_EXPERIMENTAL=y 18 + CONFIG_BROKEN_ON_SMP=y 19 + CONFIG_INIT_ENV_ARG_LIMIT=32 20 + 21 + # 22 + # General setup 23 + # 24 + CONFIG_LOCALVERSION="" 25 + CONFIG_LOCALVERSION_AUTO=y 26 + # CONFIG_SWAP is not set 27 + CONFIG_SYSVIPC=y 28 + CONFIG_POSIX_MQUEUE=y 29 + # CONFIG_BSD_PROCESS_ACCT is not set 30 + CONFIG_SYSCTL=y 31 + # CONFIG_AUDIT is not set 32 + # CONFIG_IKCONFIG is not set 33 + # CONFIG_RELAY is not set 34 + CONFIG_INITRAMFS_SOURCE="" 35 + CONFIG_UID16=y 36 + CONFIG_CC_OPTIMIZE_FOR_SIZE=y 37 + CONFIG_EMBEDDED=y 38 + CONFIG_KALLSYMS=y 39 + # CONFIG_KALLSYMS_EXTRA_PASS is not set 40 + CONFIG_HOTPLUG=y 41 + CONFIG_PRINTK=y 42 + CONFIG_BUG=y 43 + CONFIG_ELF_CORE=y 44 + CONFIG_BASE_FULL=y 45 + # CONFIG_FUTEX is not set 46 + # CONFIG_EPOLL is not set 47 + # CONFIG_SHMEM is not set 48 + CONFIG_SLAB=y 49 + CONFIG_TINY_SHMEM=y 50 + CONFIG_BASE_SMALL=0 51 + # CONFIG_SLOB is not set 52 + CONFIG_OBSOLETE_INTERMODULE=y 53 + 54 + # 55 + # Loadable module support 56 + # 57 + CONFIG_MODULES=y 58 + CONFIG_MODULE_UNLOAD=y 59 + CONFIG_MODULE_FORCE_UNLOAD=y 60 + # CONFIG_MODVERSIONS is not set 61 + # CONFIG_MODULE_SRCVERSION_ALL is not set 62 + # CONFIG_KMOD is not set 63 + 64 + # 65 + # Block layer 66 + # 67 + # CONFIG_LBD is not set 68 + # CONFIG_BLK_DEV_IO_TRACE is not set 69 + # CONFIG_LSF is not set 70 + 71 + # 72 + # IO Schedulers 73 + # 74 + CONFIG_IOSCHED_NOOP=y 75 + # CONFIG_IOSCHED_AS is not set 76 + CONFIG_IOSCHED_DEADLINE=y 77 + # CONFIG_IOSCHED_CFQ is not set 78 + # CONFIG_DEFAULT_AS is not set 79 + CONFIG_DEFAULT_DEADLINE=y 80 + # CONFIG_DEFAULT_CFQ is not set 81 + # CONFIG_DEFAULT_NOOP is not set 82 + CONFIG_DEFAULT_IOSCHED="deadline" 83 + 84 + # 85 + # System type 86 + # 87 + CONFIG_SOLUTION_ENGINE=y 88 + # CONFIG_SH_SOLUTION_ENGINE is not set 89 + # CONFIG_SH_7751_SOLUTION_ENGINE is not set 90 + # CONFIG_SH_7300_SOLUTION_ENGINE is not set 91 + CONFIG_SH_7343_SOLUTION_ENGINE=y 92 + # CONFIG_SH_73180_SOLUTION_ENGINE is not set 93 + # CONFIG_SH_7751_SYSTEMH is not set 94 + # CONFIG_SH_HP6XX is not set 95 + # CONFIG_SH_EC3104 is not set 96 + # CONFIG_SH_SATURN is not set 97 + # CONFIG_SH_DREAMCAST is not set 98 + # CONFIG_SH_BIGSUR is not set 99 + # CONFIG_SH_MPC1211 is not set 100 + # CONFIG_SH_SH03 is not set 101 + # CONFIG_SH_SECUREEDGE5410 is not set 102 + # CONFIG_SH_HS7751RVOIP is not set 103 + # CONFIG_SH_7710VOIPGW is not set 104 + # CONFIG_SH_RTS7751R2D is not set 105 + # CONFIG_SH_R7780RP is not set 106 + # CONFIG_SH_EDOSK7705 is not set 107 + # CONFIG_SH_SH4202_MICRODEV is not set 108 + # CONFIG_SH_LANDISK is not set 109 + # CONFIG_SH_TITAN is not set 110 + # CONFIG_SH_SHMIN is not set 111 + # CONFIG_SH_UNKNOWN is not set 112 + 113 + # 114 + # Processor selection 115 + # 116 + CONFIG_CPU_SH4=y 117 + CONFIG_CPU_SH4A=y 118 + 119 + # 120 + # SH-2 Processor Support 121 + # 122 + # CONFIG_CPU_SUBTYPE_SH7604 is not set 123 + 124 + # 125 + # SH-3 Processor Support 126 + # 127 + # CONFIG_CPU_SUBTYPE_SH7300 is not set 128 + # CONFIG_CPU_SUBTYPE_SH7705 is not set 129 + # CONFIG_CPU_SUBTYPE_SH7706 is not set 130 + # CONFIG_CPU_SUBTYPE_SH7707 is not set 131 + # CONFIG_CPU_SUBTYPE_SH7708 is not set 132 + # CONFIG_CPU_SUBTYPE_SH7709 is not set 133 + # CONFIG_CPU_SUBTYPE_SH7710 is not set 134 + 135 + # 136 + # SH-4 Processor Support 137 + # 138 + # CONFIG_CPU_SUBTYPE_SH7750 is not set 139 + # CONFIG_CPU_SUBTYPE_SH7091 is not set 140 + # CONFIG_CPU_SUBTYPE_SH7750R is not set 141 + # CONFIG_CPU_SUBTYPE_SH7750S is not set 142 + # CONFIG_CPU_SUBTYPE_SH7751 is not set 143 + # CONFIG_CPU_SUBTYPE_SH7751R is not set 144 + # CONFIG_CPU_SUBTYPE_SH7760 is not set 145 + # CONFIG_CPU_SUBTYPE_SH4_202 is not set 146 + 147 + # 148 + # ST40 Processor Support 149 + # 150 + # CONFIG_CPU_SUBTYPE_ST40STB1 is not set 151 + # CONFIG_CPU_SUBTYPE_ST40GX1 is not set 152 + 153 + # 154 + # SH-4A Processor Support 155 + # 156 + # CONFIG_CPU_SUBTYPE_SH73180 is not set 157 + CONFIG_CPU_SUBTYPE_SH7343=y 158 + # CONFIG_CPU_SUBTYPE_SH7770 is not set 159 + # CONFIG_CPU_SUBTYPE_SH7780 is not set 160 + 161 + # 162 + # Memory management options 163 + # 164 + CONFIG_MMU=y 165 + CONFIG_PAGE_OFFSET=0x80000000 166 + CONFIG_MEMORY_START=0x0c000000 167 + CONFIG_MEMORY_SIZE=0x01000000 168 + CONFIG_32BIT=y 169 + CONFIG_SELECT_MEMORY_MODEL=y 170 + CONFIG_FLATMEM_MANUAL=y 171 + # CONFIG_DISCONTIGMEM_MANUAL is not set 172 + # CONFIG_SPARSEMEM_MANUAL is not set 173 + CONFIG_FLATMEM=y 174 + CONFIG_FLAT_NODE_MEM_MAP=y 175 + # CONFIG_SPARSEMEM_STATIC is not set 176 + CONFIG_SPLIT_PTLOCK_CPUS=4 177 + 178 + # 179 + # Cache configuration 180 + # 181 + # CONFIG_SH_DIRECT_MAPPED is not set 182 + # CONFIG_SH_WRITETHROUGH is not set 183 + # CONFIG_SH_OCRAM is not set 184 + 185 + # 186 + # Processor features 187 + # 188 + CONFIG_CPU_LITTLE_ENDIAN=y 189 + # CONFIG_SH_FPU is not set 190 + # CONFIG_SH_FPU_EMU is not set 191 + CONFIG_SH_DSP=y 192 + # CONFIG_SH_STORE_QUEUES is not set 193 + CONFIG_CPU_HAS_INTEVT=y 194 + CONFIG_CPU_HAS_SR_RB=y 195 + 196 + # 197 + # Timer support 198 + # 199 + CONFIG_SH_TMU=y 200 + CONFIG_SH_PCLK_FREQ=27000000 201 + 202 + # 203 + # CPU Frequency scaling 204 + # 205 + # CONFIG_CPU_FREQ is not set 206 + 207 + # 208 + # DMA support 209 + # 210 + # CONFIG_SH_DMA is not set 211 + 212 + # 213 + # Companion Chips 214 + # 215 + # CONFIG_HD6446X_SERIES is not set 216 + CONFIG_HEARTBEAT=y 217 + 218 + # 219 + # Kernel features 220 + # 221 + # CONFIG_HZ_100 is not set 222 + CONFIG_HZ_250=y 223 + # CONFIG_HZ_1000 is not set 224 + CONFIG_HZ=250 225 + # CONFIG_KEXEC is not set 226 + # CONFIG_SMP is not set 227 + CONFIG_PREEMPT_NONE=y 228 + # CONFIG_PREEMPT_VOLUNTARY is not set 229 + # CONFIG_PREEMPT is not set 230 + 231 + # 232 + # Boot options 233 + # 234 + CONFIG_ZERO_PAGE_OFFSET=0x00001000 235 + CONFIG_BOOT_LINK_OFFSET=0x00800000 236 + # CONFIG_UBC_WAKEUP is not set 237 + # CONFIG_CMDLINE_BOOL is not set 238 + 239 + # 240 + # Bus options 241 + # 242 + # CONFIG_PCI is not set 243 + 244 + # 245 + # PCCARD (PCMCIA/CardBus) support 246 + # 247 + # CONFIG_PCCARD is not set 248 + 249 + # 250 + # PCI Hotplug Support 251 + # 252 + 253 + # 254 + # Executable file formats 255 + # 256 + CONFIG_BINFMT_ELF=y 257 + # CONFIG_BINFMT_FLAT is not set 258 + # CONFIG_BINFMT_MISC is not set 259 + 260 + # 261 + # Power management options (EXPERIMENTAL) 262 + # 263 + # CONFIG_PM is not set 264 + 265 + # 266 + # Networking 267 + # 268 + CONFIG_NET=y 269 + 270 + # 271 + # Networking options 272 + # 273 + # CONFIG_NETDEBUG is not set 274 + CONFIG_PACKET=y 275 + CONFIG_PACKET_MMAP=y 276 + CONFIG_UNIX=y 277 + # CONFIG_NET_KEY is not set 278 + CONFIG_INET=y 279 + # CONFIG_IP_MULTICAST is not set 280 + # CONFIG_IP_ADVANCED_ROUTER is not set 281 + CONFIG_IP_FIB_HASH=y 282 + CONFIG_IP_PNP=y 283 + CONFIG_IP_PNP_DHCP=y 284 + # CONFIG_IP_PNP_BOOTP is not set 285 + # CONFIG_IP_PNP_RARP is not set 286 + # CONFIG_NET_IPIP is not set 287 + # CONFIG_NET_IPGRE is not set 288 + # CONFIG_ARPD is not set 289 + CONFIG_SYN_COOKIES=y 290 + # CONFIG_INET_AH is not set 291 + # CONFIG_INET_ESP is not set 292 + # CONFIG_INET_IPCOMP is not set 293 + # CONFIG_INET_XFRM_TUNNEL is not set 294 + # CONFIG_INET_TUNNEL is not set 295 + # CONFIG_INET_DIAG is not set 296 + # CONFIG_TCP_CONG_ADVANCED is not set 297 + CONFIG_TCP_CONG_BIC=y 298 + # CONFIG_IPV6 is not set 299 + # CONFIG_INET6_XFRM_TUNNEL is not set 300 + # CONFIG_INET6_TUNNEL is not set 301 + # CONFIG_NETFILTER is not set 302 + 303 + # 304 + # DCCP Configuration (EXPERIMENTAL) 305 + # 306 + # CONFIG_IP_DCCP is not set 307 + 308 + # 309 + # SCTP Configuration (EXPERIMENTAL) 310 + # 311 + # CONFIG_IP_SCTP is not set 312 + 313 + # 314 + # TIPC Configuration (EXPERIMENTAL) 315 + # 316 + # CONFIG_TIPC is not set 317 + # CONFIG_ATM is not set 318 + # CONFIG_BRIDGE is not set 319 + # CONFIG_VLAN_8021Q is not set 320 + # CONFIG_DECNET is not set 321 + # CONFIG_LLC2 is not set 322 + # CONFIG_IPX is not set 323 + # CONFIG_ATALK is not set 324 + # CONFIG_X25 is not set 325 + # CONFIG_LAPB is not set 326 + # CONFIG_NET_DIVERT is not set 327 + # CONFIG_ECONET is not set 328 + # CONFIG_WAN_ROUTER is not set 329 + 330 + # 331 + # QoS and/or fair queueing 332 + # 333 + # CONFIG_NET_SCHED is not set 334 + 335 + # 336 + # Network testing 337 + # 338 + # CONFIG_NET_PKTGEN is not set 339 + # CONFIG_HAMRADIO is not set 340 + # CONFIG_IRDA is not set 341 + # CONFIG_BT is not set 342 + # CONFIG_IEEE80211 is not set 343 + 344 + # 345 + # Device Drivers 346 + # 347 + 348 + # 349 + # Generic Driver Options 350 + # 351 + CONFIG_STANDALONE=y 352 + CONFIG_PREVENT_FIRMWARE_BUILD=y 353 + CONFIG_FW_LOADER=y 354 + 355 + # 356 + # Connector - unified userspace <-> kernelspace linker 357 + # 358 + # CONFIG_CONNECTOR is not set 359 + 360 + # 361 + # Memory Technology Devices (MTD) 362 + # 363 + CONFIG_MTD=y 364 + # CONFIG_MTD_DEBUG is not set 365 + CONFIG_MTD_CONCAT=y 366 + CONFIG_MTD_PARTITIONS=y 367 + # CONFIG_MTD_REDBOOT_PARTS is not set 368 + # CONFIG_MTD_CMDLINE_PARTS is not set 369 + 370 + # 371 + # User Modules And Translation Layers 372 + # 373 + CONFIG_MTD_CHAR=y 374 + CONFIG_MTD_BLOCK=y 375 + # CONFIG_FTL is not set 376 + # CONFIG_NFTL is not set 377 + # CONFIG_INFTL is not set 378 + # CONFIG_RFD_FTL is not set 379 + 380 + # 381 + # RAM/ROM/Flash chip drivers 382 + # 383 + CONFIG_MTD_CFI=y 384 + # CONFIG_MTD_JEDECPROBE is not set 385 + CONFIG_MTD_GEN_PROBE=y 386 + # CONFIG_MTD_CFI_ADV_OPTIONS is not set 387 + CONFIG_MTD_MAP_BANK_WIDTH_1=y 388 + CONFIG_MTD_MAP_BANK_WIDTH_2=y 389 + CONFIG_MTD_MAP_BANK_WIDTH_4=y 390 + # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set 391 + # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set 392 + # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set 393 + CONFIG_MTD_CFI_I1=y 394 + CONFIG_MTD_CFI_I2=y 395 + # CONFIG_MTD_CFI_I4 is not set 396 + # CONFIG_MTD_CFI_I8 is not set 397 + # CONFIG_MTD_CFI_INTELEXT is not set 398 + CONFIG_MTD_CFI_AMDSTD=y 399 + # CONFIG_MTD_CFI_STAA is not set 400 + CONFIG_MTD_CFI_UTIL=y 401 + CONFIG_MTD_RAM=y 402 + # CONFIG_MTD_ROM is not set 403 + # CONFIG_MTD_ABSENT is not set 404 + # CONFIG_MTD_OBSOLETE_CHIPS is not set 405 + 406 + # 407 + # Mapping drivers for chip access 408 + # 409 + # CONFIG_MTD_COMPLEX_MAPPINGS is not set 410 + # CONFIG_MTD_PHYSMAP is not set 411 + # CONFIG_MTD_SOLUTIONENGINE is not set 412 + # CONFIG_MTD_PLATRAM is not set 413 + 414 + # 415 + # Self-contained MTD device drivers 416 + # 417 + # CONFIG_MTD_SLRAM is not set 418 + # CONFIG_MTD_PHRAM is not set 419 + # CONFIG_MTD_MTDRAM is not set 420 + # CONFIG_MTD_BLOCK2MTD is not set 421 + 422 + # 423 + # Disk-On-Chip Device Drivers 424 + # 425 + # CONFIG_MTD_DOC2000 is not set 426 + # CONFIG_MTD_DOC2001 is not set 427 + # CONFIG_MTD_DOC2001PLUS is not set 428 + 429 + # 430 + # NAND Flash Device Drivers 431 + # 432 + # CONFIG_MTD_NAND is not set 433 + 434 + # 435 + # OneNAND Flash Device Drivers 436 + # 437 + # CONFIG_MTD_ONENAND is not set 438 + 439 + # 440 + # Parallel port support 441 + # 442 + # CONFIG_PARPORT is not set 443 + 444 + # 445 + # Plug and Play support 446 + # 447 + 448 + # 449 + # Block devices 450 + # 451 + # CONFIG_BLK_DEV_COW_COMMON is not set 452 + # CONFIG_BLK_DEV_LOOP is not set 453 + # CONFIG_BLK_DEV_NBD is not set 454 + # CONFIG_BLK_DEV_RAM is not set 455 + # CONFIG_BLK_DEV_INITRD is not set 456 + # CONFIG_CDROM_PKTCDVD is not set 457 + # CONFIG_ATA_OVER_ETH is not set 458 + 459 + # 460 + # ATA/ATAPI/MFM/RLL support 461 + # 462 + # CONFIG_IDE is not set 463 + 464 + # 465 + # SCSI device support 466 + # 467 + # CONFIG_RAID_ATTRS is not set 468 + # CONFIG_SCSI is not set 469 + 470 + # 471 + # Multi-device support (RAID and LVM) 472 + # 473 + # CONFIG_MD is not set 474 + 475 + # 476 + # Fusion MPT device support 477 + # 478 + # CONFIG_FUSION is not set 479 + 480 + # 481 + # IEEE 1394 (FireWire) support 482 + # 483 + 484 + # 485 + # I2O device support 486 + # 487 + 488 + # 489 + # Network device support 490 + # 491 + CONFIG_NETDEVICES=y 492 + # CONFIG_DUMMY is not set 493 + # CONFIG_BONDING is not set 494 + # CONFIG_EQUALIZER is not set 495 + # CONFIG_TUN is not set 496 + 497 + # 498 + # PHY device support 499 + # 500 + # CONFIG_PHYLIB is not set 501 + 502 + # 503 + # Ethernet (10 or 100Mbit) 504 + # 505 + CONFIG_NET_ETHERNET=y 506 + CONFIG_MII=y 507 + # CONFIG_STNIC is not set 508 + CONFIG_SMC91X=y 509 + # CONFIG_NE2000 is not set 510 + 511 + # 512 + # Ethernet (1000 Mbit) 513 + # 514 + 515 + # 516 + # Ethernet (10000 Mbit) 517 + # 518 + 519 + # 520 + # Token Ring devices 521 + # 522 + 523 + # 524 + # Wireless LAN (non-hamradio) 525 + # 526 + # CONFIG_NET_RADIO is not set 527 + 528 + # 529 + # Wan interfaces 530 + # 531 + # CONFIG_WAN is not set 532 + # CONFIG_PPP is not set 533 + # CONFIG_SLIP is not set 534 + # CONFIG_SHAPER is not set 535 + # CONFIG_NETCONSOLE is not set 536 + # CONFIG_NETPOLL is not set 537 + # CONFIG_NET_POLL_CONTROLLER is not set 538 + 539 + # 540 + # ISDN subsystem 541 + # 542 + # CONFIG_ISDN is not set 543 + 544 + # 545 + # Telephony Support 546 + # 547 + # CONFIG_PHONE is not set 548 + 549 + # 550 + # Input device support 551 + # 552 + CONFIG_INPUT=y 553 + 554 + # 555 + # Userland interfaces 556 + # 557 + # CONFIG_INPUT_MOUSEDEV is not set 558 + # CONFIG_INPUT_JOYDEV is not set 559 + # CONFIG_INPUT_TSDEV is not set 560 + # CONFIG_INPUT_EVDEV is not set 561 + # CONFIG_INPUT_EVBUG is not set 562 + 563 + # 564 + # Input Device Drivers 565 + # 566 + # CONFIG_INPUT_KEYBOARD is not set 567 + # CONFIG_INPUT_MOUSE is not set 568 + # CONFIG_INPUT_JOYSTICK is not set 569 + # CONFIG_INPUT_TOUCHSCREEN is not set 570 + # CONFIG_INPUT_MISC is not set 571 + 572 + # 573 + # Hardware I/O ports 574 + # 575 + # CONFIG_SERIO is not set 576 + # CONFIG_GAMEPORT is not set 577 + 578 + # 579 + # Character devices 580 + # 581 + CONFIG_VT=y 582 + CONFIG_VT_CONSOLE=y 583 + CONFIG_HW_CONSOLE=y 584 + # CONFIG_SERIAL_NONSTANDARD is not set 585 + 586 + # 587 + # Serial drivers 588 + # 589 + # CONFIG_SERIAL_8250 is not set 590 + 591 + # 592 + # Non-8250 serial port support 593 + # 594 + CONFIG_SERIAL_SH_SCI=y 595 + CONFIG_SERIAL_SH_SCI_NR_UARTS=2 596 + CONFIG_SERIAL_SH_SCI_CONSOLE=y 597 + CONFIG_SERIAL_CORE=y 598 + CONFIG_SERIAL_CORE_CONSOLE=y 599 + # CONFIG_UNIX98_PTYS is not set 600 + CONFIG_LEGACY_PTYS=y 601 + CONFIG_LEGACY_PTY_COUNT=256 602 + 603 + # 604 + # IPMI 605 + # 606 + # CONFIG_IPMI_HANDLER is not set 607 + 608 + # 609 + # Watchdog Cards 610 + # 611 + # CONFIG_WATCHDOG is not set 612 + # CONFIG_RTC is not set 613 + # CONFIG_GEN_RTC is not set 614 + # CONFIG_DTLK is not set 615 + # CONFIG_R3964 is not set 616 + 617 + # 618 + # Ftape, the floppy tape device driver 619 + # 620 + # CONFIG_RAW_DRIVER is not set 621 + 622 + # 623 + # TPM devices 624 + # 625 + # CONFIG_TCG_TPM is not set 626 + # CONFIG_TELCLOCK is not set 627 + 628 + # 629 + # I2C support 630 + # 631 + CONFIG_I2C=y 632 + CONFIG_I2C_CHARDEV=y 633 + 634 + # 635 + # I2C Algorithms 636 + # 637 + # CONFIG_I2C_ALGOBIT is not set 638 + # CONFIG_I2C_ALGOPCF is not set 639 + # CONFIG_I2C_ALGOPCA is not set 640 + 641 + # 642 + # I2C Hardware Bus support 643 + # 644 + # CONFIG_I2C_PARPORT_LIGHT is not set 645 + # CONFIG_I2C_STUB is not set 646 + # CONFIG_I2C_PCA_ISA is not set 647 + CONFIG_I2C_SH7343=y 648 + 649 + # 650 + # Miscellaneous I2C Chip support 651 + # 652 + # CONFIG_SENSORS_DS1337 is not set 653 + # CONFIG_SENSORS_DS1374 is not set 654 + # CONFIG_SENSORS_EEPROM is not set 655 + # CONFIG_SENSORS_PCF8574 is not set 656 + # CONFIG_SENSORS_PCA9539 is not set 657 + # CONFIG_SENSORS_PCF8591 is not set 658 + # CONFIG_SENSORS_MAX6875 is not set 659 + # CONFIG_I2C_DEBUG_CORE is not set 660 + # CONFIG_I2C_DEBUG_ALGO is not set 661 + # CONFIG_I2C_DEBUG_BUS is not set 662 + # CONFIG_I2C_DEBUG_CHIP is not set 663 + 664 + # 665 + # SPI support 666 + # 667 + # CONFIG_SPI is not set 668 + # CONFIG_SPI_MASTER is not set 669 + 670 + # 671 + # Dallas's 1-wire bus 672 + # 673 + # CONFIG_W1 is not set 674 + 675 + # 676 + # Hardware Monitoring support 677 + # 678 + # CONFIG_HWMON is not set 679 + # CONFIG_HWMON_VID is not set 680 + 681 + # 682 + # Misc devices 683 + # 684 + 685 + # 686 + # Multimedia devices 687 + # 688 + CONFIG_VIDEO_DEV=y 689 + CONFIG_VIDEO_V4L1=y 690 + CONFIG_VIDEO_V4L1_COMPAT=y 691 + CONFIG_VIDEO_V4L2=y 692 + 693 + # 694 + # Video Capture Adapters 695 + # 696 + 697 + # 698 + # Video Capture Adapters 699 + # 700 + # CONFIG_VIDEO_ADV_DEBUG is not set 701 + # CONFIG_VIDEO_VIVI is not set 702 + # CONFIG_VIDEO_CPIA is not set 703 + # CONFIG_VIDEO_SAA5246A is not set 704 + # CONFIG_VIDEO_SAA5249 is not set 705 + # CONFIG_TUNER_3036 is not set 706 + # CONFIG_VIDEO_OVCAMCHIP is not set 707 + 708 + # 709 + # Encoders and Decoders 710 + # 711 + # CONFIG_VIDEO_MSP3400 is not set 712 + # CONFIG_VIDEO_CS53L32A is not set 713 + # CONFIG_VIDEO_WM8775 is not set 714 + # CONFIG_VIDEO_WM8739 is not set 715 + # CONFIG_VIDEO_CX25840 is not set 716 + # CONFIG_VIDEO_SAA711X is not set 717 + # CONFIG_VIDEO_SAA7127 is not set 718 + # CONFIG_VIDEO_UPD64031A is not set 719 + # CONFIG_VIDEO_UPD64083 is not set 720 + 721 + # 722 + # Radio Adapters 723 + # 724 + # CONFIG_RADIO_MAESTRO is not set 725 + 726 + # 727 + # Digital Video Broadcasting Devices 728 + # 729 + # CONFIG_DVB is not set 730 + 731 + # 732 + # Graphics support 733 + # 734 + CONFIG_FB=y 735 + # CONFIG_FB_CFB_FILLRECT is not set 736 + # CONFIG_FB_CFB_COPYAREA is not set 737 + # CONFIG_FB_CFB_IMAGEBLIT is not set 738 + # CONFIG_FB_MACMODES is not set 739 + CONFIG_FB_FIRMWARE_EDID=y 740 + # CONFIG_FB_MODE_HELPERS is not set 741 + # CONFIG_FB_TILEBLITTING is not set 742 + # CONFIG_FB_EPSON1355 is not set 743 + # CONFIG_FB_S1D13XXX is not set 744 + # CONFIG_FB_VIRTUAL is not set 745 + 746 + # 747 + # Console display driver support 748 + # 749 + CONFIG_DUMMY_CONSOLE=y 750 + # CONFIG_FRAMEBUFFER_CONSOLE is not set 751 + 752 + # 753 + # Logo configuration 754 + # 755 + # CONFIG_LOGO is not set 756 + # CONFIG_BACKLIGHT_LCD_SUPPORT is not set 757 + 758 + # 759 + # Sound 760 + # 761 + CONFIG_SOUND=y 762 + 763 + # 764 + # Advanced Linux Sound Architecture 765 + # 766 + CONFIG_SND=y 767 + CONFIG_SND_TIMER=y 768 + CONFIG_SND_PCM=y 769 + CONFIG_SND_SEQUENCER=y 770 + # CONFIG_SND_SEQ_DUMMY is not set 771 + CONFIG_SND_OSSEMUL=y 772 + # CONFIG_SND_MIXER_OSS is not set 773 + CONFIG_SND_PCM_OSS=y 774 + CONFIG_SND_PCM_OSS_PLUGINS=y 775 + # CONFIG_SND_SEQUENCER_OSS is not set 776 + # CONFIG_SND_DYNAMIC_MINORS is not set 777 + CONFIG_SND_SUPPORT_OLD_API=y 778 + CONFIG_SND_VERBOSE_PROCFS=y 779 + # CONFIG_SND_VERBOSE_PRINTK is not set 780 + # CONFIG_SND_DEBUG is not set 781 + 782 + # 783 + # Generic devices 784 + # 785 + # CONFIG_SND_DUMMY is not set 786 + # CONFIG_SND_VIRMIDI is not set 787 + # CONFIG_SND_MTPAV is not set 788 + # CONFIG_SND_SERIAL_U16550 is not set 789 + # CONFIG_SND_MPU401 is not set 790 + 791 + # 792 + # SuperH devices 793 + # 794 + CONFIG_SH7343_SIU=m 795 + CONFIG_AK4537_CODEC=y 796 + 797 + # 798 + # Open Sound System 799 + # 800 + # CONFIG_SOUND_PRIME is not set 801 + 802 + # 803 + # USB support 804 + # 805 + # CONFIG_USB_ARCH_HAS_HCD is not set 806 + # CONFIG_USB_ARCH_HAS_OHCI is not set 807 + # CONFIG_USB_ARCH_HAS_EHCI is not set 808 + 809 + # 810 + # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' 811 + # 812 + 813 + # 814 + # USB Gadget Support 815 + # 816 + # CONFIG_USB_GADGET is not set 817 + 818 + # 819 + # MMC/SD Card support 820 + # 821 + # CONFIG_MMC is not set 822 + 823 + # 824 + # LED devices 825 + # 826 + # CONFIG_NEW_LEDS is not set 827 + 828 + # 829 + # LED drivers 830 + # 831 + 832 + # 833 + # LED Triggers 834 + # 835 + 836 + # 837 + # InfiniBand support 838 + # 839 + 840 + # 841 + # EDAC - error detection and reporting (RAS) (EXPERIMENTAL) 842 + # 843 + 844 + # 845 + # Real Time Clock 846 + # 847 + # CONFIG_RTC_CLASS is not set 848 + 849 + # 850 + # File systems 851 + # 852 + # CONFIG_EXT2_FS is not set 853 + # CONFIG_EXT3_FS is not set 854 + # CONFIG_REISERFS_FS is not set 855 + # CONFIG_JFS_FS is not set 856 + # CONFIG_FS_POSIX_ACL is not set 857 + # CONFIG_XFS_FS is not set 858 + # CONFIG_OCFS2_FS is not set 859 + # CONFIG_MINIX_FS is not set 860 + # CONFIG_ROMFS_FS is not set 861 + # CONFIG_INOTIFY is not set 862 + # CONFIG_QUOTA is not set 863 + # CONFIG_DNOTIFY is not set 864 + # CONFIG_AUTOFS_FS is not set 865 + # CONFIG_AUTOFS4_FS is not set 866 + # CONFIG_FUSE_FS is not set 867 + 868 + # 869 + # CD-ROM/DVD Filesystems 870 + # 871 + # CONFIG_ISO9660_FS is not set 872 + # CONFIG_UDF_FS is not set 873 + 874 + # 875 + # DOS/FAT/NT Filesystems 876 + # 877 + # CONFIG_MSDOS_FS is not set 878 + # CONFIG_VFAT_FS is not set 879 + # CONFIG_NTFS_FS is not set 880 + 881 + # 882 + # Pseudo filesystems 883 + # 884 + CONFIG_PROC_FS=y 885 + # CONFIG_PROC_KCORE is not set 886 + CONFIG_SYSFS=y 887 + CONFIG_TMPFS=y 888 + # CONFIG_HUGETLBFS is not set 889 + # CONFIG_HUGETLB_PAGE is not set 890 + CONFIG_RAMFS=y 891 + # CONFIG_CONFIGFS_FS is not set 892 + 893 + # 894 + # Miscellaneous filesystems 895 + # 896 + # CONFIG_ADFS_FS is not set 897 + # CONFIG_AFFS_FS is not set 898 + # CONFIG_HFS_FS is not set 899 + # CONFIG_HFSPLUS_FS is not set 900 + # CONFIG_BEFS_FS is not set 901 + # CONFIG_BFS_FS is not set 902 + # CONFIG_EFS_FS is not set 903 + # CONFIG_JFFS_FS is not set 904 + CONFIG_JFFS2_FS=y 905 + CONFIG_JFFS2_FS_DEBUG=0 906 + CONFIG_JFFS2_FS_WRITEBUFFER=y 907 + # CONFIG_JFFS2_SUMMARY is not set 908 + # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set 909 + CONFIG_JFFS2_ZLIB=y 910 + CONFIG_JFFS2_RTIME=y 911 + # CONFIG_JFFS2_RUBIN is not set 912 + # CONFIG_CRAMFS is not set 913 + # CONFIG_VXFS_FS is not set 914 + # CONFIG_HPFS_FS is not set 915 + # CONFIG_QNX4FS_FS is not set 916 + # CONFIG_SYSV_FS is not set 917 + # CONFIG_UFS_FS is not set 918 + 919 + # 920 + # Network File Systems 921 + # 922 + CONFIG_NFS_FS=y 923 + CONFIG_NFS_V3=y 924 + # CONFIG_NFS_V3_ACL is not set 925 + # CONFIG_NFS_V4 is not set 926 + # CONFIG_NFS_DIRECTIO is not set 927 + CONFIG_NFSD=y 928 + # CONFIG_NFSD_V3 is not set 929 + # CONFIG_NFSD_TCP is not set 930 + CONFIG_ROOT_NFS=y 931 + CONFIG_LOCKD=y 932 + CONFIG_LOCKD_V4=y 933 + CONFIG_EXPORTFS=y 934 + CONFIG_NFS_COMMON=y 935 + CONFIG_SUNRPC=y 936 + # CONFIG_RPCSEC_GSS_KRB5 is not set 937 + # CONFIG_RPCSEC_GSS_SPKM3 is not set 938 + # CONFIG_SMB_FS is not set 939 + # CONFIG_CIFS is not set 940 + # CONFIG_NCP_FS is not set 941 + # CONFIG_CODA_FS is not set 942 + # CONFIG_AFS_FS is not set 943 + # CONFIG_9P_FS is not set 944 + 945 + # 946 + # Partition Types 947 + # 948 + # CONFIG_PARTITION_ADVANCED is not set 949 + CONFIG_MSDOS_PARTITION=y 950 + 951 + # 952 + # Native Language Support 953 + # 954 + # CONFIG_NLS is not set 955 + 956 + # 957 + # Profiling support 958 + # 959 + # CONFIG_PROFILING is not set 960 + 961 + # 962 + # Kernel hacking 963 + # 964 + # CONFIG_PRINTK_TIME is not set 965 + # CONFIG_MAGIC_SYSRQ is not set 966 + # CONFIG_DEBUG_KERNEL is not set 967 + CONFIG_LOG_BUF_SHIFT=14 968 + # CONFIG_DEBUG_BUGVERBOSE is not set 969 + # CONFIG_DEBUG_FS is not set 970 + # CONFIG_SH_STANDARD_BIOS is not set 971 + # CONFIG_EARLY_SCIF_CONSOLE is not set 972 + # CONFIG_KGDB is not set 973 + 974 + # 975 + # Security options 976 + # 977 + # CONFIG_KEYS is not set 978 + # CONFIG_SECURITY is not set 979 + 980 + # 981 + # Cryptographic options 982 + # 983 + # CONFIG_CRYPTO is not set 984 + 985 + # 986 + # Hardware crypto devices 987 + # 988 + 989 + # 990 + # Library routines 991 + # 992 + # CONFIG_CRC_CCITT is not set 993 + # CONFIG_CRC16 is not set 994 + CONFIG_CRC32=y 995 + # CONFIG_LIBCRC32C is not set 996 + CONFIG_ZLIB_INFLATE=y 997 + CONFIG_ZLIB_DEFLATE=y
+1
arch/sh/tools/mach-types
··· 8 8 SE SH_SOLUTION_ENGINE 9 9 7751SE SH_7751_SOLUTION_ENGINE 10 10 7300SE SH_7300_SOLUTION_ENGINE 11 + 7343SE SH_7343_SOLUTION_ENGINE 11 12 73180SE SH_73180_SOLUTION_ENGINE 12 13 7751SYSTEMH SH_7751_SYSTEMH 13 14 HP6XX SH_HP6XX
+2
include/asm-sh/irq.h
··· 316 316 # define OFFCHIP_NR_IRQS 4 317 317 #elif defined(CONFIG_SH_R7780RP) 318 318 # define OFFCHIP_NR_IRQS 16 319 + #elif defined(CONFIG_SH_7343_SOLUTION_ENGINE) 320 + # define OFFCHIP_NR_IRQS 12 319 321 #elif defined(CONFIG_SH_UNKNOWN) 320 322 # define OFFCHIP_NR_IRQS 16 /* Must also be last */ 321 323 #else
+82
include/asm-sh/se7343.h
··· 1 + #ifndef __ASM_SH_HITACHI_SE7343_H 2 + #define __ASM_SH_HITACHI_SE7343_H 3 + 4 + /* 5 + * include/asm-sh/se/se7343.h 6 + * 7 + * Copyright (C) 2003 Takashi Kusuda <kusuda-takashi@hitachi-ul.co.jp> 8 + * 9 + * SH-Mobile SolutionEngine 7343 support 10 + */ 11 + 12 + /* Box specific addresses. */ 13 + 14 + /* Area 0 */ 15 + #define PA_ROM 0x00000000 /* EPROM */ 16 + #define PA_ROM_SIZE 0x00400000 /* EPROM size 4M byte(Actually 2MB) */ 17 + #define PA_FROM 0x00400000 /* Flash ROM */ 18 + #define PA_FROM_SIZE 0x00400000 /* Flash size 4M byte */ 19 + #define PA_SRAM 0x00800000 /* SRAM */ 20 + #define PA_FROM_SIZE 0x00400000 /* SRAM size 4M byte */ 21 + /* Area 1 */ 22 + #define PA_EXT1 0x04000000 23 + #define PA_EXT1_SIZE 0x04000000 24 + /* Area 2 */ 25 + #define PA_EXT2 0x08000000 26 + #define PA_EXT2_SIZE 0x04000000 27 + /* Area 3 */ 28 + #define PA_SDRAM 0x0c000000 29 + #define PA_SDRAM_SIZE 0x04000000 30 + /* Area 4 */ 31 + #define PA_PCIC 0x10000000 /* MR-SHPC-01 PCMCIA */ 32 + #define PA_MRSHPC 0xb03fffe0 /* MR-SHPC-01 PCMCIA controller */ 33 + #define PA_MRSHPC_MW1 0xb0400000 /* MR-SHPC-01 memory window base */ 34 + #define PA_MRSHPC_MW2 0xb0500000 /* MR-SHPC-01 attribute window base */ 35 + #define PA_MRSHPC_IO 0xb0600000 /* MR-SHPC-01 I/O window base */ 36 + #define MRSHPC_OPTION (PA_MRSHPC + 6) 37 + #define MRSHPC_CSR (PA_MRSHPC + 8) 38 + #define MRSHPC_ISR (PA_MRSHPC + 10) 39 + #define MRSHPC_ICR (PA_MRSHPC + 12) 40 + #define MRSHPC_CPWCR (PA_MRSHPC + 14) 41 + #define MRSHPC_MW0CR1 (PA_MRSHPC + 16) 42 + #define MRSHPC_MW1CR1 (PA_MRSHPC + 18) 43 + #define MRSHPC_IOWCR1 (PA_MRSHPC + 20) 44 + #define MRSHPC_MW0CR2 (PA_MRSHPC + 22) 45 + #define MRSHPC_MW1CR2 (PA_MRSHPC + 24) 46 + #define MRSHPC_IOWCR2 (PA_MRSHPC + 26) 47 + #define MRSHPC_CDCR (PA_MRSHPC + 28) 48 + #define MRSHPC_PCIC_INFO (PA_MRSHPC + 30) 49 + #define PA_LED 0xb0C00000 /* LED */ 50 + #define LED_SHIFT 0 51 + #define PA_DIPSW 0xb0900000 /* Dip switch 31 */ 52 + #define PA_CPLD_MODESET 0xb1400004 /* CPLD Mode set register */ 53 + #define PA_CPLD_ST 0xb1400008 /* CPLD Interrupt status register */ 54 + #define PA_CPLD_IMSK 0xb140000a /* CPLD Interrupt mask register */ 55 + /* Area 5 */ 56 + #define PA_EXT5 0x14000000 57 + #define PA_EXT5_SIZE 0x04000000 58 + /* Area 6 */ 59 + #define PA_LCD1 0xb8000000 60 + #define PA_LCD2 0xb8800000 61 + 62 + #define __IO_PREFIX sh7343se 63 + #include <asm/io_generic.h> 64 + 65 + /* External Multiplexed interrupts */ 66 + #define PC_IRQ0 OFFCHIP_IRQ_BASE 67 + #define PC_IRQ1 (PC_IRQ0 + 1) 68 + #define PC_IRQ2 (PC_IRQ1 + 1) 69 + #define PC_IRQ3 (PC_IRQ2 + 1) 70 + 71 + #define EXT_IRQ0 (PC_IRQ3 + 1) 72 + #define EXT_IRQ1 (EXT_IRQ0 + 1) 73 + #define EXT_IRQ2 (EXT_IRQ1 + 1) 74 + #define EXT_IRQ3 (EXT_IRQ2 + 1) 75 + 76 + #define USB_IRQ0 (EXT_IRQ3 + 1) 77 + #define USB_IRQ1 (USB_IRQ0 + 1) 78 + 79 + #define UART_IRQ0 (USB_IRQ1 + 1) 80 + #define UART_IRQ1 (UART_IRQ0 + 1) 81 + 82 + #endif /* __ASM_SH_HITACHI_SE7343_H */