From patchwork Fri Jun 14 09:45:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: avinash philip X-Patchwork-Id: 2720991 Return-Path: X-Original-To: patchwork-davinci@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 121E29F472 for ; Fri, 14 Jun 2013 09:46:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 60A9D2023C for ; Fri, 14 Jun 2013 09:46:49 +0000 (UTC) Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2B3B42023B for ; Fri, 14 Jun 2013 09:46:48 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r5E9jWJA021479; Fri, 14 Jun 2013 04:45:32 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r5E9jW3m021584; Fri, 14 Jun 2013 04:45:32 -0500 Received: from dlelxv23.itg.ti.com (172.17.1.198) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Fri, 14 Jun 2013 04:45:32 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id r5E9jWjk015482; Fri, 14 Jun 2013 04:45:32 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 8491D80628; Fri, 14 Jun 2013 04:45:32 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dlelxv90.itg.ti.com (dlelxv90.itg.ti.com [172.17.2.17]) by linux.omap.com (Postfix) with ESMTP id A350C8062E for ; Fri, 14 Jun 2013 04:44:31 -0500 (CDT) Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r5E9iV7Y018433; Fri, 14 Jun 2013 04:44:31 -0500 Received: from dlelxv23.itg.ti.com (172.17.1.198) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Fri, 14 Jun 2013 04:44:31 -0500 Received: from ucmsshproxy.india.ext.ti.com (dbdp20.itg.ti.com [172.24.170.38]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with SMTP id r5E9iRt7012110; Fri, 14 Jun 2013 04:44:27 -0500 Received: from symphony.india.ext.ti.com (unknown [192.168.247.13]) by ucmsshproxy.india.ext.ti.com (Postfix) with ESMTP id 8A303158003; Fri, 14 Jun 2013 15:14:26 +0530 (IST) Received: from ubuntu-psp-linux.india.ext.ti.com (ubuntu-psp-linux [192.168.247.46]) by symphony.india.ext.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id r5E9iQR07737; Fri, 14 Jun 2013 15:14:26 +0530 (IST) From: Philip Avinash To: , , , , , Subject: [PATCH v2 4/4] ARM: davinci: da850 evm: add GPIO DT data Date: Fri, 14 Jun 2013 15:15:56 +0530 Message-ID: <1371203156-15260-5-git-send-email-avinashphilip@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1371203020-15092-1-git-send-email-avinashphilip@ti.com> References: <1371203020-15092-1-git-send-email-avinashphilip@ti.com> MIME-Version: 1.0 CC: , , , , , X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 From: KV Sujith - Add GPIO DT Data and pinmux for DA850 EVM. GPIO is configurable differently on different boards. So add GPIO pinmuxing in dts file. - Dependency: This patch is dependent on Grab-pin-control patch; https://patchwork.kernel.org/patch/2013751/ Signed-off-by: KV Sujith Signed-off-by: Philip Avinash --- arch/arm/boot/dts/da850-evm.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 5bce7cc..2c127ff 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -17,6 +17,20 @@ soc { pmx_core: pinmux@1c14120 { status = "okay"; + gpio_pins: pinmux_gpio_pins { + pinctrl-single,bits = < + /* GPIO2_4 GPIO2_6 */ + 0x18 0x00008080 0x0000f0f0 + /* GPIO2_8 GPIO2_15 */ + 0x14 0x80000008 0xf000000f + /* GPIO3_12 GPIO3_13 */ + 0x1C 0x00008800 0x0000ff00 + /* GPIO4_0 GPIO4_1 */ + 0x28 0x88000000 0xff000000 + /* GPIO6_9 GPIO6_10 GPIO6_13 */ + 0x34 0x08800800 0x0ff00f00 + >; + }; }; serial0: serial@1c42000 { status = "okay"; @@ -90,6 +104,11 @@ }; }; }; + gpio: gpio@1e26000 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&gpio_pins>; + }; }; nand_cs3@62000000 { status = "okay";