From patchwork Fri Aug 19 12:47:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 9290223 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3404B607FF for ; Fri, 19 Aug 2016 12:51:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 253C6293D7 for ; Fri, 19 Aug 2016 12:51:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1705929404; Fri, 19 Aug 2016 12:51:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=2.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A8480293D7 for ; Fri, 19 Aug 2016 12:51:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bajFC-00087b-IX; Fri, 19 Aug 2016 12:49:54 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bajDU-0006v8-VC for linux-arm-kernel@lists.infradead.org; Fri, 19 Aug 2016 12:48:10 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id CED6B2053B; Fri, 19 Aug 2016 08:47:47 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Fri, 19 Aug 2016 08:47:48 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aj.id.au; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-sasl-enc:x-sasl-enc; s=mesmtp; bh=cNmD4ah04eG2e23YWmHIa3Py94E =; b=Ryt+P1cO2SAbe84wW6ZdrdZRK1UJntcPiY/YokTciDUJr+k7tKKDfxJiuHW tQb1LpuL7cygyZbC2SiBghbcSVjPB0rPrKQK/sNkuV3frBg9VwdKx0BVXq1vtpio 3VhA+yMtgVmy/i5fqlhSSYa4+vWH2sLVUnK7/tg0YvrBvcZM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=cNmD 4ah04eG2e23YWmHIa3Py94E=; b=drT7JEQvorADzS93Hv6cwkO45fIsnUT2MYpU fWY8IdiW/YwECw//OKeJM2wEZdxq6LR3F+kk5ax7gtsqA9ITkumUeSNQ/4fRPsI5 ZXnxroui6pm5uYTIjGNlCIt6xzr8aS4XHtdRVhRxakkG7haRGlXTkrxPWF/Q2Ru5 Yd8qavU= X-Sasl-enc: oWPbzc21BPEDurz2xASX2Aen8xjFqKMaHdX77pBms1fS 1471610867 Received: from keelia.au.ibm.com (ppp203-122-213-247.static.internode.on.net [203.122.213.247]) by mail.messagingengine.com (Postfix) with ESMTPA id 1C639F2970; Fri, 19 Aug 2016 08:47:43 -0400 (EDT) From: Andrew Jeffery To: Joel Stanley Subject: [PATCH v2 5/7] aspeed-g4: Add gpio controller to devicetree Date: Fri, 19 Aug 2016 22:17:03 +0930 Message-Id: <20160819124705.24633-6-andrew@aj.id.au> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160819124705.24633-1-andrew@aj.id.au> References: <20160819124705.24633-1-andrew@aj.id.au> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160819_054809_163517_BA6DDE0A X-CRM114-Status: UNSURE ( 7.73 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Andrew Jeffery , Benjamin Herrenschmidt , Russell King , linux-kernel@vger.kernel.org, Rob Herring , Jeremy Kerr , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-g4.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index c2ab63c621c0..9a4a9e998e71 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -492,6 +492,15 @@ reg = <0x1e720000 0x8000>; // 32K }; + gpio: gpio@1e780000 { + #gpio-cells = <2>; + gpio-controller; + compatible = "aspeed,ast2400-gpio"; + reg = <0x1e780000 0x1000>; + interrupts = <20>; + gpio-ranges = <&pinctrl 0 0 220>; + }; + timer: timer@1e782000 { compatible = "aspeed,ast2400-timer"; reg = <0x1e782000 0x90>;