diff options
author | Benjamin Matthews <bmat@lle.rochester.edu> | 2008-08-14 02:55:54 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-08-14 02:55:54 -0400 |
commit | 130de7cebe20a74261a75bb0c6026a3199cdb980 (patch) | |
tree | eea6ab7eef38dc9c4db5a660e668727b00b7d6b0 /arch/blackfin | |
parent | 251383c7c50cf17664a4d7d60d3a52d8827a0e11 (diff) |
Blackfin arch: add support for the BlackStamp board
Signed-off-by: Benjamin Matthews <bmat@lle.rochester.edu>
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/Kconfig | 6 | ||||
-rw-r--r-- | arch/blackfin/configs/BlackStamp_defconfig | 1195 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/Kconfig | 6 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/Makefile | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/blackstamp.c | 401 |
5 files changed, 1606 insertions, 3 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index ededf9319f34..f64d25973a37 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -249,7 +249,7 @@ config MEM_MT48LC8M32B2B5_7 | |||
249 | 249 | ||
250 | config MEM_MT48LC32M16A2TG_75 | 250 | config MEM_MT48LC32M16A2TG_75 |
251 | bool | 251 | bool |
252 | depends on (BFIN527_EZKIT || BFIN532_IP0X) | 252 | depends on (BFIN527_EZKIT || BFIN532_IP0X || BLACKSTAMP) |
253 | default y | 253 | default y |
254 | 254 | ||
255 | source "arch/blackfin/mach-bf527/Kconfig" | 255 | source "arch/blackfin/mach-bf527/Kconfig" |
@@ -292,7 +292,7 @@ config CLKIN_HZ | |||
292 | int "Frequency of the crystal on the board in Hz" | 292 | int "Frequency of the crystal on the board in Hz" |
293 | default "11059200" if BFIN533_STAMP | 293 | default "11059200" if BFIN533_STAMP |
294 | default "27000000" if BFIN533_EZKIT | 294 | default "27000000" if BFIN533_EZKIT |
295 | default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS) | 295 | default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS || BLACKSTAMP) |
296 | default "30000000" if BFIN561_EZKIT | 296 | default "30000000" if BFIN561_EZKIT |
297 | default "24576000" if PNAV10 | 297 | default "24576000" if PNAV10 |
298 | default "10000000" if BFIN532_IP0X | 298 | default "10000000" if BFIN532_IP0X |
@@ -332,7 +332,7 @@ config VCO_MULT | |||
332 | default "22" if BFIN533_BLUETECHNIX_CM | 332 | default "22" if BFIN533_BLUETECHNIX_CM |
333 | default "20" if (BFIN537_BLUETECHNIX_CM || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM) | 333 | default "20" if (BFIN537_BLUETECHNIX_CM || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM) |
334 | default "20" if BFIN561_EZKIT | 334 | default "20" if BFIN561_EZKIT |
335 | default "16" if H8606_HVSISTEMAS | 335 | default "16" if (H8606_HVSISTEMAS || BLACKSTAMP) |
336 | help | 336 | help |
337 | This controls the frequency of the on-chip PLL. This can be between 1 and 64. | 337 | This controls the frequency of the on-chip PLL. This can be between 1 and 64. |
338 | PLL Frequency = (Crystal Frequency) * (this setting) | 338 | PLL Frequency = (Crystal Frequency) * (this setting) |
diff --git a/arch/blackfin/configs/BlackStamp_defconfig b/arch/blackfin/configs/BlackStamp_defconfig new file mode 100644 index 000000000000..2921f9952d5f --- /dev/null +++ b/arch/blackfin/configs/BlackStamp_defconfig | |||
@@ -0,0 +1,1195 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.26.2 | ||
4 | # | ||
5 | # CONFIG_MMU is not set | ||
6 | # CONFIG_FPU is not set | ||
7 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
8 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | ||
9 | CONFIG_BLACKFIN=y | ||
10 | CONFIG_ZONE_DMA=y | ||
11 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
12 | CONFIG_GENERIC_HWEIGHT=y | ||
13 | CONFIG_GENERIC_HARDIRQS=y | ||
14 | CONFIG_GENERIC_IRQ_PROBE=y | ||
15 | CONFIG_GENERIC_GPIO=y | ||
16 | CONFIG_FORCE_MAX_ZONEORDER=14 | ||
17 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
18 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
19 | |||
20 | # | ||
21 | # General setup | ||
22 | # | ||
23 | CONFIG_EXPERIMENTAL=y | ||
24 | CONFIG_BROKEN_ON_SMP=y | ||
25 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
26 | CONFIG_LOCALVERSION="" | ||
27 | CONFIG_LOCALVERSION_AUTO=y | ||
28 | CONFIG_SYSVIPC=y | ||
29 | CONFIG_SYSVIPC_SYSCTL=y | ||
30 | # CONFIG_POSIX_MQUEUE is not set | ||
31 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
32 | # CONFIG_TASKSTATS is not set | ||
33 | # CONFIG_AUDIT is not set | ||
34 | CONFIG_IKCONFIG=y | ||
35 | CONFIG_IKCONFIG_PROC=y | ||
36 | CONFIG_LOG_BUF_SHIFT=14 | ||
37 | # CONFIG_CGROUPS is not set | ||
38 | # CONFIG_GROUP_SCHED is not set | ||
39 | CONFIG_SYSFS_DEPRECATED=y | ||
40 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
41 | # CONFIG_RELAY is not set | ||
42 | # CONFIG_NAMESPACES is not set | ||
43 | CONFIG_BLK_DEV_INITRD=y | ||
44 | CONFIG_INITRAMFS_SOURCE="" | ||
45 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
46 | CONFIG_SYSCTL=y | ||
47 | CONFIG_EMBEDDED=y | ||
48 | CONFIG_UID16=y | ||
49 | CONFIG_SYSCTL_SYSCALL=y | ||
50 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
51 | CONFIG_KALLSYMS=y | ||
52 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
53 | CONFIG_HOTPLUG=y | ||
54 | CONFIG_PRINTK=y | ||
55 | CONFIG_BUG=y | ||
56 | CONFIG_ELF_CORE=y | ||
57 | CONFIG_COMPAT_BRK=y | ||
58 | CONFIG_BASE_FULL=y | ||
59 | CONFIG_FUTEX=y | ||
60 | CONFIG_ANON_INODES=y | ||
61 | CONFIG_EPOLL=y | ||
62 | CONFIG_SIGNALFD=y | ||
63 | CONFIG_TIMERFD=y | ||
64 | CONFIG_EVENTFD=y | ||
65 | CONFIG_VM_EVENT_COUNTERS=y | ||
66 | CONFIG_SLAB=y | ||
67 | # CONFIG_SLUB is not set | ||
68 | # CONFIG_SLOB is not set | ||
69 | # CONFIG_PROFILING is not set | ||
70 | # CONFIG_MARKERS is not set | ||
71 | CONFIG_HAVE_OPROFILE=y | ||
72 | # CONFIG_HAVE_KPROBES is not set | ||
73 | # CONFIG_HAVE_KRETPROBES is not set | ||
74 | # CONFIG_HAVE_DMA_ATTRS is not set | ||
75 | CONFIG_SLABINFO=y | ||
76 | CONFIG_RT_MUTEXES=y | ||
77 | CONFIG_TINY_SHMEM=y | ||
78 | CONFIG_BASE_SMALL=0 | ||
79 | CONFIG_MODULES=y | ||
80 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
81 | CONFIG_MODULE_UNLOAD=y | ||
82 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
83 | # CONFIG_MODVERSIONS is not set | ||
84 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
85 | CONFIG_KMOD=y | ||
86 | CONFIG_BLOCK=y | ||
87 | # CONFIG_LBD is not set | ||
88 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
89 | # CONFIG_LSF is not set | ||
90 | # CONFIG_BLK_DEV_BSG is not set | ||
91 | |||
92 | # | ||
93 | # IO Schedulers | ||
94 | # | ||
95 | CONFIG_IOSCHED_NOOP=y | ||
96 | CONFIG_IOSCHED_AS=y | ||
97 | # CONFIG_IOSCHED_DEADLINE is not set | ||
98 | CONFIG_IOSCHED_CFQ=y | ||
99 | CONFIG_DEFAULT_AS=y | ||
100 | # CONFIG_DEFAULT_DEADLINE is not set | ||
101 | # CONFIG_DEFAULT_CFQ is not set | ||
102 | # CONFIG_DEFAULT_NOOP is not set | ||
103 | CONFIG_DEFAULT_IOSCHED="anticipatory" | ||
104 | CONFIG_CLASSIC_RCU=y | ||
105 | # CONFIG_PREEMPT_NONE is not set | ||
106 | CONFIG_PREEMPT_VOLUNTARY=y | ||
107 | # CONFIG_PREEMPT is not set | ||
108 | |||
109 | # | ||
110 | # Blackfin Processor Options | ||
111 | # | ||
112 | |||
113 | # | ||
114 | # Processor and Board Settings | ||
115 | # | ||
116 | # CONFIG_BF522 is not set | ||
117 | # CONFIG_BF523 is not set | ||
118 | # CONFIG_BF524 is not set | ||
119 | # CONFIG_BF525 is not set | ||
120 | # CONFIG_BF526 is not set | ||
121 | # CONFIG_BF527 is not set | ||
122 | # CONFIG_BF531 is not set | ||
123 | CONFIG_BF532=y | ||
124 | # CONFIG_BF533 is not set | ||
125 | # CONFIG_BF534 is not set | ||
126 | # CONFIG_BF536 is not set | ||
127 | # CONFIG_BF537 is not set | ||
128 | # CONFIG_BF542 is not set | ||
129 | # CONFIG_BF544 is not set | ||
130 | # CONFIG_BF547 is not set | ||
131 | # CONFIG_BF548 is not set | ||
132 | # CONFIG_BF549 is not set | ||
133 | # CONFIG_BF561 is not set | ||
134 | # CONFIG_BF_REV_0_0 is not set | ||
135 | # CONFIG_BF_REV_0_1 is not set | ||
136 | # CONFIG_BF_REV_0_2 is not set | ||
137 | # CONFIG_BF_REV_0_3 is not set | ||
138 | # CONFIG_BF_REV_0_4 is not set | ||
139 | CONFIG_BF_REV_0_5=y | ||
140 | # CONFIG_BF_REV_ANY is not set | ||
141 | # CONFIG_BF_REV_NONE is not set | ||
142 | CONFIG_BF53x=y | ||
143 | CONFIG_MEM_MT48LC32M16A2TG_75=y | ||
144 | # CONFIG_BFIN533_EZKIT is not set | ||
145 | # CONFIG_BFIN533_STAMP is not set | ||
146 | # CONFIG_BFIN533_BLUETECHNIX_CM is not set | ||
147 | # CONFIG_H8606_HVSISTEMAS is not set | ||
148 | # CONFIG_BFIN532_IP0X is not set | ||
149 | CONFIG_BLACKSTAMP=y | ||
150 | # CONFIG_GENERIC_BF533_BOARD is not set | ||
151 | |||
152 | # | ||
153 | # BF533/2/1 Specific Configuration | ||
154 | # | ||
155 | |||
156 | # | ||
157 | # Interrupt Priority Assignment | ||
158 | # | ||
159 | |||
160 | # | ||
161 | # Priority | ||
162 | # | ||
163 | CONFIG_UART_ERROR=7 | ||
164 | CONFIG_SPORT0_ERROR=7 | ||
165 | CONFIG_SPI_ERROR=7 | ||
166 | CONFIG_SPORT1_ERROR=7 | ||
167 | CONFIG_PPI_ERROR=7 | ||
168 | CONFIG_DMA_ERROR=7 | ||
169 | CONFIG_PLLWAKE_ERROR=7 | ||
170 | CONFIG_RTC_ERROR=8 | ||
171 | CONFIG_DMA0_PPI=8 | ||
172 | CONFIG_DMA1_SPORT0RX=9 | ||
173 | CONFIG_DMA2_SPORT0TX=9 | ||
174 | CONFIG_DMA3_SPORT1RX=9 | ||
175 | CONFIG_DMA4_SPORT1TX=9 | ||
176 | CONFIG_DMA5_SPI=10 | ||
177 | CONFIG_DMA6_UARTRX=10 | ||
178 | CONFIG_DMA7_UARTTX=10 | ||
179 | CONFIG_TIMER0=11 | ||
180 | CONFIG_TIMER1=11 | ||
181 | CONFIG_TIMER2=11 | ||
182 | CONFIG_PFA=12 | ||
183 | CONFIG_PFB=12 | ||
184 | CONFIG_MEMDMA0=13 | ||
185 | CONFIG_MEMDMA1=13 | ||
186 | CONFIG_WDTIMER=13 | ||
187 | |||
188 | # | ||
189 | # Board customizations | ||
190 | # | ||
191 | # CONFIG_CMDLINE_BOOL is not set | ||
192 | CONFIG_BOOT_LOAD=0x1000 | ||
193 | |||
194 | # | ||
195 | # Clock/PLL Setup | ||
196 | # | ||
197 | CONFIG_CLKIN_HZ=25000000 | ||
198 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
199 | # CONFIG_PLL_BYPASS is not set | ||
200 | # CONFIG_CLKIN_HALF is not set | ||
201 | CONFIG_VCO_MULT=16 | ||
202 | CONFIG_CCLK_DIV_1=y | ||
203 | # CONFIG_CCLK_DIV_2 is not set | ||
204 | # CONFIG_CCLK_DIV_4 is not set | ||
205 | # CONFIG_CCLK_DIV_8 is not set | ||
206 | CONFIG_SCLK_DIV=3 | ||
207 | CONFIG_MAX_MEM_SIZE=64 | ||
208 | CONFIG_MAX_VCO_HZ=400000000 | ||
209 | CONFIG_MIN_VCO_HZ=50000000 | ||
210 | CONFIG_MAX_SCLK_HZ=133333333 | ||
211 | CONFIG_MIN_SCLK_HZ=27000000 | ||
212 | |||
213 | # | ||
214 | # Kernel Timer/Scheduler | ||
215 | # | ||
216 | # CONFIG_HZ_100 is not set | ||
217 | CONFIG_HZ_250=y | ||
218 | # CONFIG_HZ_300 is not set | ||
219 | # CONFIG_HZ_1000 is not set | ||
220 | CONFIG_HZ=250 | ||
221 | # CONFIG_SCHED_HRTICK is not set | ||
222 | CONFIG_GENERIC_TIME=y | ||
223 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
224 | # CONFIG_CYCLES_CLOCKSOURCE is not set | ||
225 | CONFIG_TICK_ONESHOT=y | ||
226 | # CONFIG_NO_HZ is not set | ||
227 | CONFIG_HIGH_RES_TIMERS=y | ||
228 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
229 | |||
230 | # | ||
231 | # Memory Setup | ||
232 | # | ||
233 | |||
234 | # | ||
235 | # Misc | ||
236 | # | ||
237 | CONFIG_BFIN_SCRATCH_REG_RETN=y | ||
238 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | ||
239 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | ||
240 | |||
241 | # | ||
242 | # Blackfin Kernel Optimizations | ||
243 | # | ||
244 | |||
245 | # | ||
246 | # Memory Optimizations | ||
247 | # | ||
248 | CONFIG_I_ENTRY_L1=y | ||
249 | CONFIG_EXCPT_IRQ_SYSC_L1=y | ||
250 | CONFIG_DO_IRQ_L1=y | ||
251 | CONFIG_CORE_TIMER_IRQ_L1=y | ||
252 | CONFIG_IDLE_L1=y | ||
253 | CONFIG_SCHEDULE_L1=y | ||
254 | CONFIG_ARITHMETIC_OPS_L1=y | ||
255 | CONFIG_ACCESS_OK_L1=y | ||
256 | CONFIG_MEMSET_L1=y | ||
257 | CONFIG_MEMCPY_L1=y | ||
258 | CONFIG_SYS_BFIN_SPINLOCK_L1=y | ||
259 | # CONFIG_IP_CHECKSUM_L1 is not set | ||
260 | CONFIG_CACHELINE_ALIGNED_L1=y | ||
261 | # CONFIG_SYSCALL_TAB_L1 is not set | ||
262 | # CONFIG_CPLB_SWITCH_TAB_L1 is not set | ||
263 | # CONFIG_RAMKERNEL is not set | ||
264 | CONFIG_ROMKERNEL=y | ||
265 | CONFIG_SELECT_MEMORY_MODEL=y | ||
266 | CONFIG_FLATMEM_MANUAL=y | ||
267 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
268 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
269 | CONFIG_FLATMEM=y | ||
270 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
271 | # CONFIG_SPARSEMEM_STATIC is not set | ||
272 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
273 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
274 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
275 | # CONFIG_RESOURCES_64BIT is not set | ||
276 | CONFIG_ZONE_DMA_FLAG=1 | ||
277 | CONFIG_VIRT_TO_BUS=y | ||
278 | CONFIG_BFIN_GPTIMERS=y | ||
279 | CONFIG_BFIN_DMA_5XX=y | ||
280 | # CONFIG_DMA_UNCACHED_4M is not set | ||
281 | # CONFIG_DMA_UNCACHED_2M is not set | ||
282 | CONFIG_DMA_UNCACHED_1M=y | ||
283 | # CONFIG_DMA_UNCACHED_NONE is not set | ||
284 | |||
285 | # | ||
286 | # Cache Support | ||
287 | # | ||
288 | CONFIG_BFIN_ICACHE=y | ||
289 | CONFIG_BFIN_DCACHE=y | ||
290 | # CONFIG_BFIN_DCACHE_BANKA is not set | ||
291 | # CONFIG_BFIN_ICACHE_LOCK is not set | ||
292 | # CONFIG_BFIN_WB is not set | ||
293 | CONFIG_BFIN_WT=y | ||
294 | # CONFIG_MPU is not set | ||
295 | |||
296 | # | ||
297 | # Asynchonous Memory Configuration | ||
298 | # | ||
299 | |||
300 | # | ||
301 | # EBIU_AMGCTL Global Control | ||
302 | # | ||
303 | CONFIG_C_AMCKEN=y | ||
304 | CONFIG_C_CDPRIO=y | ||
305 | # CONFIG_C_AMBEN is not set | ||
306 | # CONFIG_C_AMBEN_B0 is not set | ||
307 | # CONFIG_C_AMBEN_B0_B1 is not set | ||
308 | # CONFIG_C_AMBEN_B0_B1_B2 is not set | ||
309 | CONFIG_C_AMBEN_ALL=y | ||
310 | |||
311 | # | ||
312 | # EBIU_AMBCTL Control | ||
313 | # | ||
314 | CONFIG_BANK_0=0x7BB0 | ||
315 | CONFIG_BANK_1=0x7BB0 | ||
316 | CONFIG_BANK_2=0x7BB0 | ||
317 | CONFIG_BANK_3=0xAAC2 | ||
318 | |||
319 | # | ||
320 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | ||
321 | # | ||
322 | # CONFIG_PCI is not set | ||
323 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
324 | # CONFIG_PCCARD is not set | ||
325 | |||
326 | # | ||
327 | # Executable file formats | ||
328 | # | ||
329 | CONFIG_BINFMT_ELF_FDPIC=y | ||
330 | CONFIG_BINFMT_FLAT=y | ||
331 | CONFIG_BINFMT_ZFLAT=y | ||
332 | CONFIG_BINFMT_SHARED_FLAT=y | ||
333 | # CONFIG_BINFMT_MISC is not set | ||
334 | |||
335 | # | ||
336 | # Power management options | ||
337 | # | ||
338 | CONFIG_PM=y | ||
339 | # CONFIG_PM_DEBUG is not set | ||
340 | CONFIG_PM_SLEEP=y | ||
341 | CONFIG_SUSPEND=y | ||
342 | CONFIG_SUSPEND_FREEZER=y | ||
343 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
344 | CONFIG_PM_BFIN_SLEEP_DEEPER=y | ||
345 | # CONFIG_PM_BFIN_SLEEP is not set | ||
346 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | ||
347 | |||
348 | # | ||
349 | # Possible Suspend Mem / Hibernate Wake-Up Sources | ||
350 | # | ||
351 | |||
352 | # | ||
353 | # CPU Frequency scaling | ||
354 | # | ||
355 | # CONFIG_CPU_FREQ is not set | ||
356 | |||
357 | # | ||
358 | # Networking | ||
359 | # | ||
360 | CONFIG_NET=y | ||
361 | |||
362 | # | ||
363 | # Networking options | ||
364 | # | ||
365 | CONFIG_PACKET=y | ||
366 | # CONFIG_PACKET_MMAP is not set | ||
367 | CONFIG_UNIX=y | ||
368 | CONFIG_XFRM=y | ||
369 | # CONFIG_XFRM_USER is not set | ||
370 | # CONFIG_XFRM_SUB_POLICY is not set | ||
371 | # CONFIG_XFRM_MIGRATE is not set | ||
372 | # CONFIG_XFRM_STATISTICS is not set | ||
373 | # CONFIG_NET_KEY is not set | ||
374 | CONFIG_INET=y | ||
375 | # CONFIG_IP_MULTICAST is not set | ||
376 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
377 | CONFIG_IP_FIB_HASH=y | ||
378 | CONFIG_IP_PNP=y | ||
379 | # CONFIG_IP_PNP_DHCP is not set | ||
380 | # CONFIG_IP_PNP_BOOTP is not set | ||
381 | # CONFIG_IP_PNP_RARP is not set | ||
382 | # CONFIG_NET_IPIP is not set | ||
383 | # CONFIG_NET_IPGRE is not set | ||
384 | # CONFIG_ARPD is not set | ||
385 | CONFIG_SYN_COOKIES=y | ||
386 | # CONFIG_INET_AH is not set | ||
387 | # CONFIG_INET_ESP is not set | ||
388 | # CONFIG_INET_IPCOMP is not set | ||
389 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
390 | # CONFIG_INET_TUNNEL is not set | ||
391 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
392 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
393 | CONFIG_INET_XFRM_MODE_BEET=y | ||
394 | # CONFIG_INET_LRO is not set | ||
395 | CONFIG_INET_DIAG=y | ||
396 | CONFIG_INET_TCP_DIAG=y | ||
397 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
398 | CONFIG_TCP_CONG_CUBIC=y | ||
399 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
400 | # CONFIG_TCP_MD5SIG is not set | ||
401 | # CONFIG_IPV6 is not set | ||
402 | # CONFIG_NETLABEL is not set | ||
403 | # CONFIG_NETWORK_SECMARK is not set | ||
404 | # CONFIG_NETFILTER is not set | ||
405 | # CONFIG_IP_DCCP is not set | ||
406 | # CONFIG_IP_SCTP is not set | ||
407 | # CONFIG_TIPC is not set | ||
408 | # CONFIG_ATM is not set | ||
409 | # CONFIG_BRIDGE is not set | ||
410 | # CONFIG_VLAN_8021Q is not set | ||
411 | # CONFIG_DECNET is not set | ||
412 | # CONFIG_LLC2 is not set | ||
413 | # CONFIG_IPX is not set | ||
414 | # CONFIG_ATALK is not set | ||
415 | # CONFIG_X25 is not set | ||
416 | # CONFIG_LAPB is not set | ||
417 | # CONFIG_ECONET is not set | ||
418 | # CONFIG_WAN_ROUTER is not set | ||
419 | # CONFIG_NET_SCHED is not set | ||
420 | |||
421 | # | ||
422 | # Network testing | ||
423 | # | ||
424 | # CONFIG_NET_PKTGEN is not set | ||
425 | # CONFIG_HAMRADIO is not set | ||
426 | # CONFIG_CAN is not set | ||
427 | # CONFIG_IRDA is not set | ||
428 | # CONFIG_BT is not set | ||
429 | # CONFIG_AF_RXRPC is not set | ||
430 | |||
431 | # | ||
432 | # Wireless | ||
433 | # | ||
434 | # CONFIG_CFG80211 is not set | ||
435 | # CONFIG_WIRELESS_EXT is not set | ||
436 | # CONFIG_MAC80211 is not set | ||
437 | # CONFIG_IEEE80211 is not set | ||
438 | # CONFIG_RFKILL is not set | ||
439 | # CONFIG_NET_9P is not set | ||
440 | |||
441 | # | ||
442 | # Device Drivers | ||
443 | # | ||
444 | |||
445 | # | ||
446 | # Generic Driver Options | ||
447 | # | ||
448 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
449 | CONFIG_STANDALONE=y | ||
450 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
451 | # CONFIG_FW_LOADER is not set | ||
452 | # CONFIG_SYS_HYPERVISOR is not set | ||
453 | # CONFIG_CONNECTOR is not set | ||
454 | CONFIG_MTD=y | ||
455 | # CONFIG_MTD_DEBUG is not set | ||
456 | # CONFIG_MTD_CONCAT is not set | ||
457 | CONFIG_MTD_PARTITIONS=y | ||
458 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
459 | CONFIG_MTD_CMDLINE_PARTS=y | ||
460 | # CONFIG_MTD_AR7_PARTS is not set | ||
461 | |||
462 | # | ||
463 | # User Modules And Translation Layers | ||
464 | # | ||
465 | CONFIG_MTD_CHAR=m | ||
466 | CONFIG_MTD_BLKDEVS=y | ||
467 | CONFIG_MTD_BLOCK=y | ||
468 | # CONFIG_FTL is not set | ||
469 | # CONFIG_NFTL is not set | ||
470 | # CONFIG_INFTL is not set | ||
471 | # CONFIG_RFD_FTL is not set | ||
472 | # CONFIG_SSFDC is not set | ||
473 | # CONFIG_MTD_OOPS is not set | ||
474 | |||
475 | # | ||
476 | # RAM/ROM/Flash chip drivers | ||
477 | # | ||
478 | CONFIG_MTD_CFI=m | ||
479 | # CONFIG_MTD_JEDECPROBE is not set | ||
480 | CONFIG_MTD_GEN_PROBE=m | ||
481 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
482 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
483 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
484 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
485 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
486 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
487 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
488 | CONFIG_MTD_CFI_I1=y | ||
489 | CONFIG_MTD_CFI_I2=y | ||
490 | # CONFIG_MTD_CFI_I4 is not set | ||
491 | # CONFIG_MTD_CFI_I8 is not set | ||
492 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
493 | CONFIG_MTD_CFI_AMDSTD=m | ||
494 | # CONFIG_MTD_CFI_STAA is not set | ||
495 | CONFIG_MTD_CFI_UTIL=m | ||
496 | CONFIG_MTD_RAM=y | ||
497 | CONFIG_MTD_ROM=m | ||
498 | # CONFIG_MTD_ABSENT is not set | ||
499 | |||
500 | # | ||
501 | # Mapping drivers for chip access | ||
502 | # | ||
503 | CONFIG_MTD_COMPLEX_MAPPINGS=y | ||
504 | # CONFIG_MTD_PHYSMAP is not set | ||
505 | # CONFIG_MTD_GPIO_ADDR is not set | ||
506 | # CONFIG_MTD_UCLINUX is not set | ||
507 | # CONFIG_MTD_PLATRAM is not set | ||
508 | |||
509 | # | ||
510 | # Self-contained MTD device drivers | ||
511 | # | ||
512 | # CONFIG_MTD_DATAFLASH is not set | ||
513 | CONFIG_MTD_M25P80=y | ||
514 | # CONFIG_M25PXX_USE_FAST_READ is not set | ||
515 | # CONFIG_MTD_SLRAM is not set | ||
516 | # CONFIG_MTD_PHRAM is not set | ||
517 | # CONFIG_MTD_MTDRAM is not set | ||
518 | # CONFIG_MTD_BLOCK2MTD is not set | ||
519 | |||
520 | # | ||
521 | # Disk-On-Chip Device Drivers | ||
522 | # | ||
523 | # CONFIG_MTD_DOC2000 is not set | ||
524 | # CONFIG_MTD_DOC2001 is not set | ||
525 | # CONFIG_MTD_DOC2001PLUS is not set | ||
526 | # CONFIG_MTD_NAND is not set | ||
527 | # CONFIG_MTD_ONENAND is not set | ||
528 | |||
529 | # | ||
530 | # UBI - Unsorted block images | ||
531 | # | ||
532 | # CONFIG_MTD_UBI is not set | ||
533 | # CONFIG_PARPORT is not set | ||
534 | CONFIG_BLK_DEV=y | ||
535 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
536 | CONFIG_BLK_DEV_LOOP=y | ||
537 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
538 | CONFIG_BLK_DEV_NBD=y | ||
539 | CONFIG_BLK_DEV_RAM=y | ||
540 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
541 | CONFIG_BLK_DEV_RAM_SIZE=4096 | ||
542 | # CONFIG_BLK_DEV_XIP is not set | ||
543 | # CONFIG_CDROM_PKTCDVD is not set | ||
544 | # CONFIG_ATA_OVER_ETH is not set | ||
545 | CONFIG_MISC_DEVICES=y | ||
546 | # CONFIG_EEPROM_93CX6 is not set | ||
547 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
548 | CONFIG_HAVE_IDE=y | ||
549 | # CONFIG_IDE is not set | ||
550 | |||
551 | # | ||
552 | # SCSI device support | ||
553 | # | ||
554 | # CONFIG_RAID_ATTRS is not set | ||
555 | # CONFIG_SCSI is not set | ||
556 | # CONFIG_SCSI_DMA is not set | ||
557 | # CONFIG_SCSI_NETLINK is not set | ||
558 | # CONFIG_ATA is not set | ||
559 | # CONFIG_MD is not set | ||
560 | CONFIG_NETDEVICES=y | ||
561 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
562 | # CONFIG_DUMMY is not set | ||
563 | # CONFIG_BONDING is not set | ||
564 | # CONFIG_MACVLAN is not set | ||
565 | # CONFIG_EQUALIZER is not set | ||
566 | # CONFIG_TUN is not set | ||
567 | # CONFIG_VETH is not set | ||
568 | # CONFIG_PHYLIB is not set | ||
569 | CONFIG_NET_ETHERNET=y | ||
570 | CONFIG_MII=y | ||
571 | CONFIG_SMC91X=y | ||
572 | # CONFIG_SMSC911X is not set | ||
573 | # CONFIG_DM9000 is not set | ||
574 | # CONFIG_ENC28J60 is not set | ||
575 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
576 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
577 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
578 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
579 | # CONFIG_B44 is not set | ||
580 | # CONFIG_NETDEV_1000 is not set | ||
581 | # CONFIG_NETDEV_10000 is not set | ||
582 | |||
583 | # | ||
584 | # Wireless LAN | ||
585 | # | ||
586 | # CONFIG_WLAN_PRE80211 is not set | ||
587 | # CONFIG_WLAN_80211 is not set | ||
588 | # CONFIG_IWLWIFI_LEDS is not set | ||
589 | # CONFIG_WAN is not set | ||
590 | # CONFIG_PPP is not set | ||
591 | # CONFIG_SLIP is not set | ||
592 | # CONFIG_NETCONSOLE is not set | ||
593 | # CONFIG_NETPOLL is not set | ||
594 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
595 | # CONFIG_ISDN is not set | ||
596 | # CONFIG_PHONE is not set | ||
597 | |||
598 | # | ||
599 | # Input device support | ||
600 | # | ||
601 | CONFIG_INPUT=y | ||
602 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
603 | # CONFIG_INPUT_POLLDEV is not set | ||
604 | |||
605 | # | ||
606 | # Userland interfaces | ||
607 | # | ||
608 | # CONFIG_INPUT_MOUSEDEV is not set | ||
609 | # CONFIG_INPUT_JOYDEV is not set | ||
610 | CONFIG_INPUT_EVDEV=m | ||
611 | # CONFIG_INPUT_EVBUG is not set | ||
612 | |||
613 | # | ||
614 | # Input Device Drivers | ||
615 | # | ||
616 | # CONFIG_INPUT_KEYBOARD is not set | ||
617 | # CONFIG_INPUT_MOUSE is not set | ||
618 | # CONFIG_INPUT_JOYSTICK is not set | ||
619 | # CONFIG_INPUT_TABLET is not set | ||
620 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
621 | # CONFIG_INPUT_MISC is not set | ||
622 | |||
623 | # | ||
624 | # Hardware I/O ports | ||
625 | # | ||
626 | # CONFIG_SERIO is not set | ||
627 | # CONFIG_GAMEPORT is not set | ||
628 | |||
629 | # | ||
630 | # Character devices | ||
631 | # | ||
632 | # CONFIG_AD9960 is not set | ||
633 | # CONFIG_SPI_ADC_BF533 is not set | ||
634 | # CONFIG_BF5xx_PPIFCD is not set | ||
635 | # CONFIG_BFIN_SIMPLE_TIMER is not set | ||
636 | CONFIG_BF5xx_PPI=y | ||
637 | CONFIG_BFIN_SPORT=y | ||
638 | # CONFIG_BFIN_TIMER_LATENCY is not set | ||
639 | # CONFIG_TWI_LCD is not set | ||
640 | CONFIG_SIMPLE_GPIO=m | ||
641 | # CONFIG_VT is not set | ||
642 | CONFIG_DEVKMEM=y | ||
643 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
644 | |||
645 | # | ||
646 | # Serial drivers | ||
647 | # | ||
648 | # CONFIG_SERIAL_8250 is not set | ||
649 | |||
650 | # | ||
651 | # Non-8250 serial port support | ||
652 | # | ||
653 | CONFIG_SERIAL_BFIN=y | ||
654 | CONFIG_SERIAL_BFIN_CONSOLE=y | ||
655 | CONFIG_SERIAL_BFIN_DMA=y | ||
656 | # CONFIG_SERIAL_BFIN_PIO is not set | ||
657 | CONFIG_SERIAL_BFIN_UART0=y | ||
658 | # CONFIG_BFIN_UART0_CTSRTS is not set | ||
659 | CONFIG_SERIAL_CORE=y | ||
660 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
661 | # CONFIG_SERIAL_BFIN_SPORT is not set | ||
662 | CONFIG_UNIX98_PTYS=y | ||
663 | # CONFIG_LEGACY_PTYS is not set | ||
664 | |||
665 | # | ||
666 | # CAN, the car bus and industrial fieldbus | ||
667 | # | ||
668 | # CONFIG_CAN4LINUX is not set | ||
669 | # CONFIG_IPMI_HANDLER is not set | ||
670 | CONFIG_HW_RANDOM=y | ||
671 | # CONFIG_R3964 is not set | ||
672 | # CONFIG_RAW_DRIVER is not set | ||
673 | # CONFIG_TCG_TPM is not set | ||
674 | CONFIG_I2C=m | ||
675 | CONFIG_I2C_BOARDINFO=y | ||
676 | CONFIG_I2C_CHARDEV=m | ||
677 | CONFIG_I2C_ALGOBIT=m | ||
678 | |||
679 | # | ||
680 | # I2C Hardware Bus support | ||
681 | # | ||
682 | CONFIG_I2C_GPIO=m | ||
683 | # CONFIG_I2C_OCORES is not set | ||
684 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
685 | # CONFIG_I2C_SIMTEC is not set | ||
686 | # CONFIG_I2C_TAOS_EVM is not set | ||
687 | # CONFIG_I2C_STUB is not set | ||
688 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
689 | |||
690 | # | ||
691 | # Miscellaneous I2C Chip support | ||
692 | # | ||
693 | # CONFIG_DS1682 is not set | ||
694 | # CONFIG_SENSORS_AD5252 is not set | ||
695 | # CONFIG_SENSORS_EEPROM is not set | ||
696 | # CONFIG_SENSORS_PCF8574 is not set | ||
697 | # CONFIG_PCF8575 is not set | ||
698 | # CONFIG_SENSORS_PCF8591 is not set | ||
699 | # CONFIG_SENSORS_MAX6875 is not set | ||
700 | # CONFIG_SENSORS_TSL2550 is not set | ||
701 | # CONFIG_I2C_DEBUG_CORE is not set | ||
702 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
703 | # CONFIG_I2C_DEBUG_BUS is not set | ||
704 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
705 | CONFIG_SPI=y | ||
706 | CONFIG_SPI_MASTER=y | ||
707 | |||
708 | # | ||
709 | # SPI Master Controller Drivers | ||
710 | # | ||
711 | CONFIG_SPI_BFIN=y | ||
712 | # CONFIG_SPI_BITBANG is not set | ||
713 | |||
714 | # | ||
715 | # SPI Protocol Masters | ||
716 | # | ||
717 | CONFIG_SPI_AT25=y | ||
718 | CONFIG_SPI_SPIDEV=m | ||
719 | # CONFIG_SPI_TLE62X0 is not set | ||
720 | # CONFIG_W1 is not set | ||
721 | # CONFIG_POWER_SUPPLY is not set | ||
722 | # CONFIG_HWMON is not set | ||
723 | # CONFIG_HWMON_VID is not set | ||
724 | # CONFIG_SENSORS_AD7418 is not set | ||
725 | # CONFIG_SENSORS_ADM1021 is not set | ||
726 | # CONFIG_SENSORS_ADM1025 is not set | ||
727 | # CONFIG_SENSORS_ADM1026 is not set | ||
728 | # CONFIG_SENSORS_ADM1029 is not set | ||
729 | # CONFIG_SENSORS_ADM1031 is not set | ||
730 | # CONFIG_SENSORS_ADM9240 is not set | ||
731 | # CONFIG_SENSORS_ADT7470 is not set | ||
732 | # CONFIG_SENSORS_ADT7473 is not set | ||
733 | # CONFIG_SENSORS_ATXP1 is not set | ||
734 | # CONFIG_SENSORS_DS1621 is not set | ||
735 | # CONFIG_SENSORS_F71805F is not set | ||
736 | # CONFIG_SENSORS_F71882FG is not set | ||
737 | # CONFIG_SENSORS_F75375S is not set | ||
738 | # CONFIG_SENSORS_GL518SM is not set | ||
739 | # CONFIG_SENSORS_GL520SM is not set | ||
740 | # CONFIG_SENSORS_IT87 is not set | ||
741 | # CONFIG_SENSORS_LM63 is not set | ||
742 | # CONFIG_SENSORS_LM70 is not set | ||
743 | # CONFIG_SENSORS_LM75 is not set | ||
744 | # CONFIG_SENSORS_LM77 is not set | ||
745 | # CONFIG_SENSORS_LM78 is not set | ||
746 | # CONFIG_SENSORS_LM80 is not set | ||
747 | # CONFIG_SENSORS_LM83 is not set | ||
748 | # CONFIG_SENSORS_LM85 is not set | ||
749 | # CONFIG_SENSORS_LM87 is not set | ||
750 | # CONFIG_SENSORS_LM90 is not set | ||
751 | # CONFIG_SENSORS_LM92 is not set | ||
752 | # CONFIG_SENSORS_LM93 is not set | ||
753 | # CONFIG_SENSORS_MAX1619 is not set | ||
754 | # CONFIG_SENSORS_MAX6650 is not set | ||
755 | # CONFIG_SENSORS_PC87360 is not set | ||
756 | # CONFIG_SENSORS_PC87427 is not set | ||
757 | # CONFIG_SENSORS_DME1737 is not set | ||
758 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
759 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
760 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
761 | # CONFIG_SENSORS_ADS7828 is not set | ||
762 | # CONFIG_SENSORS_THMC50 is not set | ||
763 | # CONFIG_SENSORS_VT1211 is not set | ||
764 | # CONFIG_SENSORS_W83781D is not set | ||
765 | # CONFIG_SENSORS_W83791D is not set | ||
766 | # CONFIG_SENSORS_W83792D is not set | ||
767 | # CONFIG_SENSORS_W83793 is not set | ||
768 | # CONFIG_SENSORS_W83L785TS is not set | ||
769 | # CONFIG_SENSORS_W83L786NG is not set | ||
770 | # CONFIG_SENSORS_W83627HF is not set | ||
771 | # CONFIG_SENSORS_W83627EHF is not set | ||
772 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
773 | # CONFIG_THERMAL is not set | ||
774 | # CONFIG_THERMAL_HWMON is not set | ||
775 | CONFIG_WATCHDOG=y | ||
776 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
777 | |||
778 | # | ||
779 | # Watchdog Device Drivers | ||
780 | # | ||
781 | # CONFIG_SOFT_WATCHDOG is not set | ||
782 | CONFIG_BFIN_WDT=y | ||
783 | |||
784 | # | ||
785 | # Sonics Silicon Backplane | ||
786 | # | ||
787 | CONFIG_SSB_POSSIBLE=y | ||
788 | # CONFIG_SSB is not set | ||
789 | |||
790 | # | ||
791 | # Multifunction device drivers | ||
792 | # | ||
793 | # CONFIG_MFD_SM501 is not set | ||
794 | # CONFIG_HTC_PASIC3 is not set | ||
795 | |||
796 | # | ||
797 | # Multimedia devices | ||
798 | # | ||
799 | |||
800 | # | ||
801 | # Multimedia core support | ||
802 | # | ||
803 | # CONFIG_VIDEO_DEV is not set | ||
804 | # CONFIG_DVB_CORE is not set | ||
805 | # CONFIG_VIDEO_MEDIA is not set | ||
806 | |||
807 | # | ||
808 | # Multimedia drivers | ||
809 | # | ||
810 | # CONFIG_DAB is not set | ||
811 | |||
812 | # | ||
813 | # Graphics support | ||
814 | # | ||
815 | # CONFIG_VGASTATE is not set | ||
816 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
817 | # CONFIG_FB is not set | ||
818 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
819 | |||
820 | # | ||
821 | # Display device support | ||
822 | # | ||
823 | # CONFIG_DISPLAY_SUPPORT is not set | ||
824 | |||
825 | # | ||
826 | # Sound | ||
827 | # | ||
828 | # CONFIG_SOUND is not set | ||
829 | CONFIG_HID_SUPPORT=y | ||
830 | CONFIG_HID=y | ||
831 | # CONFIG_HID_DEBUG is not set | ||
832 | # CONFIG_HIDRAW is not set | ||
833 | # CONFIG_USB_SUPPORT is not set | ||
834 | CONFIG_MMC=y | ||
835 | # CONFIG_MMC_DEBUG is not set | ||
836 | # CONFIG_MMC_UNSAFE_RESUME is not set | ||
837 | |||
838 | # | ||
839 | # MMC/SD Card Drivers | ||
840 | # | ||
841 | CONFIG_MMC_BLOCK=y | ||
842 | CONFIG_MMC_BLOCK_BOUNCE=y | ||
843 | # CONFIG_SDIO_UART is not set | ||
844 | # CONFIG_MMC_TEST is not set | ||
845 | |||
846 | # | ||
847 | # MMC/SD Host Controller Drivers | ||
848 | # | ||
849 | CONFIG_MMC_SPI=y | ||
850 | # CONFIG_SPI_MMC is not set | ||
851 | # CONFIG_MEMSTICK is not set | ||
852 | # CONFIG_NEW_LEDS is not set | ||
853 | # CONFIG_ACCESSIBILITY is not set | ||
854 | CONFIG_RTC_LIB=y | ||
855 | CONFIG_RTC_CLASS=y | ||
856 | CONFIG_RTC_HCTOSYS=y | ||
857 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
858 | # CONFIG_RTC_DEBUG is not set | ||
859 | |||
860 | # | ||
861 | # RTC interfaces | ||
862 | # | ||
863 | CONFIG_RTC_INTF_SYSFS=y | ||
864 | CONFIG_RTC_INTF_PROC=y | ||
865 | CONFIG_RTC_INTF_DEV=y | ||
866 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
867 | # CONFIG_RTC_DRV_TEST is not set | ||
868 | |||
869 | # | ||
870 | # I2C RTC drivers | ||
871 | # | ||
872 | # CONFIG_RTC_DRV_DS1307 is not set | ||
873 | # CONFIG_RTC_DRV_DS1374 is not set | ||
874 | # CONFIG_RTC_DRV_DS1672 is not set | ||
875 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
876 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
877 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
878 | # CONFIG_RTC_DRV_X1205 is not set | ||
879 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
880 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
881 | # CONFIG_RTC_DRV_M41T80 is not set | ||
882 | # CONFIG_RTC_DRV_S35390A is not set | ||
883 | # CONFIG_RTC_DRV_FM3130 is not set | ||
884 | |||
885 | # | ||
886 | # SPI RTC drivers | ||
887 | # | ||
888 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
889 | # CONFIG_RTC_DRV_R9701 is not set | ||
890 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
891 | |||
892 | # | ||
893 | # Platform RTC drivers | ||
894 | # | ||
895 | # CONFIG_RTC_DRV_DS1511 is not set | ||
896 | # CONFIG_RTC_DRV_DS1553 is not set | ||
897 | # CONFIG_RTC_DRV_DS1742 is not set | ||
898 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
899 | # CONFIG_RTC_DRV_M48T86 is not set | ||
900 | # CONFIG_RTC_DRV_M48T59 is not set | ||
901 | # CONFIG_RTC_DRV_V3020 is not set | ||
902 | |||
903 | # | ||
904 | # on-CPU RTC drivers | ||
905 | # | ||
906 | CONFIG_RTC_DRV_BFIN=y | ||
907 | # CONFIG_UIO is not set | ||
908 | |||
909 | # | ||
910 | # File systems | ||
911 | # | ||
912 | # CONFIG_EXT2_FS is not set | ||
913 | # CONFIG_EXT3_FS is not set | ||
914 | # CONFIG_EXT4DEV_FS is not set | ||
915 | # CONFIG_REISERFS_FS is not set | ||
916 | # CONFIG_JFS_FS is not set | ||
917 | # CONFIG_FS_POSIX_ACL is not set | ||
918 | # CONFIG_XFS_FS is not set | ||
919 | # CONFIG_OCFS2_FS is not set | ||
920 | # CONFIG_DNOTIFY is not set | ||
921 | CONFIG_INOTIFY=y | ||
922 | CONFIG_INOTIFY_USER=y | ||
923 | # CONFIG_QUOTA is not set | ||
924 | # CONFIG_AUTOFS_FS is not set | ||
925 | # CONFIG_AUTOFS4_FS is not set | ||
926 | # CONFIG_FUSE_FS is not set | ||
927 | |||
928 | # | ||
929 | # CD-ROM/DVD Filesystems | ||
930 | # | ||
931 | # CONFIG_ISO9660_FS is not set | ||
932 | # CONFIG_UDF_FS is not set | ||
933 | |||
934 | # | ||
935 | # DOS/FAT/NT Filesystems | ||
936 | # | ||
937 | CONFIG_FAT_FS=y | ||
938 | CONFIG_MSDOS_FS=y | ||
939 | CONFIG_VFAT_FS=y | ||
940 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
941 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
942 | # CONFIG_NTFS_FS is not set | ||
943 | |||
944 | # | ||
945 | # Pseudo filesystems | ||
946 | # | ||
947 | CONFIG_PROC_FS=y | ||
948 | CONFIG_PROC_SYSCTL=y | ||
949 | CONFIG_SYSFS=y | ||
950 | # CONFIG_TMPFS is not set | ||
951 | # CONFIG_HUGETLB_PAGE is not set | ||
952 | # CONFIG_CONFIGFS_FS is not set | ||
953 | |||
954 | # | ||
955 | # Miscellaneous filesystems | ||
956 | # | ||
957 | # CONFIG_ADFS_FS is not set | ||
958 | # CONFIG_AFFS_FS is not set | ||
959 | # CONFIG_HFS_FS is not set | ||
960 | # CONFIG_HFSPLUS_FS is not set | ||
961 | # CONFIG_BEFS_FS is not set | ||
962 | # CONFIG_BFS_FS is not set | ||
963 | # CONFIG_EFS_FS is not set | ||
964 | CONFIG_YAFFS_FS=m | ||
965 | CONFIG_YAFFS_YAFFS1=y | ||
966 | # CONFIG_YAFFS_9BYTE_TAGS is not set | ||
967 | # CONFIG_YAFFS_DOES_ECC is not set | ||
968 | CONFIG_YAFFS_YAFFS2=y | ||
969 | CONFIG_YAFFS_AUTO_YAFFS2=y | ||
970 | # CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set | ||
971 | # CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set | ||
972 | # CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set | ||
973 | CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y | ||
974 | CONFIG_JFFS2_FS=y | ||
975 | CONFIG_JFFS2_FS_DEBUG=0 | ||
976 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
977 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
978 | # CONFIG_JFFS2_SUMMARY is not set | ||
979 | # CONFIG_JFFS2_FS_XATTR is not set | ||
980 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
981 | CONFIG_JFFS2_ZLIB=y | ||
982 | # CONFIG_JFFS2_LZO is not set | ||
983 | CONFIG_JFFS2_RTIME=y | ||
984 | # CONFIG_JFFS2_RUBIN is not set | ||
985 | # CONFIG_CRAMFS is not set | ||
986 | # CONFIG_VXFS_FS is not set | ||
987 | # CONFIG_MINIX_FS is not set | ||
988 | # CONFIG_HPFS_FS is not set | ||
989 | # CONFIG_QNX4FS_FS is not set | ||
990 | # CONFIG_ROMFS_FS is not set | ||
991 | # CONFIG_SYSV_FS is not set | ||
992 | # CONFIG_UFS_FS is not set | ||
993 | CONFIG_NETWORK_FILESYSTEMS=y | ||
994 | CONFIG_NFS_FS=y | ||
995 | CONFIG_NFS_V3=y | ||
996 | # CONFIG_NFS_V3_ACL is not set | ||
997 | CONFIG_NFS_V4=y | ||
998 | # CONFIG_NFSD is not set | ||
999 | # CONFIG_ROOT_NFS is not set | ||
1000 | CONFIG_LOCKD=y | ||
1001 | CONFIG_LOCKD_V4=y | ||
1002 | CONFIG_NFS_COMMON=y | ||
1003 | CONFIG_SUNRPC=y | ||
1004 | CONFIG_SUNRPC_GSS=y | ||
1005 | # CONFIG_SUNRPC_BIND34 is not set | ||
1006 | CONFIG_RPCSEC_GSS_KRB5=y | ||
1007 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
1008 | CONFIG_SMB_FS=y | ||
1009 | # CONFIG_SMB_NLS_DEFAULT is not set | ||
1010 | CONFIG_CIFS=y | ||
1011 | # CONFIG_CIFS_STATS is not set | ||
1012 | # CONFIG_CIFS_WEAK_PW_HASH is not set | ||
1013 | # CONFIG_CIFS_XATTR is not set | ||
1014 | # CONFIG_CIFS_DEBUG2 is not set | ||
1015 | # CONFIG_CIFS_EXPERIMENTAL is not set | ||
1016 | # CONFIG_NCP_FS is not set | ||
1017 | # CONFIG_CODA_FS is not set | ||
1018 | # CONFIG_AFS_FS is not set | ||
1019 | |||
1020 | # | ||
1021 | # Partition Types | ||
1022 | # | ||
1023 | # CONFIG_PARTITION_ADVANCED is not set | ||
1024 | CONFIG_MSDOS_PARTITION=y | ||
1025 | CONFIG_NLS=y | ||
1026 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
1027 | CONFIG_NLS_CODEPAGE_437=y | ||
1028 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
1029 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
1030 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
1031 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
1032 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
1033 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
1034 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
1035 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
1036 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
1037 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
1038 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
1039 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
1040 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
1041 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
1042 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
1043 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
1044 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
1045 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
1046 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
1047 | # CONFIG_NLS_ISO8859_8 is not set | ||
1048 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
1049 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
1050 | CONFIG_NLS_ASCII=y | ||
1051 | # CONFIG_NLS_ISO8859_1 is not set | ||
1052 | # CONFIG_NLS_ISO8859_2 is not set | ||
1053 | # CONFIG_NLS_ISO8859_3 is not set | ||
1054 | # CONFIG_NLS_ISO8859_4 is not set | ||
1055 | # CONFIG_NLS_ISO8859_5 is not set | ||
1056 | # CONFIG_NLS_ISO8859_6 is not set | ||
1057 | # CONFIG_NLS_ISO8859_7 is not set | ||
1058 | # CONFIG_NLS_ISO8859_9 is not set | ||
1059 | # CONFIG_NLS_ISO8859_13 is not set | ||
1060 | # CONFIG_NLS_ISO8859_14 is not set | ||
1061 | # CONFIG_NLS_ISO8859_15 is not set | ||
1062 | # CONFIG_NLS_KOI8_R is not set | ||
1063 | # CONFIG_NLS_KOI8_U is not set | ||
1064 | CONFIG_NLS_UTF8=y | ||
1065 | # CONFIG_DLM is not set | ||
1066 | |||
1067 | # | ||
1068 | # Kernel hacking | ||
1069 | # | ||
1070 | # CONFIG_PRINTK_TIME is not set | ||
1071 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
1072 | CONFIG_ENABLE_MUST_CHECK=y | ||
1073 | CONFIG_FRAME_WARN=1024 | ||
1074 | # CONFIG_MAGIC_SYSRQ is not set | ||
1075 | # CONFIG_UNUSED_SYMBOLS is not set | ||
1076 | CONFIG_DEBUG_FS=y | ||
1077 | # CONFIG_HEADERS_CHECK is not set | ||
1078 | # CONFIG_DEBUG_KERNEL is not set | ||
1079 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
1080 | # CONFIG_SAMPLES is not set | ||
1081 | CONFIG_DEBUG_MMRS=y | ||
1082 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | ||
1083 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | ||
1084 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | ||
1085 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | ||
1086 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_TWO is not set | ||
1087 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | ||
1088 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | ||
1089 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | ||
1090 | CONFIG_EARLY_PRINTK=y | ||
1091 | CONFIG_CPLB_INFO=y | ||
1092 | CONFIG_ACCESS_CHECK=y | ||
1093 | |||
1094 | # | ||
1095 | # Security options | ||
1096 | # | ||
1097 | # CONFIG_KEYS is not set | ||
1098 | CONFIG_SECURITY=y | ||
1099 | # CONFIG_SECURITY_NETWORK is not set | ||
1100 | # CONFIG_SECURITY_CAPABILITIES is not set | ||
1101 | CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=0 | ||
1102 | CONFIG_CRYPTO=y | ||
1103 | |||
1104 | # | ||
1105 | # Crypto core or helper | ||
1106 | # | ||
1107 | CONFIG_CRYPTO_ALGAPI=y | ||
1108 | CONFIG_CRYPTO_BLKCIPHER=y | ||
1109 | CONFIG_CRYPTO_MANAGER=y | ||
1110 | # CONFIG_CRYPTO_GF128MUL is not set | ||
1111 | # CONFIG_CRYPTO_NULL is not set | ||
1112 | # CONFIG_CRYPTO_CRYPTD is not set | ||
1113 | # CONFIG_CRYPTO_AUTHENC is not set | ||
1114 | # CONFIG_CRYPTO_TEST is not set | ||
1115 | |||
1116 | # | ||
1117 | # Authenticated Encryption with Associated Data | ||
1118 | # | ||
1119 | # CONFIG_CRYPTO_CCM is not set | ||
1120 | # CONFIG_CRYPTO_GCM is not set | ||
1121 | # CONFIG_CRYPTO_SEQIV is not set | ||
1122 | |||
1123 | # | ||
1124 | # Block modes | ||
1125 | # | ||
1126 | CONFIG_CRYPTO_CBC=y | ||
1127 | # CONFIG_CRYPTO_CTR is not set | ||
1128 | # CONFIG_CRYPTO_CTS is not set | ||
1129 | # CONFIG_CRYPTO_ECB is not set | ||
1130 | # CONFIG_CRYPTO_LRW is not set | ||
1131 | # CONFIG_CRYPTO_PCBC is not set | ||
1132 | # CONFIG_CRYPTO_XTS is not set | ||
1133 | |||
1134 | # | ||
1135 | # Hash modes | ||
1136 | # | ||
1137 | # CONFIG_CRYPTO_HMAC is not set | ||
1138 | # CONFIG_CRYPTO_XCBC is not set | ||
1139 | |||
1140 | # | ||
1141 | # Digest | ||
1142 | # | ||
1143 | # CONFIG_CRYPTO_CRC32C is not set | ||
1144 | # CONFIG_CRYPTO_MD4 is not set | ||
1145 | CONFIG_CRYPTO_MD5=y | ||
1146 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
1147 | # CONFIG_CRYPTO_SHA1 is not set | ||
1148 | # CONFIG_CRYPTO_SHA256 is not set | ||
1149 | # CONFIG_CRYPTO_SHA512 is not set | ||
1150 | # CONFIG_CRYPTO_TGR192 is not set | ||
1151 | # CONFIG_CRYPTO_WP512 is not set | ||
1152 | |||
1153 | # | ||
1154 | # Ciphers | ||
1155 | # | ||
1156 | # CONFIG_CRYPTO_AES is not set | ||
1157 | # CONFIG_CRYPTO_ANUBIS is not set | ||
1158 | # CONFIG_CRYPTO_ARC4 is not set | ||
1159 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
1160 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
1161 | # CONFIG_CRYPTO_CAST5 is not set | ||
1162 | # CONFIG_CRYPTO_CAST6 is not set | ||
1163 | CONFIG_CRYPTO_DES=y | ||
1164 | # CONFIG_CRYPTO_FCRYPT is not set | ||
1165 | # CONFIG_CRYPTO_KHAZAD is not set | ||
1166 | # CONFIG_CRYPTO_SALSA20 is not set | ||
1167 | # CONFIG_CRYPTO_SEED is not set | ||
1168 | # CONFIG_CRYPTO_SERPENT is not set | ||
1169 | # CONFIG_CRYPTO_TEA is not set | ||
1170 | # CONFIG_CRYPTO_TWOFISH is not set | ||
1171 | |||
1172 | # | ||
1173 | # Compression | ||
1174 | # | ||
1175 | # CONFIG_CRYPTO_DEFLATE is not set | ||
1176 | # CONFIG_CRYPTO_LZO is not set | ||
1177 | CONFIG_CRYPTO_HW=y | ||
1178 | |||
1179 | # | ||
1180 | # Library routines | ||
1181 | # | ||
1182 | CONFIG_BITREVERSE=y | ||
1183 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | ||
1184 | CONFIG_CRC_CCITT=m | ||
1185 | # CONFIG_CRC16 is not set | ||
1186 | CONFIG_CRC_ITU_T=y | ||
1187 | CONFIG_CRC32=y | ||
1188 | CONFIG_CRC7=y | ||
1189 | # CONFIG_LIBCRC32C is not set | ||
1190 | CONFIG_ZLIB_INFLATE=y | ||
1191 | CONFIG_ZLIB_DEFLATE=y | ||
1192 | CONFIG_PLIST=y | ||
1193 | CONFIG_HAS_IOMEM=y | ||
1194 | CONFIG_HAS_IOPORT=y | ||
1195 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/blackfin/mach-bf533/boards/Kconfig b/arch/blackfin/mach-bf533/boards/Kconfig index 840059241fbe..308c98dc5aba 100644 --- a/arch/blackfin/mach-bf533/boards/Kconfig +++ b/arch/blackfin/mach-bf533/boards/Kconfig | |||
@@ -14,6 +14,12 @@ config BFIN533_STAMP | |||
14 | help | 14 | help |
15 | BF533-STAMP board support. | 15 | BF533-STAMP board support. |
16 | 16 | ||
17 | config BLACKSTAMP | ||
18 | bool "BlackStamp" | ||
19 | help | ||
20 | Support for the BlackStamp board. Hardware info available at | ||
21 | http://blackfin.uclinux.org/gf/project/blackstamp/ | ||
22 | |||
17 | config BFIN533_BLUETECHNIX_CM | 23 | config BFIN533_BLUETECHNIX_CM |
18 | bool "Bluetechnix CM-BF533" | 24 | bool "Bluetechnix CM-BF533" |
19 | depends on (BF533) | 25 | depends on (BF533) |
diff --git a/arch/blackfin/mach-bf533/boards/Makefile b/arch/blackfin/mach-bf533/boards/Makefile index b7a1a1d79bda..9afbe72b484f 100644 --- a/arch/blackfin/mach-bf533/boards/Makefile +++ b/arch/blackfin/mach-bf533/boards/Makefile | |||
@@ -7,4 +7,5 @@ obj-$(CONFIG_BFIN533_STAMP) += stamp.o | |||
7 | obj-$(CONFIG_BFIN532_IP0X) += ip0x.o | 7 | obj-$(CONFIG_BFIN532_IP0X) += ip0x.o |
8 | obj-$(CONFIG_BFIN533_EZKIT) += ezkit.o | 8 | obj-$(CONFIG_BFIN533_EZKIT) += ezkit.o |
9 | obj-$(CONFIG_BFIN533_BLUETECHNIX_CM) += cm_bf533.o | 9 | obj-$(CONFIG_BFIN533_BLUETECHNIX_CM) += cm_bf533.o |
10 | obj-$(CONFIG_BLACKSTAMP) += blackstamp.o | ||
10 | obj-$(CONFIG_H8606_HVSISTEMAS) += H8606.o | 11 | obj-$(CONFIG_H8606_HVSISTEMAS) += H8606.o |
diff --git a/arch/blackfin/mach-bf533/boards/blackstamp.c b/arch/blackfin/mach-bf533/boards/blackstamp.c new file mode 100644 index 000000000000..d064ded87719 --- /dev/null +++ b/arch/blackfin/mach-bf533/boards/blackstamp.c | |||
@@ -0,0 +1,401 @@ | |||
1 | /* | ||
2 | * File: arch/blackfin/mach-bf533/blackstamp.c | ||
3 | * Based on: arch/blackfin/mach-bf533/stamp.c | ||
4 | * Author: Benjamin Matthews <bmat@lle.rochester.edu> | ||
5 | * Aidan Williams <aidan@nicta.com.au> | ||
6 | * | ||
7 | * Created: 2008 | ||
8 | * Description: Board Info File for the BlackStamp | ||
9 | * | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2008 Analog Devices Inc. | ||
12 | * | ||
13 | * Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * More info about the BlackStamp at: | ||
16 | * http://blackfin.uclinux.org/gf/project/blackstamp/ | ||
17 | * | ||
18 | * Licensed under the GPL-2 or later. | ||
19 | */ | ||
20 | |||
21 | #include <linux/device.h> | ||
22 | #include <linux/platform_device.h> | ||
23 | #include <linux/mtd/mtd.h> | ||
24 | #include <linux/mtd/partitions.h> | ||
25 | #include <linux/mtd/physmap.h> | ||
26 | #include <linux/spi/spi.h> | ||
27 | #include <linux/spi/flash.h> | ||
28 | #include <linux/irq.h> | ||
29 | #include <linux/i2c.h> | ||
30 | #include <asm/dma.h> | ||
31 | #include <asm/bfin5xx_spi.h> | ||
32 | #include <asm/portmux.h> | ||
33 | #include <asm/dpmc.h> | ||
34 | |||
35 | /* | ||
36 | * Name the Board for the /proc/cpuinfo | ||
37 | */ | ||
38 | const char bfin_board_name[] = "BlackStamp"; | ||
39 | |||
40 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | ||
41 | static struct platform_device rtc_device = { | ||
42 | .name = "rtc-bfin", | ||
43 | .id = -1, | ||
44 | }; | ||
45 | #endif | ||
46 | |||
47 | /* | ||
48 | * Driver needs to know address, irq and flag pin. | ||
49 | */ | ||
50 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | ||
51 | static struct resource smc91x_resources[] = { | ||
52 | { | ||
53 | .name = "smc91x-regs", | ||
54 | .start = 0x20300300, | ||
55 | .end = 0x20300300 + 16, | ||
56 | .flags = IORESOURCE_MEM, | ||
57 | }, { | ||
58 | .start = IRQ_PF3, | ||
59 | .end = IRQ_PF3, | ||
60 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
61 | }, | ||
62 | }; | ||
63 | |||
64 | static struct platform_device smc91x_device = { | ||
65 | .name = "smc91x", | ||
66 | .id = 0, | ||
67 | .num_resources = ARRAY_SIZE(smc91x_resources), | ||
68 | .resource = smc91x_resources, | ||
69 | }; | ||
70 | #endif | ||
71 | |||
72 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) | ||
73 | static struct mtd_partition bfin_spi_flash_partitions[] = { | ||
74 | { | ||
75 | .name = "bootloader(spi)", | ||
76 | .size = 0x00040000, | ||
77 | .offset = 0, | ||
78 | .mask_flags = MTD_CAP_ROM | ||
79 | }, { | ||
80 | .name = "linux kernel(spi)", | ||
81 | .size = 0x180000, | ||
82 | .offset = MTDPART_OFS_APPEND, | ||
83 | }, { | ||
84 | .name = "file system(spi)", | ||
85 | .size = MTDPART_SIZ_FULL, | ||
86 | .offset = MTDPART_OFS_APPEND, | ||
87 | } | ||
88 | }; | ||
89 | |||
90 | static struct flash_platform_data bfin_spi_flash_data = { | ||
91 | .name = "m25p80", | ||
92 | .parts = bfin_spi_flash_partitions, | ||
93 | .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), | ||
94 | .type = "m25p64", | ||
95 | }; | ||
96 | |||
97 | /* SPI flash chip (m25p64) */ | ||
98 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | ||
99 | .enable_dma = 0, /* use dma transfer with this chip*/ | ||
100 | .bits_per_word = 8, | ||
101 | }; | ||
102 | #endif | ||
103 | |||
104 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
105 | static struct bfin5xx_spi_chip spi_mmc_chip_info = { | ||
106 | .enable_dma = 1, | ||
107 | .bits_per_word = 8, | ||
108 | }; | ||
109 | #endif | ||
110 | |||
111 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) | ||
112 | static struct bfin5xx_spi_chip spidev_chip_info = { | ||
113 | .enable_dma = 0, | ||
114 | .bits_per_word = 8, | ||
115 | }; | ||
116 | #endif | ||
117 | |||
118 | static struct spi_board_info bfin_spi_board_info[] __initdata = { | ||
119 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) | ||
120 | { | ||
121 | /* the modalias must be the same as spi device driver name */ | ||
122 | .modalias = "m25p80", /* Name of spi_driver for this device */ | ||
123 | .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */ | ||
124 | .bus_num = 0, /* Framework bus number */ | ||
125 | .chip_select = 2, /* Framework chip select. */ | ||
126 | .platform_data = &bfin_spi_flash_data, | ||
127 | .controller_data = &spi_flash_chip_info, | ||
128 | .mode = SPI_MODE_3, | ||
129 | }, | ||
130 | #endif | ||
131 | |||
132 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
133 | { | ||
134 | .modalias = "spi_mmc_dummy", | ||
135 | .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */ | ||
136 | .bus_num = 0, | ||
137 | .chip_select = 0, | ||
138 | .platform_data = NULL, | ||
139 | .controller_data = &spi_mmc_chip_info, | ||
140 | .mode = SPI_MODE_3, | ||
141 | }, | ||
142 | { | ||
143 | .modalias = "spi_mmc", | ||
144 | .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */ | ||
145 | .bus_num = 0, | ||
146 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | ||
147 | .platform_data = NULL, | ||
148 | .controller_data = &spi_mmc_chip_info, | ||
149 | .mode = SPI_MODE_3, | ||
150 | }, | ||
151 | #endif | ||
152 | |||
153 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) | ||
154 | { | ||
155 | .modalias = "spidev", | ||
156 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | ||
157 | .bus_num = 0, | ||
158 | .chip_select = 7, | ||
159 | .controller_data = &spidev_chip_info, | ||
160 | }, | ||
161 | #endif | ||
162 | }; | ||
163 | |||
164 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
165 | /* SPI (0) */ | ||
166 | static struct resource bfin_spi0_resource[] = { | ||
167 | [0] = { | ||
168 | .start = SPI0_REGBASE, | ||
169 | .end = SPI0_REGBASE + 0xFF, | ||
170 | .flags = IORESOURCE_MEM, | ||
171 | }, | ||
172 | [1] = { | ||
173 | .start = CH_SPI, | ||
174 | .end = CH_SPI, | ||
175 | .flags = IORESOURCE_IRQ, | ||
176 | } | ||
177 | }; | ||
178 | |||
179 | /* SPI controller data */ | ||
180 | static struct bfin5xx_spi_master bfin_spi0_info = { | ||
181 | .num_chipselect = 8, | ||
182 | .enable_dma = 1, /* master has the ability to do dma transfer */ | ||
183 | .pin_req = {P_SPI0_SCK, P_SPI0_MISO, P_SPI0_MOSI, 0}, | ||
184 | }; | ||
185 | |||
186 | static struct platform_device bfin_spi0_device = { | ||
187 | .name = "bfin-spi", | ||
188 | .id = 0, /* Bus number */ | ||
189 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
190 | .resource = bfin_spi0_resource, | ||
191 | .dev = { | ||
192 | .platform_data = &bfin_spi0_info, /* Passed to driver */ | ||
193 | }, | ||
194 | }; | ||
195 | #endif /* spi master and devices */ | ||
196 | |||
197 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | ||
198 | static struct resource bfin_uart_resources[] = { | ||
199 | { | ||
200 | .start = 0xFFC00400, | ||
201 | .end = 0xFFC004FF, | ||
202 | .flags = IORESOURCE_MEM, | ||
203 | }, | ||
204 | }; | ||
205 | |||
206 | static struct platform_device bfin_uart_device = { | ||
207 | .name = "bfin-uart", | ||
208 | .id = 1, | ||
209 | .num_resources = ARRAY_SIZE(bfin_uart_resources), | ||
210 | .resource = bfin_uart_resources, | ||
211 | }; | ||
212 | #endif | ||
213 | |||
214 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | ||
215 | static struct resource bfin_sir_resources[] = { | ||
216 | #ifdef CONFIG_BFIN_SIR0 | ||
217 | { | ||
218 | .start = 0xFFC00400, | ||
219 | .end = 0xFFC004FF, | ||
220 | .flags = IORESOURCE_MEM, | ||
221 | }, | ||
222 | #endif | ||
223 | }; | ||
224 | |||
225 | static struct platform_device bfin_sir_device = { | ||
226 | .name = "bfin_sir", | ||
227 | .id = 0, | ||
228 | .num_resources = ARRAY_SIZE(bfin_sir_resources), | ||
229 | .resource = bfin_sir_resources, | ||
230 | }; | ||
231 | #endif | ||
232 | |||
233 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | ||
234 | static struct platform_device bfin_sport0_uart_device = { | ||
235 | .name = "bfin-sport-uart", | ||
236 | .id = 0, | ||
237 | }; | ||
238 | |||
239 | static struct platform_device bfin_sport1_uart_device = { | ||
240 | .name = "bfin-sport-uart", | ||
241 | .id = 1, | ||
242 | }; | ||
243 | #endif | ||
244 | |||
245 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | ||
246 | #include <linux/input.h> | ||
247 | #include <linux/gpio_keys.h> | ||
248 | |||
249 | static struct gpio_keys_button bfin_gpio_keys_table[] = { | ||
250 | {BTN_0, GPIO_PF4, 0, "gpio-keys: BTN0"}, | ||
251 | {BTN_1, GPIO_PF5, 0, "gpio-keys: BTN1"}, | ||
252 | {BTN_2, GPIO_PF6, 0, "gpio-keys: BTN2"}, | ||
253 | }; /* Mapped to the first three PF Test Points */ | ||
254 | |||
255 | static struct gpio_keys_platform_data bfin_gpio_keys_data = { | ||
256 | .buttons = bfin_gpio_keys_table, | ||
257 | .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table), | ||
258 | }; | ||
259 | |||
260 | static struct platform_device bfin_device_gpiokeys = { | ||
261 | .name = "gpio-keys", | ||
262 | .dev = { | ||
263 | .platform_data = &bfin_gpio_keys_data, | ||
264 | }, | ||
265 | }; | ||
266 | #endif | ||
267 | |||
268 | static struct resource bfin_gpios_resources = { | ||
269 | .start = 0, | ||
270 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
271 | .flags = IORESOURCE_IRQ, | ||
272 | }; | ||
273 | |||
274 | static struct platform_device bfin_gpios_device = { | ||
275 | .name = "simple-gpio", | ||
276 | .id = -1, | ||
277 | .num_resources = 1, | ||
278 | .resource = &bfin_gpios_resources, | ||
279 | }; | ||
280 | |||
281 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | ||
282 | #include <linux/i2c-gpio.h> | ||
283 | |||
284 | static struct i2c_gpio_platform_data i2c_gpio_data = { | ||
285 | .sda_pin = 8, | ||
286 | .scl_pin = 9, | ||
287 | .sda_is_open_drain = 0, | ||
288 | .scl_is_open_drain = 0, | ||
289 | .udelay = 40, | ||
290 | }; /* This hasn't actually been used these pins | ||
291 | * are (currently) free pins on the expansion connector */ | ||
292 | |||
293 | static struct platform_device i2c_gpio_device = { | ||
294 | .name = "i2c-gpio", | ||
295 | .id = 0, | ||
296 | .dev = { | ||
297 | .platform_data = &i2c_gpio_data, | ||
298 | }, | ||
299 | }; | ||
300 | #endif | ||
301 | |||
302 | #ifdef CONFIG_I2C_BOARDINFO | ||
303 | static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | ||
304 | }; | ||
305 | #endif | ||
306 | |||
307 | static const unsigned int cclk_vlev_datasheet[] = | ||
308 | { | ||
309 | VRPAIR(VLEV_085, 250000000), | ||
310 | VRPAIR(VLEV_090, 376000000), | ||
311 | VRPAIR(VLEV_095, 426000000), | ||
312 | VRPAIR(VLEV_100, 426000000), | ||
313 | VRPAIR(VLEV_105, 476000000), | ||
314 | VRPAIR(VLEV_110, 476000000), | ||
315 | VRPAIR(VLEV_115, 476000000), | ||
316 | VRPAIR(VLEV_120, 600000000), | ||
317 | VRPAIR(VLEV_125, 600000000), | ||
318 | VRPAIR(VLEV_130, 600000000), | ||
319 | }; | ||
320 | |||
321 | static struct bfin_dpmc_platform_data bfin_dmpc_vreg_data = { | ||
322 | .tuple_tab = cclk_vlev_datasheet, | ||
323 | .tabsize = ARRAY_SIZE(cclk_vlev_datasheet), | ||
324 | .vr_settling_time = 25 /* us */, | ||
325 | }; | ||
326 | |||
327 | static struct platform_device bfin_dpmc = { | ||
328 | .name = "bfin dpmc", | ||
329 | .dev = { | ||
330 | .platform_data = &bfin_dmpc_vreg_data, | ||
331 | }, | ||
332 | }; | ||
333 | |||
334 | static struct platform_device *stamp_devices[] __initdata = { | ||
335 | |||
336 | &bfin_dpmc, | ||
337 | |||
338 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | ||
339 | &rtc_device, | ||
340 | #endif | ||
341 | |||
342 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | ||
343 | &smc91x_device, | ||
344 | #endif | ||
345 | |||
346 | |||
347 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
348 | &bfin_spi0_device, | ||
349 | #endif | ||
350 | |||
351 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | ||
352 | &bfin_uart_device, | ||
353 | #endif | ||
354 | |||
355 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | ||
356 | &bfin_sir_device, | ||
357 | #endif | ||
358 | |||
359 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | ||
360 | &bfin_sport0_uart_device, | ||
361 | &bfin_sport1_uart_device, | ||
362 | #endif | ||
363 | |||
364 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | ||
365 | &bfin_device_gpiokeys, | ||
366 | #endif | ||
367 | |||
368 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | ||
369 | &i2c_gpio_device, | ||
370 | #endif | ||
371 | |||
372 | &bfin_gpios_device, | ||
373 | }; | ||
374 | |||
375 | static int __init blackstamp_init(void) | ||
376 | { | ||
377 | int ret; | ||
378 | |||
379 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | ||
380 | |||
381 | #ifdef CONFIG_I2C_BOARDINFO | ||
382 | i2c_register_board_info(0, bfin_i2c_board_info, | ||
383 | ARRAY_SIZE(bfin_i2c_board_info)); | ||
384 | #endif | ||
385 | |||
386 | ret = platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); | ||
387 | if (ret < 0) | ||
388 | return ret; | ||
389 | |||
390 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | ||
391 | /* setup BF533_STAMP CPLD to route AMS3 to Ethernet MAC */ | ||
392 | bfin_write_FIO_DIR(bfin_read_FIO_DIR() | PF0); | ||
393 | bfin_write_FIO_FLAG_S(PF0); | ||
394 | SSYNC(); | ||
395 | #endif | ||
396 | |||
397 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | ||
398 | return 0; | ||
399 | } | ||
400 | |||
401 | arch_initcall(blackstamp_init); | ||