From patchwork Fri Nov 8 10:11:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 3157391 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 99B45BEEB2 for ; Fri, 8 Nov 2013 10:17:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7E8C1202BE for ; Fri, 8 Nov 2013 10:17:30 +0000 (UTC) Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DD804203E6 for ; Fri, 8 Nov 2013 10:17:24 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id rA8AGLd4023475; Fri, 8 Nov 2013 04:16:21 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id rA8AGLVD026425; Fri, 8 Nov 2013 04:16:21 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Fri, 8 Nov 2013 04:16:21 -0600 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id rA8AGLGw002920; Fri, 8 Nov 2013 04:16:21 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 18B7580631; Fri, 8 Nov 2013 04:16:21 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id C39C08062C for ; Fri, 8 Nov 2013 04:13:37 -0600 (CST) Received: from medina.ext.ti.com (medina.ext.ti.com [192.91.81.31]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id rA8AD7O5004219 for ; Fri, 8 Nov 2013 04:13:32 -0600 (CST) Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by medina.ext.ti.com (8.13.7/8.13.7) with ESMTP id rA8AD7lK007232 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 8 Nov 2013 04:13:07 -0600 Received: from [216.82.253.163:6972] by server-4.bemta-7.messagelabs.com id 4A/E3-14467-339BC725; Fri, 08 Nov 2013 10:13:07 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-5.tower-166.messagelabs.com!1383905585!7397617!1 X-Originating-IP: [209.85.192.180] X-SpamReason: No, hits=0.0 required=7.0 tests=ML_RADAR_SPEW_LINKS_14, spamassassin: X-StarScan-Received: X-StarScan-Version: 6.9.12; banners=-,-,- X-VirusChecked: Checked Received: (qmail 6486 invoked from network); 8 Nov 2013 10:13:06 -0000 Received: from mail-pd0-f180.google.com (HELO mail-pd0-f180.google.com) (209.85.192.180) by server-5.tower-166.messagelabs.com with RC4-SHA encrypted SMTP; 8 Nov 2013 10:13:06 -0000 Received: by mail-pd0-f180.google.com with SMTP id p10so1941418pdj.11 for ; Fri, 08 Nov 2013 02:13:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gPUCpjPK8d998y9q5wYyjN8nA0LEWi7CwCWDvg+dFBg=; b=P0VO1K0CtIJ27cQ9+m8hhtwjgEIirbQnZPH6O3IAOM2nmQKGtBQZjkcr/cbMktgZgk LWREXenlDJEkb5ThxTPv26S26I+jFwPpIxo9wKg/vbPQeUNgeVpUj8PwAfFnK3KeaHYM YvuFpu2HjTwBNo5Og0ifS4ljHHnR42T8sCOE0JRj2Zrr1eX1gkIubOOZoi3pC4CUsAG1 S0wMBwLAUJdnvrzLkPcN852D8iuQNCSn020KjhwpOK6JBcNWl1Ki2or5w7Vtx6JMHrHd hvH7F06vX1TFd0wsmhVVdFrBUKgZGTSGCSIViWo0054Tqxa4YuwCSteiakyuONy6aHmH DbGg== X-Received: by 10.68.219.72 with SMTP id pm8mr13990693pbc.164.1383905585671; Fri, 08 Nov 2013 02:13:05 -0800 (PST) Received: from localhost.localdomain ([182.156.67.248]) by mx.google.com with ESMTPSA id fa4sm13061280pab.17.2013.11.08.02.12.57 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 08 Nov 2013 02:13:04 -0800 (PST) From: Prabhakar Lad To: Sekhar Nori , Linus Walleij , Grygorii Strashko Subject: [PATCH v5 7/7] ARM: davinci: da850 evm: add GPIO pinumux entries DT node Date: Fri, 8 Nov 2013 15:41:50 +0530 Message-ID: <1383905510-31760-8-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1383905510-31760-1-git-send-email-prabhakar.csengg@gmail.com> References: <1383905510-31760-1-git-send-email-prabhakar.csengg@gmail.com> CC: Mark Rutland , , DLOS , Pawel Moll , , Stephen Warren , LKML , Rob Herring , , Rob Landley , Grant Likely , Ian Campbell , LAK 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: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 node and pinmux entries for DA850 EVM. GPIO is configurable differently on different boards. So add GPIO pinmuxing in dts file. Signed-off-by: KV Sujith Signed-off-by: Philip Avinash Signed-off-by: Lad, Prabhakar --- arch/arm/boot/dts/da850-evm.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 588ce58..f82c129 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -17,6 +17,21 @@ 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"; @@ -101,6 +116,11 @@ pinctrl-names = "default"; pinctrl-0 = <&mii_pins>; }; + gpio: gpio@1e26000 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&gpio_pins>; + }; }; nand_cs3@62000000 { status = "okay";