From patchwork Mon Jun 17 21:06:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 2737631 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7D8719F39E for ; Mon, 17 Jun 2013 21:06:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AEFDE203F4 for ; Mon, 17 Jun 2013 21:06:58 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D0E6F20471 for ; Mon, 17 Jun 2013 21:06:56 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UogdY-000735-UZ; Mon, 17 Jun 2013 21:06:53 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UogdW-0004jF-84; Mon, 17 Jun 2013 21:06:50 +0000 Received: from mail-ea0-x235.google.com ([2a00:1450:4013:c01::235]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UogdS-0004hq-Rl for linux-arm-kernel@lists.infradead.org; Mon, 17 Jun 2013 21:06:47 +0000 Received: by mail-ea0-f181.google.com with SMTP id a15so2135289eae.12 for ; Mon, 17 Jun 2013 14:06:22 -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=YNXii684j2fFUG0WGhe59m2Qf56YRIx2oHDB/Z3SInM=; b=jFSJii20ReQ/E8KiGyXW/nXVpbg7awm75ydmCzS8mdBqLehT5390rr9Chwki2iZPX+ K2+dckqc3TudJF/xv9A5qJH5hv8pCA3EXWcSmjAZgf3odFzdHYwvh4H8xIRuKLMaYDWo txmOPmSIy6Ri/mXxnmY4timPb/GRzSIxxpYDYp8RQMUFGPJUL8+KE0ahJy3pKbenx7XO Erh2pk+CVJEd0L8/hfvQkFe3V5VvGkGLWxjylhx27eG4RER6MVAbmtJVM4Pf0bg84ZF6 KRcCxOhjFYusLQySd6u6tybM37D/B0GSAhBBJ/3I7uFzVeo8bRaV0jTe2tzqtLkyeYlJ 295Q== X-Received: by 10.15.82.73 with SMTP id z49mr18276923eey.43.1371503182303; Mon, 17 Jun 2013 14:06:22 -0700 (PDT) Received: from localhost.localdomain (ip-85.162.192.3.o2inet.sk. [85.162.192.3]) by mx.google.com with ESMTPSA id z52sm26016614eea.1.2013.06.17.14.06.20 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Jun 2013 14:06:21 -0700 (PDT) From: Marek Belisko To: b-cousson@ti.com, tony@atomide.com Subject: [PATCH] arm/dts: Add basic support for gta04 (Openmoko next generation) board. Date: Mon, 17 Jun 2013 23:06:11 +0200 Message-Id: <1371503171-21416-1-git-send-email-marek.belisko@open-nandra.com> X-Mailer: git-send-email 1.8.1.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130617_170647_016736_D3FDE625 X-CRM114-Status: GOOD ( 12.22 ) X-Spam-Score: -1.9 (-) Cc: devicetree-discuss@lists.ozlabs.org, linux-omap@vger.kernel.org, Marek Belisko , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Marek Belisko --- Resending because patch wasn't applied yet and was first time sent in January. arch/arm/boot/dts/omap3-gta04.dts | 94 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 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..9e7e3ec --- /dev/null +++ b/arch/arm/boot/dts/omap3-gta04.dts @@ -0,0 +1,94 @@ +/* + * Copyright (C) 2013 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>; + }; + + /* leds */ + tca6507@45 { + compatible = "ti,tca6507"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x45>; + + gta04_led0: red_aux@0 { + label = "gta04:red:aux"; + reg = <0x0>; + }; + + gta04_led1: green_aux@1 { + label = "gta04:green:aux"; + reg = <0x1>; + }; + + gta04_led3: red_power@3 { + label = "gta04:red:power"; + reg = <0x3>; + linux,default-trigger = "default-on"; + }; + + gta04_led4: green_power@4 { + label = "gta04:green:power"; + reg = <0x4>; + }; + }; +}; + +&i2c3 { + clock-frequency = <100000>; +}; + +&mmc1 { + vmmc-supply = <&vmmc1>; + bus-width = <4>; +}; +