diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2008-07-19 05:16:07 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-07-19 05:16:07 -0400 |
commit | 9db144fe897bb09838294aab2229cb423ab40988 (patch) | |
tree | 475099ab9c29e36e134291654a9db077c388c8d6 /arch/blackfin | |
parent | f09630bff51daaf427968c61c0f2370c64148e06 (diff) |
Blackfin arch: Apply Bluetechnix CM-BF527 board support patch
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/Kconfig | 5 | ||||
-rw-r--r-- | arch/blackfin/configs/CM-BF527_defconfig | 1185 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/Kconfig | 5 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/Makefile | 1 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/cm_bf527.c | 1011 |
5 files changed, 2204 insertions, 3 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 5a08194e4118..efa77f3a30d8 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -234,7 +234,7 @@ config MEM_MT48LC16M16A2TG_75 | |||
234 | bool | 234 | bool |
235 | depends on (BFIN533_EZKIT || BFIN561_EZKIT \ | 235 | depends on (BFIN533_EZKIT || BFIN561_EZKIT \ |
236 | || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM \ | 236 | || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM \ |
237 | || H8606_HVSISTEMAS) | 237 | || H8606_HVSISTEMAS || BFIN527_BLUETECHNIX_CM) |
238 | default y | 238 | default y |
239 | 239 | ||
240 | config MEM_MT48LC32M8A2_75 | 240 | config MEM_MT48LC32M8A2_75 |
@@ -330,8 +330,7 @@ config VCO_MULT | |||
330 | default "45" if BFIN533_STAMP | 330 | default "45" if BFIN533_STAMP |
331 | default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM) | 331 | default "20" if (BFIN537_STAMP || BFIN527_EZKIT || BFIN548_EZKIT || BFIN548_BLUETECHNIX_CM) |
332 | default "22" if BFIN533_BLUETECHNIX_CM | 332 | default "22" if BFIN533_BLUETECHNIX_CM |
333 | default "20" if BFIN537_BLUETECHNIX_CM | 333 | default "20" if (BFIN537_BLUETECHNIX_CM || BFIN527_BLUETECHNIX_CM || BFIN561_BLUETECHNIX_CM) |
334 | default "20" if BFIN561_BLUETECHNIX_CM | ||
335 | default "20" if BFIN561_EZKIT | 334 | default "20" if BFIN561_EZKIT |
336 | default "16" if H8606_HVSISTEMAS | 335 | default "16" if H8606_HVSISTEMAS |
337 | help | 336 | help |
diff --git a/arch/blackfin/configs/CM-BF527_defconfig b/arch/blackfin/configs/CM-BF527_defconfig new file mode 100644 index 000000000000..0799aa9bba9d --- /dev/null +++ b/arch/blackfin/configs/CM-BF527_defconfig | |||
@@ -0,0 +1,1185 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.24.7 | ||
4 | # Fri Jul 18 18:00:41 2008 | ||
5 | # | ||
6 | # CONFIG_MMU is not set | ||
7 | # CONFIG_FPU is not set | ||
8 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
9 | # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set | ||
10 | CONFIG_BLACKFIN=y | ||
11 | CONFIG_ZONE_DMA=y | ||
12 | CONFIG_SEMAPHORE_SLEEPERS=y | ||
13 | CONFIG_GENERIC_FIND_NEXT_BIT=y | ||
14 | CONFIG_GENERIC_HWEIGHT=y | ||
15 | CONFIG_GENERIC_HARDIRQS=y | ||
16 | CONFIG_GENERIC_IRQ_PROBE=y | ||
17 | CONFIG_GENERIC_GPIO=y | ||
18 | CONFIG_FORCE_MAX_ZONEORDER=14 | ||
19 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
20 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
21 | |||
22 | # | ||
23 | # General setup | ||
24 | # | ||
25 | CONFIG_EXPERIMENTAL=y | ||
26 | CONFIG_BROKEN_ON_SMP=y | ||
27 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
28 | CONFIG_LOCALVERSION="" | ||
29 | CONFIG_LOCALVERSION_AUTO=y | ||
30 | CONFIG_SYSVIPC=y | ||
31 | CONFIG_SYSVIPC_SYSCTL=y | ||
32 | # CONFIG_POSIX_MQUEUE is not set | ||
33 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
34 | # CONFIG_TASKSTATS is not set | ||
35 | # CONFIG_USER_NS is not set | ||
36 | # CONFIG_PID_NS is not set | ||
37 | # CONFIG_AUDIT is not set | ||
38 | CONFIG_IKCONFIG=y | ||
39 | CONFIG_IKCONFIG_PROC=y | ||
40 | CONFIG_LOG_BUF_SHIFT=14 | ||
41 | # CONFIG_CGROUPS is not set | ||
42 | CONFIG_FAIR_GROUP_SCHED=y | ||
43 | CONFIG_FAIR_USER_SCHED=y | ||
44 | # CONFIG_FAIR_CGROUP_SCHED is not set | ||
45 | CONFIG_SYSFS_DEPRECATED=y | ||
46 | # CONFIG_RELAY is not set | ||
47 | CONFIG_BLK_DEV_INITRD=y | ||
48 | CONFIG_INITRAMFS_SOURCE="" | ||
49 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
50 | CONFIG_SYSCTL=y | ||
51 | CONFIG_EMBEDDED=y | ||
52 | CONFIG_UID16=y | ||
53 | CONFIG_SYSCTL_SYSCALL=y | ||
54 | CONFIG_KALLSYMS=y | ||
55 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
56 | CONFIG_HOTPLUG=y | ||
57 | CONFIG_PRINTK=y | ||
58 | CONFIG_BUG=y | ||
59 | CONFIG_ELF_CORE=y | ||
60 | CONFIG_BASE_FULL=y | ||
61 | CONFIG_FUTEX=y | ||
62 | CONFIG_ANON_INODES=y | ||
63 | CONFIG_EPOLL=y | ||
64 | CONFIG_SIGNALFD=y | ||
65 | CONFIG_EVENTFD=y | ||
66 | CONFIG_VM_EVENT_COUNTERS=y | ||
67 | CONFIG_SLAB=y | ||
68 | # CONFIG_SLUB is not set | ||
69 | # CONFIG_SLOB is not set | ||
70 | CONFIG_SLABINFO=y | ||
71 | CONFIG_RT_MUTEXES=y | ||
72 | CONFIG_TINY_SHMEM=y | ||
73 | CONFIG_BASE_SMALL=0 | ||
74 | CONFIG_MODULES=y | ||
75 | CONFIG_MODULE_UNLOAD=y | ||
76 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
77 | # CONFIG_MODVERSIONS is not set | ||
78 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
79 | CONFIG_KMOD=y | ||
80 | CONFIG_BLOCK=y | ||
81 | # CONFIG_LBD is not set | ||
82 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
83 | # CONFIG_LSF is not set | ||
84 | # CONFIG_BLK_DEV_BSG is not set | ||
85 | |||
86 | # | ||
87 | # IO Schedulers | ||
88 | # | ||
89 | CONFIG_IOSCHED_NOOP=y | ||
90 | # CONFIG_IOSCHED_AS is not set | ||
91 | # CONFIG_IOSCHED_DEADLINE is not set | ||
92 | CONFIG_IOSCHED_CFQ=y | ||
93 | # CONFIG_DEFAULT_AS is not set | ||
94 | # CONFIG_DEFAULT_DEADLINE is not set | ||
95 | CONFIG_DEFAULT_CFQ=y | ||
96 | # CONFIG_DEFAULT_NOOP is not set | ||
97 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
98 | # CONFIG_PREEMPT_NONE is not set | ||
99 | CONFIG_PREEMPT_VOLUNTARY=y | ||
100 | # CONFIG_PREEMPT is not set | ||
101 | |||
102 | # | ||
103 | # Blackfin Processor Options | ||
104 | # | ||
105 | |||
106 | # | ||
107 | # Processor and Board Settings | ||
108 | # | ||
109 | # CONFIG_BF522 is not set | ||
110 | # CONFIG_BF523 is not set | ||
111 | # CONFIG_BF524 is not set | ||
112 | # CONFIG_BF525 is not set | ||
113 | # CONFIG_BF526 is not set | ||
114 | CONFIG_BF527=y | ||
115 | # CONFIG_BF531 is not set | ||
116 | # CONFIG_BF532 is not set | ||
117 | # CONFIG_BF533 is not set | ||
118 | # CONFIG_BF534 is not set | ||
119 | # CONFIG_BF536 is not set | ||
120 | # CONFIG_BF537 is not set | ||
121 | # CONFIG_BF542 is not set | ||
122 | # CONFIG_BF544 is not set | ||
123 | # CONFIG_BF547 is not set | ||
124 | # CONFIG_BF548 is not set | ||
125 | # CONFIG_BF549 is not set | ||
126 | # CONFIG_BF561 is not set | ||
127 | # CONFIG_BF_REV_0_0 is not set | ||
128 | CONFIG_BF_REV_0_1=y | ||
129 | # CONFIG_BF_REV_0_2 is not set | ||
130 | # CONFIG_BF_REV_0_3 is not set | ||
131 | # CONFIG_BF_REV_0_4 is not set | ||
132 | # CONFIG_BF_REV_0_5 is not set | ||
133 | # CONFIG_BF_REV_ANY is not set | ||
134 | # CONFIG_BF_REV_NONE is not set | ||
135 | CONFIG_BF52x=y | ||
136 | CONFIG_MEM_MT48LC16M16A2TG_75=y | ||
137 | # CONFIG_BFIN527_EZKIT is not set | ||
138 | CONFIG_BFIN527_BLUETECHNIX_CM=y | ||
139 | |||
140 | # | ||
141 | # BF527 Specific Configuration | ||
142 | # | ||
143 | |||
144 | # | ||
145 | # Alternative Multiplexing Scheme | ||
146 | # | ||
147 | # CONFIG_BF527_SPORT0_PORTF is not set | ||
148 | CONFIG_BF527_SPORT0_PORTG=y | ||
149 | CONFIG_BF527_SPORT0_TSCLK_PG10=y | ||
150 | # CONFIG_BF527_SPORT0_TSCLK_PG14 is not set | ||
151 | CONFIG_BF527_UART1_PORTF=y | ||
152 | # CONFIG_BF527_UART1_PORTG is not set | ||
153 | # CONFIG_BF527_NAND_D_PORTF is not set | ||
154 | CONFIG_BF527_NAND_D_PORTH=y | ||
155 | |||
156 | # | ||
157 | # Interrupt Priority Assignment | ||
158 | # | ||
159 | |||
160 | # | ||
161 | # Priority | ||
162 | # | ||
163 | CONFIG_IRQ_PLL_WAKEUP=7 | ||
164 | CONFIG_IRQ_DMA0_ERROR=7 | ||
165 | CONFIG_IRQ_DMAR0_BLK=7 | ||
166 | CONFIG_IRQ_DMAR1_BLK=7 | ||
167 | CONFIG_IRQ_DMAR0_OVR=7 | ||
168 | CONFIG_IRQ_DMAR1_OVR=7 | ||
169 | CONFIG_IRQ_PPI_ERROR=7 | ||
170 | CONFIG_IRQ_MAC_ERROR=7 | ||
171 | CONFIG_IRQ_SPORT0_ERROR=7 | ||
172 | CONFIG_IRQ_SPORT1_ERROR=7 | ||
173 | CONFIG_IRQ_UART0_ERROR=7 | ||
174 | CONFIG_IRQ_UART1_ERROR=7 | ||
175 | CONFIG_IRQ_RTC=8 | ||
176 | CONFIG_IRQ_PPI=8 | ||
177 | CONFIG_IRQ_SPORT0_RX=9 | ||
178 | CONFIG_IRQ_SPORT0_TX=9 | ||
179 | CONFIG_IRQ_SPORT1_RX=9 | ||
180 | CONFIG_IRQ_SPORT1_TX=9 | ||
181 | CONFIG_IRQ_TWI=10 | ||
182 | CONFIG_IRQ_SPI=10 | ||
183 | CONFIG_IRQ_UART0_RX=10 | ||
184 | CONFIG_IRQ_UART0_TX=10 | ||
185 | CONFIG_IRQ_UART1_RX=10 | ||
186 | CONFIG_IRQ_UART1_TX=10 | ||
187 | CONFIG_IRQ_OPTSEC=11 | ||
188 | CONFIG_IRQ_CNT=11 | ||
189 | CONFIG_IRQ_MAC_RX=11 | ||
190 | CONFIG_IRQ_PORTH_INTA=11 | ||
191 | CONFIG_IRQ_MAC_TX=11 | ||
192 | CONFIG_IRQ_PORTH_INTB=11 | ||
193 | CONFIG_IRQ_TMR0=12 | ||
194 | CONFIG_IRQ_TMR1=12 | ||
195 | CONFIG_IRQ_TMR2=12 | ||
196 | CONFIG_IRQ_TMR3=12 | ||
197 | CONFIG_IRQ_TMR4=12 | ||
198 | CONFIG_IRQ_TMR5=12 | ||
199 | CONFIG_IRQ_TMR6=12 | ||
200 | CONFIG_IRQ_TMR7=12 | ||
201 | CONFIG_IRQ_PORTG_INTA=12 | ||
202 | CONFIG_IRQ_PORTG_INTB=12 | ||
203 | CONFIG_IRQ_MEM_DMA0=13 | ||
204 | CONFIG_IRQ_MEM_DMA1=13 | ||
205 | CONFIG_IRQ_WATCH=13 | ||
206 | CONFIG_IRQ_PORTF_INTA=13 | ||
207 | CONFIG_IRQ_PORTF_INTB=13 | ||
208 | CONFIG_IRQ_SPI_ERROR=7 | ||
209 | CONFIG_IRQ_NFC_ERROR=7 | ||
210 | CONFIG_IRQ_HDMA_ERROR=7 | ||
211 | CONFIG_IRQ_HDMA=7 | ||
212 | CONFIG_IRQ_USB_EINT=10 | ||
213 | CONFIG_IRQ_USB_INT0=11 | ||
214 | CONFIG_IRQ_USB_INT1=11 | ||
215 | CONFIG_IRQ_USB_INT2=11 | ||
216 | CONFIG_IRQ_USB_DMA=11 | ||
217 | |||
218 | # | ||
219 | # Board customizations | ||
220 | # | ||
221 | # CONFIG_CMDLINE_BOOL is not set | ||
222 | CONFIG_BOOT_LOAD=0x1000 | ||
223 | |||
224 | # | ||
225 | # Clock/PLL Setup | ||
226 | # | ||
227 | CONFIG_CLKIN_HZ=25000000 | ||
228 | # CONFIG_BFIN_KERNEL_CLOCK is not set | ||
229 | CONFIG_MAX_MEM_SIZE=512 | ||
230 | CONFIG_MAX_VCO_HZ=600000000 | ||
231 | CONFIG_MIN_VCO_HZ=50000000 | ||
232 | CONFIG_MAX_SCLK_HZ=133333333 | ||
233 | CONFIG_MIN_SCLK_HZ=27000000 | ||
234 | |||
235 | # | ||
236 | # Kernel Timer/Scheduler | ||
237 | # | ||
238 | # CONFIG_HZ_100 is not set | ||
239 | CONFIG_HZ_250=y | ||
240 | # CONFIG_HZ_300 is not set | ||
241 | # CONFIG_HZ_1000 is not set | ||
242 | CONFIG_HZ=250 | ||
243 | CONFIG_GENERIC_TIME=y | ||
244 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
245 | # CONFIG_CYCLES_CLOCKSOURCE is not set | ||
246 | # CONFIG_TICK_ONESHOT is not set | ||
247 | # CONFIG_NO_HZ is not set | ||
248 | # CONFIG_HIGH_RES_TIMERS is not set | ||
249 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
250 | |||
251 | # | ||
252 | # Misc | ||
253 | # | ||
254 | CONFIG_BFIN_SCRATCH_REG_RETN=y | ||
255 | # CONFIG_BFIN_SCRATCH_REG_RETE is not set | ||
256 | # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set | ||
257 | |||
258 | # | ||
259 | # Blackfin Kernel Optimizations | ||
260 | # | ||
261 | |||
262 | # | ||
263 | # Memory Optimizations | ||
264 | # | ||
265 | CONFIG_I_ENTRY_L1=y | ||
266 | CONFIG_EXCPT_IRQ_SYSC_L1=y | ||
267 | CONFIG_DO_IRQ_L1=y | ||
268 | CONFIG_CORE_TIMER_IRQ_L1=y | ||
269 | CONFIG_IDLE_L1=y | ||
270 | # CONFIG_SCHEDULE_L1 is not set | ||
271 | CONFIG_ARITHMETIC_OPS_L1=y | ||
272 | CONFIG_ACCESS_OK_L1=y | ||
273 | # CONFIG_MEMSET_L1 is not set | ||
274 | # CONFIG_MEMCPY_L1 is not set | ||
275 | # CONFIG_SYS_BFIN_SPINLOCK_L1 is not set | ||
276 | # CONFIG_IP_CHECKSUM_L1 is not set | ||
277 | CONFIG_CACHELINE_ALIGNED_L1=y | ||
278 | # CONFIG_SYSCALL_TAB_L1 is not set | ||
279 | # CONFIG_CPLB_SWITCH_TAB_L1 is not set | ||
280 | CONFIG_RAMKERNEL=y | ||
281 | # CONFIG_ROMKERNEL is not set | ||
282 | CONFIG_SELECT_MEMORY_MODEL=y | ||
283 | CONFIG_FLATMEM_MANUAL=y | ||
284 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
285 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
286 | CONFIG_FLATMEM=y | ||
287 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
288 | # CONFIG_SPARSEMEM_STATIC is not set | ||
289 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
290 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
291 | # CONFIG_RESOURCES_64BIT is not set | ||
292 | CONFIG_ZONE_DMA_FLAG=1 | ||
293 | CONFIG_VIRT_TO_BUS=y | ||
294 | CONFIG_BFIN_GPTIMERS=y | ||
295 | CONFIG_BFIN_DMA_5XX=y | ||
296 | # CONFIG_DMA_UNCACHED_4M is not set | ||
297 | # CONFIG_DMA_UNCACHED_2M is not set | ||
298 | CONFIG_DMA_UNCACHED_1M=y | ||
299 | # CONFIG_DMA_UNCACHED_NONE is not set | ||
300 | |||
301 | # | ||
302 | # Cache Support | ||
303 | # | ||
304 | CONFIG_BFIN_ICACHE=y | ||
305 | CONFIG_BFIN_DCACHE=y | ||
306 | # CONFIG_BFIN_DCACHE_BANKA is not set | ||
307 | # CONFIG_BFIN_ICACHE_LOCK is not set | ||
308 | # CONFIG_BFIN_WB is not set | ||
309 | CONFIG_BFIN_WT=y | ||
310 | # CONFIG_MPU is not set | ||
311 | |||
312 | # | ||
313 | # Asynchonous Memory Configuration | ||
314 | # | ||
315 | |||
316 | # | ||
317 | # EBIU_AMGCTL Global Control | ||
318 | # | ||
319 | CONFIG_C_AMCKEN=y | ||
320 | CONFIG_C_CDPRIO=y | ||
321 | # CONFIG_C_AMBEN is not set | ||
322 | # CONFIG_C_AMBEN_B0 is not set | ||
323 | # CONFIG_C_AMBEN_B0_B1 is not set | ||
324 | # CONFIG_C_AMBEN_B0_B1_B2 is not set | ||
325 | CONFIG_C_AMBEN_ALL=y | ||
326 | |||
327 | # | ||
328 | # EBIU_AMBCTL Control | ||
329 | # | ||
330 | CONFIG_BANK_0=0x7BB0 | ||
331 | CONFIG_BANK_1=0x5554 | ||
332 | CONFIG_BANK_2=0x7BB0 | ||
333 | CONFIG_BANK_3=0xFFC0 | ||
334 | |||
335 | # | ||
336 | # Bus options (PCI, PCMCIA, EISA, MCA, ISA) | ||
337 | # | ||
338 | # CONFIG_PCI is not set | ||
339 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
340 | # CONFIG_PCCARD is not set | ||
341 | |||
342 | # | ||
343 | # Executable file formats | ||
344 | # | ||
345 | CONFIG_BINFMT_ELF_FDPIC=y | ||
346 | CONFIG_BINFMT_FLAT=y | ||
347 | CONFIG_BINFMT_ZFLAT=y | ||
348 | # CONFIG_BINFMT_SHARED_FLAT is not set | ||
349 | # CONFIG_BINFMT_MISC is not set | ||
350 | |||
351 | # | ||
352 | # Power management options | ||
353 | # | ||
354 | # CONFIG_PM is not set | ||
355 | CONFIG_SUSPEND_UP_POSSIBLE=y | ||
356 | # CONFIG_PM_BFIN_SLEEP_DEEPER is not set | ||
357 | # CONFIG_PM_BFIN_SLEEP is not set | ||
358 | # CONFIG_PM_WAKEUP_BY_GPIO is not set | ||
359 | |||
360 | # | ||
361 | # CPU Frequency scaling | ||
362 | # | ||
363 | # CONFIG_CPU_FREQ is not set | ||
364 | |||
365 | # | ||
366 | # Networking | ||
367 | # | ||
368 | CONFIG_NET=y | ||
369 | |||
370 | # | ||
371 | # Networking options | ||
372 | # | ||
373 | CONFIG_PACKET=y | ||
374 | # CONFIG_PACKET_MMAP is not set | ||
375 | CONFIG_UNIX=y | ||
376 | CONFIG_XFRM=y | ||
377 | # CONFIG_XFRM_USER is not set | ||
378 | # CONFIG_XFRM_SUB_POLICY is not set | ||
379 | # CONFIG_XFRM_MIGRATE is not set | ||
380 | # CONFIG_NET_KEY is not set | ||
381 | CONFIG_INET=y | ||
382 | # CONFIG_IP_MULTICAST is not set | ||
383 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
384 | CONFIG_IP_FIB_HASH=y | ||
385 | CONFIG_IP_PNP=y | ||
386 | # CONFIG_IP_PNP_DHCP is not set | ||
387 | # CONFIG_IP_PNP_BOOTP is not set | ||
388 | # CONFIG_IP_PNP_RARP is not set | ||
389 | # CONFIG_NET_IPIP is not set | ||
390 | # CONFIG_NET_IPGRE is not set | ||
391 | # CONFIG_ARPD is not set | ||
392 | CONFIG_SYN_COOKIES=y | ||
393 | # CONFIG_INET_AH is not set | ||
394 | # CONFIG_INET_ESP is not set | ||
395 | # CONFIG_INET_IPCOMP is not set | ||
396 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
397 | # CONFIG_INET_TUNNEL is not set | ||
398 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
399 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
400 | CONFIG_INET_XFRM_MODE_BEET=y | ||
401 | # CONFIG_INET_LRO is not set | ||
402 | CONFIG_INET_DIAG=y | ||
403 | CONFIG_INET_TCP_DIAG=y | ||
404 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
405 | CONFIG_TCP_CONG_CUBIC=y | ||
406 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
407 | # CONFIG_TCP_MD5SIG is not set | ||
408 | # CONFIG_IPV6 is not set | ||
409 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
410 | # CONFIG_INET6_TUNNEL is not set | ||
411 | # CONFIG_NETLABEL is not set | ||
412 | # CONFIG_NETWORK_SECMARK is not set | ||
413 | # CONFIG_NETFILTER is not set | ||
414 | # CONFIG_IP_DCCP is not set | ||
415 | # CONFIG_IP_SCTP is not set | ||
416 | # CONFIG_TIPC is not set | ||
417 | # CONFIG_ATM is not set | ||
418 | # CONFIG_BRIDGE is not set | ||
419 | # CONFIG_VLAN_8021Q is not set | ||
420 | # CONFIG_DECNET is not set | ||
421 | # CONFIG_LLC2 is not set | ||
422 | # CONFIG_IPX is not set | ||
423 | # CONFIG_ATALK is not set | ||
424 | # CONFIG_X25 is not set | ||
425 | # CONFIG_LAPB is not set | ||
426 | # CONFIG_ECONET is not set | ||
427 | # CONFIG_WAN_ROUTER is not set | ||
428 | # CONFIG_NET_SCHED is not set | ||
429 | |||
430 | # | ||
431 | # Network testing | ||
432 | # | ||
433 | # CONFIG_NET_PKTGEN is not set | ||
434 | # CONFIG_HAMRADIO is not set | ||
435 | # CONFIG_IRDA is not set | ||
436 | # CONFIG_BT is not set | ||
437 | # CONFIG_AF_RXRPC is not set | ||
438 | |||
439 | # | ||
440 | # Wireless | ||
441 | # | ||
442 | # CONFIG_CFG80211 is not set | ||
443 | # CONFIG_WIRELESS_EXT is not set | ||
444 | # CONFIG_MAC80211 is not set | ||
445 | # CONFIG_IEEE80211 is not set | ||
446 | # CONFIG_RFKILL is not set | ||
447 | # CONFIG_NET_9P is not set | ||
448 | |||
449 | # | ||
450 | # Device Drivers | ||
451 | # | ||
452 | |||
453 | # | ||
454 | # Generic Driver Options | ||
455 | # | ||
456 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
457 | CONFIG_STANDALONE=y | ||
458 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
459 | # CONFIG_FW_LOADER is not set | ||
460 | # CONFIG_SYS_HYPERVISOR is not set | ||
461 | # CONFIG_CONNECTOR is not set | ||
462 | CONFIG_MTD=y | ||
463 | # CONFIG_MTD_DEBUG is not set | ||
464 | # CONFIG_MTD_CONCAT is not set | ||
465 | CONFIG_MTD_PARTITIONS=y | ||
466 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
467 | # CONFIG_MTD_CMDLINE_PARTS is not set | ||
468 | |||
469 | # | ||
470 | # User Modules And Translation Layers | ||
471 | # | ||
472 | CONFIG_MTD_CHAR=m | ||
473 | CONFIG_MTD_BLKDEVS=y | ||
474 | CONFIG_MTD_BLOCK=y | ||
475 | # CONFIG_FTL is not set | ||
476 | # CONFIG_NFTL is not set | ||
477 | # CONFIG_INFTL is not set | ||
478 | # CONFIG_RFD_FTL is not set | ||
479 | # CONFIG_SSFDC is not set | ||
480 | # CONFIG_MTD_OOPS is not set | ||
481 | |||
482 | # | ||
483 | # RAM/ROM/Flash chip drivers | ||
484 | # | ||
485 | # CONFIG_MTD_CFI is not set | ||
486 | CONFIG_MTD_JEDECPROBE=m | ||
487 | CONFIG_MTD_GEN_PROBE=m | ||
488 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
489 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
490 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
491 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
492 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
493 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
494 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
495 | CONFIG_MTD_CFI_I1=y | ||
496 | CONFIG_MTD_CFI_I2=y | ||
497 | # CONFIG_MTD_CFI_I4 is not set | ||
498 | # CONFIG_MTD_CFI_I8 is not set | ||
499 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
500 | # CONFIG_MTD_CFI_AMDSTD is not set | ||
501 | # CONFIG_MTD_CFI_STAA is not set | ||
502 | CONFIG_MTD_RAM=y | ||
503 | CONFIG_MTD_ROM=m | ||
504 | # CONFIG_MTD_ABSENT is not set | ||
505 | |||
506 | # | ||
507 | # Mapping drivers for chip access | ||
508 | # | ||
509 | CONFIG_MTD_COMPLEX_MAPPINGS=y | ||
510 | # CONFIG_MTD_PHYSMAP is not set | ||
511 | # CONFIG_MTD_UCLINUX is not set | ||
512 | # CONFIG_MTD_PLATRAM is not set | ||
513 | |||
514 | # | ||
515 | # Self-contained MTD device drivers | ||
516 | # | ||
517 | # CONFIG_MTD_DATAFLASH is not set | ||
518 | # CONFIG_MTD_M25P80 is not set | ||
519 | # CONFIG_MTD_SLRAM is not set | ||
520 | # CONFIG_MTD_PHRAM is not set | ||
521 | # CONFIG_MTD_MTDRAM is not set | ||
522 | # CONFIG_MTD_BLOCK2MTD is not set | ||
523 | |||
524 | # | ||
525 | # Disk-On-Chip Device Drivers | ||
526 | # | ||
527 | # CONFIG_MTD_DOC2000 is not set | ||
528 | # CONFIG_MTD_DOC2001 is not set | ||
529 | # CONFIG_MTD_DOC2001PLUS is not set | ||
530 | # CONFIG_MTD_NAND is not set | ||
531 | # CONFIG_MTD_ONENAND is not set | ||
532 | |||
533 | # | ||
534 | # UBI - Unsorted block images | ||
535 | # | ||
536 | # CONFIG_MTD_UBI is not set | ||
537 | # CONFIG_PARPORT is not set | ||
538 | CONFIG_BLK_DEV=y | ||
539 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
540 | # CONFIG_BLK_DEV_LOOP is not set | ||
541 | # CONFIG_BLK_DEV_NBD is not set | ||
542 | # CONFIG_BLK_DEV_UB is not set | ||
543 | CONFIG_BLK_DEV_RAM=y | ||
544 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
545 | CONFIG_BLK_DEV_RAM_SIZE=4096 | ||
546 | CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024 | ||
547 | # CONFIG_CDROM_PKTCDVD is not set | ||
548 | # CONFIG_ATA_OVER_ETH is not set | ||
549 | # CONFIG_MISC_DEVICES is not set | ||
550 | # CONFIG_IDE is not set | ||
551 | |||
552 | # | ||
553 | # SCSI device support | ||
554 | # | ||
555 | # CONFIG_RAID_ATTRS is not set | ||
556 | # CONFIG_SCSI is not set | ||
557 | # CONFIG_SCSI_DMA is not set | ||
558 | # CONFIG_SCSI_NETLINK is not set | ||
559 | # CONFIG_ATA is not set | ||
560 | # CONFIG_MD is not set | ||
561 | CONFIG_NETDEVICES=y | ||
562 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
563 | # CONFIG_DUMMY is not set | ||
564 | # CONFIG_BONDING is not set | ||
565 | # CONFIG_MACVLAN is not set | ||
566 | # CONFIG_EQUALIZER is not set | ||
567 | # CONFIG_TUN is not set | ||
568 | # CONFIG_VETH is not set | ||
569 | CONFIG_PHYLIB=y | ||
570 | |||
571 | # | ||
572 | # MII PHY device drivers | ||
573 | # | ||
574 | # CONFIG_MARVELL_PHY is not set | ||
575 | # CONFIG_DAVICOM_PHY is not set | ||
576 | # CONFIG_QSEMI_PHY is not set | ||
577 | # CONFIG_LXT_PHY is not set | ||
578 | # CONFIG_CICADA_PHY is not set | ||
579 | # CONFIG_VITESSE_PHY is not set | ||
580 | # CONFIG_SMSC_PHY is not set | ||
581 | # CONFIG_BROADCOM_PHY is not set | ||
582 | # CONFIG_ICPLUS_PHY is not set | ||
583 | # CONFIG_FIXED_PHY is not set | ||
584 | # CONFIG_MDIO_BITBANG is not set | ||
585 | CONFIG_NET_ETHERNET=y | ||
586 | CONFIG_MII=y | ||
587 | CONFIG_BFIN_MAC=y | ||
588 | CONFIG_BFIN_MAC_USE_L1=y | ||
589 | CONFIG_BFIN_TX_DESC_NUM=10 | ||
590 | CONFIG_BFIN_RX_DESC_NUM=20 | ||
591 | CONFIG_BFIN_MAC_RMII=y | ||
592 | # CONFIG_SMC91X is not set | ||
593 | # CONFIG_SMSC911X is not set | ||
594 | # CONFIG_DM9000 is not set | ||
595 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
596 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
597 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
598 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
599 | # CONFIG_B44 is not set | ||
600 | # CONFIG_NETDEV_1000 is not set | ||
601 | # CONFIG_NETDEV_10000 is not set | ||
602 | |||
603 | # | ||
604 | # Wireless LAN | ||
605 | # | ||
606 | # CONFIG_WLAN_PRE80211 is not set | ||
607 | # CONFIG_WLAN_80211 is not set | ||
608 | |||
609 | # | ||
610 | # USB Network Adapters | ||
611 | # | ||
612 | # CONFIG_USB_CATC is not set | ||
613 | # CONFIG_USB_KAWETH is not set | ||
614 | # CONFIG_USB_PEGASUS is not set | ||
615 | # CONFIG_USB_RTL8150 is not set | ||
616 | # CONFIG_USB_USBNET is not set | ||
617 | # CONFIG_WAN is not set | ||
618 | # CONFIG_PPP is not set | ||
619 | # CONFIG_SLIP is not set | ||
620 | # CONFIG_SHAPER is not set | ||
621 | # CONFIG_NETCONSOLE is not set | ||
622 | # CONFIG_NETPOLL is not set | ||
623 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
624 | # CONFIG_ISDN is not set | ||
625 | # CONFIG_PHONE is not set | ||
626 | |||
627 | # | ||
628 | # Input device support | ||
629 | # | ||
630 | # CONFIG_INPUT is not set | ||
631 | |||
632 | # | ||
633 | # Hardware I/O ports | ||
634 | # | ||
635 | # CONFIG_SERIO is not set | ||
636 | # CONFIG_GAMEPORT is not set | ||
637 | |||
638 | # | ||
639 | # Character devices | ||
640 | # | ||
641 | # CONFIG_AD9960 is not set | ||
642 | # CONFIG_SPI_ADC_BF533 is not set | ||
643 | # CONFIG_BF5xx_PPIFCD is not set | ||
644 | # CONFIG_BFIN_SIMPLE_TIMER is not set | ||
645 | # CONFIG_BF5xx_PPI is not set | ||
646 | CONFIG_BFIN_OTP=y | ||
647 | # CONFIG_BFIN_OTP_WRITE_ENABLE is not set | ||
648 | # CONFIG_BFIN_SPORT is not set | ||
649 | # CONFIG_BFIN_TIMER_LATENCY is not set | ||
650 | # CONFIG_TWI_LCD is not set | ||
651 | CONFIG_SIMPLE_GPIO=m | ||
652 | # CONFIG_VT is not set | ||
653 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
654 | |||
655 | # | ||
656 | # Serial drivers | ||
657 | # | ||
658 | # CONFIG_SERIAL_8250 is not set | ||
659 | |||
660 | # | ||
661 | # Non-8250 serial port support | ||
662 | # | ||
663 | CONFIG_SERIAL_BFIN=y | ||
664 | CONFIG_SERIAL_BFIN_CONSOLE=y | ||
665 | CONFIG_SERIAL_BFIN_DMA=y | ||
666 | # CONFIG_SERIAL_BFIN_PIO is not set | ||
667 | CONFIG_SERIAL_BFIN_UART0=y | ||
668 | # CONFIG_BFIN_UART0_CTSRTS is not set | ||
669 | CONFIG_SERIAL_BFIN_UART1=y | ||
670 | # CONFIG_BFIN_UART1_CTSRTS is not set | ||
671 | CONFIG_SERIAL_CORE=y | ||
672 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
673 | # CONFIG_SERIAL_BFIN_SPORT is not set | ||
674 | CONFIG_UNIX98_PTYS=y | ||
675 | # CONFIG_LEGACY_PTYS is not set | ||
676 | |||
677 | # | ||
678 | # CAN, the car bus and industrial fieldbus | ||
679 | # | ||
680 | # CONFIG_CAN4LINUX is not set | ||
681 | # CONFIG_IPMI_HANDLER is not set | ||
682 | CONFIG_HW_RANDOM=y | ||
683 | # CONFIG_GEN_RTC is not set | ||
684 | # CONFIG_R3964 is not set | ||
685 | # CONFIG_RAW_DRIVER is not set | ||
686 | # CONFIG_TCG_TPM is not set | ||
687 | CONFIG_I2C=y | ||
688 | CONFIG_I2C_BOARDINFO=y | ||
689 | CONFIG_I2C_CHARDEV=m | ||
690 | |||
691 | # | ||
692 | # I2C Algorithms | ||
693 | # | ||
694 | # CONFIG_I2C_ALGOBIT is not set | ||
695 | # CONFIG_I2C_ALGOPCF is not set | ||
696 | # CONFIG_I2C_ALGOPCA is not set | ||
697 | |||
698 | # | ||
699 | # I2C Hardware Bus support | ||
700 | # | ||
701 | CONFIG_I2C_BLACKFIN_TWI=m | ||
702 | CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=50 | ||
703 | # CONFIG_I2C_GPIO is not set | ||
704 | # CONFIG_I2C_OCORES is not set | ||
705 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
706 | # CONFIG_I2C_SIMTEC is not set | ||
707 | # CONFIG_I2C_TAOS_EVM is not set | ||
708 | # CONFIG_I2C_STUB is not set | ||
709 | # CONFIG_I2C_TINY_USB is not set | ||
710 | |||
711 | # | ||
712 | # Miscellaneous I2C Chip support | ||
713 | # | ||
714 | # CONFIG_SENSORS_DS1337 is not set | ||
715 | # CONFIG_SENSORS_DS1374 is not set | ||
716 | # CONFIG_DS1682 is not set | ||
717 | # CONFIG_SENSORS_AD5252 is not set | ||
718 | # CONFIG_SENSORS_EEPROM is not set | ||
719 | # CONFIG_SENSORS_PCF8574 is not set | ||
720 | # CONFIG_SENSORS_PCF8575 is not set | ||
721 | # CONFIG_SENSORS_PCA9539 is not set | ||
722 | # CONFIG_SENSORS_PCF8591 is not set | ||
723 | # CONFIG_SENSORS_MAX6875 is not set | ||
724 | # CONFIG_SENSORS_TSL2550 is not set | ||
725 | # CONFIG_I2C_DEBUG_CORE is not set | ||
726 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
727 | # CONFIG_I2C_DEBUG_BUS is not set | ||
728 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
729 | |||
730 | # | ||
731 | # SPI support | ||
732 | # | ||
733 | CONFIG_SPI=y | ||
734 | CONFIG_SPI_MASTER=y | ||
735 | |||
736 | # | ||
737 | # SPI Master Controller Drivers | ||
738 | # | ||
739 | CONFIG_SPI_BFIN=y | ||
740 | # CONFIG_SPI_BITBANG is not set | ||
741 | |||
742 | # | ||
743 | # SPI Protocol Masters | ||
744 | # | ||
745 | # CONFIG_SPI_AT25 is not set | ||
746 | # CONFIG_SPI_SPIDEV is not set | ||
747 | # CONFIG_SPI_TLE62X0 is not set | ||
748 | # CONFIG_W1 is not set | ||
749 | # CONFIG_POWER_SUPPLY is not set | ||
750 | CONFIG_HWMON=y | ||
751 | # CONFIG_HWMON_VID is not set | ||
752 | # CONFIG_SENSORS_AD7418 is not set | ||
753 | # CONFIG_SENSORS_ADM1021 is not set | ||
754 | # CONFIG_SENSORS_ADM1025 is not set | ||
755 | # CONFIG_SENSORS_ADM1026 is not set | ||
756 | # CONFIG_SENSORS_ADM1029 is not set | ||
757 | # CONFIG_SENSORS_ADM1031 is not set | ||
758 | # CONFIG_SENSORS_ADM9240 is not set | ||
759 | # CONFIG_SENSORS_ADT7470 is not set | ||
760 | # CONFIG_SENSORS_ATXP1 is not set | ||
761 | # CONFIG_SENSORS_DS1621 is not set | ||
762 | # CONFIG_SENSORS_F71805F is not set | ||
763 | # CONFIG_SENSORS_F71882FG is not set | ||
764 | # CONFIG_SENSORS_F75375S is not set | ||
765 | # CONFIG_SENSORS_GL518SM is not set | ||
766 | # CONFIG_SENSORS_GL520SM is not set | ||
767 | # CONFIG_SENSORS_IT87 is not set | ||
768 | # CONFIG_SENSORS_LM63 is not set | ||
769 | # CONFIG_SENSORS_LM70 is not set | ||
770 | # CONFIG_SENSORS_LM75 is not set | ||
771 | # CONFIG_SENSORS_LM77 is not set | ||
772 | # CONFIG_SENSORS_LM78 is not set | ||
773 | # CONFIG_SENSORS_LM80 is not set | ||
774 | # CONFIG_SENSORS_LM83 is not set | ||
775 | # CONFIG_SENSORS_LM85 is not set | ||
776 | # CONFIG_SENSORS_LM87 is not set | ||
777 | # CONFIG_SENSORS_LM90 is not set | ||
778 | # CONFIG_SENSORS_LM92 is not set | ||
779 | # CONFIG_SENSORS_LM93 is not set | ||
780 | # CONFIG_SENSORS_MAX1619 is not set | ||
781 | # CONFIG_SENSORS_MAX6650 is not set | ||
782 | # CONFIG_SENSORS_PC87360 is not set | ||
783 | # CONFIG_SENSORS_PC87427 is not set | ||
784 | # CONFIG_SENSORS_DME1737 is not set | ||
785 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
786 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
787 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
788 | # CONFIG_SENSORS_THMC50 is not set | ||
789 | # CONFIG_SENSORS_VT1211 is not set | ||
790 | # CONFIG_SENSORS_W83781D is not set | ||
791 | # CONFIG_SENSORS_W83791D is not set | ||
792 | # CONFIG_SENSORS_W83792D is not set | ||
793 | # CONFIG_SENSORS_W83793 is not set | ||
794 | # CONFIG_SENSORS_W83L785TS is not set | ||
795 | # CONFIG_SENSORS_W83627HF is not set | ||
796 | # CONFIG_SENSORS_W83627EHF is not set | ||
797 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
798 | CONFIG_WATCHDOG=y | ||
799 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
800 | |||
801 | # | ||
802 | # Watchdog Device Drivers | ||
803 | # | ||
804 | # CONFIG_SOFT_WATCHDOG is not set | ||
805 | CONFIG_BFIN_WDT=y | ||
806 | |||
807 | # | ||
808 | # USB-based Watchdog Cards | ||
809 | # | ||
810 | # CONFIG_USBPCWATCHDOG is not set | ||
811 | |||
812 | # | ||
813 | # Sonics Silicon Backplane | ||
814 | # | ||
815 | CONFIG_SSB_POSSIBLE=y | ||
816 | # CONFIG_SSB is not set | ||
817 | |||
818 | # | ||
819 | # Multifunction device drivers | ||
820 | # | ||
821 | # CONFIG_MFD_SM501 is not set | ||
822 | |||
823 | # | ||
824 | # Multimedia devices | ||
825 | # | ||
826 | # CONFIG_VIDEO_DEV is not set | ||
827 | # CONFIG_DVB_CORE is not set | ||
828 | # CONFIG_DAB is not set | ||
829 | |||
830 | # | ||
831 | # Graphics support | ||
832 | # | ||
833 | # CONFIG_VGASTATE is not set | ||
834 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
835 | # CONFIG_FB is not set | ||
836 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
837 | |||
838 | # | ||
839 | # Display device support | ||
840 | # | ||
841 | # CONFIG_DISPLAY_SUPPORT is not set | ||
842 | |||
843 | # | ||
844 | # Sound | ||
845 | # | ||
846 | # CONFIG_SOUND is not set | ||
847 | CONFIG_USB_SUPPORT=y | ||
848 | CONFIG_USB_ARCH_HAS_HCD=y | ||
849 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
850 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
851 | CONFIG_USB=y | ||
852 | # CONFIG_USB_DEBUG is not set | ||
853 | |||
854 | # | ||
855 | # Miscellaneous USB options | ||
856 | # | ||
857 | # CONFIG_USB_DEVICEFS is not set | ||
858 | CONFIG_USB_DEVICE_CLASS=y | ||
859 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
860 | # CONFIG_USB_OTG is not set | ||
861 | # CONFIG_USB_OTG_WHITELIST is not set | ||
862 | CONFIG_USB_OTG_BLACKLIST_HUB=y | ||
863 | |||
864 | # | ||
865 | # USB Host Controller Drivers | ||
866 | # | ||
867 | # CONFIG_USB_ISP116X_HCD is not set | ||
868 | # CONFIG_USB_ISP1362_HCD is not set | ||
869 | # CONFIG_USB_ISP1760_HCD is not set | ||
870 | # CONFIG_USB_SL811_HCD is not set | ||
871 | # CONFIG_USB_R8A66597_HCD is not set | ||
872 | CONFIG_USB_MUSB_HDRC=y | ||
873 | CONFIG_USB_MUSB_SOC=y | ||
874 | |||
875 | # | ||
876 | # Blackfin high speed USB support | ||
877 | # | ||
878 | CONFIG_USB_MUSB_HOST=y | ||
879 | # CONFIG_USB_MUSB_PERIPHERAL is not set | ||
880 | # CONFIG_USB_MUSB_OTG is not set | ||
881 | CONFIG_USB_MUSB_HDRC_HCD=y | ||
882 | CONFIG_MUSB_PIO_ONLY=y | ||
883 | CONFIG_USB_MUSB_LOGLEVEL=0 | ||
884 | |||
885 | # | ||
886 | # USB Device Class drivers | ||
887 | # | ||
888 | # CONFIG_USB_ACM is not set | ||
889 | # CONFIG_USB_PRINTER is not set | ||
890 | |||
891 | # | ||
892 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
893 | # | ||
894 | |||
895 | # | ||
896 | # may also be needed; see USB_STORAGE Help for more information | ||
897 | # | ||
898 | # CONFIG_USB_LIBUSUAL is not set | ||
899 | |||
900 | # | ||
901 | # USB Imaging devices | ||
902 | # | ||
903 | # CONFIG_USB_MDC800 is not set | ||
904 | CONFIG_USB_MON=y | ||
905 | |||
906 | # | ||
907 | # USB port drivers | ||
908 | # | ||
909 | |||
910 | # | ||
911 | # USB Serial Converter support | ||
912 | # | ||
913 | # CONFIG_USB_SERIAL is not set | ||
914 | |||
915 | # | ||
916 | # USB Miscellaneous drivers | ||
917 | # | ||
918 | # CONFIG_USB_EMI62 is not set | ||
919 | # CONFIG_USB_EMI26 is not set | ||
920 | # CONFIG_USB_ADUTUX is not set | ||
921 | # CONFIG_USB_AUERSWALD is not set | ||
922 | # CONFIG_USB_RIO500 is not set | ||
923 | # CONFIG_USB_LEGOTOWER is not set | ||
924 | # CONFIG_USB_LCD is not set | ||
925 | # CONFIG_USB_BERRY_CHARGE is not set | ||
926 | # CONFIG_USB_LED is not set | ||
927 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
928 | # CONFIG_USB_CYTHERM is not set | ||
929 | # CONFIG_USB_PHIDGET is not set | ||
930 | # CONFIG_USB_IDMOUSE is not set | ||
931 | # CONFIG_USB_FTDI_ELAN is not set | ||
932 | # CONFIG_USB_APPLEDISPLAY is not set | ||
933 | # CONFIG_USB_SISUSBVGA is not set | ||
934 | # CONFIG_USB_LD is not set | ||
935 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
936 | # CONFIG_USB_IOWARRIOR is not set | ||
937 | |||
938 | # | ||
939 | # USB DSL modem support | ||
940 | # | ||
941 | |||
942 | # | ||
943 | # USB Gadget Support | ||
944 | # | ||
945 | # CONFIG_USB_GADGET is not set | ||
946 | # CONFIG_MMC is not set | ||
947 | # CONFIG_NEW_LEDS is not set | ||
948 | CONFIG_RTC_LIB=y | ||
949 | CONFIG_RTC_CLASS=y | ||
950 | CONFIG_RTC_HCTOSYS=y | ||
951 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
952 | # CONFIG_RTC_DEBUG is not set | ||
953 | |||
954 | # | ||
955 | # RTC interfaces | ||
956 | # | ||
957 | CONFIG_RTC_INTF_SYSFS=y | ||
958 | CONFIG_RTC_INTF_PROC=y | ||
959 | CONFIG_RTC_INTF_DEV=y | ||
960 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
961 | # CONFIG_RTC_DRV_TEST is not set | ||
962 | |||
963 | # | ||
964 | # I2C RTC drivers | ||
965 | # | ||
966 | # CONFIG_RTC_DRV_DS1307 is not set | ||
967 | # CONFIG_RTC_DRV_DS1374 is not set | ||
968 | # CONFIG_RTC_DRV_DS1672 is not set | ||
969 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
970 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
971 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
972 | # CONFIG_RTC_DRV_X1205 is not set | ||
973 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
974 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
975 | # CONFIG_RTC_DRV_M41T80 is not set | ||
976 | |||
977 | # | ||
978 | # SPI RTC drivers | ||
979 | # | ||
980 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
981 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
982 | |||
983 | # | ||
984 | # Platform RTC drivers | ||
985 | # | ||
986 | # CONFIG_RTC_DRV_DS1553 is not set | ||
987 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
988 | # CONFIG_RTC_DRV_DS1742 is not set | ||
989 | # CONFIG_RTC_DRV_M48T86 is not set | ||
990 | # CONFIG_RTC_DRV_M48T59 is not set | ||
991 | # CONFIG_RTC_DRV_V3020 is not set | ||
992 | |||
993 | # | ||
994 | # on-CPU RTC drivers | ||
995 | # | ||
996 | CONFIG_RTC_DRV_BFIN=y | ||
997 | |||
998 | # | ||
999 | # Userspace I/O | ||
1000 | # | ||
1001 | # CONFIG_UIO is not set | ||
1002 | |||
1003 | # | ||
1004 | # File systems | ||
1005 | # | ||
1006 | # CONFIG_EXT2_FS is not set | ||
1007 | # CONFIG_EXT3_FS is not set | ||
1008 | # CONFIG_EXT4DEV_FS is not set | ||
1009 | # CONFIG_REISERFS_FS is not set | ||
1010 | # CONFIG_JFS_FS is not set | ||
1011 | # CONFIG_FS_POSIX_ACL is not set | ||
1012 | # CONFIG_XFS_FS is not set | ||
1013 | # CONFIG_GFS2_FS is not set | ||
1014 | # CONFIG_OCFS2_FS is not set | ||
1015 | # CONFIG_MINIX_FS is not set | ||
1016 | # CONFIG_ROMFS_FS is not set | ||
1017 | CONFIG_INOTIFY=y | ||
1018 | CONFIG_INOTIFY_USER=y | ||
1019 | # CONFIG_QUOTA is not set | ||
1020 | # CONFIG_DNOTIFY is not set | ||
1021 | # CONFIG_AUTOFS_FS is not set | ||
1022 | # CONFIG_AUTOFS4_FS is not set | ||
1023 | # CONFIG_FUSE_FS is not set | ||
1024 | |||
1025 | # | ||
1026 | # CD-ROM/DVD Filesystems | ||
1027 | # | ||
1028 | # CONFIG_ISO9660_FS is not set | ||
1029 | # CONFIG_UDF_FS is not set | ||
1030 | |||
1031 | # | ||
1032 | # DOS/FAT/NT Filesystems | ||
1033 | # | ||
1034 | # CONFIG_MSDOS_FS is not set | ||
1035 | # CONFIG_VFAT_FS is not set | ||
1036 | # CONFIG_NTFS_FS is not set | ||
1037 | |||
1038 | # | ||
1039 | # Pseudo filesystems | ||
1040 | # | ||
1041 | CONFIG_PROC_FS=y | ||
1042 | CONFIG_PROC_SYSCTL=y | ||
1043 | CONFIG_SYSFS=y | ||
1044 | # CONFIG_TMPFS is not set | ||
1045 | # CONFIG_HUGETLB_PAGE is not set | ||
1046 | # CONFIG_CONFIGFS_FS is not set | ||
1047 | |||
1048 | # | ||
1049 | # Miscellaneous filesystems | ||
1050 | # | ||
1051 | # CONFIG_ADFS_FS is not set | ||
1052 | # CONFIG_AFFS_FS is not set | ||
1053 | # CONFIG_HFS_FS is not set | ||
1054 | # CONFIG_HFSPLUS_FS is not set | ||
1055 | # CONFIG_BEFS_FS is not set | ||
1056 | # CONFIG_BFS_FS is not set | ||
1057 | # CONFIG_EFS_FS is not set | ||
1058 | # CONFIG_YAFFS_FS is not set | ||
1059 | # CONFIG_JFFS2_FS is not set | ||
1060 | # CONFIG_CRAMFS is not set | ||
1061 | # CONFIG_VXFS_FS is not set | ||
1062 | # CONFIG_HPFS_FS is not set | ||
1063 | # CONFIG_QNX4FS_FS is not set | ||
1064 | # CONFIG_SYSV_FS is not set | ||
1065 | # CONFIG_UFS_FS is not set | ||
1066 | CONFIG_NETWORK_FILESYSTEMS=y | ||
1067 | CONFIG_NFS_FS=m | ||
1068 | CONFIG_NFS_V3=y | ||
1069 | # CONFIG_NFS_V3_ACL is not set | ||
1070 | # CONFIG_NFS_V4 is not set | ||
1071 | # CONFIG_NFS_DIRECTIO is not set | ||
1072 | # CONFIG_NFSD is not set | ||
1073 | CONFIG_LOCKD=m | ||
1074 | CONFIG_LOCKD_V4=y | ||
1075 | CONFIG_NFS_COMMON=y | ||
1076 | CONFIG_SUNRPC=m | ||
1077 | # CONFIG_SUNRPC_BIND34 is not set | ||
1078 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
1079 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
1080 | CONFIG_SMB_FS=m | ||
1081 | # CONFIG_SMB_NLS_DEFAULT is not set | ||
1082 | # CONFIG_CIFS is not set | ||
1083 | # CONFIG_NCP_FS is not set | ||
1084 | # CONFIG_CODA_FS is not set | ||
1085 | # CONFIG_AFS_FS is not set | ||
1086 | |||
1087 | # | ||
1088 | # Partition Types | ||
1089 | # | ||
1090 | # CONFIG_PARTITION_ADVANCED is not set | ||
1091 | CONFIG_MSDOS_PARTITION=y | ||
1092 | CONFIG_NLS=m | ||
1093 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
1094 | # CONFIG_NLS_CODEPAGE_437 is not set | ||
1095 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
1096 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
1097 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
1098 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
1099 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
1100 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
1101 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
1102 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
1103 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
1104 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
1105 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
1106 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
1107 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
1108 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
1109 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
1110 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
1111 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
1112 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
1113 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
1114 | # CONFIG_NLS_ISO8859_8 is not set | ||
1115 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
1116 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
1117 | # CONFIG_NLS_ASCII is not set | ||
1118 | # CONFIG_NLS_ISO8859_1 is not set | ||
1119 | # CONFIG_NLS_ISO8859_2 is not set | ||
1120 | # CONFIG_NLS_ISO8859_3 is not set | ||
1121 | # CONFIG_NLS_ISO8859_4 is not set | ||
1122 | # CONFIG_NLS_ISO8859_5 is not set | ||
1123 | # CONFIG_NLS_ISO8859_6 is not set | ||
1124 | # CONFIG_NLS_ISO8859_7 is not set | ||
1125 | # CONFIG_NLS_ISO8859_9 is not set | ||
1126 | # CONFIG_NLS_ISO8859_13 is not set | ||
1127 | # CONFIG_NLS_ISO8859_14 is not set | ||
1128 | # CONFIG_NLS_ISO8859_15 is not set | ||
1129 | # CONFIG_NLS_KOI8_R is not set | ||
1130 | # CONFIG_NLS_KOI8_U is not set | ||
1131 | # CONFIG_NLS_UTF8 is not set | ||
1132 | # CONFIG_DLM is not set | ||
1133 | # CONFIG_INSTRUMENTATION is not set | ||
1134 | |||
1135 | # | ||
1136 | # Kernel hacking | ||
1137 | # | ||
1138 | # CONFIG_PRINTK_TIME is not set | ||
1139 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
1140 | CONFIG_ENABLE_MUST_CHECK=y | ||
1141 | # CONFIG_MAGIC_SYSRQ is not set | ||
1142 | # CONFIG_UNUSED_SYMBOLS is not set | ||
1143 | CONFIG_DEBUG_FS=y | ||
1144 | # CONFIG_HEADERS_CHECK is not set | ||
1145 | # CONFIG_DEBUG_KERNEL is not set | ||
1146 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
1147 | # CONFIG_SAMPLES is not set | ||
1148 | CONFIG_DEBUG_MMRS=y | ||
1149 | CONFIG_DEBUG_HUNT_FOR_ZERO=y | ||
1150 | CONFIG_DEBUG_BFIN_HWTRACE_ON=y | ||
1151 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF=y | ||
1152 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE is not set | ||
1153 | # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_TWO is not set | ||
1154 | CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=0 | ||
1155 | # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set | ||
1156 | # CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE is not set | ||
1157 | CONFIG_EARLY_PRINTK=y | ||
1158 | # CONFIG_CPLB_INFO is not set | ||
1159 | CONFIG_ACCESS_CHECK=y | ||
1160 | |||
1161 | # | ||
1162 | # Security options | ||
1163 | # | ||
1164 | # CONFIG_KEYS is not set | ||
1165 | CONFIG_SECURITY=y | ||
1166 | # CONFIG_SECURITY_NETWORK is not set | ||
1167 | # CONFIG_SECURITY_CAPABILITIES is not set | ||
1168 | # CONFIG_SECURITY_ROOTPLUG is not set | ||
1169 | # CONFIG_CRYPTO is not set | ||
1170 | |||
1171 | # | ||
1172 | # Library routines | ||
1173 | # | ||
1174 | CONFIG_BITREVERSE=y | ||
1175 | CONFIG_CRC_CCITT=m | ||
1176 | # CONFIG_CRC16 is not set | ||
1177 | # CONFIG_CRC_ITU_T is not set | ||
1178 | CONFIG_CRC32=y | ||
1179 | # CONFIG_CRC7 is not set | ||
1180 | # CONFIG_LIBCRC32C is not set | ||
1181 | CONFIG_ZLIB_INFLATE=y | ||
1182 | CONFIG_PLIST=y | ||
1183 | CONFIG_HAS_IOMEM=y | ||
1184 | CONFIG_HAS_IOPORT=y | ||
1185 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/blackfin/mach-bf527/boards/Kconfig b/arch/blackfin/mach-bf527/boards/Kconfig index 6a570ad03746..8bf9e58f0148 100644 --- a/arch/blackfin/mach-bf527/boards/Kconfig +++ b/arch/blackfin/mach-bf527/boards/Kconfig | |||
@@ -9,4 +9,9 @@ config BFIN527_EZKIT | |||
9 | help | 9 | help |
10 | BF527-EZKIT-LITE board support. | 10 | BF527-EZKIT-LITE board support. |
11 | 11 | ||
12 | config BFIN527_BLUETECHNIX_CM | ||
13 | bool "Bluetechnix CM-BF527" | ||
14 | help | ||
15 | CM-BF527 support for EVAL- and DEV-Board. | ||
16 | |||
12 | endchoice | 17 | endchoice |
diff --git a/arch/blackfin/mach-bf527/boards/Makefile b/arch/blackfin/mach-bf527/boards/Makefile index 7277d35ef111..7ba7d256bbb8 100644 --- a/arch/blackfin/mach-bf527/boards/Makefile +++ b/arch/blackfin/mach-bf527/boards/Makefile | |||
@@ -3,3 +3,4 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-$(CONFIG_BFIN527_EZKIT) += ezkit.o | 5 | obj-$(CONFIG_BFIN527_EZKIT) += ezkit.o |
6 | obj-$(CONFIG_BFIN527_BLUETECHNIX_CM) += cm_bf527.o | ||
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c new file mode 100644 index 000000000000..0b26ae2de5ee --- /dev/null +++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c | |||
@@ -0,0 +1,1011 @@ | |||
1 | /* | ||
2 | * File: arch/blackfin/mach-bf527/boards/cm-bf527.c | ||
3 | * Based on: arch/blackfin/mach-bf537/boards/stamp.c | ||
4 | * Author: Aidan Williams <aidan@nicta.com.au> | ||
5 | * | ||
6 | * Created: | ||
7 | * Description: | ||
8 | * | ||
9 | * Modified: | ||
10 | * Copyright 2005 National ICT Australia (NICTA) | ||
11 | * Copyright 2004-2008 Analog Devices Inc. | ||
12 | * | ||
13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
14 | * | ||
15 | * This program is free software; you can redistribute it and/or modify | ||
16 | * it under the terms of the GNU General Public License as published by | ||
17 | * the Free Software Foundation; either version 2 of the License, or | ||
18 | * (at your option) any later version. | ||
19 | * | ||
20 | * This program is distributed in the hope that it will be useful, | ||
21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | * GNU General Public License for more details. | ||
24 | * | ||
25 | * You should have received a copy of the GNU General Public License | ||
26 | * along with this program; if not, see the file COPYING, or write | ||
27 | * to the Free Software Foundation, Inc., | ||
28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
29 | */ | ||
30 | |||
31 | #include <linux/device.h> | ||
32 | #include <linux/platform_device.h> | ||
33 | #include <linux/mtd/mtd.h> | ||
34 | #include <linux/mtd/partitions.h> | ||
35 | #include <linux/mtd/physmap.h> | ||
36 | #include <linux/spi/spi.h> | ||
37 | #include <linux/spi/flash.h> | ||
38 | #include <linux/etherdevice.h> | ||
39 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
40 | #include <linux/usb/isp1362.h> | ||
41 | #endif | ||
42 | #include <linux/pata_platform.h> | ||
43 | #include <linux/i2c.h> | ||
44 | #include <linux/irq.h> | ||
45 | #include <linux/interrupt.h> | ||
46 | #include <linux/usb/sl811.h> | ||
47 | #if defined(CONFIG_USB_MUSB_HDRC) || defined(CONFIG_USB_MUSB_HDRC_MODULE) | ||
48 | #include <linux/usb/musb.h> | ||
49 | #endif | ||
50 | #include <asm/cplb.h> | ||
51 | #include <asm/dma.h> | ||
52 | #include <asm/bfin5xx_spi.h> | ||
53 | #include <asm/reboot.h> | ||
54 | #include <asm/nand.h> | ||
55 | #include <asm/portmux.h> | ||
56 | #include <asm/dpmc.h> | ||
57 | #include <linux/spi/ad7877.h> | ||
58 | |||
59 | /* | ||
60 | * Name the Board for the /proc/cpuinfo | ||
61 | */ | ||
62 | const char bfin_board_name[] = "Bluetechnix CM-BF527"; | ||
63 | |||
64 | /* | ||
65 | * Driver needs to know address, irq and flag pin. | ||
66 | */ | ||
67 | |||
68 | #define ISP1761_BASE 0x203C0000 | ||
69 | #define ISP1761_IRQ IRQ_PF7 | ||
70 | |||
71 | #if defined(CONFIG_USB_ISP1760_HCD) || defined(CONFIG_USB_ISP1760_HCD_MODULE) | ||
72 | static struct resource bfin_isp1761_resources[] = { | ||
73 | [0] = { | ||
74 | .name = "isp1761-regs", | ||
75 | .start = ISP1761_BASE + 0x00000000, | ||
76 | .end = ISP1761_BASE + 0x000fffff, | ||
77 | .flags = IORESOURCE_MEM, | ||
78 | }, | ||
79 | [1] = { | ||
80 | .start = ISP1761_IRQ, | ||
81 | .end = ISP1761_IRQ, | ||
82 | .flags = IORESOURCE_IRQ, | ||
83 | }, | ||
84 | }; | ||
85 | |||
86 | static struct platform_device bfin_isp1761_device = { | ||
87 | .name = "isp1761", | ||
88 | .id = 0, | ||
89 | .num_resources = ARRAY_SIZE(bfin_isp1761_resources), | ||
90 | .resource = bfin_isp1761_resources, | ||
91 | }; | ||
92 | |||
93 | static struct platform_device *bfin_isp1761_devices[] = { | ||
94 | &bfin_isp1761_device, | ||
95 | }; | ||
96 | |||
97 | int __init bfin_isp1761_init(void) | ||
98 | { | ||
99 | unsigned int num_devices = ARRAY_SIZE(bfin_isp1761_devices); | ||
100 | |||
101 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | ||
102 | set_irq_type(ISP1761_IRQ, IRQF_TRIGGER_FALLING); | ||
103 | |||
104 | return platform_add_devices(bfin_isp1761_devices, num_devices); | ||
105 | } | ||
106 | |||
107 | void __exit bfin_isp1761_exit(void) | ||
108 | { | ||
109 | platform_device_unregister(&bfin_isp1761_device); | ||
110 | } | ||
111 | |||
112 | arch_initcall(bfin_isp1761_init); | ||
113 | #endif | ||
114 | |||
115 | #if defined(CONFIG_USB_MUSB_HDRC) || defined(CONFIG_USB_MUSB_HDRC_MODULE) | ||
116 | static struct resource musb_resources[] = { | ||
117 | [0] = { | ||
118 | .start = 0xffc03800, | ||
119 | .end = 0xffc03cff, | ||
120 | .flags = IORESOURCE_MEM, | ||
121 | }, | ||
122 | [1] = { /* general IRQ */ | ||
123 | .start = IRQ_USB_INT0, | ||
124 | .end = IRQ_USB_INT0, | ||
125 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
126 | }, | ||
127 | [2] = { /* DMA IRQ */ | ||
128 | .start = IRQ_USB_DMA, | ||
129 | .end = IRQ_USB_DMA, | ||
130 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
131 | }, | ||
132 | }; | ||
133 | |||
134 | static struct musb_hdrc_platform_data musb_plat = { | ||
135 | #if defined(CONFIG_USB_MUSB_OTG) | ||
136 | .mode = MUSB_OTG, | ||
137 | #elif defined(CONFIG_USB_MUSB_HDRC_HCD) | ||
138 | .mode = MUSB_HOST, | ||
139 | #elif defined(CONFIG_USB_GADGET_MUSB_HDRC) | ||
140 | .mode = MUSB_PERIPHERAL, | ||
141 | #endif | ||
142 | .multipoint = 0, | ||
143 | }; | ||
144 | |||
145 | static u64 musb_dmamask = ~(u32)0; | ||
146 | |||
147 | static struct platform_device musb_device = { | ||
148 | .name = "musb_hdrc", | ||
149 | .id = 0, | ||
150 | .dev = { | ||
151 | .dma_mask = &musb_dmamask, | ||
152 | .coherent_dma_mask = 0xffffffff, | ||
153 | .platform_data = &musb_plat, | ||
154 | }, | ||
155 | .num_resources = ARRAY_SIZE(musb_resources), | ||
156 | .resource = musb_resources, | ||
157 | }; | ||
158 | #endif | ||
159 | |||
160 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | ||
161 | static struct mtd_partition ezkit_partitions[] = { | ||
162 | { | ||
163 | .name = "Bootloader", | ||
164 | .size = 0x40000, | ||
165 | .offset = 0, | ||
166 | }, { | ||
167 | .name = "Kernel", | ||
168 | .size = 0x1C0000, | ||
169 | .offset = MTDPART_OFS_APPEND, | ||
170 | }, { | ||
171 | .name = "RootFS", | ||
172 | .size = MTDPART_SIZ_FULL, | ||
173 | .offset = MTDPART_OFS_APPEND, | ||
174 | } | ||
175 | }; | ||
176 | |||
177 | static struct physmap_flash_data ezkit_flash_data = { | ||
178 | .width = 2, | ||
179 | .parts = ezkit_partitions, | ||
180 | .nr_parts = ARRAY_SIZE(ezkit_partitions), | ||
181 | }; | ||
182 | |||
183 | static struct resource ezkit_flash_resource = { | ||
184 | .start = 0x20000000, | ||
185 | .end = 0x201fffff, | ||
186 | .flags = IORESOURCE_MEM, | ||
187 | }; | ||
188 | |||
189 | static struct platform_device ezkit_flash_device = { | ||
190 | .name = "physmap-flash", | ||
191 | .id = 0, | ||
192 | .dev = { | ||
193 | .platform_data = &ezkit_flash_data, | ||
194 | }, | ||
195 | .num_resources = 1, | ||
196 | .resource = &ezkit_flash_resource, | ||
197 | }; | ||
198 | #endif | ||
199 | |||
200 | #if defined(CONFIG_MTD_NAND_BF5XX) || defined(CONFIG_MTD_NAND_BF5XX_MODULE) | ||
201 | static struct mtd_partition partition_info[] = { | ||
202 | { | ||
203 | .name = "Linux Kernel", | ||
204 | .offset = 0, | ||
205 | .size = 4 * SIZE_1M, | ||
206 | }, | ||
207 | { | ||
208 | .name = "File System", | ||
209 | .offset = MTDPART_OFS_APPEND, | ||
210 | .size = MTDPART_SIZ_FULL, | ||
211 | }, | ||
212 | }; | ||
213 | |||
214 | static struct bf5xx_nand_platform bf5xx_nand_platform = { | ||
215 | .page_size = NFC_PG_SIZE_256, | ||
216 | .data_width = NFC_NWIDTH_8, | ||
217 | .partitions = partition_info, | ||
218 | .nr_partitions = ARRAY_SIZE(partition_info), | ||
219 | .rd_dly = 3, | ||
220 | .wr_dly = 3, | ||
221 | }; | ||
222 | |||
223 | static struct resource bf5xx_nand_resources[] = { | ||
224 | { | ||
225 | .start = NFC_CTL, | ||
226 | .end = NFC_DATA_RD + 2, | ||
227 | .flags = IORESOURCE_MEM, | ||
228 | }, | ||
229 | { | ||
230 | .start = CH_NFC, | ||
231 | .end = CH_NFC, | ||
232 | .flags = IORESOURCE_IRQ, | ||
233 | }, | ||
234 | }; | ||
235 | |||
236 | static struct platform_device bf5xx_nand_device = { | ||
237 | .name = "bf5xx-nand", | ||
238 | .id = 0, | ||
239 | .num_resources = ARRAY_SIZE(bf5xx_nand_resources), | ||
240 | .resource = bf5xx_nand_resources, | ||
241 | .dev = { | ||
242 | .platform_data = &bf5xx_nand_platform, | ||
243 | }, | ||
244 | }; | ||
245 | #endif | ||
246 | |||
247 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) | ||
248 | static struct resource bfin_pcmcia_cf_resources[] = { | ||
249 | { | ||
250 | .start = 0x20310000, /* IO PORT */ | ||
251 | .end = 0x20312000, | ||
252 | .flags = IORESOURCE_MEM, | ||
253 | }, { | ||
254 | .start = 0x20311000, /* Attribute Memory */ | ||
255 | .end = 0x20311FFF, | ||
256 | .flags = IORESOURCE_MEM, | ||
257 | }, { | ||
258 | .start = IRQ_PF4, | ||
259 | .end = IRQ_PF4, | ||
260 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | ||
261 | }, { | ||
262 | .start = 6, /* Card Detect PF6 */ | ||
263 | .end = 6, | ||
264 | .flags = IORESOURCE_IRQ, | ||
265 | }, | ||
266 | }; | ||
267 | |||
268 | static struct platform_device bfin_pcmcia_cf_device = { | ||
269 | .name = "bfin_cf_pcmcia", | ||
270 | .id = -1, | ||
271 | .num_resources = ARRAY_SIZE(bfin_pcmcia_cf_resources), | ||
272 | .resource = bfin_pcmcia_cf_resources, | ||
273 | }; | ||
274 | #endif | ||
275 | |||
276 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | ||
277 | static struct platform_device rtc_device = { | ||
278 | .name = "rtc-bfin", | ||
279 | .id = -1, | ||
280 | }; | ||
281 | #endif | ||
282 | |||
283 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | ||
284 | static struct resource smc91x_resources[] = { | ||
285 | { | ||
286 | .name = "smc91x-regs", | ||
287 | .start = 0x20300300, | ||
288 | .end = 0x20300300 + 16, | ||
289 | .flags = IORESOURCE_MEM, | ||
290 | }, { | ||
291 | |||
292 | .start = IRQ_PF7, | ||
293 | .end = IRQ_PF7, | ||
294 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
295 | }, | ||
296 | }; | ||
297 | static struct platform_device smc91x_device = { | ||
298 | .name = "smc91x", | ||
299 | .id = 0, | ||
300 | .num_resources = ARRAY_SIZE(smc91x_resources), | ||
301 | .resource = smc91x_resources, | ||
302 | }; | ||
303 | #endif | ||
304 | |||
305 | #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE) | ||
306 | static struct resource dm9000_resources[] = { | ||
307 | [0] = { | ||
308 | .start = 0x203FB800, | ||
309 | .end = 0x203FB800 + 8, | ||
310 | .flags = IORESOURCE_MEM, | ||
311 | }, | ||
312 | [1] = { | ||
313 | .start = IRQ_PF9, | ||
314 | .end = IRQ_PF9, | ||
315 | .flags = (IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE), | ||
316 | }, | ||
317 | }; | ||
318 | |||
319 | static struct platform_device dm9000_device = { | ||
320 | .name = "dm9000", | ||
321 | .id = -1, | ||
322 | .num_resources = ARRAY_SIZE(dm9000_resources), | ||
323 | .resource = dm9000_resources, | ||
324 | }; | ||
325 | #endif | ||
326 | |||
327 | #if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE) | ||
328 | static struct resource sl811_hcd_resources[] = { | ||
329 | { | ||
330 | .start = 0x20340000, | ||
331 | .end = 0x20340000, | ||
332 | .flags = IORESOURCE_MEM, | ||
333 | }, { | ||
334 | .start = 0x20340004, | ||
335 | .end = 0x20340004, | ||
336 | .flags = IORESOURCE_MEM, | ||
337 | }, { | ||
338 | .start = CONFIG_USB_SL811_BFIN_IRQ, | ||
339 | .end = CONFIG_USB_SL811_BFIN_IRQ, | ||
340 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
341 | }, | ||
342 | }; | ||
343 | |||
344 | #if defined(CONFIG_USB_SL811_BFIN_USE_VBUS) | ||
345 | void sl811_port_power(struct device *dev, int is_on) | ||
346 | { | ||
347 | gpio_request(CONFIG_USB_SL811_BFIN_GPIO_VBUS, "usb:SL811_VBUS"); | ||
348 | gpio_direction_output(CONFIG_USB_SL811_BFIN_GPIO_VBUS, is_on); | ||
349 | } | ||
350 | #endif | ||
351 | |||
352 | static struct sl811_platform_data sl811_priv = { | ||
353 | .potpg = 10, | ||
354 | .power = 250, /* == 500mA */ | ||
355 | #if defined(CONFIG_USB_SL811_BFIN_USE_VBUS) | ||
356 | .port_power = &sl811_port_power, | ||
357 | #endif | ||
358 | }; | ||
359 | |||
360 | static struct platform_device sl811_hcd_device = { | ||
361 | .name = "sl811-hcd", | ||
362 | .id = 0, | ||
363 | .dev = { | ||
364 | .platform_data = &sl811_priv, | ||
365 | }, | ||
366 | .num_resources = ARRAY_SIZE(sl811_hcd_resources), | ||
367 | .resource = sl811_hcd_resources, | ||
368 | }; | ||
369 | #endif | ||
370 | |||
371 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
372 | static struct resource isp1362_hcd_resources[] = { | ||
373 | { | ||
374 | .start = 0x20360000, | ||
375 | .end = 0x20360000, | ||
376 | .flags = IORESOURCE_MEM, | ||
377 | }, { | ||
378 | .start = 0x20360004, | ||
379 | .end = 0x20360004, | ||
380 | .flags = IORESOURCE_MEM, | ||
381 | }, { | ||
382 | .start = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | ||
383 | .end = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | ||
384 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
385 | }, | ||
386 | }; | ||
387 | |||
388 | static struct isp1362_platform_data isp1362_priv = { | ||
389 | .sel15Kres = 1, | ||
390 | .clknotstop = 0, | ||
391 | .oc_enable = 0, | ||
392 | .int_act_high = 0, | ||
393 | .int_edge_triggered = 0, | ||
394 | .remote_wakeup_connected = 0, | ||
395 | .no_power_switching = 1, | ||
396 | .power_switching_mode = 0, | ||
397 | }; | ||
398 | |||
399 | static struct platform_device isp1362_hcd_device = { | ||
400 | .name = "isp1362-hcd", | ||
401 | .id = 0, | ||
402 | .dev = { | ||
403 | .platform_data = &isp1362_priv, | ||
404 | }, | ||
405 | .num_resources = ARRAY_SIZE(isp1362_hcd_resources), | ||
406 | .resource = isp1362_hcd_resources, | ||
407 | }; | ||
408 | #endif | ||
409 | |||
410 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | ||
411 | static struct platform_device bfin_mac_device = { | ||
412 | .name = "bfin_mac", | ||
413 | }; | ||
414 | #endif | ||
415 | |||
416 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | ||
417 | static struct resource net2272_bfin_resources[] = { | ||
418 | { | ||
419 | .start = 0x20300000, | ||
420 | .end = 0x20300000 + 0x100, | ||
421 | .flags = IORESOURCE_MEM, | ||
422 | }, { | ||
423 | .start = IRQ_PF7, | ||
424 | .end = IRQ_PF7, | ||
425 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | ||
426 | }, | ||
427 | }; | ||
428 | |||
429 | static struct platform_device net2272_bfin_device = { | ||
430 | .name = "net2272", | ||
431 | .id = -1, | ||
432 | .num_resources = ARRAY_SIZE(net2272_bfin_resources), | ||
433 | .resource = net2272_bfin_resources, | ||
434 | }; | ||
435 | #endif | ||
436 | |||
437 | #if defined(CONFIG_MTD_M25P80) \ | ||
438 | || defined(CONFIG_MTD_M25P80_MODULE) | ||
439 | static struct mtd_partition bfin_spi_flash_partitions[] = { | ||
440 | { | ||
441 | .name = "bootloader", | ||
442 | .size = 0x00040000, | ||
443 | .offset = 0, | ||
444 | .mask_flags = MTD_CAP_ROM | ||
445 | }, { | ||
446 | .name = "linux kernel", | ||
447 | .size = MTDPART_SIZ_FULL, | ||
448 | .offset = MTDPART_OFS_APPEND, | ||
449 | } | ||
450 | }; | ||
451 | |||
452 | static struct flash_platform_data bfin_spi_flash_data = { | ||
453 | .name = "m25p80", | ||
454 | .parts = bfin_spi_flash_partitions, | ||
455 | .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), | ||
456 | .type = "m25p16", | ||
457 | }; | ||
458 | |||
459 | /* SPI flash chip (m25p64) */ | ||
460 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | ||
461 | .enable_dma = 0, /* use dma transfer with this chip*/ | ||
462 | .bits_per_word = 8, | ||
463 | }; | ||
464 | #endif | ||
465 | |||
466 | #if defined(CONFIG_SPI_ADC_BF533) \ | ||
467 | || defined(CONFIG_SPI_ADC_BF533_MODULE) | ||
468 | /* SPI ADC chip */ | ||
469 | static struct bfin5xx_spi_chip spi_adc_chip_info = { | ||
470 | .enable_dma = 1, /* use dma transfer with this chip*/ | ||
471 | .bits_per_word = 16, | ||
472 | }; | ||
473 | #endif | ||
474 | |||
475 | #if defined(CONFIG_SND_BLACKFIN_AD1836) \ | ||
476 | || defined(CONFIG_SND_BLACKFIN_AD1836_MODULE) | ||
477 | static struct bfin5xx_spi_chip ad1836_spi_chip_info = { | ||
478 | .enable_dma = 0, | ||
479 | .bits_per_word = 16, | ||
480 | }; | ||
481 | #endif | ||
482 | |||
483 | #if defined(CONFIG_AD9960) || defined(CONFIG_AD9960_MODULE) | ||
484 | static struct bfin5xx_spi_chip ad9960_spi_chip_info = { | ||
485 | .enable_dma = 0, | ||
486 | .bits_per_word = 16, | ||
487 | }; | ||
488 | #endif | ||
489 | |||
490 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
491 | static struct bfin5xx_spi_chip spi_mmc_chip_info = { | ||
492 | .enable_dma = 1, | ||
493 | .bits_per_word = 8, | ||
494 | }; | ||
495 | #endif | ||
496 | |||
497 | #if defined(CONFIG_PBX) | ||
498 | static struct bfin5xx_spi_chip spi_si3xxx_chip_info = { | ||
499 | .ctl_reg = 0x4, /* send zero */ | ||
500 | .enable_dma = 0, | ||
501 | .bits_per_word = 8, | ||
502 | .cs_change_per_word = 1, | ||
503 | }; | ||
504 | #endif | ||
505 | |||
506 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | ||
507 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | ||
508 | .enable_dma = 0, | ||
509 | .bits_per_word = 16, | ||
510 | }; | ||
511 | |||
512 | static const struct ad7877_platform_data bfin_ad7877_ts_info = { | ||
513 | .model = 7877, | ||
514 | .vref_delay_usecs = 50, /* internal, no capacitor */ | ||
515 | .x_plate_ohms = 419, | ||
516 | .y_plate_ohms = 486, | ||
517 | .pressure_max = 1000, | ||
518 | .pressure_min = 0, | ||
519 | .stopacq_polarity = 1, | ||
520 | .first_conversion_delay = 3, | ||
521 | .acquisition_time = 1, | ||
522 | .averaging = 1, | ||
523 | .pen_down_acc_interval = 1, | ||
524 | }; | ||
525 | #endif | ||
526 | |||
527 | #if defined(CONFIG_SND_SOC_WM8731) || defined(CONFIG_SND_SOC_WM8731_MODULE) \ | ||
528 | && defined(CONFIG_SND_SOC_WM8731_SPI) | ||
529 | static struct bfin5xx_spi_chip spi_wm8731_chip_info = { | ||
530 | .enable_dma = 0, | ||
531 | .bits_per_word = 16, | ||
532 | }; | ||
533 | #endif | ||
534 | |||
535 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) | ||
536 | static struct bfin5xx_spi_chip spidev_chip_info = { | ||
537 | .enable_dma = 0, | ||
538 | .bits_per_word = 8, | ||
539 | }; | ||
540 | #endif | ||
541 | |||
542 | static struct spi_board_info bfin_spi_board_info[] __initdata = { | ||
543 | #if defined(CONFIG_MTD_M25P80) \ | ||
544 | || defined(CONFIG_MTD_M25P80_MODULE) | ||
545 | { | ||
546 | /* the modalias must be the same as spi device driver name */ | ||
547 | .modalias = "m25p80", /* Name of spi_driver for this device */ | ||
548 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | ||
549 | .bus_num = 0, /* Framework bus number */ | ||
550 | .chip_select = 1, /* Framework chip select. On STAMP537 it is SPISSEL1*/ | ||
551 | .platform_data = &bfin_spi_flash_data, | ||
552 | .controller_data = &spi_flash_chip_info, | ||
553 | .mode = SPI_MODE_3, | ||
554 | }, | ||
555 | #endif | ||
556 | |||
557 | #if defined(CONFIG_SPI_ADC_BF533) \ | ||
558 | || defined(CONFIG_SPI_ADC_BF533_MODULE) | ||
559 | { | ||
560 | .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ | ||
561 | .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ | ||
562 | .bus_num = 0, /* Framework bus number */ | ||
563 | .chip_select = 1, /* Framework chip select. */ | ||
564 | .platform_data = NULL, /* No spi_driver specific config */ | ||
565 | .controller_data = &spi_adc_chip_info, | ||
566 | }, | ||
567 | #endif | ||
568 | |||
569 | #if defined(CONFIG_SND_BLACKFIN_AD1836) \ | ||
570 | || defined(CONFIG_SND_BLACKFIN_AD1836_MODULE) | ||
571 | { | ||
572 | .modalias = "ad1836-spi", | ||
573 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | ||
574 | .bus_num = 0, | ||
575 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | ||
576 | .controller_data = &ad1836_spi_chip_info, | ||
577 | }, | ||
578 | #endif | ||
579 | #if defined(CONFIG_AD9960) || defined(CONFIG_AD9960_MODULE) | ||
580 | { | ||
581 | .modalias = "ad9960-spi", | ||
582 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ | ||
583 | .bus_num = 0, | ||
584 | .chip_select = 1, | ||
585 | .controller_data = &ad9960_spi_chip_info, | ||
586 | }, | ||
587 | #endif | ||
588 | #if defined(CONFIG_SPI_MMC) || defined(CONFIG_SPI_MMC_MODULE) | ||
589 | { | ||
590 | .modalias = "spi_mmc_dummy", | ||
591 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | ||
592 | .bus_num = 0, | ||
593 | .chip_select = 0, | ||
594 | .platform_data = NULL, | ||
595 | .controller_data = &spi_mmc_chip_info, | ||
596 | .mode = SPI_MODE_3, | ||
597 | }, | ||
598 | { | ||
599 | .modalias = "spi_mmc", | ||
600 | .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ | ||
601 | .bus_num = 0, | ||
602 | .chip_select = CONFIG_SPI_MMC_CS_CHAN, | ||
603 | .platform_data = NULL, | ||
604 | .controller_data = &spi_mmc_chip_info, | ||
605 | .mode = SPI_MODE_3, | ||
606 | }, | ||
607 | #endif | ||
608 | #if defined(CONFIG_PBX) | ||
609 | { | ||
610 | .modalias = "fxs-spi", | ||
611 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | ||
612 | .bus_num = 0, | ||
613 | .chip_select = 8 - CONFIG_J11_JUMPER, | ||
614 | .controller_data = &spi_si3xxx_chip_info, | ||
615 | .mode = SPI_MODE_3, | ||
616 | }, | ||
617 | { | ||
618 | .modalias = "fxo-spi", | ||
619 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | ||
620 | .bus_num = 0, | ||
621 | .chip_select = 8 - CONFIG_J19_JUMPER, | ||
622 | .controller_data = &spi_si3xxx_chip_info, | ||
623 | .mode = SPI_MODE_3, | ||
624 | }, | ||
625 | #endif | ||
626 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | ||
627 | { | ||
628 | .modalias = "ad7877", | ||
629 | .platform_data = &bfin_ad7877_ts_info, | ||
630 | .irq = IRQ_PF8, | ||
631 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | ||
632 | .bus_num = 0, | ||
633 | .chip_select = 2, | ||
634 | .controller_data = &spi_ad7877_chip_info, | ||
635 | }, | ||
636 | #endif | ||
637 | #if defined(CONFIG_SND_SOC_WM8731) || defined(CONFIG_SND_SOC_WM8731_MODULE) \ | ||
638 | && defined(CONFIG_SND_SOC_WM8731_SPI) | ||
639 | { | ||
640 | .modalias = "wm8731", | ||
641 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | ||
642 | .bus_num = 0, | ||
643 | .chip_select = 5, | ||
644 | .controller_data = &spi_wm8731_chip_info, | ||
645 | .mode = SPI_MODE_0, | ||
646 | }, | ||
647 | #endif | ||
648 | #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) | ||
649 | { | ||
650 | .modalias = "spidev", | ||
651 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | ||
652 | .bus_num = 0, | ||
653 | .chip_select = 1, | ||
654 | .controller_data = &spidev_chip_info, | ||
655 | }, | ||
656 | #endif | ||
657 | }; | ||
658 | |||
659 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
660 | /* SPI controller data */ | ||
661 | static struct bfin5xx_spi_master bfin_spi0_info = { | ||
662 | .num_chipselect = 8, | ||
663 | .enable_dma = 1, /* master has the ability to do dma transfer */ | ||
664 | .pin_req = {P_SPI0_SCK, P_SPI0_MISO, P_SPI0_MOSI, 0}, | ||
665 | }; | ||
666 | |||
667 | /* SPI (0) */ | ||
668 | static struct resource bfin_spi0_resource[] = { | ||
669 | [0] = { | ||
670 | .start = SPI0_REGBASE, | ||
671 | .end = SPI0_REGBASE + 0xFF, | ||
672 | .flags = IORESOURCE_MEM, | ||
673 | }, | ||
674 | [1] = { | ||
675 | .start = CH_SPI, | ||
676 | .end = CH_SPI, | ||
677 | .flags = IORESOURCE_IRQ, | ||
678 | }, | ||
679 | }; | ||
680 | |||
681 | static struct platform_device bfin_spi0_device = { | ||
682 | .name = "bfin-spi", | ||
683 | .id = 0, /* Bus number */ | ||
684 | .num_resources = ARRAY_SIZE(bfin_spi0_resource), | ||
685 | .resource = bfin_spi0_resource, | ||
686 | .dev = { | ||
687 | .platform_data = &bfin_spi0_info, /* Passed to driver */ | ||
688 | }, | ||
689 | }; | ||
690 | #endif /* spi master and devices */ | ||
691 | |||
692 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
693 | static struct platform_device bfin_fb_adv7393_device = { | ||
694 | .name = "bfin-adv7393", | ||
695 | }; | ||
696 | #endif | ||
697 | |||
698 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | ||
699 | static struct resource bfin_uart_resources[] = { | ||
700 | #ifdef CONFIG_SERIAL_BFIN_UART0 | ||
701 | { | ||
702 | .start = 0xFFC00400, | ||
703 | .end = 0xFFC004FF, | ||
704 | .flags = IORESOURCE_MEM, | ||
705 | }, | ||
706 | #endif | ||
707 | #ifdef CONFIG_SERIAL_BFIN_UART1 | ||
708 | { | ||
709 | .start = 0xFFC02000, | ||
710 | .end = 0xFFC020FF, | ||
711 | .flags = IORESOURCE_MEM, | ||
712 | }, | ||
713 | #endif | ||
714 | }; | ||
715 | |||
716 | static struct platform_device bfin_uart_device = { | ||
717 | .name = "bfin-uart", | ||
718 | .id = 1, | ||
719 | .num_resources = ARRAY_SIZE(bfin_uart_resources), | ||
720 | .resource = bfin_uart_resources, | ||
721 | }; | ||
722 | #endif | ||
723 | |||
724 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | ||
725 | static struct resource bfin_sir_resources[] = { | ||
726 | #ifdef CONFIG_BFIN_SIR0 | ||
727 | { | ||
728 | .start = 0xFFC00400, | ||
729 | .end = 0xFFC004FF, | ||
730 | .flags = IORESOURCE_MEM, | ||
731 | }, | ||
732 | #endif | ||
733 | #ifdef CONFIG_BFIN_SIR1 | ||
734 | { | ||
735 | .start = 0xFFC02000, | ||
736 | .end = 0xFFC020FF, | ||
737 | .flags = IORESOURCE_MEM, | ||
738 | }, | ||
739 | #endif | ||
740 | }; | ||
741 | |||
742 | static struct platform_device bfin_sir_device = { | ||
743 | .name = "bfin_sir", | ||
744 | .id = 0, | ||
745 | .num_resources = ARRAY_SIZE(bfin_sir_resources), | ||
746 | .resource = bfin_sir_resources, | ||
747 | }; | ||
748 | #endif | ||
749 | |||
750 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) | ||
751 | static struct resource bfin_twi0_resource[] = { | ||
752 | [0] = { | ||
753 | .start = TWI0_REGBASE, | ||
754 | .end = TWI0_REGBASE, | ||
755 | .flags = IORESOURCE_MEM, | ||
756 | }, | ||
757 | [1] = { | ||
758 | .start = IRQ_TWI, | ||
759 | .end = IRQ_TWI, | ||
760 | .flags = IORESOURCE_IRQ, | ||
761 | }, | ||
762 | }; | ||
763 | |||
764 | static struct platform_device i2c_bfin_twi_device = { | ||
765 | .name = "i2c-bfin-twi", | ||
766 | .id = 0, | ||
767 | .num_resources = ARRAY_SIZE(bfin_twi0_resource), | ||
768 | .resource = bfin_twi0_resource, | ||
769 | }; | ||
770 | #endif | ||
771 | |||
772 | #ifdef CONFIG_I2C_BOARDINFO | ||
773 | static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | ||
774 | #if defined(CONFIG_TWI_LCD) || defined(CONFIG_TWI_LCD_MODULE) | ||
775 | { | ||
776 | I2C_BOARD_INFO("pcf8574_lcd", 0x22), | ||
777 | .type = "pcf8574_lcd", | ||
778 | }, | ||
779 | #endif | ||
780 | #if defined(CONFIG_TWI_KEYPAD) || defined(CONFIG_TWI_KEYPAD_MODULE) | ||
781 | { | ||
782 | I2C_BOARD_INFO("pcf8574_keypad", 0x27), | ||
783 | .type = "pcf8574_keypad", | ||
784 | .irq = IRQ_PF8, | ||
785 | }, | ||
786 | #endif | ||
787 | }; | ||
788 | #endif | ||
789 | |||
790 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | ||
791 | static struct platform_device bfin_sport0_uart_device = { | ||
792 | .name = "bfin-sport-uart", | ||
793 | .id = 0, | ||
794 | }; | ||
795 | |||
796 | static struct platform_device bfin_sport1_uart_device = { | ||
797 | .name = "bfin-sport-uart", | ||
798 | .id = 1, | ||
799 | }; | ||
800 | #endif | ||
801 | |||
802 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
803 | #define PATA_INT 55 | ||
804 | |||
805 | static struct pata_platform_info bfin_pata_platform_data = { | ||
806 | .ioport_shift = 1, | ||
807 | .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED, | ||
808 | }; | ||
809 | |||
810 | static struct resource bfin_pata_resources[] = { | ||
811 | { | ||
812 | .start = 0x20314020, | ||
813 | .end = 0x2031403F, | ||
814 | .flags = IORESOURCE_MEM, | ||
815 | }, | ||
816 | { | ||
817 | .start = 0x2031401C, | ||
818 | .end = 0x2031401F, | ||
819 | .flags = IORESOURCE_MEM, | ||
820 | }, | ||
821 | { | ||
822 | .start = PATA_INT, | ||
823 | .end = PATA_INT, | ||
824 | .flags = IORESOURCE_IRQ, | ||
825 | }, | ||
826 | }; | ||
827 | |||
828 | static struct platform_device bfin_pata_device = { | ||
829 | .name = "pata_platform", | ||
830 | .id = -1, | ||
831 | .num_resources = ARRAY_SIZE(bfin_pata_resources), | ||
832 | .resource = bfin_pata_resources, | ||
833 | .dev = { | ||
834 | .platform_data = &bfin_pata_platform_data, | ||
835 | } | ||
836 | }; | ||
837 | #endif | ||
838 | |||
839 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | ||
840 | #include <linux/input.h> | ||
841 | #include <linux/gpio_keys.h> | ||
842 | |||
843 | static struct gpio_keys_button bfin_gpio_keys_table[] = { | ||
844 | {BTN_0, GPIO_PF14, 1, "gpio-keys: BTN0"}, | ||
845 | }; | ||
846 | |||
847 | static struct gpio_keys_platform_data bfin_gpio_keys_data = { | ||
848 | .buttons = bfin_gpio_keys_table, | ||
849 | .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table), | ||
850 | }; | ||
851 | |||
852 | static struct platform_device bfin_device_gpiokeys = { | ||
853 | .name = "gpio-keys", | ||
854 | .dev = { | ||
855 | .platform_data = &bfin_gpio_keys_data, | ||
856 | }, | ||
857 | }; | ||
858 | #endif | ||
859 | |||
860 | static struct resource bfin_gpios_resources = { | ||
861 | .start = 0, | ||
862 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
863 | .flags = IORESOURCE_IRQ, | ||
864 | }; | ||
865 | |||
866 | static struct platform_device bfin_gpios_device = { | ||
867 | .name = "simple-gpio", | ||
868 | .id = -1, | ||
869 | .num_resources = 1, | ||
870 | .resource = &bfin_gpios_resources, | ||
871 | }; | ||
872 | |||
873 | static const unsigned int cclk_vlev_datasheet[] = | ||
874 | { | ||
875 | VRPAIR(VLEV_100, 400000000), | ||
876 | VRPAIR(VLEV_105, 426000000), | ||
877 | VRPAIR(VLEV_110, 500000000), | ||
878 | VRPAIR(VLEV_115, 533000000), | ||
879 | VRPAIR(VLEV_120, 600000000), | ||
880 | }; | ||
881 | |||
882 | static struct bfin_dpmc_platform_data bfin_dmpc_vreg_data = { | ||
883 | .tuple_tab = cclk_vlev_datasheet, | ||
884 | .tabsize = ARRAY_SIZE(cclk_vlev_datasheet), | ||
885 | .vr_settling_time = 25 /* us */, | ||
886 | }; | ||
887 | |||
888 | static struct platform_device bfin_dpmc = { | ||
889 | .name = "bfin dpmc", | ||
890 | .dev = { | ||
891 | .platform_data = &bfin_dmpc_vreg_data, | ||
892 | }, | ||
893 | }; | ||
894 | |||
895 | static struct platform_device *stamp_devices[] __initdata = { | ||
896 | |||
897 | &bfin_dpmc, | ||
898 | |||
899 | #if defined(CONFIG_MTD_NAND_BF5XX) || defined(CONFIG_MTD_NAND_BF5XX_MODULE) | ||
900 | &bf5xx_nand_device, | ||
901 | #endif | ||
902 | |||
903 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) | ||
904 | &bfin_pcmcia_cf_device, | ||
905 | #endif | ||
906 | |||
907 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | ||
908 | &rtc_device, | ||
909 | #endif | ||
910 | |||
911 | #if defined(CONFIG_USB_SL811_HCD) || defined(CONFIG_USB_SL811_HCD_MODULE) | ||
912 | &sl811_hcd_device, | ||
913 | #endif | ||
914 | |||
915 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | ||
916 | &isp1362_hcd_device, | ||
917 | #endif | ||
918 | |||
919 | #if defined(CONFIG_USB_MUSB_HDRC) || defined(CONFIG_USB_MUSB_HDRC_MODULE) | ||
920 | &musb_device, | ||
921 | #endif | ||
922 | |||
923 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | ||
924 | &smc91x_device, | ||
925 | #endif | ||
926 | |||
927 | #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE) | ||
928 | &dm9000_device, | ||
929 | #endif | ||
930 | |||
931 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | ||
932 | &bfin_mac_device, | ||
933 | #endif | ||
934 | |||
935 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | ||
936 | &net2272_bfin_device, | ||
937 | #endif | ||
938 | |||
939 | #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) | ||
940 | &bfin_spi0_device, | ||
941 | #endif | ||
942 | |||
943 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
944 | &bfin_fb_adv7393_device, | ||
945 | #endif | ||
946 | |||
947 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | ||
948 | &bfin_uart_device, | ||
949 | #endif | ||
950 | |||
951 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | ||
952 | &bfin_sir_device, | ||
953 | #endif | ||
954 | |||
955 | #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) | ||
956 | &i2c_bfin_twi_device, | ||
957 | #endif | ||
958 | |||
959 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | ||
960 | &bfin_sport0_uart_device, | ||
961 | &bfin_sport1_uart_device, | ||
962 | #endif | ||
963 | |||
964 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
965 | &bfin_pata_device, | ||
966 | #endif | ||
967 | |||
968 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | ||
969 | &bfin_device_gpiokeys, | ||
970 | #endif | ||
971 | |||
972 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | ||
973 | &ezkit_flash_device, | ||
974 | #endif | ||
975 | |||
976 | &bfin_gpios_device, | ||
977 | }; | ||
978 | |||
979 | static int __init stamp_init(void) | ||
980 | { | ||
981 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | ||
982 | |||
983 | #ifdef CONFIG_I2C_BOARDINFO | ||
984 | i2c_register_board_info(0, bfin_i2c_board_info, | ||
985 | ARRAY_SIZE(bfin_i2c_board_info)); | ||
986 | #endif | ||
987 | |||
988 | platform_add_devices(stamp_devices, ARRAY_SIZE(stamp_devices)); | ||
989 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | ||
990 | |||
991 | #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE) | ||
992 | irq_desc[PATA_INT].status |= IRQ_NOAUTOEN; | ||
993 | #endif | ||
994 | return 0; | ||
995 | } | ||
996 | |||
997 | arch_initcall(stamp_init); | ||
998 | |||
999 | void native_machine_restart(char *cmd) | ||
1000 | { | ||
1001 | /* workaround reboot hang when booting from SPI */ | ||
1002 | if ((bfin_read_SYSCR() & 0x7) == 0x3) | ||
1003 | bfin_gpio_reset_spi0_ssel1(); | ||
1004 | } | ||
1005 | |||
1006 | void bfin_get_ether_addr(char *addr) | ||
1007 | { | ||
1008 | random_ether_addr(addr); | ||
1009 | printk(KERN_WARNING "%s:%s: Setting Ethernet MAC to a random one\n", __FILE__, __func__); | ||
1010 | } | ||
1011 | EXPORT_SYMBOL(bfin_get_ether_addr); | ||