From patchwork Mon Sep 10 16:20:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 1433001 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 374B140220 for ; Mon, 10 Sep 2012 16:20:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757987Ab2IJQTU (ORCPT ); Mon, 10 Sep 2012 12:19:20 -0400 Received: from mail-ie0-f174.google.com ([209.85.223.174]:40572 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752416Ab2IJQTS (ORCPT ); Mon, 10 Sep 2012 12:19:18 -0400 Received: by ieje11 with SMTP id e11so3488119iej.19 for ; Mon, 10 Sep 2012 09:19:18 -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=xHyOyHY1Jj1BiYIqECnUgfo3osPG64LGZbhKxaRMAkk=; b=Pr97C1kWpOVv0ESWctPbSl4VsWRVto5QmcMl7ZDq4B6dA/ada3PDPdlnENHyk3Fmbx VDmOvHPWZHBZJEV1cRJrq/wvPrrj0/WhHNzP9oxT1aXT3EdgbIOiFC1s3ymICEv21RG1 5vYyAz39gkvBcadpjS2RSa/sgVdyBt3a7lvCFbzjgV4AGd77IhT4kBDAYj24kzQFLa30 lohLztTnunnrdGX8uE6B1DlD/SN5FotnUq5w8kfzinuSeqBNU45Vw2HQcLxJ9eYbRNeO f+6xNut9cz1rNJscA1ZoSFWPPb4OhVg9Yq4kwWharQddhH3K58k1lJPx2+8Wv0Bm2jPx c/mA== Received: by 10.50.40.132 with SMTP id x4mr11396163igk.48.1347293958483; Mon, 10 Sep 2012 09:19:18 -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 ng5sm12280956igc.0.2012.09.10.09.19.15 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Sep 2012 09:19:16 -0700 (PDT) From: Matt Porter To: Linux OMAP List Cc: Linux ARM Kernel List , Devicetree Discuss , Linux Kernel Mailing List , Benoit Cousson , Vaibhav Hiremath Subject: [PATCH] ARM: dts: AM33XX: fix gpio node numbering to match hardware Date: Mon, 10 Sep 2012 12:20:20 -0400 Message-Id: <1347294020-22661-1-git-send-email-mporter@ti.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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;