i.MX35: add cpuimx35 support and its baseboard
Subsystems (3)
PATCH 1/1 i.MX35: add cpuimx35 support and its baseboard
* cpuimx35 integrates i.MX35, RAM, NAND, Ethernet, I2C RTC, USB Host, USB OTG and I2C touchscreen controller
* mbimxsd provides access to LCD, Audio, LED, Switch button, UART ...
Signed-off-by Eric B?nard <[email protected]>
--- arch/arm/mach-mx3/Kconfig | 22 ++ arch/arm/mach-mx3/Makefile | 2 + arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c | 263 ++++++++++++++++++++ arch/arm/mach-mx3/mach-cpuimx35.c | 227 +++++++++++++++++ .../plat-mxc/include/mach/board-eukrea_cpuimx35.h | 40 +++ 5 files changed, 554 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c create mode 100644 arch/arm/mach-mx3/mach-cpuimx35.c create mode 100644 arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx35.h
arch/arm/mach-mx3/Kconfig +22 -0
@@ -125,4 +125,26 @@ config MACH_KZM_ARM11_01 Include support for KZM-ARM11-01. This includes specific configurations for the board and its peripherals. +config MACH_EUKREA_CPUIMX35 + bool "Support Eukrea CPUIMX35 Platform" + select ARCH_MX35 + select MXC_ULPI if USB_ULPI + help + Include support for Eukrea CPUIMX35 platform. This includes + specific configurations for the board and its peripherals. + +choice + prompt "Baseboard" + depends on MACH_EUKREA_CPUIMX35 + default MACH_EUKREA_MBIMXSD_BASEBOARD + +config MACH_EUKREA_MBIMXSD_BASEBOARD + prompt "Eukrea MBIMXSD development board" + bool + help + This adds board specific devices that can be found on Eukrea's + MBIMXSD evaluation board. + +endchoice + endif
arch/arm/mach-mx3/Makefile +2 -0
@@ -24,3 +24,5 @@ obj-$(CONFIG_MACH_PCM043) += mach-pcm043.o obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o obj-$(CONFIG_MACH_MX35_3DS) += mach-mx35pdk.o obj-$(CONFIG_MACH_KZM_ARM11_01) += mach-kzm_arm11_01.o +obj-$(CONFIG_MACH_EUKREA_CPUIMX35) += mach-cpuimx35.o +obj-$(CONFIG_MACH_EUKREA_MBIMXSD_BASEBOARD) += eukrea_mbimxsd-baseboard.o
arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c new file +263 -0
263 lines not on this page · raw message
arch/arm/mach-mx3/mach-cpuimx35.c new file +227 -0
227 lines not on this page · raw message
arch/arm/plat-mxc/include/mach/board-eukrea_cpuimx35.h new file +40 -0
@@ -0,0 +1,40 @@ +/* +* Copyright (C) 2010 Eric Benard - eric at eukrea.com +* +* Based on board-pcm038.h which is : +* Copyright (C) 2008 Juergen Beisert (kernel at pengutronix.de) +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +* MA 02110-1301, USA. +*/ + +#ifndef __ASM_ARCH_MXC_BOARD_EUKREA_CPUIMX35_H__ +#define __ASM_ARCH_MXC_BOARD_EUKREA_CPUIMX35_H__ + +#ifndef __ASSEMBLY__ +/* +* This CPU module needs a baseboard to work. After basic initializing +* its own devices, it calls baseboard's init function. +* TODO: Add your own baseboard init function and call it from +* inside eukrea_cpuimx25_init(). +* +* This example here is for the development board. Refer +* eukrea_mbimx25-baseboard.c +*/ + +extern void eukrea_mbimxsd_baseboard_init (void ); + +#endif + +#endif /* __ASM_ARCH_MXC_BOARD_EUKREA_CPUIMX35_H__ */
Signature · 1 line
1.6.3.3