From patchwork Tue Oct 30 21:42:47 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 1674191 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id B27923FD8C for ; Tue, 30 Oct 2012 21:45:54 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TTJaV-0004Db-Gw; Tue, 30 Oct 2012 21:43:07 +0000 Received: from mail-ea0-f177.google.com ([209.85.215.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TTJaQ-0004DF-UC for linux-arm-kernel@lists.infradead.org; Tue, 30 Oct 2012 21:43:04 +0000 Received: by mail-ea0-f177.google.com with SMTP id n13so304823eaa.36 for ; Tue, 30 Oct 2012 14:43:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer; bh=SevBxnXJ7LpkGl3pQTerQlMEFS+sR0mMJF6GVc9A0Y0=; b=PFnwf54Mr/DepGGmKBi5yLJNbtuQxf5wI3/9maeaw///XRXB6CFNwqtr19ZIQ/kQVW OdtcM28t46B9VsEGl3gj8BVmpSAmnAcK/LinEww0+bonQOR5WYYhy9C68XBdb3fe92Ax r4XUKJGVqc2cB2+3wiHqpYLL2PN1YhU82uNaucOnIkGMLFnXXlXlJ++lSFyRHVmwX2EW B0pLtD2AKoCbwLcMTFRujPZwqB7S+MdZ3O75xIV1rMuBhUUxa6eXsQxckqfJCAOS4NpN CzftlmvnZ2GeKQoT65vQQoF7MGbesiexIZzc1+qDUbrcLtJJntHZMt0L4mG5Bj+eUCPO U2FA== Received: by 10.14.179.6 with SMTP id g6mr77517884eem.46.1351633379944; Tue, 30 Oct 2012 14:42:59 -0700 (PDT) Received: from localhost.localdomain ([109.230.39.121]) by mx.google.com with ESMTPS id k2sm3939248eep.15.2012.10.30.14.42.58 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 14:42:59 -0700 (PDT) From: Marek Belisko To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board. Date: Tue, 30 Oct 2012 22:42:47 +0100 Message-Id: <1351633367-19082-1-git-send-email-marek.belisko@open-nandra.com> X-Mailer: git-send-email 1.7.9.5 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (marek.belisko[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.177 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: devicetree-discuss@lists.ozlabs.org, Marek Belisko X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dts | 65 +++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 arch/arm/boot/dts/omap3-gta04.dts diff --git a/arch/arm/boot/dts/omap3-gta04.dts b/arch/arm/boot/dts/omap3-gta04.dts new file mode 100644 index 0000000..76efd13 --- /dev/null +++ b/arch/arm/boot/dts/omap3-gta04.dts @@ -0,0 +1,65 @@ +/* + * Copyright (C) 2012 Marek Belisko + * + * Based on omap3-beagle-xm.dts + * + * 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. + */ +/dts-v1/; + +/include/ "omap3.dtsi" + +/ { + model = "OMAP3 GTA04"; + compatible = "ti,omap3-gta04", "ti,omap3"; + + memory { + device_type = "memory"; + reg = <0x80000000 0x20000000>; /* 512 MB */ + }; + + gpio-keys { + compatible = "gpio-keys"; + #address-cells = <1>; + #size-cells = <0>; + aux-button { + label = "AUX"; + linux,code = <169>; + gpios = <&gpio1 7 1>; + gpio-key,wakeup; + }; + }; +}; + +&i2c1 { + clock-frequency = <2600000>; + + twl: twl@48 { + reg = <0x48>; + interrupts = <7>; /* SYS_NIRQ cascaded to intc */ + interrupt-parent = <&intc>; + }; +}; + +/include/ "twl4030.dtsi" + +&i2c2 { + clock-frequency = <400000>; + /* Pressure Sensor */ + bmp085@77 { + compatible = "bosch,bmp085"; + reg = <0x77>; + }; +}; + +&i2c3 { + clock-frequency = <100000>; +}; + +&mmc1 { + vmmc-supply = <&vmmc1>; + bus-width = <4>; +}; +