From patchwork Mon Sep 10 19:45:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 1433551 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 9BEE240220 for ; Mon, 10 Sep 2012 19:47:12 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TB9uA-0004bh-V7; Mon, 10 Sep 2012 19:44:23 +0000 Received: from mail-iy0-f177.google.com ([209.85.210.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TB9ty-0004ZR-DH for linux-arm-kernel@lists.infradead.org; Mon, 10 Sep 2012 19:44:11 +0000 Received: by iaai1 with SMTP id i1so2305148iaa.36 for ; Mon, 10 Sep 2012 12:44:09 -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:in-reply-to :references; bh=xHyOyHY1Jj1BiYIqECnUgfo3osPG64LGZbhKxaRMAkk=; b=J6KIU3eLcPh85xytgTDNio7VmGyXkjBy+WRlb02+1gbQ9Ejw/xvGkkZZHoGyETbRX2 uQPAa8d9s9jTjz0sH/wVOKXaYNVbGe1/I0uOEu1yrX+so/Va1u+SyzLzBHRU5OBuGhNK RFDAH0Fg+FF0eQQUtvh8p/d1Ju0zSOdBX1NklBA9y/3CycSKbsxso46Tdv2RxJuHvWEm Wg8I/xPG9GyWC5gTYYhO714mKWjQ2JJnsj+Z9XDoB6xbk09WS3yZC8I7MxPvWOrb96yw qgpAhJOHfh9dLjnt3G22PnOoSKfcJ55PexPEf7HN+2bu2bF7SGGzMXvCpi5n/iHvZ8y+ GitQ== Received: by 10.50.94.130 with SMTP id dc2mr13323546igb.22.1347306249638; Mon, 10 Sep 2012 12:44:09 -0700 (PDT) Received: from beef.ohporter.com (cpe-24-166-64-7.neo.res.rr.com. [24.166.64.7]) by mx.google.com with ESMTPS id hz10sm12909129igc.12.2012.09.10.12.44.07 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Sep 2012 12:44:08 -0700 (PDT) From: Matt Porter To: Linux OMAP List Subject: [PATCH v2 1/2] ARM: dts: AM33XX: fix gpio node numbering to match hardware Date: Mon, 10 Sep 2012 15:45:11 -0400 Message-Id: <1347306312-31533-2-git-send-email-mporter@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1347306312-31533-1-git-send-email-mporter@ti.com> References: <1347306312-31533-1-git-send-email-mporter@ti.com> 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.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.210.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ohiomdp[at]gmail.com) -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: Benoit Cousson , Tony Lindgren , Devicetree Discuss , Linux Kernel Mailing List , Vaibhav Hiremath , AnilKumar , Linux ARM Kernel List 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 On AM33xx, the datasheet and TRM refer to four GPIO instances that are 0-based, GPIO0-3. Signed-off-by: Matt Porter --- arch/arm/boot/dts/am33xx.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index bb31bff..1369bfc 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -62,7 +62,7 @@ reg = <0x48200000 0x1000>; }; - gpio1: gpio@44e07000 { + gpio0: gpio@44e07000 { compatible = "ti,omap4-gpio"; ti,hwmods = "gpio1"; gpio-controller; @@ -74,7 +74,7 @@ interrupts = <96>; }; - gpio2: gpio@4804c000 { + gpio1: gpio@4804c000 { compatible = "ti,omap4-gpio"; ti,hwmods = "gpio2"; gpio-controller; @@ -86,7 +86,7 @@ interrupts = <98>; }; - gpio3: gpio@481ac000 { + gpio2: gpio@481ac000 { compatible = "ti,omap4-gpio"; ti,hwmods = "gpio3"; gpio-controller; @@ -98,7 +98,7 @@ interrupts = <32>; }; - gpio4: gpio@481ae000 { + gpio3: gpio@481ae000 { compatible = "ti,omap4-gpio"; ti,hwmods = "gpio4"; gpio-controller;