From patchwork Wed Mar 30 01:24:40 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Doan X-Patchwork-Id: 833 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:46:14 -0000 Delivered-To: patches@linaro.org Received: by 10.42.161.68 with SMTP id s4cs10311icx; Tue, 29 Mar 2011 18:26:15 -0700 (PDT) Received: by 10.142.191.1 with SMTP id o1mr359616wff.396.1301448374969; Tue, 29 Mar 2011 18:26:14 -0700 (PDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by mx.google.com with ESMTPS id x16si15890508wfh.51.2011.03.29.18.26.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 18:26:14 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of andy.doan@linaro.org) client-ip=209.85.210.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of andy.doan@linaro.org) smtp.mail=andy.doan@linaro.org Received: by pzk2 with SMTP id 2so159016pzk.37 for ; Tue, 29 Mar 2011 18:26:13 -0700 (PDT) Received: by 10.142.242.10 with SMTP id p10mr366868wfh.424.1301448373287; Tue, 29 Mar 2011 18:26:13 -0700 (PDT) Received: from localhost.localdomain (c-98-232-4-79.hsd1.wa.comcast.net [98.232.4.79]) by mx.google.com with ESMTPS id n4sm7976577wfl.2.2011.03.29.18.26.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 18:26:12 -0700 (PDT) From: Andy Doan To: grant.likely@secretlab.ca Cc: linaro-kernel@lists-linaro.org, patches@linaro.org, steve@sakoman.com, Andy Doan Subject: [PATCH] dt/arm: Add basic device tree support for overo Date: Tue, 29 Mar 2011 18:24:40 -0700 Message-Id: <1301448280-25045-1-git-send-email-andy.doan@linaro.org> X-Mailer: git-send-email 1.7.1 Enable basic device tree support for Gumstix Overo. tested with Overo Tide COM and Tobi expansion board Signed-off-by: Andy Doan --- arch/arm/boot/dts/omap3-overo.dts | 7 +++++++ arch/arm/mach-omap2/board-overo.c | 6 ++++++ 2 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 arch/arm/boot/dts/omap3-overo.dts diff --git a/arch/arm/boot/dts/omap3-overo.dts b/arch/arm/boot/dts/omap3-overo.dts new file mode 100644 index 0000000..c61f011 --- /dev/null +++ b/arch/arm/boot/dts/omap3-overo.dts @@ -0,0 +1,7 @@ +/dts-v1/; +/include/ "skeleton.dtsi" + +/ { + model = "Gumstix Overo"; + compatible = "gumstix,omap3-overo"; +}; diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 2c2228a..da6d2f1 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c @@ -786,6 +786,11 @@ static void __init overo_init(void) "OVERO_GPIO_USBH_CPEN\n"); } +static const char *omap3_overo_dt_match[] __initdata = { + "gumstix,omap3-overo", + NULL +}; + MACHINE_START(OVERO, "Gumstix Overo") .boot_params = 0x80000100, .reserve = omap_reserve, @@ -794,4 +799,5 @@ MACHINE_START(OVERO, "Gumstix Overo") .init_irq = omap_init_irq, .init_machine = overo_init, .timer = &omap_timer, + .dt_compat = omap3_overo_dt_match, MACHINE_END