From patchwork Thu Nov 21 00:42:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 3216181 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 AE6FC9F474 for ; Thu, 21 Nov 2013 00:42:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D7EA92076C for ; Thu, 21 Nov 2013 00:42:35 +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 BCF5E2076B for ; Thu, 21 Nov 2013 00:42:34 +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 1VjILb-0001FV-Uk; Thu, 21 Nov 2013 00:42:20 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VjILU-0004T9-6e; Thu, 21 Nov 2013 00:42:12 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VjILR-0004SR-Io for linux-arm-kernel@lists.infradead.org; Thu, 21 Nov 2013 00:42:10 +0000 Received: by mail-pa0-f46.google.com with SMTP id kl14so5710470pab.5 for ; Wed, 20 Nov 2013 16:41:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:subject; bh=56VpTNU9KOaocwlhFVv95osH/ievHtGTy7IAgdCH1P0=; b=zv4rmJxXf5dDuWG79j3V2YHwyzsrIeK2/OQY6TxJxxA1C79T082GY1uzLTcpl3b5X5 uJ+SoMZjVpbByt0oDBprhjnrtFZCMMiGz4McompSuo7rA26uXVZ1QuWPje+DOwewlVG8 pip70tJhHpBYER0TqJnDVJ2eQEAEHfnZU/IqAq1V5uYi4+vCEtIKlExCP8WGWJa1W1W+ 53zmh4Zm60m3DZD7l0fmoBza59J7W9K/od14DwosXkDcPo001qeG2gnfKxHP6c+pNxlf UNGdgLuChsk72fQUaDIqMrZGPpe4evRcfnliNkTdLMNACE1LRVWAba+B8GoP1NfI82jc Hhtw== X-Received: by 10.66.129.141 with SMTP id nw13mr121951pab.167.1384994507406; Wed, 20 Nov 2013 16:41:47 -0800 (PST) Received: from [127.0.0.1] (ac230065.ppp.asahi-net.or.jp. [183.77.230.65]) by mx.google.com with ESMTPSA id qn1sm40998237pbc.34.2013.11.20.16.41.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Nov 2013 16:41:46 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Thu, 21 Nov 2013 09:42:29 +0900 Message-Id: <20131121004229.16464.59215.sendpatchset@w520> Subject: [PATCH] ARM: shmobile: Fix r8a7791 GPIO resources in DTS X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131120_194209_743068_2F46E6EC X-CRM114-Status: UNSURE ( 6.83 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: horms@verge.net.au, Magnus Damm , 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=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 From: Magnus Damm The r8a7791 GPIO resources are currently incorrect. Fix that by making them match the information in the data sheet. Tested with GPIO LED using Koelsch DT reference. Signed-off-by: Magnus Damm --- arch/arm/boot/dts/r8a7791.dtsi | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) --- 0021/arch/arm/boot/dts/r8a7791.dtsi +++ work/arch/arm/boot/dts/r8a7791.dtsi 2013-11-20 17:28:26.000000000 +0900 @@ -49,9 +49,9 @@ interrupts = <1 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; }; - gpio0: gpio@ffc40000 { + gpio0: gpio@e6050000 { compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; - reg = <0 0xffc40000 0 0x50>; + reg = <0 0xe6050000 0 0x50>; interrupt-parent = <&gic>; interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>; @@ -61,9 +61,9 @@ interrupt-controller; }; - gpio1: gpio@ffc41000 { + gpio1: gpio@e6051000 { compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; - reg = <0 0xffc41000 0 0x50>; + reg = <0 0xe6051000 0 0x50>; interrupt-parent = <&gic>; interrupts = <0 5 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>; @@ -73,9 +73,9 @@ interrupt-controller; }; - gpio2: gpio@ffc42000 { + gpio2: gpio@e6052000 { compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; - reg = <0 0xffc42000 0 0x50>; + reg = <0 0xe6052000 0 0x50>; interrupt-parent = <&gic>; interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>; @@ -85,9 +85,9 @@ interrupt-controller; }; - gpio3: gpio@ffc43000 { + gpio3: gpio@e6053000 { compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; - reg = <0 0xffc43000 0 0x50>; + reg = <0 0xe6053000 0 0x50>; interrupt-parent = <&gic>; interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>; @@ -97,9 +97,9 @@ interrupt-controller; }; - gpio4: gpio@ffc44000 { + gpio4: gpio@e6054000 { compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; - reg = <0 0xffc44000 0 0x50>; + reg = <0 0xe6054000 0 0x50>; interrupt-parent = <&gic>; interrupts = <0 8 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>; @@ -109,9 +109,9 @@ interrupt-controller; }; - gpio5: gpio@ffc45000 { + gpio5: gpio@e6055000 { compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; - reg = <0 0xffc45000 0 0x50>; + reg = <0 0xe6055000 0 0x50>; interrupt-parent = <&gic>; interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>; @@ -121,9 +121,9 @@ interrupt-controller; }; - gpio6: gpio@ffc45400 { + gpio6: gpio@e6055400 { compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; - reg = <0 0xffc45400 0 0x50>; + reg = <0 0xe6055400 0 0x50>; interrupt-parent = <&gic>; interrupts = <0 10 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>; @@ -133,9 +133,9 @@ interrupt-controller; }; - gpio7: gpio@ffc45800 { + gpio7: gpio@e6055800 { compatible = "renesas,gpio-r8a7791", "renesas,gpio-rcar"; - reg = <0 0xffc45800 0 0x50>; + reg = <0 0xe6055800 0 0x50>; interrupt-parent = <&gic>; interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>; #gpio-cells = <2>;