diff options
-rw-r--r-- | arch/arm/configs/at91sam9260ek_defconfig | 950 | ||||
-rw-r--r-- | arch/arm/mach-at91rm9200/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91rm9200/board-sam9260ek.c | 201 |
3 files changed, 1152 insertions, 0 deletions
diff --git a/arch/arm/configs/at91sam9260ek_defconfig b/arch/arm/configs/at91sam9260ek_defconfig new file mode 100644 index 000000000000..79049206dfa5 --- /dev/null +++ b/arch/arm/configs/at91sam9260ek_defconfig | |||
@@ -0,0 +1,950 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.19-rc6 | ||
4 | # Fri Nov 17 18:42:21 2006 | ||
5 | # | ||
6 | CONFIG_ARM=y | ||
7 | # CONFIG_GENERIC_TIME is not set | ||
8 | CONFIG_MMU=y | ||
9 | CONFIG_GENERIC_HARDIRQS=y | ||
10 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
11 | CONFIG_HARDIRQS_SW_RESEND=y | ||
12 | CONFIG_GENERIC_IRQ_PROBE=y | ||
13 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
14 | CONFIG_GENERIC_HWEIGHT=y | ||
15 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
16 | CONFIG_VECTORS_BASE=0xffff0000 | ||
17 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
18 | |||
19 | # | ||
20 | # Code maturity level options | ||
21 | # | ||
22 | CONFIG_EXPERIMENTAL=y | ||
23 | CONFIG_BROKEN_ON_SMP=y | ||
24 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
25 | |||
26 | # | ||
27 | # General setup | ||
28 | # | ||
29 | CONFIG_LOCALVERSION="" | ||
30 | # CONFIG_LOCALVERSION_AUTO is not set | ||
31 | # CONFIG_SWAP is not set | ||
32 | CONFIG_SYSVIPC=y | ||
33 | # CONFIG_IPC_NS is not set | ||
34 | # CONFIG_POSIX_MQUEUE is not set | ||
35 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
36 | # CONFIG_TASKSTATS is not set | ||
37 | # CONFIG_UTS_NS is not set | ||
38 | # CONFIG_AUDIT is not set | ||
39 | # CONFIG_IKCONFIG is not set | ||
40 | # CONFIG_RELAY is not set | ||
41 | CONFIG_INITRAMFS_SOURCE="" | ||
42 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
43 | CONFIG_SYSCTL=y | ||
44 | # CONFIG_EMBEDDED is not set | ||
45 | CONFIG_UID16=y | ||
46 | CONFIG_SYSCTL_SYSCALL=y | ||
47 | CONFIG_KALLSYMS=y | ||
48 | # CONFIG_KALLSYMS_ALL is not set | ||
49 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
50 | CONFIG_HOTPLUG=y | ||
51 | CONFIG_PRINTK=y | ||
52 | CONFIG_BUG=y | ||
53 | CONFIG_ELF_CORE=y | ||
54 | CONFIG_BASE_FULL=y | ||
55 | CONFIG_FUTEX=y | ||
56 | CONFIG_EPOLL=y | ||
57 | CONFIG_SHMEM=y | ||
58 | CONFIG_SLAB=y | ||
59 | CONFIG_VM_EVENT_COUNTERS=y | ||
60 | CONFIG_RT_MUTEXES=y | ||
61 | # CONFIG_TINY_SHMEM is not set | ||
62 | CONFIG_BASE_SMALL=0 | ||
63 | # CONFIG_SLOB is not set | ||
64 | |||
65 | # | ||
66 | # Loadable module support | ||
67 | # | ||
68 | CONFIG_MODULES=y | ||
69 | CONFIG_MODULE_UNLOAD=y | ||
70 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
71 | # CONFIG_MODVERSIONS is not set | ||
72 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
73 | CONFIG_KMOD=y | ||
74 | |||
75 | # | ||
76 | # Block layer | ||
77 | # | ||
78 | CONFIG_BLOCK=y | ||
79 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
80 | |||
81 | # | ||
82 | # IO Schedulers | ||
83 | # | ||
84 | CONFIG_IOSCHED_NOOP=y | ||
85 | CONFIG_IOSCHED_AS=y | ||
86 | # CONFIG_IOSCHED_DEADLINE is not set | ||
87 | # CONFIG_IOSCHED_CFQ is not set | ||
88 | CONFIG_DEFAULT_AS=y | ||
89 | # CONFIG_DEFAULT_DEADLINE is not set | ||
90 | # CONFIG_DEFAULT_CFQ is not set | ||
91 | # CONFIG_DEFAULT_NOOP is not set | ||
92 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
93 | |||
94 | # | ||
95 | # System Type | ||
96 | # | ||
97 | # CONFIG_ARCH_AAEC2000 is not set | ||
98 | # CONFIG_ARCH_INTEGRATOR is not set | ||
99 | # CONFIG_ARCH_REALVIEW is not set | ||
100 | # CONFIG_ARCH_VERSATILE is not set | ||
101 | CONFIG_ARCH_AT91=y | ||
102 | # CONFIG_ARCH_CLPS7500 is not set | ||
103 | # CONFIG_ARCH_CLPS711X is not set | ||
104 | # CONFIG_ARCH_CO285 is not set | ||
105 | # CONFIG_ARCH_EBSA110 is not set | ||
106 | # CONFIG_ARCH_EP93XX is not set | ||
107 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
108 | # CONFIG_ARCH_NETX is not set | ||
109 | # CONFIG_ARCH_H720X is not set | ||
110 | # CONFIG_ARCH_IMX is not set | ||
111 | # CONFIG_ARCH_IOP32X is not set | ||
112 | # CONFIG_ARCH_IOP33X is not set | ||
113 | # CONFIG_ARCH_IXP4XX is not set | ||
114 | # CONFIG_ARCH_IXP2000 is not set | ||
115 | # CONFIG_ARCH_IXP23XX is not set | ||
116 | # CONFIG_ARCH_L7200 is not set | ||
117 | # CONFIG_ARCH_PNX4008 is not set | ||
118 | # CONFIG_ARCH_PXA is not set | ||
119 | # CONFIG_ARCH_RPC is not set | ||
120 | # CONFIG_ARCH_SA1100 is not set | ||
121 | # CONFIG_ARCH_S3C2410 is not set | ||
122 | # CONFIG_ARCH_SHARK is not set | ||
123 | # CONFIG_ARCH_LH7A40X is not set | ||
124 | # CONFIG_ARCH_OMAP is not set | ||
125 | |||
126 | # | ||
127 | # Atmel AT91 System-on-Chip | ||
128 | # | ||
129 | # CONFIG_ARCH_AT91RM9200 is not set | ||
130 | CONFIG_ARCH_AT91SAM9260=y | ||
131 | # CONFIG_ARCH_AT91SAM9261 is not set | ||
132 | |||
133 | # | ||
134 | # AT91SAM9260 Board Type | ||
135 | # | ||
136 | CONFIG_MACH_AT91SAM9260EK=y | ||
137 | |||
138 | # | ||
139 | # AT91 Board Options | ||
140 | # | ||
141 | # CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set | ||
142 | |||
143 | # | ||
144 | # AT91 Feature Selections | ||
145 | # | ||
146 | # CONFIG_AT91_PROGRAMMABLE_CLOCKS is not set | ||
147 | |||
148 | # | ||
149 | # Processor Type | ||
150 | # | ||
151 | CONFIG_CPU_32=y | ||
152 | CONFIG_CPU_ARM926T=y | ||
153 | CONFIG_CPU_32v5=y | ||
154 | CONFIG_CPU_ABRT_EV5TJ=y | ||
155 | CONFIG_CPU_CACHE_VIVT=y | ||
156 | CONFIG_CPU_COPY_V4WB=y | ||
157 | CONFIG_CPU_TLB_V4WBI=y | ||
158 | CONFIG_CPU_CP15=y | ||
159 | CONFIG_CPU_CP15_MMU=y | ||
160 | |||
161 | # | ||
162 | # Processor Features | ||
163 | # | ||
164 | # CONFIG_ARM_THUMB is not set | ||
165 | # CONFIG_CPU_ICACHE_DISABLE is not set | ||
166 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
167 | # CONFIG_CPU_DCACHE_WRITETHROUGH is not set | ||
168 | # CONFIG_CPU_CACHE_ROUND_ROBIN is not set | ||
169 | |||
170 | # | ||
171 | # Bus support | ||
172 | # | ||
173 | |||
174 | # | ||
175 | # PCCARD (PCMCIA/CardBus) support | ||
176 | # | ||
177 | # CONFIG_PCCARD is not set | ||
178 | |||
179 | # | ||
180 | # Kernel Features | ||
181 | # | ||
182 | # CONFIG_PREEMPT is not set | ||
183 | # CONFIG_NO_IDLE_HZ is not set | ||
184 | CONFIG_HZ=100 | ||
185 | # CONFIG_AEABI is not set | ||
186 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set | ||
187 | CONFIG_SELECT_MEMORY_MODEL=y | ||
188 | CONFIG_FLATMEM_MANUAL=y | ||
189 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
190 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
191 | CONFIG_FLATMEM=y | ||
192 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
193 | # CONFIG_SPARSEMEM_STATIC is not set | ||
194 | CONFIG_SPLIT_PTLOCK_CPUS=4096 | ||
195 | # CONFIG_RESOURCES_64BIT is not set | ||
196 | # CONFIG_LEDS is not set | ||
197 | CONFIG_ALIGNMENT_TRAP=y | ||
198 | |||
199 | # | ||
200 | # Boot options | ||
201 | # | ||
202 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
203 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
204 | CONFIG_CMDLINE="mem=64M console=ttyS0,115200 initrd=0x21100000,3145728 root=/dev/ram0 rw" | ||
205 | # CONFIG_XIP_KERNEL is not set | ||
206 | |||
207 | # | ||
208 | # Floating point emulation | ||
209 | # | ||
210 | |||
211 | # | ||
212 | # At least one emulation must be selected | ||
213 | # | ||
214 | CONFIG_FPE_NWFPE=y | ||
215 | # CONFIG_FPE_NWFPE_XP is not set | ||
216 | # CONFIG_FPE_FASTFPE is not set | ||
217 | # CONFIG_VFP is not set | ||
218 | |||
219 | # | ||
220 | # Userspace binary formats | ||
221 | # | ||
222 | CONFIG_BINFMT_ELF=y | ||
223 | # CONFIG_BINFMT_AOUT is not set | ||
224 | # CONFIG_BINFMT_MISC is not set | ||
225 | # CONFIG_ARTHUR is not set | ||
226 | |||
227 | # | ||
228 | # Power management options | ||
229 | # | ||
230 | # CONFIG_PM is not set | ||
231 | # CONFIG_APM is not set | ||
232 | |||
233 | # | ||
234 | # Networking | ||
235 | # | ||
236 | CONFIG_NET=y | ||
237 | |||
238 | # | ||
239 | # Networking options | ||
240 | # | ||
241 | # CONFIG_NETDEBUG is not set | ||
242 | CONFIG_PACKET=y | ||
243 | # CONFIG_PACKET_MMAP is not set | ||
244 | CONFIG_UNIX=y | ||
245 | CONFIG_XFRM=y | ||
246 | # CONFIG_XFRM_USER is not set | ||
247 | # CONFIG_XFRM_SUB_POLICY is not set | ||
248 | # CONFIG_NET_KEY is not set | ||
249 | CONFIG_INET=y | ||
250 | # CONFIG_IP_MULTICAST is not set | ||
251 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
252 | CONFIG_IP_FIB_HASH=y | ||
253 | CONFIG_IP_PNP=y | ||
254 | # CONFIG_IP_PNP_DHCP is not set | ||
255 | CONFIG_IP_PNP_BOOTP=y | ||
256 | # CONFIG_IP_PNP_RARP is not set | ||
257 | # CONFIG_NET_IPIP is not set | ||
258 | # CONFIG_NET_IPGRE is not set | ||
259 | # CONFIG_ARPD is not set | ||
260 | # CONFIG_SYN_COOKIES is not set | ||
261 | # CONFIG_INET_AH is not set | ||
262 | # CONFIG_INET_ESP is not set | ||
263 | # CONFIG_INET_IPCOMP is not set | ||
264 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
265 | # CONFIG_INET_TUNNEL is not set | ||
266 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
267 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
268 | CONFIG_INET_XFRM_MODE_BEET=y | ||
269 | CONFIG_INET_DIAG=y | ||
270 | CONFIG_INET_TCP_DIAG=y | ||
271 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
272 | CONFIG_TCP_CONG_CUBIC=y | ||
273 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
274 | # CONFIG_IPV6 is not set | ||
275 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
276 | # CONFIG_INET6_TUNNEL is not set | ||
277 | # CONFIG_NETWORK_SECMARK is not set | ||
278 | # CONFIG_NETFILTER is not set | ||
279 | |||
280 | # | ||
281 | # DCCP Configuration (EXPERIMENTAL) | ||
282 | # | ||
283 | # CONFIG_IP_DCCP is not set | ||
284 | |||
285 | # | ||
286 | # SCTP Configuration (EXPERIMENTAL) | ||
287 | # | ||
288 | # CONFIG_IP_SCTP is not set | ||
289 | |||
290 | # | ||
291 | # TIPC Configuration (EXPERIMENTAL) | ||
292 | # | ||
293 | # CONFIG_TIPC is not set | ||
294 | # CONFIG_ATM is not set | ||
295 | # CONFIG_BRIDGE is not set | ||
296 | # CONFIG_VLAN_8021Q is not set | ||
297 | # CONFIG_DECNET is not set | ||
298 | # CONFIG_LLC2 is not set | ||
299 | # CONFIG_IPX is not set | ||
300 | # CONFIG_ATALK is not set | ||
301 | # CONFIG_X25 is not set | ||
302 | # CONFIG_LAPB is not set | ||
303 | # CONFIG_ECONET is not set | ||
304 | # CONFIG_WAN_ROUTER is not set | ||
305 | |||
306 | # | ||
307 | # QoS and/or fair queueing | ||
308 | # | ||
309 | # CONFIG_NET_SCHED is not set | ||
310 | |||
311 | # | ||
312 | # Network testing | ||
313 | # | ||
314 | # CONFIG_NET_PKTGEN is not set | ||
315 | # CONFIG_HAMRADIO is not set | ||
316 | # CONFIG_IRDA is not set | ||
317 | # CONFIG_BT is not set | ||
318 | # CONFIG_IEEE80211 is not set | ||
319 | |||
320 | # | ||
321 | # Device Drivers | ||
322 | # | ||
323 | |||
324 | # | ||
325 | # Generic Driver Options | ||
326 | # | ||
327 | CONFIG_STANDALONE=y | ||
328 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
329 | # CONFIG_FW_LOADER is not set | ||
330 | # CONFIG_DEBUG_DRIVER is not set | ||
331 | # CONFIG_SYS_HYPERVISOR is not set | ||
332 | |||
333 | # | ||
334 | # Connector - unified userspace <-> kernelspace linker | ||
335 | # | ||
336 | # CONFIG_CONNECTOR is not set | ||
337 | |||
338 | # | ||
339 | # Memory Technology Devices (MTD) | ||
340 | # | ||
341 | # CONFIG_MTD is not set | ||
342 | |||
343 | # | ||
344 | # Parallel port support | ||
345 | # | ||
346 | # CONFIG_PARPORT is not set | ||
347 | |||
348 | # | ||
349 | # Plug and Play support | ||
350 | # | ||
351 | |||
352 | # | ||
353 | # Block devices | ||
354 | # | ||
355 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
356 | # CONFIG_BLK_DEV_LOOP is not set | ||
357 | # CONFIG_BLK_DEV_NBD is not set | ||
358 | # CONFIG_BLK_DEV_UB is not set | ||
359 | CONFIG_BLK_DEV_RAM=y | ||
360 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
361 | CONFIG_BLK_DEV_RAM_SIZE=8192 | ||
362 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | ||
363 | CONFIG_BLK_DEV_INITRD=y | ||
364 | # CONFIG_CDROM_PKTCDVD is not set | ||
365 | # CONFIG_ATA_OVER_ETH is not set | ||
366 | |||
367 | # | ||
368 | # SCSI device support | ||
369 | # | ||
370 | # CONFIG_RAID_ATTRS is not set | ||
371 | CONFIG_SCSI=y | ||
372 | # CONFIG_SCSI_NETLINK is not set | ||
373 | CONFIG_SCSI_PROC_FS=y | ||
374 | |||
375 | # | ||
376 | # SCSI support type (disk, tape, CD-ROM) | ||
377 | # | ||
378 | CONFIG_BLK_DEV_SD=y | ||
379 | # CONFIG_CHR_DEV_ST is not set | ||
380 | # CONFIG_CHR_DEV_OSST is not set | ||
381 | # CONFIG_BLK_DEV_SR is not set | ||
382 | # CONFIG_CHR_DEV_SG is not set | ||
383 | # CONFIG_CHR_DEV_SCH is not set | ||
384 | |||
385 | # | ||
386 | # Some SCSI devices (e.g. CD jukebox) support multiple LUNs | ||
387 | # | ||
388 | CONFIG_SCSI_MULTI_LUN=y | ||
389 | # CONFIG_SCSI_CONSTANTS is not set | ||
390 | # CONFIG_SCSI_LOGGING is not set | ||
391 | |||
392 | # | ||
393 | # SCSI Transports | ||
394 | # | ||
395 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
396 | # CONFIG_SCSI_FC_ATTRS is not set | ||
397 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
398 | # CONFIG_SCSI_SAS_ATTRS is not set | ||
399 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
400 | |||
401 | # | ||
402 | # SCSI low-level drivers | ||
403 | # | ||
404 | # CONFIG_ISCSI_TCP is not set | ||
405 | # CONFIG_SCSI_DEBUG is not set | ||
406 | |||
407 | # | ||
408 | # Multi-device support (RAID and LVM) | ||
409 | # | ||
410 | # CONFIG_MD is not set | ||
411 | |||
412 | # | ||
413 | # Fusion MPT device support | ||
414 | # | ||
415 | # CONFIG_FUSION is not set | ||
416 | |||
417 | # | ||
418 | # IEEE 1394 (FireWire) support | ||
419 | # | ||
420 | |||
421 | # | ||
422 | # I2O device support | ||
423 | # | ||
424 | |||
425 | # | ||
426 | # Network device support | ||
427 | # | ||
428 | # CONFIG_NETDEVICES is not set | ||
429 | # CONFIG_NETPOLL is not set | ||
430 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
431 | |||
432 | # | ||
433 | # ISDN subsystem | ||
434 | # | ||
435 | # CONFIG_ISDN is not set | ||
436 | |||
437 | # | ||
438 | # Input device support | ||
439 | # | ||
440 | CONFIG_INPUT=y | ||
441 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
442 | |||
443 | # | ||
444 | # Userland interfaces | ||
445 | # | ||
446 | CONFIG_INPUT_MOUSEDEV=y | ||
447 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
448 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
449 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
450 | # CONFIG_INPUT_JOYDEV is not set | ||
451 | # CONFIG_INPUT_TSDEV is not set | ||
452 | # CONFIG_INPUT_EVDEV is not set | ||
453 | # CONFIG_INPUT_EVBUG is not set | ||
454 | |||
455 | # | ||
456 | # Input Device Drivers | ||
457 | # | ||
458 | # CONFIG_INPUT_KEYBOARD is not set | ||
459 | # CONFIG_INPUT_MOUSE is not set | ||
460 | # CONFIG_INPUT_JOYSTICK is not set | ||
461 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
462 | # CONFIG_INPUT_MISC is not set | ||
463 | |||
464 | # | ||
465 | # Hardware I/O ports | ||
466 | # | ||
467 | # CONFIG_SERIO is not set | ||
468 | # CONFIG_GAMEPORT is not set | ||
469 | |||
470 | # | ||
471 | # Character devices | ||
472 | # | ||
473 | CONFIG_VT=y | ||
474 | CONFIG_VT_CONSOLE=y | ||
475 | CONFIG_HW_CONSOLE=y | ||
476 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
477 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
478 | |||
479 | # | ||
480 | # Serial drivers | ||
481 | # | ||
482 | # CONFIG_SERIAL_8250 is not set | ||
483 | |||
484 | # | ||
485 | # Non-8250 serial port support | ||
486 | # | ||
487 | CONFIG_SERIAL_ATMEL=y | ||
488 | CONFIG_SERIAL_ATMEL_CONSOLE=y | ||
489 | # CONFIG_SERIAL_ATMEL_TTYAT is not set | ||
490 | CONFIG_SERIAL_CORE=y | ||
491 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
492 | CONFIG_UNIX98_PTYS=y | ||
493 | CONFIG_LEGACY_PTYS=y | ||
494 | CONFIG_LEGACY_PTY_COUNT=256 | ||
495 | |||
496 | # | ||
497 | # IPMI | ||
498 | # | ||
499 | # CONFIG_IPMI_HANDLER is not set | ||
500 | |||
501 | # | ||
502 | # Watchdog Cards | ||
503 | # | ||
504 | CONFIG_WATCHDOG=y | ||
505 | CONFIG_WATCHDOG_NOWAYOUT=y | ||
506 | |||
507 | # | ||
508 | # Watchdog Device Drivers | ||
509 | # | ||
510 | # CONFIG_SOFT_WATCHDOG is not set | ||
511 | |||
512 | # | ||
513 | # USB-based Watchdog Cards | ||
514 | # | ||
515 | # CONFIG_USBPCWATCHDOG is not set | ||
516 | CONFIG_HW_RANDOM=y | ||
517 | # CONFIG_NVRAM is not set | ||
518 | # CONFIG_DTLK is not set | ||
519 | # CONFIG_R3964 is not set | ||
520 | |||
521 | # | ||
522 | # Ftape, the floppy tape device driver | ||
523 | # | ||
524 | # CONFIG_RAW_DRIVER is not set | ||
525 | |||
526 | # | ||
527 | # TPM devices | ||
528 | # | ||
529 | # CONFIG_TCG_TPM is not set | ||
530 | |||
531 | # | ||
532 | # I2C support | ||
533 | # | ||
534 | # CONFIG_I2C is not set | ||
535 | |||
536 | # | ||
537 | # SPI support | ||
538 | # | ||
539 | # CONFIG_SPI is not set | ||
540 | # CONFIG_SPI_MASTER is not set | ||
541 | |||
542 | # | ||
543 | # Dallas's 1-wire bus | ||
544 | # | ||
545 | # CONFIG_W1 is not set | ||
546 | |||
547 | # | ||
548 | # Hardware Monitoring support | ||
549 | # | ||
550 | # CONFIG_HWMON is not set | ||
551 | # CONFIG_HWMON_VID is not set | ||
552 | |||
553 | # | ||
554 | # Misc devices | ||
555 | # | ||
556 | # CONFIG_TIFM_CORE is not set | ||
557 | |||
558 | # | ||
559 | # LED devices | ||
560 | # | ||
561 | # CONFIG_NEW_LEDS is not set | ||
562 | |||
563 | # | ||
564 | # LED drivers | ||
565 | # | ||
566 | |||
567 | # | ||
568 | # LED Triggers | ||
569 | # | ||
570 | |||
571 | # | ||
572 | # Multimedia devices | ||
573 | # | ||
574 | # CONFIG_VIDEO_DEV is not set | ||
575 | |||
576 | # | ||
577 | # Digital Video Broadcasting Devices | ||
578 | # | ||
579 | # CONFIG_DVB is not set | ||
580 | # CONFIG_USB_DABUSB is not set | ||
581 | |||
582 | # | ||
583 | # Graphics support | ||
584 | # | ||
585 | # CONFIG_FIRMWARE_EDID is not set | ||
586 | # CONFIG_FB is not set | ||
587 | |||
588 | # | ||
589 | # Console display driver support | ||
590 | # | ||
591 | # CONFIG_VGA_CONSOLE is not set | ||
592 | CONFIG_DUMMY_CONSOLE=y | ||
593 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
594 | |||
595 | # | ||
596 | # Sound | ||
597 | # | ||
598 | # CONFIG_SOUND is not set | ||
599 | |||
600 | # | ||
601 | # USB support | ||
602 | # | ||
603 | CONFIG_USB_ARCH_HAS_HCD=y | ||
604 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
605 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
606 | CONFIG_USB=y | ||
607 | # CONFIG_USB_DEBUG is not set | ||
608 | |||
609 | # | ||
610 | # Miscellaneous USB options | ||
611 | # | ||
612 | CONFIG_USB_DEVICEFS=y | ||
613 | # CONFIG_USB_BANDWIDTH is not set | ||
614 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
615 | # CONFIG_USB_OTG is not set | ||
616 | |||
617 | # | ||
618 | # USB Host Controller Drivers | ||
619 | # | ||
620 | # CONFIG_USB_ISP116X_HCD is not set | ||
621 | CONFIG_USB_OHCI_HCD=y | ||
622 | # CONFIG_USB_OHCI_BIG_ENDIAN is not set | ||
623 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
624 | # CONFIG_USB_SL811_HCD is not set | ||
625 | |||
626 | # | ||
627 | # USB Device Class drivers | ||
628 | # | ||
629 | # CONFIG_USB_ACM is not set | ||
630 | # CONFIG_USB_PRINTER is not set | ||
631 | |||
632 | # | ||
633 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
634 | # | ||
635 | |||
636 | # | ||
637 | # may also be needed; see USB_STORAGE Help for more information | ||
638 | # | ||
639 | CONFIG_USB_STORAGE=y | ||
640 | CONFIG_USB_STORAGE_DEBUG=y | ||
641 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
642 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
643 | # CONFIG_USB_STORAGE_DPCM is not set | ||
644 | # CONFIG_USB_STORAGE_USBAT is not set | ||
645 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
646 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
647 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
648 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
649 | # CONFIG_USB_STORAGE_KARMA is not set | ||
650 | # CONFIG_USB_LIBUSUAL is not set | ||
651 | |||
652 | # | ||
653 | # USB Input Devices | ||
654 | # | ||
655 | # CONFIG_USB_HID is not set | ||
656 | |||
657 | # | ||
658 | # USB HID Boot Protocol drivers | ||
659 | # | ||
660 | # CONFIG_USB_KBD is not set | ||
661 | # CONFIG_USB_MOUSE is not set | ||
662 | # CONFIG_USB_AIPTEK is not set | ||
663 | # CONFIG_USB_WACOM is not set | ||
664 | # CONFIG_USB_ACECAD is not set | ||
665 | # CONFIG_USB_KBTAB is not set | ||
666 | # CONFIG_USB_POWERMATE is not set | ||
667 | # CONFIG_USB_TOUCHSCREEN is not set | ||
668 | # CONFIG_USB_YEALINK is not set | ||
669 | # CONFIG_USB_XPAD is not set | ||
670 | # CONFIG_USB_ATI_REMOTE is not set | ||
671 | # CONFIG_USB_ATI_REMOTE2 is not set | ||
672 | # CONFIG_USB_KEYSPAN_REMOTE is not set | ||
673 | # CONFIG_USB_APPLETOUCH is not set | ||
674 | |||
675 | # | ||
676 | # USB Imaging devices | ||
677 | # | ||
678 | # CONFIG_USB_MDC800 is not set | ||
679 | # CONFIG_USB_MICROTEK is not set | ||
680 | |||
681 | # | ||
682 | # USB Network Adapters | ||
683 | # | ||
684 | # CONFIG_USB_CATC is not set | ||
685 | # CONFIG_USB_KAWETH is not set | ||
686 | # CONFIG_USB_PEGASUS is not set | ||
687 | # CONFIG_USB_RTL8150 is not set | ||
688 | # CONFIG_USB_USBNET_MII is not set | ||
689 | # CONFIG_USB_USBNET is not set | ||
690 | CONFIG_USB_MON=y | ||
691 | |||
692 | # | ||
693 | # USB port drivers | ||
694 | # | ||
695 | |||
696 | # | ||
697 | # USB Serial Converter support | ||
698 | # | ||
699 | # CONFIG_USB_SERIAL is not set | ||
700 | |||
701 | # | ||
702 | # USB Miscellaneous drivers | ||
703 | # | ||
704 | # CONFIG_USB_EMI62 is not set | ||
705 | # CONFIG_USB_EMI26 is not set | ||
706 | # CONFIG_USB_ADUTUX is not set | ||
707 | # CONFIG_USB_AUERSWALD is not set | ||
708 | # CONFIG_USB_RIO500 is not set | ||
709 | # CONFIG_USB_LEGOTOWER is not set | ||
710 | # CONFIG_USB_LCD is not set | ||
711 | # CONFIG_USB_LED is not set | ||
712 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
713 | # CONFIG_USB_CYTHERM is not set | ||
714 | # CONFIG_USB_PHIDGET is not set | ||
715 | # CONFIG_USB_IDMOUSE is not set | ||
716 | # CONFIG_USB_FTDI_ELAN is not set | ||
717 | # CONFIG_USB_APPLEDISPLAY is not set | ||
718 | # CONFIG_USB_LD is not set | ||
719 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
720 | # CONFIG_USB_TEST is not set | ||
721 | |||
722 | # | ||
723 | # USB DSL modem support | ||
724 | # | ||
725 | |||
726 | # | ||
727 | # USB Gadget Support | ||
728 | # | ||
729 | CONFIG_USB_GADGET=y | ||
730 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | ||
731 | CONFIG_USB_GADGET_SELECTED=y | ||
732 | # CONFIG_USB_GADGET_NET2280 is not set | ||
733 | # CONFIG_USB_GADGET_PXA2XX is not set | ||
734 | # CONFIG_USB_GADGET_GOKU is not set | ||
735 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
736 | # CONFIG_USB_GADGET_OMAP is not set | ||
737 | CONFIG_USB_GADGET_AT91=y | ||
738 | CONFIG_USB_AT91=y | ||
739 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
740 | # CONFIG_USB_GADGET_DUALSPEED is not set | ||
741 | CONFIG_USB_ZERO=m | ||
742 | # CONFIG_USB_ETH is not set | ||
743 | CONFIG_USB_GADGETFS=m | ||
744 | CONFIG_USB_FILE_STORAGE=m | ||
745 | # CONFIG_USB_FILE_STORAGE_TEST is not set | ||
746 | CONFIG_USB_G_SERIAL=m | ||
747 | # CONFIG_USB_MIDI_GADGET is not set | ||
748 | |||
749 | # | ||
750 | # MMC/SD Card support | ||
751 | # | ||
752 | # CONFIG_MMC is not set | ||
753 | |||
754 | # | ||
755 | # Real Time Clock | ||
756 | # | ||
757 | CONFIG_RTC_LIB=y | ||
758 | # CONFIG_RTC_CLASS is not set | ||
759 | |||
760 | # | ||
761 | # File systems | ||
762 | # | ||
763 | CONFIG_EXT2_FS=y | ||
764 | # CONFIG_EXT2_FS_XATTR is not set | ||
765 | # CONFIG_EXT2_FS_XIP is not set | ||
766 | # CONFIG_EXT3_FS is not set | ||
767 | # CONFIG_EXT4DEV_FS is not set | ||
768 | # CONFIG_REISERFS_FS is not set | ||
769 | # CONFIG_JFS_FS is not set | ||
770 | # CONFIG_FS_POSIX_ACL is not set | ||
771 | # CONFIG_XFS_FS is not set | ||
772 | # CONFIG_GFS2_FS is not set | ||
773 | # CONFIG_OCFS2_FS is not set | ||
774 | # CONFIG_MINIX_FS is not set | ||
775 | # CONFIG_ROMFS_FS is not set | ||
776 | CONFIG_INOTIFY=y | ||
777 | CONFIG_INOTIFY_USER=y | ||
778 | # CONFIG_QUOTA is not set | ||
779 | CONFIG_DNOTIFY=y | ||
780 | # CONFIG_AUTOFS_FS is not set | ||
781 | # CONFIG_AUTOFS4_FS is not set | ||
782 | # CONFIG_FUSE_FS is not set | ||
783 | |||
784 | # | ||
785 | # CD-ROM/DVD Filesystems | ||
786 | # | ||
787 | # CONFIG_ISO9660_FS is not set | ||
788 | # CONFIG_UDF_FS is not set | ||
789 | |||
790 | # | ||
791 | # DOS/FAT/NT Filesystems | ||
792 | # | ||
793 | CONFIG_FAT_FS=y | ||
794 | # CONFIG_MSDOS_FS is not set | ||
795 | CONFIG_VFAT_FS=y | ||
796 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
797 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
798 | # CONFIG_NTFS_FS is not set | ||
799 | |||
800 | # | ||
801 | # Pseudo filesystems | ||
802 | # | ||
803 | CONFIG_PROC_FS=y | ||
804 | CONFIG_PROC_SYSCTL=y | ||
805 | CONFIG_SYSFS=y | ||
806 | CONFIG_TMPFS=y | ||
807 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
808 | # CONFIG_HUGETLB_PAGE is not set | ||
809 | CONFIG_RAMFS=y | ||
810 | # CONFIG_CONFIGFS_FS is not set | ||
811 | |||
812 | # | ||
813 | # Miscellaneous filesystems | ||
814 | # | ||
815 | # CONFIG_ADFS_FS is not set | ||
816 | # CONFIG_AFFS_FS is not set | ||
817 | # CONFIG_HFS_FS is not set | ||
818 | # CONFIG_HFSPLUS_FS is not set | ||
819 | # CONFIG_BEFS_FS is not set | ||
820 | # CONFIG_BFS_FS is not set | ||
821 | # CONFIG_EFS_FS is not set | ||
822 | CONFIG_CRAMFS=y | ||
823 | # CONFIG_VXFS_FS is not set | ||
824 | # CONFIG_HPFS_FS is not set | ||
825 | # CONFIG_QNX4FS_FS is not set | ||
826 | # CONFIG_SYSV_FS is not set | ||
827 | # CONFIG_UFS_FS is not set | ||
828 | |||
829 | # | ||
830 | # Network File Systems | ||
831 | # | ||
832 | # CONFIG_NFS_FS is not set | ||
833 | # CONFIG_NFSD is not set | ||
834 | # CONFIG_SMB_FS is not set | ||
835 | # CONFIG_CIFS is not set | ||
836 | # CONFIG_NCP_FS is not set | ||
837 | # CONFIG_CODA_FS is not set | ||
838 | # CONFIG_AFS_FS is not set | ||
839 | # CONFIG_9P_FS is not set | ||
840 | |||
841 | # | ||
842 | # Partition Types | ||
843 | # | ||
844 | # CONFIG_PARTITION_ADVANCED is not set | ||
845 | CONFIG_MSDOS_PARTITION=y | ||
846 | |||
847 | # | ||
848 | # Native Language Support | ||
849 | # | ||
850 | CONFIG_NLS=y | ||
851 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
852 | CONFIG_NLS_CODEPAGE_437=y | ||
853 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
854 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
855 | CONFIG_NLS_CODEPAGE_850=y | ||
856 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
857 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
858 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
859 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
860 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
861 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
862 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
863 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
864 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
865 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
866 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
867 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
868 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
869 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
870 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
871 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
872 | # CONFIG_NLS_ISO8859_8 is not set | ||
873 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
874 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
875 | # CONFIG_NLS_ASCII is not set | ||
876 | CONFIG_NLS_ISO8859_1=y | ||
877 | # CONFIG_NLS_ISO8859_2 is not set | ||
878 | # CONFIG_NLS_ISO8859_3 is not set | ||
879 | # CONFIG_NLS_ISO8859_4 is not set | ||
880 | # CONFIG_NLS_ISO8859_5 is not set | ||
881 | # CONFIG_NLS_ISO8859_6 is not set | ||
882 | # CONFIG_NLS_ISO8859_7 is not set | ||
883 | # CONFIG_NLS_ISO8859_9 is not set | ||
884 | # CONFIG_NLS_ISO8859_13 is not set | ||
885 | # CONFIG_NLS_ISO8859_14 is not set | ||
886 | # CONFIG_NLS_ISO8859_15 is not set | ||
887 | # CONFIG_NLS_KOI8_R is not set | ||
888 | # CONFIG_NLS_KOI8_U is not set | ||
889 | # CONFIG_NLS_UTF8 is not set | ||
890 | |||
891 | # | ||
892 | # Profiling support | ||
893 | # | ||
894 | # CONFIG_PROFILING is not set | ||
895 | |||
896 | # | ||
897 | # Kernel hacking | ||
898 | # | ||
899 | # CONFIG_PRINTK_TIME is not set | ||
900 | CONFIG_ENABLE_MUST_CHECK=y | ||
901 | # CONFIG_MAGIC_SYSRQ is not set | ||
902 | # CONFIG_UNUSED_SYMBOLS is not set | ||
903 | CONFIG_DEBUG_KERNEL=y | ||
904 | CONFIG_LOG_BUF_SHIFT=14 | ||
905 | CONFIG_DETECT_SOFTLOCKUP=y | ||
906 | # CONFIG_SCHEDSTATS is not set | ||
907 | # CONFIG_DEBUG_SLAB is not set | ||
908 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
909 | # CONFIG_RT_MUTEX_TESTER is not set | ||
910 | # CONFIG_DEBUG_SPINLOCK is not set | ||
911 | # CONFIG_DEBUG_MUTEXES is not set | ||
912 | # CONFIG_DEBUG_RWSEMS is not set | ||
913 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
914 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
915 | # CONFIG_DEBUG_KOBJECT is not set | ||
916 | CONFIG_DEBUG_BUGVERBOSE=y | ||
917 | # CONFIG_DEBUG_INFO is not set | ||
918 | # CONFIG_DEBUG_FS is not set | ||
919 | # CONFIG_DEBUG_VM is not set | ||
920 | # CONFIG_DEBUG_LIST is not set | ||
921 | CONFIG_FRAME_POINTER=y | ||
922 | CONFIG_FORCED_INLINING=y | ||
923 | # CONFIG_HEADERS_CHECK is not set | ||
924 | # CONFIG_RCU_TORTURE_TEST is not set | ||
925 | CONFIG_DEBUG_USER=y | ||
926 | # CONFIG_DEBUG_WAITQ is not set | ||
927 | # CONFIG_DEBUG_ERRORS is not set | ||
928 | CONFIG_DEBUG_LL=y | ||
929 | # CONFIG_DEBUG_ICEDCC is not set | ||
930 | |||
931 | # | ||
932 | # Security options | ||
933 | # | ||
934 | # CONFIG_KEYS is not set | ||
935 | # CONFIG_SECURITY is not set | ||
936 | |||
937 | # | ||
938 | # Cryptographic options | ||
939 | # | ||
940 | # CONFIG_CRYPTO is not set | ||
941 | |||
942 | # | ||
943 | # Library routines | ||
944 | # | ||
945 | # CONFIG_CRC_CCITT is not set | ||
946 | # CONFIG_CRC16 is not set | ||
947 | CONFIG_CRC32=y | ||
948 | # CONFIG_LIBCRC32C is not set | ||
949 | CONFIG_ZLIB_INFLATE=y | ||
950 | CONFIG_PLIST=y | ||
diff --git a/arch/arm/mach-at91rm9200/Makefile b/arch/arm/mach-at91rm9200/Makefile index 564ad6e45242..cd83c9fb3c77 100644 --- a/arch/arm/mach-at91rm9200/Makefile +++ b/arch/arm/mach-at91rm9200/Makefile | |||
@@ -26,6 +26,7 @@ obj-$(CONFIG_MACH_ATEB9200) += board-eb9200.o | |||
26 | obj-$(CONFIG_MACH_KAFA) += board-kafa.o | 26 | obj-$(CONFIG_MACH_KAFA) += board-kafa.o |
27 | 27 | ||
28 | # AT91SAM9260 board-specific support | 28 | # AT91SAM9260 board-specific support |
29 | obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o | ||
29 | 30 | ||
30 | # AT91SAM9261 board-specific support | 31 | # AT91SAM9261 board-specific support |
31 | 32 | ||
diff --git a/arch/arm/mach-at91rm9200/board-sam9260ek.c b/arch/arm/mach-at91rm9200/board-sam9260ek.c new file mode 100644 index 000000000000..ffca9bdec37b --- /dev/null +++ b/arch/arm/mach-at91rm9200/board-sam9260ek.c | |||
@@ -0,0 +1,201 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mach-at91rm9200/board-ek.c | ||
3 | * | ||
4 | * Copyright (C) 2005 SAN People | ||
5 | * Copyright (C) 2006 Atmel | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | * This program is distributed in the hope that it will be useful, | ||
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program; if not, write to the Free Software | ||
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
20 | */ | ||
21 | |||
22 | #include <linux/types.h> | ||
23 | #include <linux/init.h> | ||
24 | #include <linux/mm.h> | ||
25 | #include <linux/module.h> | ||
26 | #include <linux/platform_device.h> | ||
27 | #include <linux/spi/spi.h> | ||
28 | |||
29 | #include <asm/hardware.h> | ||
30 | #include <asm/setup.h> | ||
31 | #include <asm/mach-types.h> | ||
32 | #include <asm/irq.h> | ||
33 | |||
34 | #include <asm/mach/arch.h> | ||
35 | #include <asm/mach/map.h> | ||
36 | #include <asm/mach/irq.h> | ||
37 | |||
38 | #include <asm/arch/board.h> | ||
39 | #include <asm/arch/gpio.h> | ||
40 | #include <asm/arch/at91sam926x_mc.h> | ||
41 | |||
42 | #include "generic.h" | ||
43 | |||
44 | |||
45 | /* | ||
46 | * Serial port configuration. | ||
47 | * 0 .. 5 = USART0 .. USART5 | ||
48 | * 6 = DBGU | ||
49 | */ | ||
50 | static struct at91_uart_config __initdata ek_uart_config = { | ||
51 | .console_tty = 0, /* ttyS0 */ | ||
52 | .nr_tty = 3, | ||
53 | .tty_map = { 6, 0, 1, -1, -1, -1, -1 } /* ttyS0, ..., ttyS6 */ | ||
54 | }; | ||
55 | |||
56 | static void __init ek_map_io(void) | ||
57 | { | ||
58 | /* Initialize processor: 18.432 MHz crystal */ | ||
59 | at91sam9260_initialize(18432000); | ||
60 | |||
61 | /* Setup the serial ports and console */ | ||
62 | at91_init_serial(&ek_uart_config); | ||
63 | } | ||
64 | |||
65 | static void __init ek_init_irq(void) | ||
66 | { | ||
67 | at91sam9260_init_interrupts(NULL); | ||
68 | } | ||
69 | |||
70 | |||
71 | /* | ||
72 | * USB Host port | ||
73 | */ | ||
74 | static struct at91_usbh_data __initdata ek_usbh_data = { | ||
75 | .ports = 2, | ||
76 | }; | ||
77 | |||
78 | /* | ||
79 | * USB Device port | ||
80 | */ | ||
81 | static struct at91_udc_data __initdata ek_udc_data = { | ||
82 | .vbus_pin = AT91_PIN_PC5, | ||
83 | .pullup_pin = 0, /* pull-up driven by UDC */ | ||
84 | }; | ||
85 | |||
86 | |||
87 | /* | ||
88 | * SPI devices. | ||
89 | */ | ||
90 | static struct spi_board_info ek_spi_devices[] = { | ||
91 | #if !defined(CONFIG_MMC_AT91) | ||
92 | { /* DataFlash chip */ | ||
93 | .modalias = "mtd_dataflash", | ||
94 | .chip_select = 1, | ||
95 | .max_speed_hz = 15 * 1000 * 1000, | ||
96 | .bus_num = 0, | ||
97 | }, | ||
98 | #if defined(CONFIG_MTD_AT91_DATAFLASH_CARD) | ||
99 | { /* DataFlash card */ | ||
100 | .modalias = "mtd_dataflash", | ||
101 | .chip_select = 0, | ||
102 | .max_speed_hz = 15 * 1000 * 1000, | ||
103 | .bus_num = 0, | ||
104 | }, | ||
105 | #endif | ||
106 | #endif | ||
107 | #if defined(CONFIG_SND_AT73C213) | ||
108 | { /* AT73C213 DAC */ | ||
109 | .modalias = "snd_at73c213", | ||
110 | .chip_select = 0, | ||
111 | .max_speed_hz = 10 * 1000 * 1000, | ||
112 | .bus_num = 1, | ||
113 | }, | ||
114 | #endif | ||
115 | }; | ||
116 | |||
117 | |||
118 | /* | ||
119 | * MACB Ethernet device | ||
120 | */ | ||
121 | static struct __initdata eth_platform_data ek_macb_data = { | ||
122 | .is_rmii = 1, | ||
123 | }; | ||
124 | |||
125 | |||
126 | /* | ||
127 | * NAND flash | ||
128 | */ | ||
129 | static struct mtd_partition __initdata ek_nand_partition[] = { | ||
130 | { | ||
131 | .name = "Partition 1", | ||
132 | .offset = 0, | ||
133 | .size = 256 * 1024, | ||
134 | }, | ||
135 | { | ||
136 | .name = "Partition 2", | ||
137 | .offset = 256 * 1024, | ||
138 | .size = MTDPART_SIZ_FULL, | ||
139 | }, | ||
140 | }; | ||
141 | |||
142 | static struct mtd_partition *nand_partitions(int size, int *num_partitions) | ||
143 | { | ||
144 | *num_partitions = ARRAY_SIZE(ek_nand_partition); | ||
145 | return ek_nand_partition; | ||
146 | } | ||
147 | |||
148 | static struct at91_nand_data __initdata ek_nand_data = { | ||
149 | .ale = 21, | ||
150 | .cle = 22, | ||
151 | // .det_pin = ... not connected | ||
152 | .rdy_pin = AT91_PIN_PC13, | ||
153 | .enable_pin = AT91_PIN_PC14, | ||
154 | .partition_info = nand_partitions, | ||
155 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | ||
156 | .bus_width_16 = 1, | ||
157 | #else | ||
158 | .bus_width_16 = 0, | ||
159 | #endif | ||
160 | }; | ||
161 | |||
162 | |||
163 | /* | ||
164 | * MCI (SD/MMC) | ||
165 | */ | ||
166 | static struct at91_mmc_data __initdata ek_mmc_data = { | ||
167 | .slot_b = 1, | ||
168 | .wire4 = 1, | ||
169 | // .det_pin = ... not connected | ||
170 | // .wp_pin = ... not connected | ||
171 | // .vcc_pin = ... not connected | ||
172 | }; | ||
173 | |||
174 | static void __init ek_board_init(void) | ||
175 | { | ||
176 | /* Serial */ | ||
177 | at91_add_device_serial(); | ||
178 | /* USB Host */ | ||
179 | at91_add_device_usbh(&ek_usbh_data); | ||
180 | /* USB Device */ | ||
181 | at91_add_device_udc(&ek_udc_data); | ||
182 | /* SPI */ | ||
183 | at91_add_device_spi(ek_spi_devices, ARRAY_SIZE(ek_spi_devices)); | ||
184 | /* NAND */ | ||
185 | at91_add_device_nand(&ek_nand_data); | ||
186 | /* Ethernet */ | ||
187 | at91_add_device_eth(&ek_macb_data); | ||
188 | /* MMC */ | ||
189 | at91_add_device_mmc(&ek_mmc_data); | ||
190 | } | ||
191 | |||
192 | MACHINE_START(AT91SAM9260EK, "Atmel AT91SAM9260-EK") | ||
193 | /* Maintainer: Atmel */ | ||
194 | .phys_io = AT91_BASE_SYS, | ||
195 | .io_pg_offst = (AT91_VA_BASE_SYS >> 18) & 0xfffc, | ||
196 | .boot_params = AT91_SDRAM_BASE + 0x100, | ||
197 | .timer = &at91sam926x_timer, | ||
198 | .map_io = ek_map_io, | ||
199 | .init_irq = ek_init_irq, | ||
200 | .init_machine = ek_board_init, | ||
201 | MACHINE_END | ||