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

Blackfin: tcm-bf518: new board port

Signed-off-by: Harald Krapfenbauer <harald.krapfenbauer@bluetechnix.at>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>

authored by

Harald Krapfenbauer and committed by
Mike Frysinger
5aff1642 38e7673f

+2134
+1375
arch/blackfin/configs/TCM-BF518_defconfig
··· 1 + # 2 + # Automatically generated make config: don't edit 3 + # Linux kernel version: 2.6.32.3 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_GENERIC_CSUM=y 11 + CONFIG_GENERIC_BUG=y 12 + CONFIG_ZONE_DMA=y 13 + CONFIG_GENERIC_FIND_NEXT_BIT=y 14 + CONFIG_GENERIC_HARDIRQS=y 15 + CONFIG_GENERIC_IRQ_PROBE=y 16 + CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y 17 + CONFIG_GENERIC_GPIO=y 18 + CONFIG_FORCE_MAX_ZONEORDER=14 19 + CONFIG_GENERIC_CALIBRATE_DELAY=y 20 + CONFIG_LOCKDEP_SUPPORT=y 21 + CONFIG_STACKTRACE_SUPPORT=y 22 + CONFIG_TRACE_IRQFLAGS_SUPPORT=y 23 + CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 24 + CONFIG_CONSTRUCTORS=y 25 + 26 + # 27 + # General setup 28 + # 29 + CONFIG_EXPERIMENTAL=y 30 + CONFIG_BROKEN_ON_SMP=y 31 + CONFIG_INIT_ENV_ARG_LIMIT=32 32 + CONFIG_LOCALVERSION="" 33 + CONFIG_LOCALVERSION_AUTO=y 34 + CONFIG_HAVE_KERNEL_GZIP=y 35 + CONFIG_HAVE_KERNEL_BZIP2=y 36 + CONFIG_HAVE_KERNEL_LZMA=y 37 + # CONFIG_KERNEL_GZIP is not set 38 + # CONFIG_KERNEL_BZIP2 is not set 39 + CONFIG_KERNEL_LZMA=y 40 + CONFIG_SYSVIPC=y 41 + CONFIG_SYSVIPC_SYSCTL=y 42 + # CONFIG_POSIX_MQUEUE is not set 43 + # CONFIG_BSD_PROCESS_ACCT is not set 44 + # CONFIG_TASKSTATS is not set 45 + # CONFIG_AUDIT is not set 46 + 47 + # 48 + # RCU Subsystem 49 + # 50 + CONFIG_TREE_RCU=y 51 + # CONFIG_TREE_PREEMPT_RCU is not set 52 + # CONFIG_RCU_TRACE is not set 53 + CONFIG_RCU_FANOUT=32 54 + # CONFIG_RCU_FANOUT_EXACT is not set 55 + # CONFIG_TREE_RCU_TRACE is not set 56 + CONFIG_IKCONFIG=y 57 + CONFIG_IKCONFIG_PROC=y 58 + CONFIG_LOG_BUF_SHIFT=14 59 + # CONFIG_GROUP_SCHED is not set 60 + # CONFIG_CGROUPS is not set 61 + # CONFIG_SYSFS_DEPRECATED_V2 is not set 62 + # CONFIG_RELAY is not set 63 + # CONFIG_NAMESPACES is not set 64 + CONFIG_BLK_DEV_INITRD=y 65 + CONFIG_INITRAMFS_SOURCE="" 66 + # CONFIG_RD_GZIP is not set 67 + # CONFIG_RD_BZIP2 is not set 68 + CONFIG_RD_LZMA=y 69 + CONFIG_CC_OPTIMIZE_FOR_SIZE=y 70 + CONFIG_SYSCTL=y 71 + CONFIG_ANON_INODES=y 72 + CONFIG_EMBEDDED=y 73 + CONFIG_UID16=y 74 + # CONFIG_SYSCTL_SYSCALL is not set 75 + CONFIG_KALLSYMS=y 76 + # CONFIG_KALLSYMS_ALL is not set 77 + # CONFIG_KALLSYMS_EXTRA_PASS is not set 78 + CONFIG_HOTPLUG=y 79 + CONFIG_PRINTK=y 80 + CONFIG_BUG=y 81 + # CONFIG_ELF_CORE is not set 82 + CONFIG_BASE_FULL=y 83 + # CONFIG_FUTEX is not set 84 + CONFIG_EPOLL=y 85 + # CONFIG_SIGNALFD is not set 86 + # CONFIG_TIMERFD is not set 87 + # CONFIG_EVENTFD is not set 88 + # CONFIG_AIO is not set 89 + 90 + # 91 + # Kernel Performance Events And Counters 92 + # 93 + CONFIG_VM_EVENT_COUNTERS=y 94 + CONFIG_COMPAT_BRK=y 95 + CONFIG_SLAB=y 96 + # CONFIG_SLUB is not set 97 + # CONFIG_SLOB is not set 98 + CONFIG_MMAP_ALLOW_UNINITIALIZED=y 99 + # CONFIG_PROFILING is not set 100 + CONFIG_HAVE_OPROFILE=y 101 + 102 + # 103 + # GCOV-based kernel profiling 104 + # 105 + # CONFIG_GCOV_KERNEL is not set 106 + # CONFIG_SLOW_WORK is not set 107 + # CONFIG_HAVE_GENERIC_DMA_COHERENT is not set 108 + CONFIG_SLABINFO=y 109 + CONFIG_BASE_SMALL=0 110 + CONFIG_MODULES=y 111 + # CONFIG_MODULE_FORCE_LOAD is not set 112 + CONFIG_MODULE_UNLOAD=y 113 + # CONFIG_MODULE_FORCE_UNLOAD is not set 114 + # CONFIG_MODVERSIONS is not set 115 + # CONFIG_MODULE_SRCVERSION_ALL is not set 116 + CONFIG_BLOCK=y 117 + # CONFIG_LBDAF is not set 118 + # CONFIG_BLK_DEV_BSG is not set 119 + # CONFIG_BLK_DEV_INTEGRITY is not set 120 + 121 + # 122 + # IO Schedulers 123 + # 124 + CONFIG_IOSCHED_NOOP=y 125 + # CONFIG_IOSCHED_AS is not set 126 + # CONFIG_IOSCHED_DEADLINE is not set 127 + # CONFIG_IOSCHED_CFQ is not set 128 + # CONFIG_DEFAULT_AS is not set 129 + # CONFIG_DEFAULT_DEADLINE is not set 130 + # CONFIG_DEFAULT_CFQ is not set 131 + CONFIG_DEFAULT_NOOP=y 132 + CONFIG_DEFAULT_IOSCHED="noop" 133 + # CONFIG_PREEMPT_NONE is not set 134 + CONFIG_PREEMPT_VOLUNTARY=y 135 + # CONFIG_PREEMPT is not set 136 + # CONFIG_FREEZER is not set 137 + 138 + # 139 + # Blackfin Processor Options 140 + # 141 + 142 + # 143 + # Processor and Board Settings 144 + # 145 + # CONFIG_BF512 is not set 146 + # CONFIG_BF514 is not set 147 + # CONFIG_BF516 is not set 148 + CONFIG_BF518=y 149 + # CONFIG_BF522 is not set 150 + # CONFIG_BF523 is not set 151 + # CONFIG_BF524 is not set 152 + # CONFIG_BF525 is not set 153 + # CONFIG_BF526 is not set 154 + # CONFIG_BF527 is not set 155 + # CONFIG_BF531 is not set 156 + # CONFIG_BF532 is not set 157 + # CONFIG_BF533 is not set 158 + # CONFIG_BF534 is not set 159 + # CONFIG_BF536 is not set 160 + # CONFIG_BF537 is not set 161 + # CONFIG_BF538 is not set 162 + # CONFIG_BF539 is not set 163 + # CONFIG_BF542_std is not set 164 + # CONFIG_BF542M is not set 165 + # CONFIG_BF544_std is not set 166 + # CONFIG_BF544M is not set 167 + # CONFIG_BF547_std is not set 168 + # CONFIG_BF547M is not set 169 + # CONFIG_BF548_std is not set 170 + # CONFIG_BF548M is not set 171 + # CONFIG_BF549_std is not set 172 + # CONFIG_BF549M is not set 173 + # CONFIG_BF561 is not set 174 + CONFIG_BF_REV_MIN=0 175 + CONFIG_BF_REV_MAX=2 176 + # CONFIG_BF_REV_0_0 is not set 177 + CONFIG_BF_REV_0_1=y 178 + # CONFIG_BF_REV_0_2 is not set 179 + # CONFIG_BF_REV_0_3 is not set 180 + # CONFIG_BF_REV_0_4 is not set 181 + # CONFIG_BF_REV_0_5 is not set 182 + # CONFIG_BF_REV_0_6 is not set 183 + # CONFIG_BF_REV_ANY is not set 184 + # CONFIG_BF_REV_NONE is not set 185 + CONFIG_BF51x=y 186 + # CONFIG_BFIN518F_EZBRD is not set 187 + CONFIG_BFIN518F_TCM=y 188 + 189 + # 190 + # BF518 Specific Configuration 191 + # 192 + 193 + # 194 + # Alternative Multiplexing Scheme 195 + # 196 + # CONFIG_BF518_SPORT0_PORTF is not set 197 + CONFIG_BF518_SPORT0_PORTG=y 198 + CONFIG_BF518_SPORT0_TSCLK_PG10=y 199 + # CONFIG_BF518_SPORT0_TSCLK_PG14 is not set 200 + CONFIG_BF518_UART1_PORTF=y 201 + # CONFIG_BF518_UART1_PORTG is not set 202 + 203 + # 204 + # Interrupt Priority Assignment 205 + # 206 + 207 + # 208 + # Priority 209 + # 210 + CONFIG_IRQ_PLL_WAKEUP=7 211 + CONFIG_IRQ_DMA0_ERROR=7 212 + CONFIG_IRQ_DMAR0_BLK=7 213 + CONFIG_IRQ_DMAR1_BLK=7 214 + CONFIG_IRQ_DMAR0_OVR=7 215 + CONFIG_IRQ_DMAR1_OVR=7 216 + CONFIG_IRQ_PPI_ERROR=7 217 + CONFIG_IRQ_MAC_ERROR=7 218 + CONFIG_IRQ_SPORT0_ERROR=7 219 + CONFIG_IRQ_SPORT1_ERROR=7 220 + CONFIG_IRQ_PTP_ERROR=7 221 + CONFIG_IRQ_UART0_ERROR=7 222 + CONFIG_IRQ_UART1_ERROR=7 223 + CONFIG_IRQ_RTC=8 224 + CONFIG_IRQ_PPI=8 225 + CONFIG_IRQ_SPORT0_RX=9 226 + CONFIG_IRQ_SPORT0_TX=9 227 + CONFIG_IRQ_SPORT1_RX=9 228 + CONFIG_IRQ_SPORT1_TX=9 229 + CONFIG_IRQ_TWI=10 230 + CONFIG_IRQ_SPI0=10 231 + CONFIG_IRQ_UART0_RX=10 232 + CONFIG_IRQ_UART0_TX=10 233 + CONFIG_IRQ_UART1_RX=10 234 + CONFIG_IRQ_UART1_TX=10 235 + CONFIG_IRQ_OPTSEC=11 236 + CONFIG_IRQ_CNT=11 237 + CONFIG_IRQ_MAC_RX=11 238 + CONFIG_IRQ_PORTH_INTA=11 239 + CONFIG_IRQ_MAC_TX=11 240 + CONFIG_IRQ_PORTH_INTB=11 241 + CONFIG_IRQ_TIMER0=12 242 + CONFIG_IRQ_TIMER1=12 243 + CONFIG_IRQ_TIMER2=12 244 + CONFIG_IRQ_TIMER3=12 245 + CONFIG_IRQ_TIMER4=12 246 + CONFIG_IRQ_TIMER5=12 247 + CONFIG_IRQ_TIMER6=12 248 + CONFIG_IRQ_TIMER7=12 249 + CONFIG_IRQ_PORTG_INTA=12 250 + CONFIG_IRQ_PORTG_INTB=12 251 + CONFIG_IRQ_MEM_DMA0=13 252 + CONFIG_IRQ_MEM_DMA1=13 253 + CONFIG_IRQ_WATCH=13 254 + CONFIG_IRQ_PORTF_INTA=13 255 + CONFIG_IRQ_PORTF_INTB=13 256 + CONFIG_IRQ_SPI0_ERROR=7 257 + CONFIG_IRQ_SPI1_ERROR=7 258 + CONFIG_IRQ_RSI_INT0=7 259 + CONFIG_IRQ_RSI_INT1=7 260 + CONFIG_IRQ_PWM_TRIP=10 261 + CONFIG_IRQ_PWM_SYNC=10 262 + CONFIG_IRQ_PTP_STAT=10 263 + 264 + # 265 + # Board customizations 266 + # 267 + # CONFIG_CMDLINE_BOOL is not set 268 + CONFIG_BOOT_LOAD=0x1000 269 + 270 + # 271 + # Clock/PLL Setup 272 + # 273 + CONFIG_CLKIN_HZ=25000000 274 + # CONFIG_BFIN_KERNEL_CLOCK is not set 275 + CONFIG_MAX_VCO_HZ=400000000 276 + CONFIG_MIN_VCO_HZ=50000000 277 + CONFIG_MAX_SCLK_HZ=133333333 278 + CONFIG_MIN_SCLK_HZ=27000000 279 + 280 + # 281 + # Kernel Timer/Scheduler 282 + # 283 + # CONFIG_HZ_100 is not set 284 + CONFIG_HZ_250=y 285 + # CONFIG_HZ_300 is not set 286 + # CONFIG_HZ_1000 is not set 287 + CONFIG_HZ=250 288 + # CONFIG_SCHED_HRTICK is not set 289 + CONFIG_GENERIC_TIME=y 290 + CONFIG_GENERIC_CLOCKEVENTS=y 291 + 292 + # 293 + # Clock event device 294 + # 295 + # CONFIG_TICKSOURCE_GPTMR0 is not set 296 + CONFIG_TICKSOURCE_CORETMR=y 297 + 298 + # 299 + # Clock souce 300 + # 301 + # CONFIG_CYCLES_CLOCKSOURCE is not set 302 + # CONFIG_GPTMR0_CLOCKSOURCE is not set 303 + # CONFIG_NO_HZ is not set 304 + # CONFIG_HIGH_RES_TIMERS is not set 305 + CONFIG_GENERIC_CLOCKEVENTS_BUILD=y 306 + 307 + # 308 + # Misc 309 + # 310 + CONFIG_BFIN_SCRATCH_REG_RETN=y 311 + # CONFIG_BFIN_SCRATCH_REG_RETE is not set 312 + # CONFIG_BFIN_SCRATCH_REG_CYCLES is not set 313 + 314 + # 315 + # Blackfin Kernel Optimizations 316 + # 317 + 318 + # 319 + # Memory Optimizations 320 + # 321 + CONFIG_I_ENTRY_L1=y 322 + CONFIG_EXCPT_IRQ_SYSC_L1=y 323 + CONFIG_DO_IRQ_L1=y 324 + CONFIG_CORE_TIMER_IRQ_L1=y 325 + CONFIG_IDLE_L1=y 326 + # CONFIG_SCHEDULE_L1 is not set 327 + CONFIG_ARITHMETIC_OPS_L1=y 328 + CONFIG_ACCESS_OK_L1=y 329 + # CONFIG_MEMSET_L1 is not set 330 + # CONFIG_MEMCPY_L1 is not set 331 + # CONFIG_SYS_BFIN_SPINLOCK_L1 is not set 332 + # CONFIG_IP_CHECKSUM_L1 is not set 333 + CONFIG_CACHELINE_ALIGNED_L1=y 334 + # CONFIG_SYSCALL_TAB_L1 is not set 335 + # CONFIG_CPLB_SWITCH_TAB_L1 is not set 336 + CONFIG_APP_STACK_L1=y 337 + 338 + # 339 + # Speed Optimizations 340 + # 341 + CONFIG_BFIN_INS_LOWOVERHEAD=y 342 + CONFIG_RAMKERNEL=y 343 + # CONFIG_ROMKERNEL is not set 344 + CONFIG_SELECT_MEMORY_MODEL=y 345 + CONFIG_FLATMEM_MANUAL=y 346 + # CONFIG_DISCONTIGMEM_MANUAL is not set 347 + # CONFIG_SPARSEMEM_MANUAL is not set 348 + CONFIG_FLATMEM=y 349 + CONFIG_FLAT_NODE_MEM_MAP=y 350 + CONFIG_PAGEFLAGS_EXTENDED=y 351 + CONFIG_SPLIT_PTLOCK_CPUS=4 352 + # CONFIG_PHYS_ADDR_T_64BIT is not set 353 + CONFIG_ZONE_DMA_FLAG=1 354 + CONFIG_VIRT_TO_BUS=y 355 + CONFIG_NOMMU_INITIAL_TRIM_EXCESS=0 356 + CONFIG_BFIN_GPTIMERS=m 357 + # CONFIG_DMA_UNCACHED_4M is not set 358 + # CONFIG_DMA_UNCACHED_2M is not set 359 + CONFIG_DMA_UNCACHED_1M=y 360 + # CONFIG_DMA_UNCACHED_512K is not set 361 + # CONFIG_DMA_UNCACHED_256K is not set 362 + # CONFIG_DMA_UNCACHED_128K is not set 363 + # CONFIG_DMA_UNCACHED_NONE is not set 364 + 365 + # 366 + # Cache Support 367 + # 368 + CONFIG_BFIN_ICACHE=y 369 + CONFIG_BFIN_EXTMEM_ICACHEABLE=y 370 + CONFIG_BFIN_DCACHE=y 371 + # CONFIG_BFIN_DCACHE_BANKA is not set 372 + CONFIG_BFIN_EXTMEM_DCACHEABLE=y 373 + CONFIG_BFIN_EXTMEM_WRITEBACK=y 374 + # CONFIG_BFIN_EXTMEM_WRITETHROUGH is not set 375 + 376 + # 377 + # Memory Protection Unit 378 + # 379 + # CONFIG_MPU is not set 380 + 381 + # 382 + # Asynchronous Memory Configuration 383 + # 384 + 385 + # 386 + # EBIU_AMGCTL Global Control 387 + # 388 + CONFIG_C_AMCKEN=y 389 + CONFIG_C_CDPRIO=y 390 + # CONFIG_C_AMBEN is not set 391 + # CONFIG_C_AMBEN_B0 is not set 392 + # CONFIG_C_AMBEN_B0_B1 is not set 393 + # CONFIG_C_AMBEN_B0_B1_B2 is not set 394 + CONFIG_C_AMBEN_ALL=y 395 + 396 + # 397 + # EBIU_AMBCTL Control 398 + # 399 + CONFIG_BANK_0=0x7BB0 400 + CONFIG_BANK_1=0x7BB0 401 + CONFIG_BANK_2=0x7BB0 402 + CONFIG_BANK_3=0x99B2 403 + 404 + # 405 + # Bus options (PCI, PCMCIA, EISA, MCA, ISA) 406 + # 407 + # CONFIG_ARCH_SUPPORTS_MSI is not set 408 + # CONFIG_PCCARD is not set 409 + 410 + # 411 + # Executable file formats 412 + # 413 + CONFIG_BINFMT_ELF_FDPIC=y 414 + CONFIG_BINFMT_FLAT=y 415 + CONFIG_BINFMT_ZFLAT=y 416 + # CONFIG_BINFMT_SHARED_FLAT is not set 417 + # CONFIG_HAVE_AOUT is not set 418 + # CONFIG_BINFMT_MISC is not set 419 + 420 + # 421 + # Power management options 422 + # 423 + # CONFIG_PM is not set 424 + CONFIG_ARCH_SUSPEND_POSSIBLE=y 425 + 426 + # 427 + # CPU Frequency scaling 428 + # 429 + # CONFIG_CPU_FREQ is not set 430 + CONFIG_NET=y 431 + 432 + # 433 + # Networking options 434 + # 435 + CONFIG_PACKET=y 436 + # CONFIG_PACKET_MMAP is not set 437 + CONFIG_UNIX=y 438 + # CONFIG_NET_KEY is not set 439 + CONFIG_INET=y 440 + # CONFIG_IP_MULTICAST is not set 441 + # CONFIG_IP_ADVANCED_ROUTER is not set 442 + CONFIG_IP_FIB_HASH=y 443 + CONFIG_IP_PNP=y 444 + # CONFIG_IP_PNP_DHCP is not set 445 + # CONFIG_IP_PNP_BOOTP is not set 446 + # CONFIG_IP_PNP_RARP is not set 447 + # CONFIG_NET_IPIP is not set 448 + # CONFIG_NET_IPGRE is not set 449 + # CONFIG_ARPD is not set 450 + # CONFIG_SYN_COOKIES is not set 451 + # CONFIG_INET_AH is not set 452 + # CONFIG_INET_ESP is not set 453 + # CONFIG_INET_IPCOMP is not set 454 + # CONFIG_INET_XFRM_TUNNEL is not set 455 + # CONFIG_INET_TUNNEL is not set 456 + # CONFIG_INET_XFRM_MODE_TRANSPORT is not set 457 + # CONFIG_INET_XFRM_MODE_TUNNEL is not set 458 + # CONFIG_INET_XFRM_MODE_BEET is not set 459 + # CONFIG_INET_LRO is not set 460 + # CONFIG_INET_DIAG is not set 461 + # CONFIG_TCP_CONG_ADVANCED is not set 462 + CONFIG_TCP_CONG_CUBIC=y 463 + CONFIG_DEFAULT_TCP_CONG="cubic" 464 + # CONFIG_TCP_MD5SIG is not set 465 + # CONFIG_IPV6 is not set 466 + # CONFIG_NETLABEL is not set 467 + # CONFIG_NETWORK_SECMARK is not set 468 + # CONFIG_NETFILTER is not set 469 + # CONFIG_IP_DCCP is not set 470 + # CONFIG_IP_SCTP is not set 471 + # CONFIG_RDS is not set 472 + # CONFIG_TIPC is not set 473 + # CONFIG_ATM is not set 474 + # CONFIG_BRIDGE is not set 475 + # CONFIG_NET_DSA is not set 476 + # CONFIG_VLAN_8021Q is not set 477 + # CONFIG_DECNET is not set 478 + # CONFIG_LLC2 is not set 479 + # CONFIG_IPX is not set 480 + # CONFIG_ATALK is not set 481 + # CONFIG_X25 is not set 482 + # CONFIG_LAPB is not set 483 + # CONFIG_ECONET is not set 484 + # CONFIG_WAN_ROUTER is not set 485 + # CONFIG_PHONET is not set 486 + # CONFIG_IEEE802154 is not set 487 + # CONFIG_NET_SCHED is not set 488 + # CONFIG_DCB is not set 489 + 490 + # 491 + # Network testing 492 + # 493 + # CONFIG_NET_PKTGEN is not set 494 + # CONFIG_HAMRADIO is not set 495 + # CONFIG_CAN is not set 496 + # CONFIG_IRDA is not set 497 + # CONFIG_BT is not set 498 + # CONFIG_AF_RXRPC is not set 499 + # CONFIG_WIRELESS is not set 500 + # CONFIG_WIMAX is not set 501 + # CONFIG_RFKILL is not set 502 + # CONFIG_NET_9P is not set 503 + 504 + # 505 + # Device Drivers 506 + # 507 + 508 + # 509 + # Generic Driver Options 510 + # 511 + CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 512 + CONFIG_STANDALONE=y 513 + CONFIG_PREVENT_FIRMWARE_BUILD=y 514 + # CONFIG_FW_LOADER is not set 515 + # CONFIG_DEBUG_DRIVER is not set 516 + # CONFIG_DEBUG_DEVRES is not set 517 + # CONFIG_SYS_HYPERVISOR is not set 518 + # CONFIG_CONNECTOR is not set 519 + CONFIG_MTD=y 520 + # CONFIG_MTD_DEBUG is not set 521 + # CONFIG_MTD_TESTS is not set 522 + # CONFIG_MTD_CONCAT is not set 523 + CONFIG_MTD_PARTITIONS=y 524 + # CONFIG_MTD_REDBOOT_PARTS is not set 525 + CONFIG_MTD_CMDLINE_PARTS=y 526 + # CONFIG_MTD_AR7_PARTS is not set 527 + 528 + # 529 + # User Modules And Translation Layers 530 + # 531 + CONFIG_MTD_CHAR=y 532 + CONFIG_MTD_BLKDEVS=y 533 + CONFIG_MTD_BLOCK=y 534 + # CONFIG_FTL is not set 535 + # CONFIG_NFTL is not set 536 + # CONFIG_INFTL is not set 537 + # CONFIG_RFD_FTL is not set 538 + # CONFIG_SSFDC is not set 539 + # CONFIG_MTD_OOPS is not set 540 + 541 + # 542 + # RAM/ROM/Flash chip drivers 543 + # 544 + CONFIG_MTD_CFI=y 545 + # CONFIG_MTD_JEDECPROBE is not set 546 + CONFIG_MTD_GEN_PROBE=y 547 + CONFIG_MTD_CFI_ADV_OPTIONS=y 548 + CONFIG_MTD_CFI_NOSWAP=y 549 + # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set 550 + # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set 551 + CONFIG_MTD_CFI_GEOMETRY=y 552 + # CONFIG_MTD_MAP_BANK_WIDTH_1 is not set 553 + CONFIG_MTD_MAP_BANK_WIDTH_2=y 554 + # CONFIG_MTD_MAP_BANK_WIDTH_4 is not set 555 + # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set 556 + # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set 557 + # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set 558 + CONFIG_MTD_CFI_I1=y 559 + # CONFIG_MTD_CFI_I2 is not set 560 + # CONFIG_MTD_CFI_I4 is not set 561 + # CONFIG_MTD_CFI_I8 is not set 562 + # CONFIG_MTD_OTP is not set 563 + CONFIG_MTD_CFI_INTELEXT=y 564 + # CONFIG_MTD_CFI_AMDSTD is not set 565 + # CONFIG_MTD_CFI_STAA is not set 566 + CONFIG_MTD_CFI_UTIL=y 567 + CONFIG_MTD_RAM=y 568 + CONFIG_MTD_ROM=m 569 + # CONFIG_MTD_ABSENT is not set 570 + 571 + # 572 + # Mapping drivers for chip access 573 + # 574 + # CONFIG_MTD_COMPLEX_MAPPINGS is not set 575 + CONFIG_MTD_PHYSMAP=y 576 + # CONFIG_MTD_PHYSMAP_COMPAT is not set 577 + # CONFIG_MTD_UCLINUX is not set 578 + # CONFIG_MTD_PLATRAM is not set 579 + 580 + # 581 + # Self-contained MTD device drivers 582 + # 583 + # CONFIG_MTD_DATAFLASH is not set 584 + # CONFIG_MTD_M25P80 is not set 585 + # CONFIG_MTD_SST25L is not set 586 + # CONFIG_MTD_SLRAM is not set 587 + # CONFIG_MTD_PHRAM is not set 588 + # CONFIG_MTD_MTDRAM is not set 589 + # CONFIG_MTD_BLOCK2MTD is not set 590 + 591 + # 592 + # Disk-On-Chip Device Drivers 593 + # 594 + # CONFIG_MTD_DOC2000 is not set 595 + # CONFIG_MTD_DOC2001 is not set 596 + # CONFIG_MTD_DOC2001PLUS is not set 597 + # CONFIG_MTD_NAND is not set 598 + # CONFIG_MTD_ONENAND is not set 599 + 600 + # 601 + # LPDDR flash memory drivers 602 + # 603 + # CONFIG_MTD_LPDDR is not set 604 + 605 + # 606 + # UBI - Unsorted block images 607 + # 608 + # CONFIG_MTD_UBI is not set 609 + # CONFIG_PARPORT is not set 610 + CONFIG_BLK_DEV=y 611 + # CONFIG_BLK_DEV_COW_COMMON is not set 612 + # CONFIG_BLK_DEV_LOOP is not set 613 + # CONFIG_BLK_DEV_NBD is not set 614 + CONFIG_BLK_DEV_RAM=y 615 + CONFIG_BLK_DEV_RAM_COUNT=16 616 + CONFIG_BLK_DEV_RAM_SIZE=4096 617 + # CONFIG_BLK_DEV_XIP is not set 618 + # CONFIG_CDROM_PKTCDVD is not set 619 + # CONFIG_ATA_OVER_ETH is not set 620 + # CONFIG_BLK_DEV_HD is not set 621 + CONFIG_MISC_DEVICES=y 622 + # CONFIG_AD525X_DPOT is not set 623 + # CONFIG_ICS932S401 is not set 624 + # CONFIG_ENCLOSURE_SERVICES is not set 625 + # CONFIG_ISL29003 is not set 626 + # CONFIG_C2PORT is not set 627 + 628 + # 629 + # EEPROM support 630 + # 631 + # CONFIG_EEPROM_AT24 is not set 632 + # CONFIG_EEPROM_AT25 is not set 633 + # CONFIG_EEPROM_LEGACY is not set 634 + # CONFIG_EEPROM_MAX6875 is not set 635 + # CONFIG_EEPROM_93CX6 is not set 636 + CONFIG_HAVE_IDE=y 637 + # CONFIG_IDE is not set 638 + 639 + # 640 + # SCSI device support 641 + # 642 + # CONFIG_RAID_ATTRS is not set 643 + # CONFIG_SCSI is not set 644 + # CONFIG_SCSI_DMA is not set 645 + # CONFIG_SCSI_NETLINK is not set 646 + # CONFIG_ATA is not set 647 + # CONFIG_MD is not set 648 + CONFIG_NETDEVICES=y 649 + # CONFIG_DUMMY is not set 650 + # CONFIG_BONDING is not set 651 + # CONFIG_MACVLAN is not set 652 + # CONFIG_EQUALIZER is not set 653 + # CONFIG_TUN is not set 654 + # CONFIG_VETH is not set 655 + CONFIG_PHYLIB=y 656 + 657 + # 658 + # MII PHY device drivers 659 + # 660 + # CONFIG_MARVELL_PHY is not set 661 + # CONFIG_DAVICOM_PHY is not set 662 + # CONFIG_QSEMI_PHY is not set 663 + # CONFIG_LXT_PHY is not set 664 + # CONFIG_CICADA_PHY is not set 665 + # CONFIG_VITESSE_PHY is not set 666 + # CONFIG_SMSC_PHY is not set 667 + # CONFIG_BROADCOM_PHY is not set 668 + # CONFIG_ICPLUS_PHY is not set 669 + # CONFIG_REALTEK_PHY is not set 670 + # CONFIG_NATIONAL_PHY is not set 671 + # CONFIG_STE10XP is not set 672 + # CONFIG_LSI_ET1011C_PHY is not set 673 + # CONFIG_FIXED_PHY is not set 674 + # CONFIG_MDIO_BITBANG is not set 675 + CONFIG_NET_ETHERNET=y 676 + CONFIG_MII=y 677 + CONFIG_BFIN_MAC=y 678 + CONFIG_BFIN_TX_DESC_NUM=10 679 + CONFIG_BFIN_RX_DESC_NUM=20 680 + # CONFIG_BFIN_MAC_RMII is not set 681 + CONFIG_BFIN_MAC_USE_HWSTAMP=y 682 + # CONFIG_SMC91X is not set 683 + # CONFIG_DM9000 is not set 684 + # CONFIG_ENC28J60 is not set 685 + # CONFIG_ETHOC is not set 686 + # CONFIG_SMSC911X is not set 687 + # CONFIG_DNET is not set 688 + # CONFIG_ADF702X is not set 689 + # CONFIG_IBM_NEW_EMAC_ZMII is not set 690 + # CONFIG_IBM_NEW_EMAC_RGMII is not set 691 + # CONFIG_IBM_NEW_EMAC_TAH is not set 692 + # CONFIG_IBM_NEW_EMAC_EMAC4 is not set 693 + # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set 694 + # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set 695 + # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set 696 + # CONFIG_B44 is not set 697 + # CONFIG_KS8842 is not set 698 + # CONFIG_KS8851 is not set 699 + # CONFIG_KS8851_MLL is not set 700 + # CONFIG_NETDEV_1000 is not set 701 + # CONFIG_NETDEV_10000 is not set 702 + # CONFIG_WLAN is not set 703 + 704 + # 705 + # Enable WiMAX (Networking options) to see the WiMAX drivers 706 + # 707 + # CONFIG_WAN is not set 708 + # CONFIG_PPP is not set 709 + # CONFIG_SLIP is not set 710 + # CONFIG_NETCONSOLE is not set 711 + # CONFIG_NETPOLL is not set 712 + # CONFIG_NET_POLL_CONTROLLER is not set 713 + # CONFIG_ISDN is not set 714 + # CONFIG_PHONE is not set 715 + 716 + # 717 + # Input device support 718 + # 719 + CONFIG_INPUT=y 720 + # CONFIG_INPUT_FF_MEMLESS is not set 721 + # CONFIG_INPUT_POLLDEV is not set 722 + 723 + # 724 + # Userland interfaces 725 + # 726 + # CONFIG_INPUT_MOUSEDEV is not set 727 + # CONFIG_INPUT_JOYDEV is not set 728 + # CONFIG_INPUT_EVDEV is not set 729 + # CONFIG_INPUT_EVBUG is not set 730 + 731 + # 732 + # Input Device Drivers 733 + # 734 + # CONFIG_INPUT_KEYBOARD is not set 735 + # CONFIG_INPUT_MOUSE is not set 736 + # CONFIG_INPUT_JOYSTICK is not set 737 + # CONFIG_INPUT_TABLET is not set 738 + # CONFIG_INPUT_TOUCHSCREEN is not set 739 + CONFIG_INPUT_MISC=y 740 + # CONFIG_INPUT_UINPUT is not set 741 + # CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set 742 + # CONFIG_INPUT_AD714X is not set 743 + # CONFIG_INPUT_ADXL34X is not set 744 + # CONFIG_INPUT_PCF8574 is not set 745 + 746 + # 747 + # Hardware I/O ports 748 + # 749 + # CONFIG_SERIO is not set 750 + # CONFIG_GAMEPORT is not set 751 + 752 + # 753 + # Character devices 754 + # 755 + CONFIG_BFIN_DMA_INTERFACE=m 756 + # CONFIG_BFIN_PPI is not set 757 + # CONFIG_BFIN_PPIFCD is not set 758 + # CONFIG_BFIN_SIMPLE_TIMER is not set 759 + # CONFIG_BFIN_SPI_ADC is not set 760 + # CONFIG_BFIN_SPORT is not set 761 + # CONFIG_BFIN_TWI_LCD is not set 762 + CONFIG_VT=y 763 + CONFIG_CONSOLE_TRANSLATIONS=y 764 + CONFIG_VT_CONSOLE=y 765 + CONFIG_HW_CONSOLE=y 766 + # CONFIG_VT_HW_CONSOLE_BINDING is not set 767 + # CONFIG_DEVKMEM is not set 768 + CONFIG_BFIN_JTAG_COMM=m 769 + # CONFIG_SERIAL_NONSTANDARD is not set 770 + 771 + # 772 + # Serial drivers 773 + # 774 + # CONFIG_SERIAL_8250 is not set 775 + 776 + # 777 + # Non-8250 serial port support 778 + # 779 + # CONFIG_SERIAL_MAX3100 is not set 780 + CONFIG_SERIAL_BFIN=y 781 + CONFIG_SERIAL_BFIN_CONSOLE=y 782 + CONFIG_SERIAL_BFIN_DMA=y 783 + # CONFIG_SERIAL_BFIN_PIO is not set 784 + CONFIG_SERIAL_BFIN_UART0=y 785 + # CONFIG_BFIN_UART0_CTSRTS is not set 786 + # CONFIG_SERIAL_BFIN_UART1 is not set 787 + CONFIG_SERIAL_CORE=y 788 + CONFIG_SERIAL_CORE_CONSOLE=y 789 + # CONFIG_SERIAL_BFIN_SPORT is not set 790 + CONFIG_UNIX98_PTYS=y 791 + # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set 792 + # CONFIG_LEGACY_PTYS is not set 793 + CONFIG_BFIN_OTP=y 794 + # CONFIG_BFIN_OTP_WRITE_ENABLE is not set 795 + # CONFIG_IPMI_HANDLER is not set 796 + # CONFIG_HW_RANDOM is not set 797 + # CONFIG_R3964 is not set 798 + # CONFIG_RAW_DRIVER is not set 799 + # CONFIG_TCG_TPM is not set 800 + CONFIG_I2C=y 801 + CONFIG_I2C_BOARDINFO=y 802 + CONFIG_I2C_COMPAT=y 803 + CONFIG_I2C_CHARDEV=y 804 + CONFIG_I2C_HELPER_AUTO=y 805 + 806 + # 807 + # I2C Hardware Bus support 808 + # 809 + 810 + # 811 + # I2C system bus drivers (mostly embedded / system-on-chip) 812 + # 813 + CONFIG_I2C_BLACKFIN_TWI=y 814 + CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=100 815 + # CONFIG_I2C_GPIO is not set 816 + # CONFIG_I2C_OCORES is not set 817 + # CONFIG_I2C_SIMTEC is not set 818 + 819 + # 820 + # External I2C/SMBus adapter drivers 821 + # 822 + # CONFIG_I2C_PARPORT_LIGHT is not set 823 + # CONFIG_I2C_TAOS_EVM is not set 824 + 825 + # 826 + # Other I2C/SMBus bus drivers 827 + # 828 + # CONFIG_I2C_PCA_PLATFORM is not set 829 + # CONFIG_I2C_STUB is not set 830 + 831 + # 832 + # Miscellaneous I2C Chip support 833 + # 834 + # CONFIG_DS1682 is not set 835 + # CONFIG_SENSORS_TSL2550 is not set 836 + # CONFIG_I2C_DEBUG_CORE is not set 837 + # CONFIG_I2C_DEBUG_ALGO is not set 838 + # CONFIG_I2C_DEBUG_BUS is not set 839 + # CONFIG_I2C_DEBUG_CHIP is not set 840 + CONFIG_SPI=y 841 + # CONFIG_SPI_DEBUG is not set 842 + CONFIG_SPI_MASTER=y 843 + 844 + # 845 + # SPI Master Controller Drivers 846 + # 847 + CONFIG_SPI_BFIN=y 848 + CONFIG_SPI_BFIN_LOCK=y 849 + # CONFIG_SPI_BFIN_SPORT is not set 850 + # CONFIG_SPI_BITBANG is not set 851 + # CONFIG_SPI_GPIO is not set 852 + 853 + # 854 + # SPI Protocol Masters 855 + # 856 + # CONFIG_SPI_SPIDEV is not set 857 + # CONFIG_SPI_TLE62X0 is not set 858 + 859 + # 860 + # PPS support 861 + # 862 + # CONFIG_PPS is not set 863 + CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y 864 + CONFIG_GPIOLIB=y 865 + # CONFIG_DEBUG_GPIO is not set 866 + CONFIG_GPIO_SYSFS=y 867 + 868 + # 869 + # Memory mapped GPIO expanders: 870 + # 871 + 872 + # 873 + # I2C GPIO expanders: 874 + # 875 + # CONFIG_GPIO_MAX732X is not set 876 + # CONFIG_GPIO_PCA953X is not set 877 + # CONFIG_GPIO_PCF857X is not set 878 + # CONFIG_GPIO_ADP5588 is not set 879 + 880 + # 881 + # PCI GPIO expanders: 882 + # 883 + 884 + # 885 + # SPI GPIO expanders: 886 + # 887 + # CONFIG_GPIO_MAX7301 is not set 888 + # CONFIG_GPIO_MCP23S08 is not set 889 + # CONFIG_GPIO_MC33880 is not set 890 + 891 + # 892 + # AC97 GPIO expanders: 893 + # 894 + # CONFIG_W1 is not set 895 + # CONFIG_POWER_SUPPLY is not set 896 + # CONFIG_HWMON is not set 897 + # CONFIG_THERMAL is not set 898 + CONFIG_WATCHDOG=y 899 + # CONFIG_WATCHDOG_NOWAYOUT is not set 900 + 901 + # 902 + # Watchdog Device Drivers 903 + # 904 + # CONFIG_SOFT_WATCHDOG is not set 905 + CONFIG_BFIN_WDT=y 906 + CONFIG_SSB_POSSIBLE=y 907 + 908 + # 909 + # Sonics Silicon Backplane 910 + # 911 + # CONFIG_SSB is not set 912 + 913 + # 914 + # Multifunction device drivers 915 + # 916 + # CONFIG_MFD_CORE is not set 917 + # CONFIG_MFD_SM501 is not set 918 + # CONFIG_HTC_PASIC3 is not set 919 + # CONFIG_TPS65010 is not set 920 + # CONFIG_TWL4030_CORE is not set 921 + # CONFIG_MFD_TMIO is not set 922 + # CONFIG_PMIC_DA903X is not set 923 + # CONFIG_PMIC_ADP5520 is not set 924 + # CONFIG_MFD_WM8400 is not set 925 + # CONFIG_MFD_WM831X is not set 926 + # CONFIG_MFD_WM8350_I2C is not set 927 + # CONFIG_MFD_PCF50633 is not set 928 + # CONFIG_MFD_MC13783 is not set 929 + # CONFIG_AB3100_CORE is not set 930 + # CONFIG_EZX_PCAP is not set 931 + # CONFIG_REGULATOR is not set 932 + # CONFIG_MEDIA_SUPPORT is not set 933 + 934 + # 935 + # Graphics support 936 + # 937 + # CONFIG_VGASTATE is not set 938 + # CONFIG_VIDEO_OUTPUT_CONTROL is not set 939 + # CONFIG_FB is not set 940 + # CONFIG_BACKLIGHT_LCD_SUPPORT is not set 941 + 942 + # 943 + # Display device support 944 + # 945 + # CONFIG_DISPLAY_SUPPORT is not set 946 + 947 + # 948 + # Console display driver support 949 + # 950 + CONFIG_DUMMY_CONSOLE=y 951 + # CONFIG_SOUND is not set 952 + # CONFIG_HID_SUPPORT is not set 953 + # CONFIG_USB_SUPPORT is not set 954 + CONFIG_MMC=y 955 + CONFIG_MMC_DEBUG=y 956 + # CONFIG_MMC_UNSAFE_RESUME is not set 957 + 958 + # 959 + # MMC/SD/SDIO Card Drivers 960 + # 961 + CONFIG_MMC_BLOCK=y 962 + CONFIG_MMC_BLOCK_BOUNCE=y 963 + # CONFIG_SDIO_UART is not set 964 + # CONFIG_MMC_TEST is not set 965 + 966 + # 967 + # MMC/SD/SDIO Host Controller Drivers 968 + # 969 + # CONFIG_MMC_SDHCI is not set 970 + # CONFIG_MMC_AT91 is not set 971 + # CONFIG_MMC_ATMELMCI is not set 972 + CONFIG_MMC_SPI=y 973 + # CONFIG_SDH_BFIN is not set 974 + # CONFIG_MEMSTICK is not set 975 + # CONFIG_NEW_LEDS is not set 976 + # CONFIG_ACCESSIBILITY is not set 977 + CONFIG_RTC_LIB=y 978 + CONFIG_RTC_CLASS=y 979 + CONFIG_RTC_HCTOSYS=y 980 + CONFIG_RTC_HCTOSYS_DEVICE="rtc0" 981 + # CONFIG_RTC_DEBUG is not set 982 + 983 + # 984 + # RTC interfaces 985 + # 986 + CONFIG_RTC_INTF_SYSFS=y 987 + CONFIG_RTC_INTF_PROC=y 988 + CONFIG_RTC_INTF_DEV=y 989 + # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set 990 + # CONFIG_RTC_DRV_TEST is not set 991 + 992 + # 993 + # I2C RTC drivers 994 + # 995 + # CONFIG_RTC_DRV_DS1307 is not set 996 + # CONFIG_RTC_DRV_DS1374 is not set 997 + # CONFIG_RTC_DRV_DS1672 is not set 998 + # CONFIG_RTC_DRV_MAX6900 is not set 999 + # CONFIG_RTC_DRV_RS5C372 is not set 1000 + # CONFIG_RTC_DRV_ISL1208 is not set 1001 + # CONFIG_RTC_DRV_X1205 is not set 1002 + # CONFIG_RTC_DRV_PCF8563 is not set 1003 + # CONFIG_RTC_DRV_PCF8583 is not set 1004 + # CONFIG_RTC_DRV_M41T80 is not set 1005 + # CONFIG_RTC_DRV_S35390A is not set 1006 + # CONFIG_RTC_DRV_FM3130 is not set 1007 + # CONFIG_RTC_DRV_RX8581 is not set 1008 + # CONFIG_RTC_DRV_RX8025 is not set 1009 + 1010 + # 1011 + # SPI RTC drivers 1012 + # 1013 + # CONFIG_RTC_DRV_M41T94 is not set 1014 + # CONFIG_RTC_DRV_DS1305 is not set 1015 + # CONFIG_RTC_DRV_DS1390 is not set 1016 + # CONFIG_RTC_DRV_MAX6902 is not set 1017 + # CONFIG_RTC_DRV_R9701 is not set 1018 + # CONFIG_RTC_DRV_RS5C348 is not set 1019 + # CONFIG_RTC_DRV_DS3234 is not set 1020 + # CONFIG_RTC_DRV_PCF2123 is not set 1021 + 1022 + # 1023 + # Platform RTC drivers 1024 + # 1025 + # CONFIG_RTC_DRV_DS1286 is not set 1026 + # CONFIG_RTC_DRV_DS1511 is not set 1027 + # CONFIG_RTC_DRV_DS1553 is not set 1028 + # CONFIG_RTC_DRV_DS1742 is not set 1029 + # CONFIG_RTC_DRV_STK17TA8 is not set 1030 + # CONFIG_RTC_DRV_M48T86 is not set 1031 + # CONFIG_RTC_DRV_M48T35 is not set 1032 + # CONFIG_RTC_DRV_M48T59 is not set 1033 + # CONFIG_RTC_DRV_BQ4802 is not set 1034 + # CONFIG_RTC_DRV_V3020 is not set 1035 + 1036 + # 1037 + # on-CPU RTC drivers 1038 + # 1039 + CONFIG_RTC_DRV_BFIN=y 1040 + # CONFIG_DMADEVICES is not set 1041 + # CONFIG_AUXDISPLAY is not set 1042 + # CONFIG_UIO is not set 1043 + 1044 + # 1045 + # TI VLYNQ 1046 + # 1047 + # CONFIG_STAGING is not set 1048 + 1049 + # 1050 + # Firmware Drivers 1051 + # 1052 + # CONFIG_FIRMWARE_MEMMAP is not set 1053 + # CONFIG_SIGMA is not set 1054 + 1055 + # 1056 + # File systems 1057 + # 1058 + CONFIG_EXT2_FS=y 1059 + # CONFIG_EXT2_FS_XATTR is not set 1060 + # CONFIG_EXT3_FS is not set 1061 + # CONFIG_EXT4_FS is not set 1062 + # CONFIG_REISERFS_FS is not set 1063 + # CONFIG_JFS_FS is not set 1064 + # CONFIG_FS_POSIX_ACL is not set 1065 + # CONFIG_XFS_FS is not set 1066 + # CONFIG_OCFS2_FS is not set 1067 + # CONFIG_BTRFS_FS is not set 1068 + # CONFIG_NILFS2_FS is not set 1069 + CONFIG_FILE_LOCKING=y 1070 + CONFIG_FSNOTIFY=y 1071 + # CONFIG_DNOTIFY is not set 1072 + CONFIG_INOTIFY=y 1073 + CONFIG_INOTIFY_USER=y 1074 + # CONFIG_QUOTA is not set 1075 + # CONFIG_AUTOFS_FS is not set 1076 + # CONFIG_AUTOFS4_FS is not set 1077 + # CONFIG_FUSE_FS is not set 1078 + 1079 + # 1080 + # Caches 1081 + # 1082 + # CONFIG_FSCACHE is not set 1083 + 1084 + # 1085 + # CD-ROM/DVD Filesystems 1086 + # 1087 + # CONFIG_ISO9660_FS is not set 1088 + # CONFIG_UDF_FS is not set 1089 + 1090 + # 1091 + # DOS/FAT/NT Filesystems 1092 + # 1093 + CONFIG_FAT_FS=m 1094 + # CONFIG_MSDOS_FS is not set 1095 + CONFIG_VFAT_FS=m 1096 + CONFIG_FAT_DEFAULT_CODEPAGE=437 1097 + CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" 1098 + # CONFIG_NTFS_FS is not set 1099 + 1100 + # 1101 + # Pseudo filesystems 1102 + # 1103 + CONFIG_PROC_FS=y 1104 + CONFIG_PROC_SYSCTL=y 1105 + CONFIG_SYSFS=y 1106 + # CONFIG_HUGETLB_PAGE is not set 1107 + # CONFIG_CONFIGFS_FS is not set 1108 + # CONFIG_MISC_FILESYSTEMS is not set 1109 + CONFIG_NETWORK_FILESYSTEMS=y 1110 + CONFIG_NFS_FS=y 1111 + CONFIG_NFS_V3=y 1112 + # CONFIG_NFS_V3_ACL is not set 1113 + # CONFIG_NFS_V4 is not set 1114 + CONFIG_ROOT_NFS=y 1115 + # CONFIG_NFSD is not set 1116 + CONFIG_LOCKD=y 1117 + CONFIG_LOCKD_V4=y 1118 + CONFIG_NFS_COMMON=y 1119 + CONFIG_SUNRPC=y 1120 + # CONFIG_RPCSEC_GSS_KRB5 is not set 1121 + # CONFIG_RPCSEC_GSS_SPKM3 is not set 1122 + # CONFIG_SMB_FS is not set 1123 + # CONFIG_CIFS is not set 1124 + # CONFIG_NCP_FS is not set 1125 + # CONFIG_CODA_FS is not set 1126 + # CONFIG_AFS_FS is not set 1127 + 1128 + # 1129 + # Partition Types 1130 + # 1131 + # CONFIG_PARTITION_ADVANCED is not set 1132 + CONFIG_MSDOS_PARTITION=y 1133 + CONFIG_NLS=m 1134 + CONFIG_NLS_DEFAULT="iso8859-1" 1135 + CONFIG_NLS_CODEPAGE_437=m 1136 + # CONFIG_NLS_CODEPAGE_737 is not set 1137 + # CONFIG_NLS_CODEPAGE_775 is not set 1138 + # CONFIG_NLS_CODEPAGE_850 is not set 1139 + # CONFIG_NLS_CODEPAGE_852 is not set 1140 + # CONFIG_NLS_CODEPAGE_855 is not set 1141 + # CONFIG_NLS_CODEPAGE_857 is not set 1142 + # CONFIG_NLS_CODEPAGE_860 is not set 1143 + # CONFIG_NLS_CODEPAGE_861 is not set 1144 + # CONFIG_NLS_CODEPAGE_862 is not set 1145 + # CONFIG_NLS_CODEPAGE_863 is not set 1146 + # CONFIG_NLS_CODEPAGE_864 is not set 1147 + # CONFIG_NLS_CODEPAGE_865 is not set 1148 + # CONFIG_NLS_CODEPAGE_866 is not set 1149 + # CONFIG_NLS_CODEPAGE_869 is not set 1150 + # CONFIG_NLS_CODEPAGE_936 is not set 1151 + # CONFIG_NLS_CODEPAGE_950 is not set 1152 + # CONFIG_NLS_CODEPAGE_932 is not set 1153 + # CONFIG_NLS_CODEPAGE_949 is not set 1154 + # CONFIG_NLS_CODEPAGE_874 is not set 1155 + # CONFIG_NLS_ISO8859_8 is not set 1156 + # CONFIG_NLS_CODEPAGE_1250 is not set 1157 + # CONFIG_NLS_CODEPAGE_1251 is not set 1158 + # CONFIG_NLS_ASCII is not set 1159 + CONFIG_NLS_ISO8859_1=m 1160 + # CONFIG_NLS_ISO8859_2 is not set 1161 + # CONFIG_NLS_ISO8859_3 is not set 1162 + # CONFIG_NLS_ISO8859_4 is not set 1163 + # CONFIG_NLS_ISO8859_5 is not set 1164 + # CONFIG_NLS_ISO8859_6 is not set 1165 + # CONFIG_NLS_ISO8859_7 is not set 1166 + # CONFIG_NLS_ISO8859_9 is not set 1167 + # CONFIG_NLS_ISO8859_13 is not set 1168 + # CONFIG_NLS_ISO8859_14 is not set 1169 + # CONFIG_NLS_ISO8859_15 is not set 1170 + # CONFIG_NLS_KOI8_R is not set 1171 + # CONFIG_NLS_KOI8_U is not set 1172 + CONFIG_NLS_UTF8=m 1173 + # CONFIG_DLM is not set 1174 + 1175 + # 1176 + # Kernel hacking 1177 + # 1178 + # CONFIG_PRINTK_TIME is not set 1179 + CONFIG_ENABLE_WARN_DEPRECATED=y 1180 + CONFIG_ENABLE_MUST_CHECK=y 1181 + CONFIG_FRAME_WARN=1024 1182 + # CONFIG_MAGIC_SYSRQ is not set 1183 + # CONFIG_STRIP_ASM_SYMS is not set 1184 + # CONFIG_UNUSED_SYMBOLS is not set 1185 + CONFIG_DEBUG_FS=y 1186 + # CONFIG_HEADERS_CHECK is not set 1187 + CONFIG_DEBUG_SECTION_MISMATCH=y 1188 + CONFIG_DEBUG_KERNEL=y 1189 + CONFIG_DEBUG_SHIRQ=y 1190 + CONFIG_DETECT_SOFTLOCKUP=y 1191 + # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set 1192 + CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 1193 + CONFIG_DETECT_HUNG_TASK=y 1194 + # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set 1195 + CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 1196 + CONFIG_SCHED_DEBUG=y 1197 + # CONFIG_SCHEDSTATS is not set 1198 + # CONFIG_TIMER_STATS is not set 1199 + # CONFIG_DEBUG_OBJECTS is not set 1200 + # CONFIG_DEBUG_SLAB is not set 1201 + # CONFIG_DEBUG_SPINLOCK is not set 1202 + # CONFIG_DEBUG_MUTEXES is not set 1203 + # CONFIG_DEBUG_LOCK_ALLOC is not set 1204 + # CONFIG_PROVE_LOCKING is not set 1205 + # CONFIG_LOCK_STAT is not set 1206 + # CONFIG_DEBUG_SPINLOCK_SLEEP is not set 1207 + # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set 1208 + # CONFIG_DEBUG_KOBJECT is not set 1209 + CONFIG_DEBUG_BUGVERBOSE=y 1210 + CONFIG_DEBUG_INFO=y 1211 + # CONFIG_DEBUG_VM is not set 1212 + # CONFIG_DEBUG_NOMMU_REGIONS is not set 1213 + # CONFIG_DEBUG_WRITECOUNT is not set 1214 + # CONFIG_DEBUG_MEMORY_INIT is not set 1215 + # CONFIG_DEBUG_LIST is not set 1216 + # CONFIG_DEBUG_SG is not set 1217 + # CONFIG_DEBUG_NOTIFIERS is not set 1218 + # CONFIG_DEBUG_CREDENTIALS is not set 1219 + # CONFIG_FRAME_POINTER is not set 1220 + # CONFIG_BOOT_PRINTK_DELAY is not set 1221 + # CONFIG_RCU_TORTURE_TEST is not set 1222 + # CONFIG_RCU_CPU_STALL_DETECTOR is not set 1223 + # CONFIG_BACKTRACE_SELF_TEST is not set 1224 + # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set 1225 + # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set 1226 + # CONFIG_FAULT_INJECTION is not set 1227 + # CONFIG_PAGE_POISONING is not set 1228 + CONFIG_HAVE_FUNCTION_TRACER=y 1229 + CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y 1230 + CONFIG_TRACING_SUPPORT=y 1231 + # CONFIG_FTRACE is not set 1232 + # CONFIG_DYNAMIC_DEBUG is not set 1233 + # CONFIG_SAMPLES is not set 1234 + CONFIG_HAVE_ARCH_KGDB=y 1235 + # CONFIG_KGDB is not set 1236 + # CONFIG_DEBUG_STACKOVERFLOW is not set 1237 + # CONFIG_DEBUG_STACK_USAGE is not set 1238 + CONFIG_DEBUG_VERBOSE=y 1239 + CONFIG_DEBUG_MMRS=y 1240 + CONFIG_DEBUG_HWERR=y 1241 + CONFIG_EXACT_HWERR=y 1242 + CONFIG_DEBUG_DOUBLEFAULT=y 1243 + CONFIG_DEBUG_DOUBLEFAULT_PRINT=y 1244 + # CONFIG_DEBUG_DOUBLEFAULT_RESET is not set 1245 + # CONFIG_DEBUG_ICACHE_CHECK is not set 1246 + CONFIG_DEBUG_HUNT_FOR_ZERO=y 1247 + CONFIG_DEBUG_BFIN_HWTRACE_ON=y 1248 + # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_OFF is not set 1249 + CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_ONE=y 1250 + # CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION_TWO is not set 1251 + CONFIG_DEBUG_BFIN_HWTRACE_COMPRESSION=1 1252 + # CONFIG_DEBUG_BFIN_HWTRACE_EXPAND is not set 1253 + CONFIG_DEBUG_BFIN_NO_KERN_HWTRACE=y 1254 + CONFIG_EARLY_PRINTK=y 1255 + CONFIG_CPLB_INFO=y 1256 + CONFIG_ACCESS_CHECK=y 1257 + # CONFIG_BFIN_ISRAM_SELF_TEST is not set 1258 + 1259 + # 1260 + # Security options 1261 + # 1262 + # CONFIG_KEYS is not set 1263 + CONFIG_SECURITY=y 1264 + # CONFIG_SECURITYFS is not set 1265 + # CONFIG_SECURITY_NETWORK is not set 1266 + # CONFIG_SECURITY_PATH is not set 1267 + # CONFIG_SECURITY_FILE_CAPABILITIES is not set 1268 + # CONFIG_SECURITY_TOMOYO is not set 1269 + CONFIG_CRYPTO=y 1270 + 1271 + # 1272 + # Crypto core or helper 1273 + # 1274 + # CONFIG_CRYPTO_MANAGER is not set 1275 + # CONFIG_CRYPTO_MANAGER2 is not set 1276 + # CONFIG_CRYPTO_GF128MUL is not set 1277 + # CONFIG_CRYPTO_NULL is not set 1278 + # CONFIG_CRYPTO_CRYPTD is not set 1279 + # CONFIG_CRYPTO_AUTHENC is not set 1280 + # CONFIG_CRYPTO_TEST is not set 1281 + 1282 + # 1283 + # Authenticated Encryption with Associated Data 1284 + # 1285 + # CONFIG_CRYPTO_CCM is not set 1286 + # CONFIG_CRYPTO_GCM is not set 1287 + # CONFIG_CRYPTO_SEQIV is not set 1288 + 1289 + # 1290 + # Block modes 1291 + # 1292 + # CONFIG_CRYPTO_CBC is not set 1293 + # CONFIG_CRYPTO_CTR is not set 1294 + # CONFIG_CRYPTO_CTS is not set 1295 + # CONFIG_CRYPTO_ECB is not set 1296 + # CONFIG_CRYPTO_LRW is not set 1297 + # CONFIG_CRYPTO_PCBC is not set 1298 + # CONFIG_CRYPTO_XTS is not set 1299 + 1300 + # 1301 + # Hash modes 1302 + # 1303 + # CONFIG_CRYPTO_HMAC is not set 1304 + # CONFIG_CRYPTO_XCBC is not set 1305 + # CONFIG_CRYPTO_VMAC is not set 1306 + 1307 + # 1308 + # Digest 1309 + # 1310 + # CONFIG_CRYPTO_CRC32C is not set 1311 + # CONFIG_CRYPTO_GHASH is not set 1312 + # CONFIG_CRYPTO_MD4 is not set 1313 + # CONFIG_CRYPTO_MD5 is not set 1314 + # CONFIG_CRYPTO_MICHAEL_MIC is not set 1315 + # CONFIG_CRYPTO_RMD128 is not set 1316 + # CONFIG_CRYPTO_RMD160 is not set 1317 + # CONFIG_CRYPTO_RMD256 is not set 1318 + # CONFIG_CRYPTO_RMD320 is not set 1319 + # CONFIG_CRYPTO_SHA1 is not set 1320 + # CONFIG_CRYPTO_SHA256 is not set 1321 + # CONFIG_CRYPTO_SHA512 is not set 1322 + # CONFIG_CRYPTO_TGR192 is not set 1323 + # CONFIG_CRYPTO_WP512 is not set 1324 + 1325 + # 1326 + # Ciphers 1327 + # 1328 + # CONFIG_CRYPTO_AES is not set 1329 + # CONFIG_CRYPTO_ANUBIS is not set 1330 + # CONFIG_CRYPTO_ARC4 is not set 1331 + # CONFIG_CRYPTO_BLOWFISH is not set 1332 + # CONFIG_CRYPTO_CAMELLIA is not set 1333 + # CONFIG_CRYPTO_CAST5 is not set 1334 + # CONFIG_CRYPTO_CAST6 is not set 1335 + # CONFIG_CRYPTO_DES is not set 1336 + # CONFIG_CRYPTO_FCRYPT is not set 1337 + # CONFIG_CRYPTO_KHAZAD is not set 1338 + # CONFIG_CRYPTO_SALSA20 is not set 1339 + # CONFIG_CRYPTO_SEED is not set 1340 + # CONFIG_CRYPTO_SERPENT is not set 1341 + # CONFIG_CRYPTO_TEA is not set 1342 + # CONFIG_CRYPTO_TWOFISH is not set 1343 + 1344 + # 1345 + # Compression 1346 + # 1347 + # CONFIG_CRYPTO_DEFLATE is not set 1348 + # CONFIG_CRYPTO_ZLIB is not set 1349 + # CONFIG_CRYPTO_LZO is not set 1350 + 1351 + # 1352 + # Random Number Generation 1353 + # 1354 + # CONFIG_CRYPTO_ANSI_CPRNG is not set 1355 + CONFIG_CRYPTO_HW=y 1356 + # CONFIG_BINARY_PRINTF is not set 1357 + 1358 + # 1359 + # Library routines 1360 + # 1361 + CONFIG_BITREVERSE=y 1362 + CONFIG_GENERIC_FIND_LAST_BIT=y 1363 + CONFIG_CRC_CCITT=m 1364 + # CONFIG_CRC16 is not set 1365 + # CONFIG_CRC_T10DIF is not set 1366 + CONFIG_CRC_ITU_T=y 1367 + CONFIG_CRC32=y 1368 + CONFIG_CRC7=y 1369 + # CONFIG_LIBCRC32C is not set 1370 + CONFIG_ZLIB_INFLATE=y 1371 + CONFIG_DECOMPRESS_LZMA=y 1372 + CONFIG_HAS_IOMEM=y 1373 + CONFIG_HAS_IOPORT=y 1374 + CONFIG_HAS_DMA=y 1375 + CONFIG_NLATTR=y
+5
arch/blackfin/mach-bf518/boards/Kconfig
··· 9 9 help 10 10 BF518-EZBRD board support. 11 11 12 + config BFIN518F_TCM 13 + bool "Bluetechnix TCM-BF518" 14 + help 15 + Bluetechnix TCM-BF518 board support. 16 + 12 17 endchoice
+1
arch/blackfin/mach-bf518/boards/Makefile
··· 3 3 # 4 4 5 5 obj-$(CONFIG_BFIN518F_EZBRD) += ezbrd.o 6 + obj-$(CONFIG_BFIN518F_TCM) += tcm-bf518.o
+753
arch/blackfin/mach-bf518/boards/tcm-bf518.c
··· 1 + /* 2 + * Copyright 2004-2009 Analog Devices Inc. 3 + * 2005 National ICT Australia (NICTA) 4 + * Aidan Williams <aidan@nicta.com.au> 5 + * 6 + * Licensed under the GPL-2 or later. 7 + */ 8 + 9 + #include <linux/device.h> 10 + #include <linux/etherdevice.h> 11 + #include <linux/platform_device.h> 12 + #include <linux/mtd/mtd.h> 13 + #include <linux/mtd/partitions.h> 14 + #include <linux/mtd/physmap.h> 15 + #include <linux/spi/spi.h> 16 + #include <linux/spi/flash.h> 17 + 18 + #include <linux/i2c.h> 19 + #include <linux/irq.h> 20 + #include <linux/interrupt.h> 21 + #include <asm/dma.h> 22 + #include <asm/bfin5xx_spi.h> 23 + #include <asm/reboot.h> 24 + #include <asm/portmux.h> 25 + #include <asm/dpmc.h> 26 + #include <asm/bfin_sdh.h> 27 + #include <linux/spi/ad7877.h> 28 + #include <net/dsa.h> 29 + 30 + /* 31 + * Name the Board for the /proc/cpuinfo 32 + */ 33 + const char bfin_board_name[] = "Bluetechnix TCM-BF518"; 34 + 35 + /* 36 + * Driver needs to know address, irq and flag pin. 37 + */ 38 + 39 + #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) 40 + static struct mtd_partition tcm_partitions[] = { 41 + { 42 + .name = "bootloader(nor)", 43 + .size = 0x40000, 44 + .offset = 0, 45 + }, 46 + { 47 + .name = "linux(nor)", 48 + .size = 0x1C0000, 49 + .offset = MTDPART_OFS_APPEND, 50 + } 51 + }; 52 + 53 + static struct physmap_flash_data tcm_flash_data = { 54 + .width = 2, 55 + .parts = tcm_partitions, 56 + .nr_parts = ARRAY_SIZE(tcm_partitions), 57 + }; 58 + 59 + static struct resource tcm_flash_resource = { 60 + .start = 0x20000000, 61 + .end = 0x201fffff, 62 + .flags = IORESOURCE_MEM, 63 + }; 64 + 65 + static struct platform_device tcm_flash_device = { 66 + .name = "physmap-flash", 67 + .id = 0, 68 + .dev = { 69 + .platform_data = &tcm_flash_data, 70 + }, 71 + .num_resources = 1, 72 + .resource = &tcm_flash_resource, 73 + }; 74 + #endif 75 + 76 + #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) 77 + static struct platform_device rtc_device = { 78 + .name = "rtc-bfin", 79 + .id = -1, 80 + }; 81 + #endif 82 + 83 + #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) 84 + static struct platform_device bfin_mii_bus = { 85 + .name = "bfin_mii_bus", 86 + }; 87 + 88 + static struct platform_device bfin_mac_device = { 89 + .name = "bfin_mac", 90 + .dev.platform_data = &bfin_mii_bus, 91 + }; 92 + #endif 93 + 94 + #if defined(CONFIG_MTD_M25P80) \ 95 + || defined(CONFIG_MTD_M25P80_MODULE) 96 + static struct mtd_partition bfin_spi_flash_partitions[] = { 97 + { 98 + .name = "bootloader(spi)", 99 + .size = 0x00040000, 100 + .offset = 0, 101 + .mask_flags = MTD_CAP_ROM 102 + }, { 103 + .name = "linux kernel(spi)", 104 + .size = MTDPART_SIZ_FULL, 105 + .offset = MTDPART_OFS_APPEND, 106 + } 107 + }; 108 + 109 + static struct flash_platform_data bfin_spi_flash_data = { 110 + .name = "m25p80", 111 + .parts = bfin_spi_flash_partitions, 112 + .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions), 113 + .type = "m25p16", 114 + }; 115 + 116 + /* SPI flash chip (m25p64) */ 117 + static struct bfin5xx_spi_chip spi_flash_chip_info = { 118 + .enable_dma = 0, /* use dma transfer with this chip*/ 119 + .bits_per_word = 8, 120 + }; 121 + #endif 122 + 123 + #if defined(CONFIG_BFIN_SPI_ADC) \ 124 + || defined(CONFIG_BFIN_SPI_ADC_MODULE) 125 + /* SPI ADC chip */ 126 + static struct bfin5xx_spi_chip spi_adc_chip_info = { 127 + .enable_dma = 1, /* use dma transfer with this chip*/ 128 + .bits_per_word = 16, 129 + }; 130 + #endif 131 + 132 + #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) 133 + static struct bfin5xx_spi_chip mmc_spi_chip_info = { 134 + .enable_dma = 0, 135 + .bits_per_word = 8, 136 + }; 137 + #endif 138 + 139 + #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) 140 + static struct bfin5xx_spi_chip spi_ad7877_chip_info = { 141 + .enable_dma = 0, 142 + .bits_per_word = 16, 143 + }; 144 + 145 + static const struct ad7877_platform_data bfin_ad7877_ts_info = { 146 + .model = 7877, 147 + .vref_delay_usecs = 50, /* internal, no capacitor */ 148 + .x_plate_ohms = 419, 149 + .y_plate_ohms = 486, 150 + .pressure_max = 1000, 151 + .pressure_min = 0, 152 + .stopacq_polarity = 1, 153 + .first_conversion_delay = 3, 154 + .acquisition_time = 1, 155 + .averaging = 1, 156 + .pen_down_acc_interval = 1, 157 + }; 158 + #endif 159 + 160 + #if defined(CONFIG_SND_SOC_WM8731) || defined(CONFIG_SND_SOC_WM8731_MODULE) \ 161 + && defined(CONFIG_SND_SOC_WM8731_SPI) 162 + static struct bfin5xx_spi_chip spi_wm8731_chip_info = { 163 + .enable_dma = 0, 164 + .bits_per_word = 16, 165 + }; 166 + #endif 167 + 168 + #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) 169 + static struct bfin5xx_spi_chip spidev_chip_info = { 170 + .enable_dma = 0, 171 + .bits_per_word = 8, 172 + }; 173 + #endif 174 + 175 + static struct spi_board_info bfin_spi_board_info[] __initdata = { 176 + #if defined(CONFIG_MTD_M25P80) \ 177 + || defined(CONFIG_MTD_M25P80_MODULE) 178 + { 179 + /* the modalias must be the same as spi device driver name */ 180 + .modalias = "m25p80", /* Name of spi_driver for this device */ 181 + .max_speed_hz = 25000000, /* max spi clock (SCK) speed in HZ */ 182 + .bus_num = 0, /* Framework bus number */ 183 + .chip_select = 2, /* SPI0_SSEL2 */ 184 + .platform_data = &bfin_spi_flash_data, 185 + .controller_data = &spi_flash_chip_info, 186 + .mode = SPI_MODE_3, 187 + }, 188 + #endif 189 + 190 + #if defined(CONFIG_BFIN_SPI_ADC) \ 191 + || defined(CONFIG_BFIN_SPI_ADC_MODULE) 192 + { 193 + .modalias = "bfin_spi_adc", /* Name of spi_driver for this device */ 194 + .max_speed_hz = 6250000, /* max spi clock (SCK) speed in HZ */ 195 + .bus_num = 0, /* Framework bus number */ 196 + .chip_select = 1, /* Framework chip select. */ 197 + .platform_data = NULL, /* No spi_driver specific config */ 198 + .controller_data = &spi_adc_chip_info, 199 + }, 200 + #endif 201 + 202 + #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) 203 + { 204 + .modalias = "mmc_spi", 205 + .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */ 206 + .bus_num = 0, 207 + .chip_select = 5, 208 + .controller_data = &mmc_spi_chip_info, 209 + .mode = SPI_MODE_3, 210 + }, 211 + #endif 212 + #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) 213 + { 214 + .modalias = "ad7877", 215 + .platform_data = &bfin_ad7877_ts_info, 216 + .irq = IRQ_PF8, 217 + .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ 218 + .bus_num = 0, 219 + .chip_select = 2, 220 + .controller_data = &spi_ad7877_chip_info, 221 + }, 222 + #endif 223 + #if defined(CONFIG_SND_SOC_WM8731) || defined(CONFIG_SND_SOC_WM8731_MODULE) \ 224 + && defined(CONFIG_SND_SOC_WM8731_SPI) 225 + { 226 + .modalias = "wm8731", 227 + .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ 228 + .bus_num = 0, 229 + .chip_select = 5, 230 + .controller_data = &spi_wm8731_chip_info, 231 + .mode = SPI_MODE_0, 232 + }, 233 + #endif 234 + #if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) 235 + { 236 + .modalias = "spidev", 237 + .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ 238 + .bus_num = 0, 239 + .chip_select = 1, 240 + .controller_data = &spidev_chip_info, 241 + }, 242 + #endif 243 + #if defined(CONFIG_FB_BFIN_LQ035Q1) || defined(CONFIG_FB_BFIN_LQ035Q1_MODULE) 244 + { 245 + .modalias = "bfin-lq035q1-spi", 246 + .max_speed_hz = 20000000, /* max spi clock (SCK) speed in HZ */ 247 + .bus_num = 0, 248 + .chip_select = 1, 249 + .controller_data = &lq035q1_spi_chip_info, 250 + .mode = SPI_CPHA | SPI_CPOL, 251 + }, 252 + #endif 253 + }; 254 + 255 + /* SPI controller data */ 256 + #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) 257 + /* SPI (0) */ 258 + static struct bfin5xx_spi_master bfin_spi0_info = { 259 + .num_chipselect = 6, 260 + .enable_dma = 1, /* master has the ability to do dma transfer */ 261 + .pin_req = {P_SPI0_SCK, P_SPI0_MISO, P_SPI0_MOSI, 0}, 262 + }; 263 + 264 + static struct resource bfin_spi0_resource[] = { 265 + [0] = { 266 + .start = SPI0_REGBASE, 267 + .end = SPI0_REGBASE + 0xFF, 268 + .flags = IORESOURCE_MEM, 269 + }, 270 + [1] = { 271 + .start = CH_SPI0, 272 + .end = CH_SPI0, 273 + .flags = IORESOURCE_DMA, 274 + }, 275 + [2] = { 276 + .start = IRQ_SPI0, 277 + .end = IRQ_SPI0, 278 + .flags = IORESOURCE_IRQ, 279 + }, 280 + }; 281 + 282 + static struct platform_device bfin_spi0_device = { 283 + .name = "bfin-spi", 284 + .id = 0, /* Bus number */ 285 + .num_resources = ARRAY_SIZE(bfin_spi0_resource), 286 + .resource = bfin_spi0_resource, 287 + .dev = { 288 + .platform_data = &bfin_spi0_info, /* Passed to driver */ 289 + }, 290 + }; 291 + 292 + /* SPI (1) */ 293 + static struct bfin5xx_spi_master bfin_spi1_info = { 294 + .num_chipselect = 5, 295 + .enable_dma = 1, /* master has the ability to do dma transfer */ 296 + .pin_req = {P_SPI1_SCK, P_SPI1_MISO, P_SPI1_MOSI, 0}, 297 + }; 298 + 299 + static struct resource bfin_spi1_resource[] = { 300 + [0] = { 301 + .start = SPI1_REGBASE, 302 + .end = SPI1_REGBASE + 0xFF, 303 + .flags = IORESOURCE_MEM, 304 + }, 305 + [1] = { 306 + .start = CH_SPI1, 307 + .end = CH_SPI1, 308 + .flags = IORESOURCE_DMA, 309 + }, 310 + [2] = { 311 + .start = IRQ_SPI1, 312 + .end = IRQ_SPI1, 313 + .flags = IORESOURCE_IRQ, 314 + }, 315 + }; 316 + 317 + static struct platform_device bfin_spi1_device = { 318 + .name = "bfin-spi", 319 + .id = 1, /* Bus number */ 320 + .num_resources = ARRAY_SIZE(bfin_spi1_resource), 321 + .resource = bfin_spi1_resource, 322 + .dev = { 323 + .platform_data = &bfin_spi1_info, /* Passed to driver */ 324 + }, 325 + }; 326 + #endif /* spi master and devices */ 327 + 328 + #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) 329 + #ifdef CONFIG_SERIAL_BFIN_UART0 330 + static struct resource bfin_uart0_resources[] = { 331 + { 332 + .start = UART0_THR, 333 + .end = UART0_GCTL+2, 334 + .flags = IORESOURCE_MEM, 335 + }, 336 + { 337 + .start = IRQ_UART0_RX, 338 + .end = IRQ_UART0_RX+1, 339 + .flags = IORESOURCE_IRQ, 340 + }, 341 + { 342 + .start = IRQ_UART0_ERROR, 343 + .end = IRQ_UART0_ERROR, 344 + .flags = IORESOURCE_IRQ, 345 + }, 346 + { 347 + .start = CH_UART0_TX, 348 + .end = CH_UART0_TX, 349 + .flags = IORESOURCE_DMA, 350 + }, 351 + { 352 + .start = CH_UART0_RX, 353 + .end = CH_UART0_RX, 354 + .flags = IORESOURCE_DMA, 355 + }, 356 + }; 357 + 358 + unsigned short bfin_uart0_peripherals[] = { 359 + P_UART0_TX, P_UART0_RX, 0 360 + }; 361 + 362 + static struct platform_device bfin_uart0_device = { 363 + .name = "bfin-uart", 364 + .id = 0, 365 + .num_resources = ARRAY_SIZE(bfin_uart0_resources), 366 + .resource = bfin_uart0_resources, 367 + .dev = { 368 + .platform_data = &bfin_uart0_peripherals, /* Passed to driver */ 369 + }, 370 + }; 371 + #endif 372 + #ifdef CONFIG_SERIAL_BFIN_UART1 373 + static struct resource bfin_uart1_resources[] = { 374 + { 375 + .start = UART1_THR, 376 + .end = UART1_GCTL+2, 377 + .flags = IORESOURCE_MEM, 378 + }, 379 + { 380 + .start = IRQ_UART1_RX, 381 + .end = IRQ_UART1_RX+1, 382 + .flags = IORESOURCE_IRQ, 383 + }, 384 + { 385 + .start = IRQ_UART1_ERROR, 386 + .end = IRQ_UART1_ERROR, 387 + .flags = IORESOURCE_IRQ, 388 + }, 389 + { 390 + .start = CH_UART1_TX, 391 + .end = CH_UART1_TX, 392 + .flags = IORESOURCE_DMA, 393 + }, 394 + { 395 + .start = CH_UART1_RX, 396 + .end = CH_UART1_RX, 397 + .flags = IORESOURCE_DMA, 398 + }, 399 + }; 400 + 401 + unsigned short bfin_uart1_peripherals[] = { 402 + P_UART1_TX, P_UART1_RX, 0 403 + }; 404 + 405 + static struct platform_device bfin_uart1_device = { 406 + .name = "bfin-uart", 407 + .id = 1, 408 + .num_resources = ARRAY_SIZE(bfin_uart1_resources), 409 + .resource = bfin_uart1_resources, 410 + .dev = { 411 + .platform_data = &bfin_uart1_peripherals, /* Passed to driver */ 412 + }, 413 + }; 414 + #endif 415 + #endif 416 + 417 + #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) 418 + #ifdef CONFIG_BFIN_SIR0 419 + static struct resource bfin_sir0_resources[] = { 420 + { 421 + .start = 0xFFC00400, 422 + .end = 0xFFC004FF, 423 + .flags = IORESOURCE_MEM, 424 + }, 425 + { 426 + .start = IRQ_UART0_RX, 427 + .end = IRQ_UART0_RX+1, 428 + .flags = IORESOURCE_IRQ, 429 + }, 430 + { 431 + .start = CH_UART0_RX, 432 + .end = CH_UART0_RX+1, 433 + .flags = IORESOURCE_DMA, 434 + }, 435 + }; 436 + 437 + static struct platform_device bfin_sir0_device = { 438 + .name = "bfin_sir", 439 + .id = 0, 440 + .num_resources = ARRAY_SIZE(bfin_sir0_resources), 441 + .resource = bfin_sir0_resources, 442 + }; 443 + #endif 444 + #ifdef CONFIG_BFIN_SIR1 445 + static struct resource bfin_sir1_resources[] = { 446 + { 447 + .start = 0xFFC02000, 448 + .end = 0xFFC020FF, 449 + .flags = IORESOURCE_MEM, 450 + }, 451 + { 452 + .start = IRQ_UART1_RX, 453 + .end = IRQ_UART1_RX+1, 454 + .flags = IORESOURCE_IRQ, 455 + }, 456 + { 457 + .start = CH_UART1_RX, 458 + .end = CH_UART1_RX+1, 459 + .flags = IORESOURCE_DMA, 460 + }, 461 + }; 462 + 463 + static struct platform_device bfin_sir1_device = { 464 + .name = "bfin_sir", 465 + .id = 1, 466 + .num_resources = ARRAY_SIZE(bfin_sir1_resources), 467 + .resource = bfin_sir1_resources, 468 + }; 469 + #endif 470 + #endif 471 + 472 + #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) 473 + static struct resource bfin_twi0_resource[] = { 474 + [0] = { 475 + .start = TWI0_REGBASE, 476 + .end = TWI0_REGBASE, 477 + .flags = IORESOURCE_MEM, 478 + }, 479 + [1] = { 480 + .start = IRQ_TWI, 481 + .end = IRQ_TWI, 482 + .flags = IORESOURCE_IRQ, 483 + }, 484 + }; 485 + 486 + static struct platform_device i2c_bfin_twi_device = { 487 + .name = "i2c-bfin-twi", 488 + .id = 0, 489 + .num_resources = ARRAY_SIZE(bfin_twi0_resource), 490 + .resource = bfin_twi0_resource, 491 + }; 492 + #endif 493 + 494 + static struct i2c_board_info __initdata bfin_i2c_board_info[] = { 495 + #if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE) 496 + { 497 + I2C_BOARD_INFO("pcf8574_lcd", 0x22), 498 + }, 499 + #endif 500 + #if defined(CONFIG_INPUT_PCF8574) || defined(CONFIG_INPUT_PCF8574_MODULE) 501 + { 502 + I2C_BOARD_INFO("pcf8574_keypad", 0x27), 503 + .irq = IRQ_PF8, 504 + }, 505 + #endif 506 + }; 507 + 508 + #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) 509 + #ifdef CONFIG_SERIAL_BFIN_SPORT0_UART 510 + static struct resource bfin_sport0_uart_resources[] = { 511 + { 512 + .start = SPORT0_TCR1, 513 + .end = SPORT0_MRCS3+4, 514 + .flags = IORESOURCE_MEM, 515 + }, 516 + { 517 + .start = IRQ_SPORT0_RX, 518 + .end = IRQ_SPORT0_RX+1, 519 + .flags = IORESOURCE_IRQ, 520 + }, 521 + { 522 + .start = IRQ_SPORT0_ERROR, 523 + .end = IRQ_SPORT0_ERROR, 524 + .flags = IORESOURCE_IRQ, 525 + }, 526 + }; 527 + 528 + unsigned short bfin_sport0_peripherals[] = { 529 + P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, 530 + P_SPORT0_DRPRI, P_SPORT0_RSCLK, P_SPORT0_DRSEC, P_SPORT0_DTSEC, 0 531 + }; 532 + 533 + static struct platform_device bfin_sport0_uart_device = { 534 + .name = "bfin-sport-uart", 535 + .id = 0, 536 + .num_resources = ARRAY_SIZE(bfin_sport0_uart_resources), 537 + .resource = bfin_sport0_uart_resources, 538 + .dev = { 539 + .platform_data = &bfin_sport0_peripherals, /* Passed to driver */ 540 + }, 541 + }; 542 + #endif 543 + #ifdef CONFIG_SERIAL_BFIN_SPORT1_UART 544 + static struct resource bfin_sport1_uart_resources[] = { 545 + { 546 + .start = SPORT1_TCR1, 547 + .end = SPORT1_MRCS3+4, 548 + .flags = IORESOURCE_MEM, 549 + }, 550 + { 551 + .start = IRQ_SPORT1_RX, 552 + .end = IRQ_SPORT1_RX+1, 553 + .flags = IORESOURCE_IRQ, 554 + }, 555 + { 556 + .start = IRQ_SPORT1_ERROR, 557 + .end = IRQ_SPORT1_ERROR, 558 + .flags = IORESOURCE_IRQ, 559 + }, 560 + }; 561 + 562 + unsigned short bfin_sport1_peripherals[] = { 563 + P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, 564 + P_SPORT1_DRPRI, P_SPORT1_RSCLK, P_SPORT1_DRSEC, P_SPORT1_DTSEC, 0 565 + }; 566 + 567 + static struct platform_device bfin_sport1_uart_device = { 568 + .name = "bfin-sport-uart", 569 + .id = 1, 570 + .num_resources = ARRAY_SIZE(bfin_sport1_uart_resources), 571 + .resource = bfin_sport1_uart_resources, 572 + .dev = { 573 + .platform_data = &bfin_sport1_peripherals, /* Passed to driver */ 574 + }, 575 + }; 576 + #endif 577 + #endif 578 + 579 + #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) 580 + #include <linux/input.h> 581 + #include <linux/gpio_keys.h> 582 + 583 + static struct gpio_keys_button bfin_gpio_keys_table[] = { 584 + {BTN_0, GPIO_PG0, 1, "gpio-keys: BTN0"}, 585 + {BTN_1, GPIO_PG13, 1, "gpio-keys: BTN1"}, 586 + }; 587 + 588 + static struct gpio_keys_platform_data bfin_gpio_keys_data = { 589 + .buttons = bfin_gpio_keys_table, 590 + .nbuttons = ARRAY_SIZE(bfin_gpio_keys_table), 591 + }; 592 + 593 + static struct platform_device bfin_device_gpiokeys = { 594 + .name = "gpio-keys", 595 + .dev = { 596 + .platform_data = &bfin_gpio_keys_data, 597 + }, 598 + }; 599 + #endif 600 + 601 + #if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN_MODULE) 602 + 603 + static struct bfin_sd_host bfin_sdh_data = { 604 + .dma_chan = CH_RSI, 605 + .irq_int0 = IRQ_RSI_INT0, 606 + .pin_req = {P_RSI_DATA0, P_RSI_DATA1, P_RSI_DATA2, P_RSI_DATA3, P_RSI_CMD, P_RSI_CLK, 0}, 607 + }; 608 + 609 + static struct platform_device bf51x_sdh_device = { 610 + .name = "bfin-sdh", 611 + .id = 0, 612 + .dev = { 613 + .platform_data = &bfin_sdh_data, 614 + }, 615 + }; 616 + #endif 617 + 618 + static const unsigned int cclk_vlev_datasheet[] = 619 + { 620 + VRPAIR(VLEV_100, 400000000), 621 + VRPAIR(VLEV_105, 426000000), 622 + VRPAIR(VLEV_110, 500000000), 623 + VRPAIR(VLEV_115, 533000000), 624 + VRPAIR(VLEV_120, 600000000), 625 + }; 626 + 627 + static struct bfin_dpmc_platform_data bfin_dmpc_vreg_data = { 628 + .tuple_tab = cclk_vlev_datasheet, 629 + .tabsize = ARRAY_SIZE(cclk_vlev_datasheet), 630 + .vr_settling_time = 25 /* us */, 631 + }; 632 + 633 + static struct platform_device bfin_dpmc = { 634 + .name = "bfin dpmc", 635 + .dev = { 636 + .platform_data = &bfin_dmpc_vreg_data, 637 + }, 638 + }; 639 + 640 + static struct platform_device *tcm_devices[] __initdata = { 641 + 642 + &bfin_dpmc, 643 + 644 + #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) 645 + &rtc_device, 646 + #endif 647 + 648 + #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) 649 + &bfin_mii_bus, 650 + &bfin_mac_device, 651 + #endif 652 + 653 + #if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE) 654 + &bfin_spi0_device, 655 + &bfin_spi1_device, 656 + #endif 657 + 658 + #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) 659 + #ifdef CONFIG_SERIAL_BFIN_UART0 660 + &bfin_uart0_device, 661 + #endif 662 + #ifdef CONFIG_SERIAL_BFIN_UART1 663 + &bfin_uart1_device, 664 + #endif 665 + #endif 666 + 667 + #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) 668 + #ifdef CONFIG_BFIN_SIR0 669 + &bfin_sir0_device, 670 + #endif 671 + #ifdef CONFIG_BFIN_SIR1 672 + &bfin_sir1_device, 673 + #endif 674 + #endif 675 + 676 + #if defined(CONFIG_I2C_BLACKFIN_TWI) || defined(CONFIG_I2C_BLACKFIN_TWI_MODULE) 677 + &i2c_bfin_twi_device, 678 + #endif 679 + 680 + #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) 681 + #ifdef CONFIG_SERIAL_BFIN_SPORT0_UART 682 + &bfin_sport0_uart_device, 683 + #endif 684 + #ifdef CONFIG_SERIAL_BFIN_SPORT1_UART 685 + &bfin_sport1_uart_device, 686 + #endif 687 + #endif 688 + 689 + #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) 690 + &bfin_device_gpiokeys, 691 + #endif 692 + 693 + #if defined(CONFIG_SDH_BFIN) || defined(CONFIG_SDH_BFIN_MODULE) 694 + &bf51x_sdh_device, 695 + #endif 696 + 697 + #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) 698 + &tcm_flash_device, 699 + #endif 700 + }; 701 + 702 + static int __init tcm_init(void) 703 + { 704 + printk(KERN_INFO "%s(): registering device resources\n", __func__); 705 + i2c_register_board_info(0, bfin_i2c_board_info, 706 + ARRAY_SIZE(bfin_i2c_board_info)); 707 + platform_add_devices(tcm_devices, ARRAY_SIZE(tcm_devices)); 708 + spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); 709 + return 0; 710 + } 711 + 712 + arch_initcall(tcm_init); 713 + 714 + static struct platform_device *tcm_early_devices[] __initdata = { 715 + #if defined(CONFIG_SERIAL_BFIN_CONSOLE) || defined(CONFIG_EARLY_PRINTK) 716 + #ifdef CONFIG_SERIAL_BFIN_UART0 717 + &bfin_uart0_device, 718 + #endif 719 + #ifdef CONFIG_SERIAL_BFIN_UART1 720 + &bfin_uart1_device, 721 + #endif 722 + #endif 723 + 724 + #if defined(CONFIG_SERIAL_BFIN_SPORT_CONSOLE) 725 + #ifdef CONFIG_SERIAL_BFIN_SPORT0_UART 726 + &bfin_sport0_uart_device, 727 + #endif 728 + #ifdef CONFIG_SERIAL_BFIN_SPORT1_UART 729 + &bfin_sport1_uart_device, 730 + #endif 731 + #endif 732 + }; 733 + 734 + void __init native_machine_early_platform_add_devices(void) 735 + { 736 + printk(KERN_INFO "register early platform devices\n"); 737 + early_platform_add_devices(tcm_early_devices, 738 + ARRAY_SIZE(tcm_early_devices)); 739 + } 740 + 741 + void native_machine_restart(char *cmd) 742 + { 743 + /* workaround reboot hang when booting from SPI */ 744 + if ((bfin_read_SYSCR() & 0x7) == 0x3) 745 + bfin_reset_boot_spi_cs(P_DEFAULT_BOOT_SPI_CS); 746 + } 747 + 748 + void bfin_get_ether_addr(char *addr) 749 + { 750 + random_ether_addr(addr); 751 + printk(KERN_WARNING "%s:%s: Setting Ethernet MAC to a random one\n", __FILE__, __func__); 752 + } 753 + EXPORT_SYMBOL(bfin_get_ether_addr);