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

i.MX27: Adding PCM038 platform support

This patch adds support for the phyCORE-i.MX27 cpu module (aka pcm038).
It is as generic as possible in order to support any kind of baseboard.

Note: This CPU module implementation can't work without a baseboard
support. Baseboard support can be added by the PCM-970 (included in
this patch stack) or any custom variant.

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>

authored by

Juergen Beisert and committed by
Robert Schwebel
7e5e9f54 80eedae6

+1255
+1008
arch/arm/configs/pcm038_defconfig
··· 1 + # 2 + # Automatically generated make config: don't edit 3 + # Linux kernel version: 2.6.26-rc6 4 + # Fri Jun 20 16:38:36 2008 5 + # 6 + CONFIG_ARM=y 7 + CONFIG_SYS_SUPPORTS_APM_EMULATION=y 8 + CONFIG_GENERIC_GPIO=y 9 + CONFIG_GENERIC_TIME=y 10 + CONFIG_GENERIC_CLOCKEVENTS=y 11 + CONFIG_MMU=y 12 + # CONFIG_NO_IOPORT is not set 13 + CONFIG_GENERIC_HARDIRQS=y 14 + CONFIG_STACKTRACE_SUPPORT=y 15 + CONFIG_LOCKDEP_SUPPORT=y 16 + CONFIG_TRACE_IRQFLAGS_SUPPORT=y 17 + CONFIG_HARDIRQS_SW_RESEND=y 18 + CONFIG_GENERIC_IRQ_PROBE=y 19 + CONFIG_RWSEM_GENERIC_SPINLOCK=y 20 + # CONFIG_ARCH_HAS_ILOG2_U32 is not set 21 + # CONFIG_ARCH_HAS_ILOG2_U64 is not set 22 + CONFIG_GENERIC_HWEIGHT=y 23 + CONFIG_GENERIC_CALIBRATE_DELAY=y 24 + CONFIG_ARCH_SUPPORTS_AOUT=y 25 + CONFIG_ZONE_DMA=y 26 + CONFIG_ARCH_MTD_XIP=y 27 + CONFIG_VECTORS_BASE=0xffff0000 28 + CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" 29 + 30 + # 31 + # General setup 32 + # 33 + CONFIG_EXPERIMENTAL=y 34 + CONFIG_BROKEN_ON_SMP=y 35 + CONFIG_LOCK_KERNEL=y 36 + CONFIG_INIT_ENV_ARG_LIMIT=32 37 + CONFIG_LOCALVERSION="" 38 + CONFIG_LOCALVERSION_AUTO=y 39 + # CONFIG_SWAP is not set 40 + CONFIG_SYSVIPC=y 41 + CONFIG_SYSVIPC_SYSCTL=y 42 + CONFIG_POSIX_MQUEUE=y 43 + # CONFIG_BSD_PROCESS_ACCT is not set 44 + # CONFIG_TASKSTATS is not set 45 + # CONFIG_AUDIT is not set 46 + # CONFIG_IKCONFIG is not set 47 + CONFIG_LOG_BUF_SHIFT=14 48 + # CONFIG_CGROUPS is not set 49 + CONFIG_GROUP_SCHED=y 50 + CONFIG_FAIR_GROUP_SCHED=y 51 + CONFIG_RT_GROUP_SCHED=y 52 + CONFIG_USER_SCHED=y 53 + # CONFIG_CGROUP_SCHED is not set 54 + # CONFIG_SYSFS_DEPRECATED_V2 is not set 55 + # CONFIG_RELAY is not set 56 + # CONFIG_NAMESPACES is not set 57 + # CONFIG_BLK_DEV_INITRD is not set 58 + # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set 59 + CONFIG_SYSCTL=y 60 + CONFIG_EMBEDDED=y 61 + CONFIG_UID16=y 62 + CONFIG_SYSCTL_SYSCALL=y 63 + CONFIG_SYSCTL_SYSCALL_CHECK=y 64 + CONFIG_KALLSYMS=y 65 + CONFIG_KALLSYMS_EXTRA_PASS=y 66 + CONFIG_HOTPLUG=y 67 + CONFIG_PRINTK=y 68 + CONFIG_BUG=y 69 + CONFIG_ELF_CORE=y 70 + # CONFIG_COMPAT_BRK is not set 71 + CONFIG_BASE_FULL=y 72 + CONFIG_FUTEX=y 73 + CONFIG_ANON_INODES=y 74 + CONFIG_EPOLL=y 75 + CONFIG_SIGNALFD=y 76 + CONFIG_TIMERFD=y 77 + CONFIG_EVENTFD=y 78 + CONFIG_SHMEM=y 79 + CONFIG_VM_EVENT_COUNTERS=y 80 + CONFIG_SLAB=y 81 + # CONFIG_SLUB is not set 82 + # CONFIG_SLOB is not set 83 + CONFIG_PROFILING=y 84 + CONFIG_MARKERS=y 85 + CONFIG_OPROFILE=y 86 + CONFIG_HAVE_OPROFILE=y 87 + CONFIG_KPROBES=y 88 + CONFIG_KRETPROBES=y 89 + CONFIG_HAVE_KPROBES=y 90 + CONFIG_HAVE_KRETPROBES=y 91 + # CONFIG_HAVE_DMA_ATTRS is not set 92 + # CONFIG_PROC_PAGE_MONITOR is not set 93 + CONFIG_SLABINFO=y 94 + CONFIG_RT_MUTEXES=y 95 + # CONFIG_TINY_SHMEM is not set 96 + CONFIG_BASE_SMALL=0 97 + CONFIG_MODULES=y 98 + # CONFIG_MODULE_FORCE_LOAD is not set 99 + CONFIG_MODULE_UNLOAD=y 100 + # CONFIG_MODULE_FORCE_UNLOAD is not set 101 + # CONFIG_MODVERSIONS is not set 102 + # CONFIG_MODULE_SRCVERSION_ALL is not set 103 + # CONFIG_KMOD is not set 104 + CONFIG_BLOCK=y 105 + # CONFIG_LBD is not set 106 + # CONFIG_BLK_DEV_IO_TRACE is not set 107 + # CONFIG_LSF is not set 108 + # CONFIG_BLK_DEV_BSG is not set 109 + 110 + # 111 + # IO Schedulers 112 + # 113 + CONFIG_IOSCHED_NOOP=y 114 + # CONFIG_IOSCHED_AS is not set 115 + # CONFIG_IOSCHED_DEADLINE is not set 116 + # CONFIG_IOSCHED_CFQ is not set 117 + # CONFIG_DEFAULT_AS is not set 118 + # CONFIG_DEFAULT_DEADLINE is not set 119 + # CONFIG_DEFAULT_CFQ is not set 120 + CONFIG_DEFAULT_NOOP=y 121 + CONFIG_DEFAULT_IOSCHED="noop" 122 + CONFIG_CLASSIC_RCU=y 123 + 124 + # 125 + # System Type 126 + # 127 + # CONFIG_ARCH_AAEC2000 is not set 128 + # CONFIG_ARCH_INTEGRATOR is not set 129 + # CONFIG_ARCH_REALVIEW is not set 130 + # CONFIG_ARCH_VERSATILE is not set 131 + # CONFIG_ARCH_AT91 is not set 132 + # CONFIG_ARCH_CLPS7500 is not set 133 + # CONFIG_ARCH_CLPS711X is not set 134 + # CONFIG_ARCH_CO285 is not set 135 + # CONFIG_ARCH_EBSA110 is not set 136 + # CONFIG_ARCH_EP93XX is not set 137 + # CONFIG_ARCH_FOOTBRIDGE is not set 138 + # CONFIG_ARCH_NETX is not set 139 + # CONFIG_ARCH_H720X is not set 140 + # CONFIG_ARCH_IMX is not set 141 + # CONFIG_ARCH_IOP13XX is not set 142 + # CONFIG_ARCH_IOP32X is not set 143 + # CONFIG_ARCH_IOP33X is not set 144 + # CONFIG_ARCH_IXP23XX is not set 145 + # CONFIG_ARCH_IXP2000 is not set 146 + # CONFIG_ARCH_IXP4XX is not set 147 + # CONFIG_ARCH_L7200 is not set 148 + # CONFIG_ARCH_KS8695 is not set 149 + # CONFIG_ARCH_NS9XXX is not set 150 + CONFIG_ARCH_MXC=y 151 + # CONFIG_ARCH_ORION5X is not set 152 + # CONFIG_ARCH_PNX4008 is not set 153 + # CONFIG_ARCH_PXA is not set 154 + # CONFIG_ARCH_RPC is not set 155 + # CONFIG_ARCH_SA1100 is not set 156 + # CONFIG_ARCH_S3C2410 is not set 157 + # CONFIG_ARCH_SHARK is not set 158 + # CONFIG_ARCH_LH7A40X is not set 159 + # CONFIG_ARCH_DAVINCI is not set 160 + # CONFIG_ARCH_OMAP is not set 161 + # CONFIG_ARCH_MSM7X00A is not set 162 + 163 + # 164 + # Boot options 165 + # 166 + 167 + # 168 + # Power management 169 + # 170 + 171 + # 172 + # Freescale MXC Implementations 173 + # 174 + CONFIG_ARCH_MX2=y 175 + # CONFIG_ARCH_MX3 is not set 176 + 177 + # 178 + # MX2 family CPU support 179 + # 180 + CONFIG_MACH_MX27=y 181 + 182 + # 183 + # MX2 Platforms 184 + # 185 + # CONFIG_MACH_MX27ADS is not set 186 + CONFIG_MACH_PCM038=y 187 + CONFIG_MACH_PCM970_BASEBOARD=y 188 + 189 + # 190 + # Processor Type 191 + # 192 + CONFIG_CPU_32=y 193 + CONFIG_CPU_ARM926T=y 194 + CONFIG_CPU_32v5=y 195 + CONFIG_CPU_ABRT_EV5TJ=y 196 + CONFIG_CPU_PABRT_NOIFAR=y 197 + CONFIG_CPU_CACHE_VIVT=y 198 + CONFIG_CPU_COPY_V4WB=y 199 + CONFIG_CPU_TLB_V4WBI=y 200 + CONFIG_CPU_CP15=y 201 + CONFIG_CPU_CP15_MMU=y 202 + 203 + # 204 + # Processor Features 205 + # 206 + CONFIG_ARM_THUMB=y 207 + # CONFIG_CPU_ICACHE_DISABLE is not set 208 + # CONFIG_CPU_DCACHE_DISABLE is not set 209 + # CONFIG_CPU_DCACHE_WRITETHROUGH is not set 210 + # CONFIG_CPU_CACHE_ROUND_ROBIN is not set 211 + # CONFIG_OUTER_CACHE is not set 212 + 213 + # 214 + # Bus support 215 + # 216 + # CONFIG_PCI_SYSCALL is not set 217 + # CONFIG_ARCH_SUPPORTS_MSI is not set 218 + # CONFIG_PCCARD is not set 219 + 220 + # 221 + # Kernel Features 222 + # 223 + CONFIG_TICK_ONESHOT=y 224 + CONFIG_NO_HZ=y 225 + CONFIG_HIGH_RES_TIMERS=y 226 + CONFIG_GENERIC_CLOCKEVENTS_BUILD=y 227 + CONFIG_PREEMPT=y 228 + CONFIG_HZ=100 229 + CONFIG_AEABI=y 230 + # CONFIG_OABI_COMPAT is not set 231 + # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set 232 + CONFIG_SELECT_MEMORY_MODEL=y 233 + CONFIG_FLATMEM_MANUAL=y 234 + # CONFIG_DISCONTIGMEM_MANUAL is not set 235 + # CONFIG_SPARSEMEM_MANUAL is not set 236 + CONFIG_FLATMEM=y 237 + CONFIG_FLAT_NODE_MEM_MAP=y 238 + # CONFIG_SPARSEMEM_STATIC is not set 239 + # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set 240 + CONFIG_PAGEFLAGS_EXTENDED=y 241 + CONFIG_SPLIT_PTLOCK_CPUS=4096 242 + # CONFIG_RESOURCES_64BIT is not set 243 + CONFIG_ZONE_DMA_FLAG=1 244 + CONFIG_BOUNCE=y 245 + CONFIG_VIRT_TO_BUS=y 246 + CONFIG_ALIGNMENT_TRAP=y 247 + 248 + # 249 + # Boot options 250 + # 251 + CONFIG_ZBOOT_ROM_TEXT=0x0 252 + CONFIG_ZBOOT_ROM_BSS=0x0 253 + CONFIG_CMDLINE="" 254 + # CONFIG_XIP_KERNEL is not set 255 + # CONFIG_KEXEC is not set 256 + 257 + # 258 + # Floating point emulation 259 + # 260 + 261 + # 262 + # At least one emulation must be selected 263 + # 264 + # CONFIG_VFP is not set 265 + 266 + # 267 + # Userspace binary formats 268 + # 269 + CONFIG_BINFMT_ELF=y 270 + # CONFIG_BINFMT_AOUT is not set 271 + # CONFIG_BINFMT_MISC is not set 272 + 273 + # 274 + # Power management options 275 + # 276 + # CONFIG_PM is not set 277 + CONFIG_ARCH_SUSPEND_POSSIBLE=y 278 + 279 + # 280 + # Networking 281 + # 282 + CONFIG_NET=y 283 + 284 + # 285 + # Networking options 286 + # 287 + CONFIG_PACKET=y 288 + CONFIG_PACKET_MMAP=y 289 + CONFIG_UNIX=y 290 + # CONFIG_NET_KEY is not set 291 + CONFIG_INET=y 292 + CONFIG_IP_MULTICAST=y 293 + # CONFIG_IP_ADVANCED_ROUTER is not set 294 + CONFIG_IP_FIB_HASH=y 295 + CONFIG_IP_PNP=y 296 + # CONFIG_IP_PNP_DHCP is not set 297 + # CONFIG_IP_PNP_BOOTP is not set 298 + # CONFIG_IP_PNP_RARP is not set 299 + # CONFIG_NET_IPIP is not set 300 + # CONFIG_NET_IPGRE is not set 301 + # CONFIG_IP_MROUTE is not set 302 + # CONFIG_ARPD is not set 303 + # CONFIG_SYN_COOKIES is not set 304 + # CONFIG_INET_AH is not set 305 + # CONFIG_INET_ESP is not set 306 + # CONFIG_INET_IPCOMP is not set 307 + # CONFIG_INET_XFRM_TUNNEL is not set 308 + # CONFIG_INET_TUNNEL is not set 309 + # CONFIG_INET_XFRM_MODE_TRANSPORT is not set 310 + # CONFIG_INET_XFRM_MODE_TUNNEL is not set 311 + # CONFIG_INET_XFRM_MODE_BEET is not set 312 + # CONFIG_INET_LRO is not set 313 + # CONFIG_INET_DIAG is not set 314 + # CONFIG_TCP_CONG_ADVANCED is not set 315 + CONFIG_TCP_CONG_CUBIC=y 316 + CONFIG_DEFAULT_TCP_CONG="cubic" 317 + # CONFIG_TCP_MD5SIG is not set 318 + # CONFIG_IPV6 is not set 319 + # CONFIG_NETWORK_SECMARK is not set 320 + # CONFIG_NETFILTER is not set 321 + # CONFIG_IP_DCCP is not set 322 + # CONFIG_IP_SCTP is not set 323 + # CONFIG_TIPC is not set 324 + # CONFIG_ATM is not set 325 + # CONFIG_BRIDGE is not set 326 + # CONFIG_VLAN_8021Q is not set 327 + # CONFIG_DECNET is not set 328 + # CONFIG_LLC2 is not set 329 + # CONFIG_IPX is not set 330 + # CONFIG_ATALK is not set 331 + # CONFIG_X25 is not set 332 + # CONFIG_LAPB is not set 333 + # CONFIG_ECONET is not set 334 + # CONFIG_WAN_ROUTER is not set 335 + # CONFIG_NET_SCHED is not set 336 + 337 + # 338 + # Network testing 339 + # 340 + # CONFIG_NET_PKTGEN is not set 341 + # CONFIG_NET_TCPPROBE is not set 342 + # CONFIG_HAMRADIO is not set 343 + # CONFIG_CAN is not set 344 + # CONFIG_IRDA is not set 345 + # CONFIG_BT is not set 346 + # CONFIG_AF_RXRPC is not set 347 + 348 + # 349 + # Wireless 350 + # 351 + # CONFIG_CFG80211 is not set 352 + # CONFIG_WIRELESS_EXT is not set 353 + # CONFIG_MAC80211 is not set 354 + # CONFIG_IEEE80211 is not set 355 + # CONFIG_RFKILL is not set 356 + # CONFIG_NET_9P is not set 357 + 358 + # 359 + # Device Drivers 360 + # 361 + 362 + # 363 + # Generic Driver Options 364 + # 365 + CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 366 + CONFIG_STANDALONE=y 367 + CONFIG_PREVENT_FIRMWARE_BUILD=y 368 + CONFIG_FW_LOADER=y 369 + # CONFIG_SYS_HYPERVISOR is not set 370 + # CONFIG_CONNECTOR is not set 371 + CONFIG_MTD=y 372 + # CONFIG_MTD_DEBUG is not set 373 + # CONFIG_MTD_CONCAT is not set 374 + CONFIG_MTD_PARTITIONS=y 375 + # CONFIG_MTD_REDBOOT_PARTS is not set 376 + CONFIG_MTD_CMDLINE_PARTS=y 377 + # CONFIG_MTD_AFS_PARTS is not set 378 + # CONFIG_MTD_AR7_PARTS is not set 379 + 380 + # 381 + # User Modules And Translation Layers 382 + # 383 + CONFIG_MTD_CHAR=y 384 + CONFIG_MTD_BLKDEVS=y 385 + CONFIG_MTD_BLOCK=y 386 + # CONFIG_FTL is not set 387 + # CONFIG_NFTL is not set 388 + # CONFIG_INFTL is not set 389 + # CONFIG_RFD_FTL is not set 390 + # CONFIG_SSFDC is not set 391 + # CONFIG_MTD_OOPS is not set 392 + 393 + # 394 + # RAM/ROM/Flash chip drivers 395 + # 396 + CONFIG_MTD_CFI=y 397 + # CONFIG_MTD_JEDECPROBE is not set 398 + CONFIG_MTD_GEN_PROBE=y 399 + CONFIG_MTD_CFI_ADV_OPTIONS=y 400 + CONFIG_MTD_CFI_NOSWAP=y 401 + # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set 402 + # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set 403 + CONFIG_MTD_CFI_GEOMETRY=y 404 + # CONFIG_MTD_MAP_BANK_WIDTH_1 is not set 405 + CONFIG_MTD_MAP_BANK_WIDTH_2=y 406 + # CONFIG_MTD_MAP_BANK_WIDTH_4 is not set 407 + # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set 408 + # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set 409 + # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set 410 + CONFIG_MTD_CFI_I1=y 411 + # CONFIG_MTD_CFI_I2 is not set 412 + # CONFIG_MTD_CFI_I4 is not set 413 + # CONFIG_MTD_CFI_I8 is not set 414 + # CONFIG_MTD_OTP is not set 415 + CONFIG_MTD_CFI_INTELEXT=y 416 + # CONFIG_MTD_CFI_AMDSTD is not set 417 + # CONFIG_MTD_CFI_STAA is not set 418 + CONFIG_MTD_CFI_UTIL=y 419 + # CONFIG_MTD_RAM is not set 420 + # CONFIG_MTD_ROM is not set 421 + # CONFIG_MTD_ABSENT is not set 422 + # CONFIG_MTD_XIP is not set 423 + 424 + # 425 + # Mapping drivers for chip access 426 + # 427 + # CONFIG_MTD_COMPLEX_MAPPINGS is not set 428 + CONFIG_MTD_PHYSMAP=y 429 + CONFIG_MTD_PHYSMAP_START=0x00000000 430 + CONFIG_MTD_PHYSMAP_LEN=0x0 431 + CONFIG_MTD_PHYSMAP_BANKWIDTH=2 432 + # CONFIG_MTD_ARM_INTEGRATOR is not set 433 + # CONFIG_MTD_PLATRAM is not set 434 + 435 + # 436 + # Self-contained MTD device drivers 437 + # 438 + # CONFIG_MTD_DATAFLASH is not set 439 + # CONFIG_MTD_M25P80 is not set 440 + # CONFIG_MTD_SLRAM is not set 441 + # CONFIG_MTD_PHRAM is not set 442 + # CONFIG_MTD_MTDRAM is not set 443 + # CONFIG_MTD_BLOCK2MTD is not set 444 + 445 + # 446 + # Disk-On-Chip Device Drivers 447 + # 448 + # CONFIG_MTD_DOC2000 is not set 449 + # CONFIG_MTD_DOC2001 is not set 450 + # CONFIG_MTD_DOC2001PLUS is not set 451 + # CONFIG_MTD_NAND is not set 452 + # CONFIG_MTD_ONENAND is not set 453 + 454 + # 455 + # UBI - Unsorted block images 456 + # 457 + # CONFIG_MTD_UBI is not set 458 + # CONFIG_PARPORT is not set 459 + CONFIG_BLK_DEV=y 460 + # CONFIG_BLK_DEV_COW_COMMON is not set 461 + # CONFIG_BLK_DEV_LOOP is not set 462 + # CONFIG_BLK_DEV_NBD is not set 463 + # CONFIG_BLK_DEV_RAM is not set 464 + # CONFIG_CDROM_PKTCDVD is not set 465 + # CONFIG_ATA_OVER_ETH is not set 466 + # CONFIG_MISC_DEVICES is not set 467 + CONFIG_HAVE_IDE=y 468 + # CONFIG_IDE is not set 469 + 470 + # 471 + # SCSI device support 472 + # 473 + # CONFIG_RAID_ATTRS is not set 474 + # CONFIG_SCSI is not set 475 + # CONFIG_SCSI_DMA is not set 476 + # CONFIG_SCSI_NETLINK is not set 477 + # CONFIG_ATA is not set 478 + # CONFIG_MD is not set 479 + CONFIG_NETDEVICES=y 480 + # CONFIG_NETDEVICES_MULTIQUEUE is not set 481 + # CONFIG_DUMMY is not set 482 + # CONFIG_BONDING is not set 483 + # CONFIG_MACVLAN is not set 484 + # CONFIG_EQUALIZER is not set 485 + # CONFIG_TUN is not set 486 + # CONFIG_VETH is not set 487 + # CONFIG_PHYLIB is not set 488 + CONFIG_NET_ETHERNET=y 489 + # CONFIG_MII is not set 490 + # CONFIG_AX88796 is not set 491 + # CONFIG_SMC91X is not set 492 + # CONFIG_DM9000 is not set 493 + # CONFIG_ENC28J60 is not set 494 + # CONFIG_IBM_NEW_EMAC_ZMII is not set 495 + # CONFIG_IBM_NEW_EMAC_RGMII is not set 496 + # CONFIG_IBM_NEW_EMAC_TAH is not set 497 + # CONFIG_IBM_NEW_EMAC_EMAC4 is not set 498 + # CONFIG_B44 is not set 499 + CONFIG_FEC_OLD=y 500 + # CONFIG_NETDEV_1000 is not set 501 + # CONFIG_NETDEV_10000 is not set 502 + 503 + # 504 + # Wireless LAN 505 + # 506 + # CONFIG_WLAN_PRE80211 is not set 507 + # CONFIG_WLAN_80211 is not set 508 + # CONFIG_IWLWIFI_LEDS is not set 509 + # CONFIG_WAN is not set 510 + # CONFIG_PPP is not set 511 + # CONFIG_SLIP is not set 512 + # CONFIG_NETCONSOLE is not set 513 + # CONFIG_NETPOLL is not set 514 + # CONFIG_NET_POLL_CONTROLLER is not set 515 + # CONFIG_ISDN is not set 516 + 517 + # 518 + # Input device support 519 + # 520 + CONFIG_INPUT=y 521 + # CONFIG_INPUT_FF_MEMLESS is not set 522 + # CONFIG_INPUT_POLLDEV is not set 523 + 524 + # 525 + # Userland interfaces 526 + # 527 + # CONFIG_INPUT_MOUSEDEV is not set 528 + # CONFIG_INPUT_JOYDEV is not set 529 + CONFIG_INPUT_EVDEV=y 530 + # CONFIG_INPUT_EVBUG is not set 531 + 532 + # 533 + # Input Device Drivers 534 + # 535 + # CONFIG_INPUT_KEYBOARD is not set 536 + # CONFIG_INPUT_MOUSE is not set 537 + # CONFIG_INPUT_JOYSTICK is not set 538 + # CONFIG_INPUT_TABLET is not set 539 + CONFIG_INPUT_TOUCHSCREEN=y 540 + # CONFIG_TOUCHSCREEN_ADS7846 is not set 541 + # CONFIG_TOUCHSCREEN_FUJITSU is not set 542 + # CONFIG_TOUCHSCREEN_GUNZE is not set 543 + # CONFIG_TOUCHSCREEN_ELO is not set 544 + # CONFIG_TOUCHSCREEN_MTOUCH is not set 545 + # CONFIG_TOUCHSCREEN_MK712 is not set 546 + # CONFIG_TOUCHSCREEN_PENMOUNT is not set 547 + # CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set 548 + # CONFIG_TOUCHSCREEN_TOUCHWIN is not set 549 + # CONFIG_TOUCHSCREEN_UCB1400 is not set 550 + # CONFIG_INPUT_MISC is not set 551 + 552 + # 553 + # Hardware I/O ports 554 + # 555 + # CONFIG_SERIO is not set 556 + # CONFIG_GAMEPORT is not set 557 + 558 + # 559 + # Character devices 560 + # 561 + CONFIG_VT=y 562 + CONFIG_VT_CONSOLE=y 563 + CONFIG_HW_CONSOLE=y 564 + # CONFIG_VT_HW_CONSOLE_BINDING is not set 565 + CONFIG_DEVKMEM=y 566 + # CONFIG_SERIAL_NONSTANDARD is not set 567 + 568 + # 569 + # Serial drivers 570 + # 571 + # CONFIG_SERIAL_8250 is not set 572 + 573 + # 574 + # Non-8250 serial port support 575 + # 576 + CONFIG_SERIAL_IMX=y 577 + CONFIG_SERIAL_IMX_CONSOLE=y 578 + CONFIG_SERIAL_CORE=y 579 + CONFIG_SERIAL_CORE_CONSOLE=y 580 + CONFIG_UNIX98_PTYS=y 581 + # CONFIG_LEGACY_PTYS is not set 582 + # CONFIG_IPMI_HANDLER is not set 583 + # CONFIG_HW_RANDOM is not set 584 + # CONFIG_NVRAM is not set 585 + # CONFIG_R3964 is not set 586 + # CONFIG_RAW_DRIVER is not set 587 + # CONFIG_TCG_TPM is not set 588 + CONFIG_I2C=y 589 + CONFIG_I2C_BOARDINFO=y 590 + # CONFIG_I2C_CHARDEV is not set 591 + 592 + # 593 + # I2C Hardware Bus support 594 + # 595 + # CONFIG_I2C_GPIO is not set 596 + # CONFIG_I2C_OCORES is not set 597 + # CONFIG_I2C_PARPORT_LIGHT is not set 598 + # CONFIG_I2C_SIMTEC is not set 599 + # CONFIG_I2C_TAOS_EVM is not set 600 + # CONFIG_I2C_STUB is not set 601 + # CONFIG_I2C_PCA_PLATFORM is not set 602 + 603 + # 604 + # Miscellaneous I2C Chip support 605 + # 606 + # CONFIG_DS1682 is not set 607 + # CONFIG_SENSORS_EEPROM is not set 608 + # CONFIG_SENSORS_PCF8574 is not set 609 + # CONFIG_PCF8575 is not set 610 + # CONFIG_SENSORS_PCF8591 is not set 611 + # CONFIG_TPS65010 is not set 612 + # CONFIG_SENSORS_MAX6875 is not set 613 + # CONFIG_SENSORS_TSL2550 is not set 614 + # CONFIG_I2C_DEBUG_CORE is not set 615 + # CONFIG_I2C_DEBUG_ALGO is not set 616 + # CONFIG_I2C_DEBUG_BUS is not set 617 + # CONFIG_I2C_DEBUG_CHIP is not set 618 + CONFIG_SPI=y 619 + CONFIG_SPI_MASTER=y 620 + 621 + # 622 + # SPI Master Controller Drivers 623 + # 624 + CONFIG_SPI_BITBANG=y 625 + 626 + # 627 + # SPI Protocol Masters 628 + # 629 + # CONFIG_SPI_AT25 is not set 630 + # CONFIG_SPI_SPIDEV is not set 631 + # CONFIG_SPI_TLE62X0 is not set 632 + CONFIG_HAVE_GPIO_LIB=y 633 + 634 + # 635 + # GPIO Support 636 + # 637 + 638 + # 639 + # I2C GPIO expanders: 640 + # 641 + # CONFIG_GPIO_PCA953X is not set 642 + # CONFIG_GPIO_PCF857X is not set 643 + 644 + # 645 + # SPI GPIO expanders: 646 + # 647 + # CONFIG_GPIO_MCP23S08 is not set 648 + # CONFIG_W1 is not set 649 + # CONFIG_POWER_SUPPLY is not set 650 + # CONFIG_HWMON is not set 651 + # CONFIG_WATCHDOG is not set 652 + 653 + # 654 + # Sonics Silicon Backplane 655 + # 656 + CONFIG_SSB_POSSIBLE=y 657 + # CONFIG_SSB is not set 658 + 659 + # 660 + # Multifunction device drivers 661 + # 662 + # CONFIG_MFD_SM501 is not set 663 + # CONFIG_MFD_ASIC3 is not set 664 + # CONFIG_HTC_EGPIO is not set 665 + # CONFIG_HTC_PASIC3 is not set 666 + 667 + # 668 + # Multimedia devices 669 + # 670 + 671 + # 672 + # Multimedia core support 673 + # 674 + CONFIG_VIDEO_DEV=y 675 + CONFIG_VIDEO_V4L2_COMMON=y 676 + CONFIG_VIDEO_ALLOW_V4L1=y 677 + CONFIG_VIDEO_V4L1_COMPAT=y 678 + # CONFIG_DVB_CORE is not set 679 + CONFIG_VIDEO_MEDIA=y 680 + 681 + # 682 + # Multimedia drivers 683 + # 684 + # CONFIG_MEDIA_ATTACH is not set 685 + CONFIG_MEDIA_TUNER=y 686 + # CONFIG_MEDIA_TUNER_CUSTOMIZE is not set 687 + CONFIG_MEDIA_TUNER_SIMPLE=y 688 + CONFIG_MEDIA_TUNER_TDA8290=y 689 + CONFIG_MEDIA_TUNER_TDA9887=y 690 + CONFIG_MEDIA_TUNER_TEA5761=y 691 + CONFIG_MEDIA_TUNER_TEA5767=y 692 + CONFIG_MEDIA_TUNER_MT20XX=y 693 + CONFIG_MEDIA_TUNER_XC2028=y 694 + CONFIG_MEDIA_TUNER_XC5000=y 695 + CONFIG_VIDEO_V4L2=y 696 + CONFIG_VIDEO_V4L1=y 697 + CONFIG_VIDEO_CAPTURE_DRIVERS=y 698 + # CONFIG_VIDEO_ADV_DEBUG is not set 699 + CONFIG_VIDEO_HELPER_CHIPS_AUTO=y 700 + # CONFIG_VIDEO_VIVI is not set 701 + # CONFIG_VIDEO_CPIA is not set 702 + # CONFIG_VIDEO_SAA5246A is not set 703 + # CONFIG_VIDEO_SAA5249 is not set 704 + # CONFIG_TUNER_3036 is not set 705 + # CONFIG_SOC_CAMERA is not set 706 + # CONFIG_RADIO_ADAPTERS is not set 707 + # CONFIG_DAB is not set 708 + 709 + # 710 + # Graphics support 711 + # 712 + # CONFIG_VGASTATE is not set 713 + # CONFIG_VIDEO_OUTPUT_CONTROL is not set 714 + CONFIG_FB=y 715 + # CONFIG_FIRMWARE_EDID is not set 716 + # CONFIG_FB_DDC is not set 717 + # CONFIG_FB_CFB_FILLRECT is not set 718 + # CONFIG_FB_CFB_COPYAREA is not set 719 + # CONFIG_FB_CFB_IMAGEBLIT is not set 720 + # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set 721 + # CONFIG_FB_SYS_FILLRECT is not set 722 + # CONFIG_FB_SYS_COPYAREA is not set 723 + # CONFIG_FB_SYS_IMAGEBLIT is not set 724 + # CONFIG_FB_FOREIGN_ENDIAN is not set 725 + # CONFIG_FB_SYS_FOPS is not set 726 + # CONFIG_FB_SVGALIB is not set 727 + # CONFIG_FB_MACMODES is not set 728 + # CONFIG_FB_BACKLIGHT is not set 729 + # CONFIG_FB_MODE_HELPERS is not set 730 + # CONFIG_FB_TILEBLITTING is not set 731 + 732 + # 733 + # Frame buffer hardware drivers 734 + # 735 + # CONFIG_FB_S1D13XXX is not set 736 + # CONFIG_FB_VIRTUAL is not set 737 + # CONFIG_BACKLIGHT_LCD_SUPPORT is not set 738 + 739 + # 740 + # Display device support 741 + # 742 + # CONFIG_DISPLAY_SUPPORT is not set 743 + 744 + # 745 + # Console display driver support 746 + # 747 + # CONFIG_VGA_CONSOLE is not set 748 + CONFIG_DUMMY_CONSOLE=y 749 + CONFIG_FRAMEBUFFER_CONSOLE=y 750 + # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set 751 + # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set 752 + CONFIG_FONTS=y 753 + CONFIG_FONT_8x8=y 754 + # CONFIG_FONT_8x16 is not set 755 + # CONFIG_FONT_6x11 is not set 756 + # CONFIG_FONT_7x14 is not set 757 + # CONFIG_FONT_PEARL_8x8 is not set 758 + # CONFIG_FONT_ACORN_8x8 is not set 759 + # CONFIG_FONT_MINI_4x6 is not set 760 + # CONFIG_FONT_SUN8x16 is not set 761 + # CONFIG_FONT_SUN12x22 is not set 762 + # CONFIG_FONT_10x18 is not set 763 + # CONFIG_LOGO is not set 764 + 765 + # 766 + # Sound 767 + # 768 + # CONFIG_SOUND is not set 769 + # CONFIG_HID_SUPPORT is not set 770 + # CONFIG_USB_SUPPORT is not set 771 + # CONFIG_MMC is not set 772 + # CONFIG_NEW_LEDS is not set 773 + CONFIG_RTC_LIB=y 774 + CONFIG_RTC_CLASS=y 775 + CONFIG_RTC_HCTOSYS=y 776 + CONFIG_RTC_HCTOSYS_DEVICE="rtc0" 777 + # CONFIG_RTC_DEBUG is not set 778 + 779 + # 780 + # RTC interfaces 781 + # 782 + CONFIG_RTC_INTF_SYSFS=y 783 + CONFIG_RTC_INTF_PROC=y 784 + CONFIG_RTC_INTF_DEV=y 785 + # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set 786 + # CONFIG_RTC_DRV_TEST is not set 787 + 788 + # 789 + # I2C RTC drivers 790 + # 791 + # CONFIG_RTC_DRV_DS1307 is not set 792 + # CONFIG_RTC_DRV_DS1374 is not set 793 + # CONFIG_RTC_DRV_DS1672 is not set 794 + # CONFIG_RTC_DRV_MAX6900 is not set 795 + # CONFIG_RTC_DRV_RS5C372 is not set 796 + # CONFIG_RTC_DRV_ISL1208 is not set 797 + # CONFIG_RTC_DRV_X1205 is not set 798 + CONFIG_RTC_DRV_PCF8563=y 799 + # CONFIG_RTC_DRV_PCF8583 is not set 800 + # CONFIG_RTC_DRV_M41T80 is not set 801 + # CONFIG_RTC_DRV_S35390A is not set 802 + # CONFIG_RTC_DRV_FM3130 is not set 803 + 804 + # 805 + # SPI RTC drivers 806 + # 807 + # CONFIG_RTC_DRV_MAX6902 is not set 808 + # CONFIG_RTC_DRV_R9701 is not set 809 + # CONFIG_RTC_DRV_RS5C348 is not set 810 + 811 + # 812 + # Platform RTC drivers 813 + # 814 + # CONFIG_RTC_DRV_CMOS is not set 815 + # CONFIG_RTC_DRV_DS1511 is not set 816 + # CONFIG_RTC_DRV_DS1553 is not set 817 + # CONFIG_RTC_DRV_DS1742 is not set 818 + # CONFIG_RTC_DRV_STK17TA8 is not set 819 + # CONFIG_RTC_DRV_M48T86 is not set 820 + # CONFIG_RTC_DRV_M48T59 is not set 821 + # CONFIG_RTC_DRV_V3020 is not set 822 + 823 + # 824 + # on-CPU RTC drivers 825 + # 826 + # CONFIG_UIO is not set 827 + 828 + # 829 + # File systems 830 + # 831 + # CONFIG_EXT2_FS is not set 832 + # CONFIG_EXT3_FS is not set 833 + # CONFIG_EXT4DEV_FS is not set 834 + # CONFIG_REISERFS_FS is not set 835 + # CONFIG_JFS_FS is not set 836 + # CONFIG_FS_POSIX_ACL is not set 837 + # CONFIG_XFS_FS is not set 838 + # CONFIG_OCFS2_FS is not set 839 + # CONFIG_DNOTIFY is not set 840 + # CONFIG_INOTIFY is not set 841 + # CONFIG_QUOTA is not set 842 + # CONFIG_AUTOFS_FS is not set 843 + # CONFIG_AUTOFS4_FS is not set 844 + # CONFIG_FUSE_FS is not set 845 + 846 + # 847 + # CD-ROM/DVD Filesystems 848 + # 849 + # CONFIG_ISO9660_FS is not set 850 + # CONFIG_UDF_FS is not set 851 + 852 + # 853 + # DOS/FAT/NT Filesystems 854 + # 855 + # CONFIG_MSDOS_FS is not set 856 + # CONFIG_VFAT_FS is not set 857 + # CONFIG_NTFS_FS is not set 858 + 859 + # 860 + # Pseudo filesystems 861 + # 862 + CONFIG_PROC_FS=y 863 + CONFIG_PROC_SYSCTL=y 864 + CONFIG_SYSFS=y 865 + CONFIG_TMPFS=y 866 + # CONFIG_TMPFS_POSIX_ACL is not set 867 + # CONFIG_HUGETLB_PAGE is not set 868 + # CONFIG_CONFIGFS_FS is not set 869 + 870 + # 871 + # Miscellaneous filesystems 872 + # 873 + # CONFIG_ADFS_FS is not set 874 + # CONFIG_AFFS_FS is not set 875 + # CONFIG_HFS_FS is not set 876 + # CONFIG_HFSPLUS_FS is not set 877 + # CONFIG_BEFS_FS is not set 878 + # CONFIG_BFS_FS is not set 879 + # CONFIG_EFS_FS is not set 880 + CONFIG_JFFS2_FS=y 881 + CONFIG_JFFS2_FS_DEBUG=0 882 + CONFIG_JFFS2_FS_WRITEBUFFER=y 883 + # CONFIG_JFFS2_FS_WBUF_VERIFY is not set 884 + # CONFIG_JFFS2_SUMMARY is not set 885 + # CONFIG_JFFS2_FS_XATTR is not set 886 + # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set 887 + CONFIG_JFFS2_ZLIB=y 888 + # CONFIG_JFFS2_LZO is not set 889 + CONFIG_JFFS2_RTIME=y 890 + # CONFIG_JFFS2_RUBIN is not set 891 + # CONFIG_CRAMFS is not set 892 + # CONFIG_VXFS_FS is not set 893 + # CONFIG_MINIX_FS is not set 894 + # CONFIG_HPFS_FS is not set 895 + # CONFIG_QNX4FS_FS is not set 896 + # CONFIG_ROMFS_FS is not set 897 + # CONFIG_SYSV_FS is not set 898 + # CONFIG_UFS_FS is not set 899 + CONFIG_NETWORK_FILESYSTEMS=y 900 + CONFIG_NFS_FS=y 901 + CONFIG_NFS_V3=y 902 + # CONFIG_NFS_V3_ACL is not set 903 + # CONFIG_NFS_V4 is not set 904 + # CONFIG_NFSD is not set 905 + CONFIG_ROOT_NFS=y 906 + CONFIG_LOCKD=y 907 + CONFIG_LOCKD_V4=y 908 + CONFIG_NFS_COMMON=y 909 + CONFIG_SUNRPC=y 910 + # CONFIG_SUNRPC_BIND34 is not set 911 + # CONFIG_RPCSEC_GSS_KRB5 is not set 912 + # CONFIG_RPCSEC_GSS_SPKM3 is not set 913 + # CONFIG_SMB_FS is not set 914 + # CONFIG_CIFS is not set 915 + # CONFIG_NCP_FS is not set 916 + # CONFIG_CODA_FS is not set 917 + # CONFIG_AFS_FS is not set 918 + 919 + # 920 + # Partition Types 921 + # 922 + # CONFIG_PARTITION_ADVANCED is not set 923 + CONFIG_MSDOS_PARTITION=y 924 + CONFIG_NLS=y 925 + CONFIG_NLS_DEFAULT="iso8859-1" 926 + CONFIG_NLS_CODEPAGE_437=m 927 + # CONFIG_NLS_CODEPAGE_737 is not set 928 + # CONFIG_NLS_CODEPAGE_775 is not set 929 + CONFIG_NLS_CODEPAGE_850=m 930 + # CONFIG_NLS_CODEPAGE_852 is not set 931 + # CONFIG_NLS_CODEPAGE_855 is not set 932 + # CONFIG_NLS_CODEPAGE_857 is not set 933 + # CONFIG_NLS_CODEPAGE_860 is not set 934 + # CONFIG_NLS_CODEPAGE_861 is not set 935 + # CONFIG_NLS_CODEPAGE_862 is not set 936 + # CONFIG_NLS_CODEPAGE_863 is not set 937 + # CONFIG_NLS_CODEPAGE_864 is not set 938 + # CONFIG_NLS_CODEPAGE_865 is not set 939 + # CONFIG_NLS_CODEPAGE_866 is not set 940 + # CONFIG_NLS_CODEPAGE_869 is not set 941 + # CONFIG_NLS_CODEPAGE_936 is not set 942 + # CONFIG_NLS_CODEPAGE_950 is not set 943 + # CONFIG_NLS_CODEPAGE_932 is not set 944 + # CONFIG_NLS_CODEPAGE_949 is not set 945 + # CONFIG_NLS_CODEPAGE_874 is not set 946 + # CONFIG_NLS_ISO8859_8 is not set 947 + # CONFIG_NLS_CODEPAGE_1250 is not set 948 + # CONFIG_NLS_CODEPAGE_1251 is not set 949 + # CONFIG_NLS_ASCII is not set 950 + CONFIG_NLS_ISO8859_1=y 951 + # CONFIG_NLS_ISO8859_2 is not set 952 + # CONFIG_NLS_ISO8859_3 is not set 953 + # CONFIG_NLS_ISO8859_4 is not set 954 + # CONFIG_NLS_ISO8859_5 is not set 955 + # CONFIG_NLS_ISO8859_6 is not set 956 + # CONFIG_NLS_ISO8859_7 is not set 957 + # CONFIG_NLS_ISO8859_9 is not set 958 + # CONFIG_NLS_ISO8859_13 is not set 959 + # CONFIG_NLS_ISO8859_14 is not set 960 + CONFIG_NLS_ISO8859_15=m 961 + # CONFIG_NLS_KOI8_R is not set 962 + # CONFIG_NLS_KOI8_U is not set 963 + # CONFIG_NLS_UTF8 is not set 964 + # CONFIG_DLM is not set 965 + 966 + # 967 + # Kernel hacking 968 + # 969 + # CONFIG_PRINTK_TIME is not set 970 + CONFIG_ENABLE_WARN_DEPRECATED=y 971 + CONFIG_ENABLE_MUST_CHECK=y 972 + CONFIG_FRAME_WARN=1024 973 + # CONFIG_MAGIC_SYSRQ is not set 974 + # CONFIG_UNUSED_SYMBOLS is not set 975 + # CONFIG_DEBUG_FS is not set 976 + # CONFIG_HEADERS_CHECK is not set 977 + # CONFIG_DEBUG_KERNEL is not set 978 + # CONFIG_DEBUG_BUGVERBOSE is not set 979 + CONFIG_FRAME_POINTER=y 980 + # CONFIG_SAMPLES is not set 981 + # CONFIG_DEBUG_USER is not set 982 + 983 + # 984 + # Security options 985 + # 986 + # CONFIG_KEYS is not set 987 + # CONFIG_SECURITY is not set 988 + # CONFIG_SECURITY_FILE_CAPABILITIES is not set 989 + # CONFIG_CRYPTO is not set 990 + 991 + # 992 + # Library routines 993 + # 994 + CONFIG_BITREVERSE=y 995 + # CONFIG_GENERIC_FIND_FIRST_BIT is not set 996 + # CONFIG_GENERIC_FIND_NEXT_BIT is not set 997 + # CONFIG_CRC_CCITT is not set 998 + # CONFIG_CRC16 is not set 999 + # CONFIG_CRC_ITU_T is not set 1000 + CONFIG_CRC32=y 1001 + # CONFIG_CRC7 is not set 1002 + # CONFIG_LIBCRC32C is not set 1003 + CONFIG_ZLIB_INFLATE=y 1004 + CONFIG_ZLIB_DEFLATE=y 1005 + CONFIG_PLIST=y 1006 + CONFIG_HAS_IOMEM=y 1007 + CONFIG_HAS_IOPORT=y 1008 + CONFIG_HAS_DMA=y
+7
arch/arm/mach-mx2/Kconfig
··· 16 16 help 17 17 Include support for MX27ADS platform. This includes specific 18 18 configurations for the board and its peripherals. 19 + 20 + config MACH_PCM038 21 + bool "Phytec phyCORE-i.MX27 CPU module (pcm038)" 22 + depends on MACH_MX27 23 + help 24 + Include support for phyCORE-i.MX27 (aka pcm038) platform. This 25 + includes specific configurations for the module and its peripherals.
+1
arch/arm/mach-mx2/Makefile
··· 10 10 obj-$(CONFIG_MACH_MX27) += clock_imx27.o 11 11 12 12 obj-$(CONFIG_MACH_MX27ADS) += mx27ads.o 13 + obj-$(CONFIG_MACH_PCM038) += pcm038.o
+200
arch/arm/mach-mx2/pcm038.c
··· 1 + /* 2 + * Copyright 2007 Robert Schwebel <r.schwebel@pengutronix.de>, Pengutronix 3 + * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) 4 + * 5 + * This program is free software; you can redistribute it and/or 6 + * modify it under the terms of the GNU General Public License 7 + * as published by the Free Software Foundation; either version 2 8 + * of the License, or (at your option) any later version. 9 + * This program is distributed in the hope that it will be useful, 10 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 + * GNU General Public License for more details. 13 + * 14 + * You should have received a copy of the GNU General Public License 15 + * along with this program; if not, write to the Free Software 16 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 17 + * MA 02110-1301, USA. 18 + */ 19 + 20 + #include <linux/platform_device.h> 21 + #include <linux/mtd/physmap.h> 22 + #include <asm/mach/arch.h> 23 + #include <asm/mach-types.h> 24 + #include <asm/arch/common.h> 25 + #include <asm/hardware.h> 26 + #include <asm/arch/iomux-mx1-mx2.h> 27 + #include <asm/mach/time.h> 28 + #include <asm/arch/imx-uart.h> 29 + #include <asm/arch/board-pcm038.h> 30 + 31 + /* 32 + * Phytec's phyCORE-i.MX27 comes with 32MiB flash, 33 + * 16 bit width 34 + */ 35 + static struct physmap_flash_data pcm038_flash_data = { 36 + .width = 2, 37 + }; 38 + 39 + static struct resource pcm038_flash_resource = { 40 + .start = 0xc0000000, 41 + .end = 0xc1ffffff, 42 + .flags = IORESOURCE_MEM, 43 + }; 44 + 45 + static struct platform_device pcm038_nor_mtd_device = { 46 + .name = "physmap-flash", 47 + .id = 0, 48 + .dev = { 49 + .platform_data = &pcm038_flash_data, 50 + }, 51 + .num_resources = 1, 52 + .resource = &pcm038_flash_resource, 53 + }; 54 + 55 + static int mxc_uart0_pins[] = { 56 + PE12_PF_UART1_TXD, 57 + PE13_PF_UART1_RXD, 58 + PE14_PF_UART1_CTS, 59 + PE15_PF_UART1_RTS 60 + }; 61 + 62 + static int uart_mxc_port0_init(struct platform_device *pdev) 63 + { 64 + return mxc_gpio_setup_multiple_pins(mxc_uart0_pins, 65 + ARRAY_SIZE(mxc_uart0_pins), 66 + MXC_GPIO_ALLOC_MODE_NORMAL, "UART0"); 67 + } 68 + 69 + static int uart_mxc_port0_exit(struct platform_device *pdev) 70 + { 71 + return mxc_gpio_setup_multiple_pins(mxc_uart0_pins, 72 + ARRAY_SIZE(mxc_uart0_pins), 73 + MXC_GPIO_ALLOC_MODE_RELEASE, "UART0"); 74 + } 75 + 76 + static int mxc_uart1_pins[] = { 77 + PE3_PF_UART2_CTS, 78 + PE4_PF_UART2_RTS, 79 + PE6_PF_UART2_TXD, 80 + PE7_PF_UART2_RXD 81 + }; 82 + 83 + static int uart_mxc_port1_init(struct platform_device *pdev) 84 + { 85 + return mxc_gpio_setup_multiple_pins(mxc_uart1_pins, 86 + ARRAY_SIZE(mxc_uart1_pins), 87 + MXC_GPIO_ALLOC_MODE_NORMAL, "UART1"); 88 + } 89 + 90 + static int uart_mxc_port1_exit(struct platform_device *pdev) 91 + { 92 + return mxc_gpio_setup_multiple_pins(mxc_uart1_pins, 93 + ARRAY_SIZE(mxc_uart1_pins), 94 + MXC_GPIO_ALLOC_MODE_RELEASE, "UART1"); 95 + } 96 + 97 + static int mxc_uart2_pins[] = { PE10_PF_UART3_CTS, 98 + PE9_PF_UART3_RXD, 99 + PE10_PF_UART3_CTS, 100 + PE9_PF_UART3_RXD }; 101 + 102 + static int uart_mxc_port2_init(struct platform_device *pdev) 103 + { 104 + return mxc_gpio_setup_multiple_pins(mxc_uart2_pins, 105 + ARRAY_SIZE(mxc_uart2_pins), 106 + MXC_GPIO_ALLOC_MODE_NORMAL, "UART2"); 107 + } 108 + 109 + static int uart_mxc_port2_exit(struct platform_device *pdev) 110 + { 111 + return mxc_gpio_setup_multiple_pins(mxc_uart2_pins, 112 + ARRAY_SIZE(mxc_uart2_pins), 113 + MXC_GPIO_ALLOC_MODE_RELEASE, "UART2"); 114 + } 115 + 116 + static struct imxuart_platform_data uart_pdata[] = { 117 + { 118 + .init = uart_mxc_port0_init, 119 + .exit = uart_mxc_port0_exit, 120 + .flags = IMXUART_HAVE_RTSCTS, 121 + }, { 122 + .init = uart_mxc_port1_init, 123 + .exit = uart_mxc_port1_exit, 124 + .flags = IMXUART_HAVE_RTSCTS, 125 + }, { 126 + .init = uart_mxc_port2_init, 127 + .exit = uart_mxc_port2_exit, 128 + .flags = IMXUART_HAVE_RTSCTS, 129 + }, 130 + }; 131 + 132 + static int mxc_fec_pins[] = { 133 + PD0_AIN_FEC_TXD0, 134 + PD1_AIN_FEC_TXD1, 135 + PD2_AIN_FEC_TXD2, 136 + PD3_AIN_FEC_TXD3, 137 + PD4_AOUT_FEC_RX_ER, 138 + PD5_AOUT_FEC_RXD1, 139 + PD6_AOUT_FEC_RXD2, 140 + PD7_AOUT_FEC_RXD3, 141 + PD8_AF_FEC_MDIO, 142 + PD9_AIN_FEC_MDC, 143 + PD10_AOUT_FEC_CRS, 144 + PD11_AOUT_FEC_TX_CLK, 145 + PD12_AOUT_FEC_RXD0, 146 + PD13_AOUT_FEC_RX_DV, 147 + PD14_AOUT_FEC_CLR, 148 + PD15_AOUT_FEC_COL, 149 + PD16_AIN_FEC_TX_ER, 150 + PF23_AIN_FEC_TX_EN 151 + }; 152 + 153 + static void gpio_fec_active(void) 154 + { 155 + mxc_gpio_setup_multiple_pins(mxc_fec_pins, 156 + ARRAY_SIZE(mxc_fec_pins), 157 + MXC_GPIO_ALLOC_MODE_NORMAL, "FEC"); 158 + } 159 + 160 + static void gpio_fec_inactive(void) 161 + { 162 + mxc_gpio_setup_multiple_pins(mxc_fec_pins, 163 + ARRAY_SIZE(mxc_fec_pins), 164 + MXC_GPIO_ALLOC_MODE_RELEASE, "FEC"); 165 + } 166 + 167 + static struct platform_device *platform_devices[] __initdata = { 168 + &pcm038_nor_mtd_device, 169 + }; 170 + 171 + static void __init pcm038_init(void) 172 + { 173 + int i; 174 + gpio_fec_active(); 175 + 176 + for (i = 0; i < 3; i++) 177 + imx_init_uart(i, &uart_pdata[i]); 178 + 179 + platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); 180 + } 181 + 182 + static void __init pcm038_timer_init(void) 183 + { 184 + mxc_clocks_init(26000000); 185 + mxc_timer_init("gpt_clk.0"); 186 + } 187 + 188 + struct sys_timer pcm038_timer = { 189 + .init = pcm038_timer_init, 190 + }; 191 + 192 + MACHINE_START(PCM038, "phyCORE-i.MX27") 193 + .phys_io = AIPI_BASE_ADDR, 194 + .io_pg_offst = ((AIPI_BASE_ADDR_VIRT) >> 18) & 0xfffc, 195 + .boot_params = PHYS_OFFSET + 0x100, 196 + .map_io = mxc_map_io, 197 + .init_irq = mxc_init_irq, 198 + .init_machine = pcm038_init, 199 + .timer = &pcm038_timer, 200 + MACHINE_END
+36
include/asm-arm/arch-mxc/board-pcm038.h
··· 1 + /* 2 + * Copyright (C) 2008 Juergen Beisert (kernel@pengutronix.de) 3 + * 4 + * This program is free software; you can redistribute it and/or 5 + * modify it under the terms of the GNU General Public License 6 + * as published by the Free Software Foundation; either version 2 7 + * of the License, or (at your option) any later version. 8 + * This program is distributed in the hope that it will be useful, 9 + * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 + * GNU General Public License for more details. 12 + * 13 + * You should have received a copy of the GNU General Public License 14 + * along with this program; if not, write to the Free Software 15 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 16 + * MA 02110-1301, USA. 17 + */ 18 + 19 + #ifndef __ASM_ARCH_MXC_BOARD_PCM038_H__ 20 + #define __ASM_ARCH_MXC_BOARD_PCM038_H__ 21 + 22 + /* mandatory for CONFIG_LL_DEBUG */ 23 + 24 + #define MXC_LL_UART_PADDR UART1_BASE_ADDR 25 + #define MXC_LL_UART_VADDR (AIPI_BASE_ADDR_VIRT + 0x0A000) 26 + 27 + #ifndef __ASSEMBLY__ 28 + /* 29 + * This CPU module needs a baseboard to work. After basic initializing 30 + * its own devices, it calls baseboard's init function. 31 + * TODO: Add your own baseboard init function and call it from 32 + * inside pcm038_init(). 33 + */ 34 + #endif 35 + 36 + #endif /* __ASM_ARCH_MXC_BOARD_PCM038_H__ */
+3
include/asm-arm/arch-mxc/debug-macro.S
··· 25 25 #ifdef CONFIG_MACH_MX27ADS 26 26 #include <asm/arch/board-mx27ads.h> 27 27 #endif 28 + #ifdef CONFIG_MACH_PCM038 29 + #include <asm/arch/board-pcm038.h> 30 + #endif 28 31 .macro addruart,rx 29 32 mrc p15, 0, \rx, c1, c0 30 33 tst \rx, #1 @ MMU enabled?