From mboxrd@z Thu Jan 1 00:00:00 1970 From: u.kleine-koenig@pengutronix.de (Uwe =?iso-8859-1?Q?Kleine-K=F6nig?=) Date: Fri, 14 Jan 2011 09:34:08 +0100 Subject: [PATCH] Introduce VPR200 board. In-Reply-To: <1294962532-15790-2-git-send-email-marc@cpdesign.com.au> References: <1294962532-15790-1-git-send-email-marc@cpdesign.com.au> <1294962532-15790-2-git-send-email-marc@cpdesign.com.au> Message-ID: <20110114083408.GD24920@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Marc, On Fri, Jan 14, 2011 at 10:48:52AM +1100, Marc Reilly wrote: > Signed-off-by: Marc Reilly > --- > arch/arm/mach-mx3/Kconfig | 15 ++ > arch/arm/mach-mx3/Makefile | 1 + > arch/arm/mach-mx3/mach-vpr200.c | 404 +++++++++++++++++++++++++++++++++++++++ > 3 files changed, 420 insertions(+), 0 deletions(-) > create mode 100644 arch/arm/mach-mx3/mach-vpr200.c > > diff --git a/arch/arm/mach-mx3/Kconfig b/arch/arm/mach-mx3/Kconfig > index 0717f88..ca63c35 100644 > --- a/arch/arm/mach-mx3/Kconfig > +++ b/arch/arm/mach-mx3/Kconfig > @@ -229,4 +229,19 @@ config MACH_EUKREA_MBIMXSD35_BASEBOARD > > endchoice > > +config MACH_VPR200 > + bool "Support VPR200 platform" > + select SOC_IMX35 > + select IMX_HAVE_PLATFORM_FSL_USB2_UDC > + select IMX_HAVE_PLATFORM_IMX2_WDT > + select IMX_HAVE_PLATFORM_IMX_UART > + select IMX_HAVE_PLATFORM_IMX_I2C > + select IMX_HAVE_PLATFORM_MXC_EHCI > + select IMX_HAVE_PLATFORM_MXC_NAND > + select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX > + select IMX_HAVE_PLATFORM_MXC_PWM > + help > + Include support for VPR200 platform. This includes specific > + configurations for the board and its peripherals. > + > endif > diff --git a/arch/arm/mach-mx3/Makefile b/arch/arm/mach-mx3/Makefile > index 8db1329..bc7294f 100644 > --- a/arch/arm/mach-mx3/Makefile > +++ b/arch/arm/mach-mx3/Makefile > @@ -22,3 +22,4 @@ obj-$(CONFIG_MACH_MX35_3DS) += mach-mx35_3ds.o > obj-$(CONFIG_MACH_KZM_ARM11_01) += mach-kzm_arm11_01.o > obj-$(CONFIG_MACH_EUKREA_CPUIMX35) += mach-cpuimx35.o > obj-$(CONFIG_MACH_EUKREA_MBIMXSD35_BASEBOARD) += eukrea_mbimxsd-baseboard.o > +obj-$(CONFIG_MACH_VPR200) += mach-vpr200.o > diff --git a/arch/arm/mach-mx3/mach-vpr200.c b/arch/arm/mach-mx3/mach-vpr200.c > new file mode 100644 > index 0000000..a4f0514 > --- /dev/null > +++ b/arch/arm/mach-mx3/mach-vpr200.c > @@ -0,0 +1,404 @@ > +/* > + * Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved. > + * Copyright (C) 2009 Marc Kleine-Budde, Pengutronix > + * Copyright 2010 Creative Product Design > + * > + * Derived from mx35 3stack. > + * Original author: Fabio Estevam > + * > + * 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. > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > +#include > +#include > + > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > +#include > +#include > +#include