From patchwork Tue Jul 19 11:45:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Weitzel X-Patchwork-Id: 988662 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6JBjZqm017316 for ; Tue, 19 Jul 2011 11:45:36 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751764Ab1GSLpf (ORCPT ); Tue, 19 Jul 2011 07:45:35 -0400 Received: from mail.phytec.co.uk ([217.6.246.34]:56309 "EHLO root.phytec.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751032Ab1GSLpd (ORCPT ); Tue, 19 Jul 2011 07:45:33 -0400 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 9B6A7BF0D9; Tue, 19 Jul 2011 13:48:54 +0200 (CEST) Received: from numalfix.phytec.de ([127.0.0.1]) by idefix.phytec.de (Lotus Domino Release 8.5.2FP2) with ESMTP id 2011071913453087-194053 ; Tue, 19 Jul 2011 13:45:30 +0200 Received: by numalfix.phytec.de (Postfix, from userid 1002) id CD0E81A3F88; Tue, 19 Jul 2011 13:45:30 +0200 (CEST) From: Jan Weitzel To: linux-omap@vger.kernel.org Cc: tony@atomide.com, Jan Weitzel Subject: [RFC 2/2] omap4: board-omap4pcm049: add Phytec phyCORE-OMAP4 Date: Tue, 19 Jul 2011 13:45:27 +0200 Message-Id: <1311075927-5562-3-git-send-email-j.weitzel@phytec.de> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <20110718084259.GY5783@atomide.com> References: <20110718084259.GY5783@atomide.com> X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 8.5.2FP2|March 22, 2011) at 19.07.2011 13:45:30, Serialize by Router on Idefix/Phytec(Release 8.5.2FP2|March 22, 2011) at 19.07.2011 13:45:31, Serialize complete at 19.07.2011 13:45:31 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 19 Jul 2011 11:45:36 +0000 (UTC) Adds support for the Phytec OMAP4430 board called phyCORE-OMAP4 PCM049. Signed-off-by: Jan Weitzel --- arch/arm/mach-omap2/Kconfig | 6 + arch/arm/mach-omap2/Makefile | 4 + arch/arm/mach-omap2/board-omap4pcm049.c | 368 ++++++++++++++++++++++++++ arch/arm/plat-omap/include/plat/uncompress.h | 1 + 4 files changed, 379 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-omap2/board-omap4pcm049.c diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index 6b88799..d5e4b60 100644 --- a/arch/arm/mach-omap2/Kconfig +++ b/arch/arm/mach-omap2/Kconfig @@ -333,6 +333,12 @@ config MACH_OMAP4_PANDA select OMAP_PACKAGE_CBS select REGULATOR_FIXED_VOLTAGE +config MACH_PCM049 + bool "OMAP4 based phyCORE OMAP4" + depends on ARCH_OMAP4 + default y + select OMAP_PACKAGE_CBS + config OMAP3_EMU bool "OMAP3 debugging peripherals" depends on ARCH_OMAP3 diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 5d829d6..6cc4ccb 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -240,6 +240,10 @@ obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o \ board-omap4panda-common.o \ hsmmc.o \ omap_phy_internal.o +obj-$(CONFIG_MACH_MACH_PCM049) += board-pcm049.o \ + board-omap4panda-common.o \ + hsmmc.o \ + omap_phy_internal.o obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o \ omap_phy_internal.o \ diff --git a/arch/arm/mach-omap2/board-omap4pcm049.c b/arch/arm/mach-omap2/board-omap4pcm049.c new file mode 100644 index 0000000..117334e --- /dev/null +++ b/arch/arm/mach-omap2/board-omap4pcm049.c @@ -0,0 +1,368 @@ +/* + * Board support file for Phytec phyCORE-OMAP4 Board. + * + * Copyright (C) 2011 Phytec Messtechnik GmbH + * + * Author: Jan Weitzel + * + * Based on mach-omap2/board-omap4panda.c + * + * Author: David Anders + * + * Author: Santosh Shilimkar + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include