From patchwork Tue Aug 30 07:55:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 9305001 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 061F160756 for ; Tue, 30 Aug 2016 07:59:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA4C828A94 for ; Tue, 30 Aug 2016 07:59:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DEFBA28B00; Tue, 30 Aug 2016 07:59:37 +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 09FAF28A94 for ; Tue, 30 Aug 2016 07:59:36 +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 1bedvp-0004eH-OY; Tue, 30 Aug 2016 07:58:05 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bedun-00041E-Ap for linux-arm-kernel@lists.infradead.org; Tue, 30 Aug 2016 07:57:02 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 9ABE7203E3; Tue, 30 Aug 2016 03:56:40 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Tue, 30 Aug 2016 03:56:40 -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=w5r5uxWA/06cGWDONrOHi3sdweo =; b=e3vQiauAQ/KjZhijLvGp8nFdZC7IE4AfNpf9BkSX/uMy/hkTzBLJVLTkNgI VvkAC/zO7Y+9QCmCRGK7l5LgBwTUnoVCwH2t+pyBxag8VHiZo/Fv3HBDtuh6NQXu IgTJaMcrMw9Q1sl+RaoMkKl7QLRxQo1B8Mp3sAM/XYNtFjrQ= 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=w5r5 uxWA/06cGWDONrOHi3sdweo=; b=rYsDyp7DxyCq6GzNDDgpI5Nn8QQwak4AcCQT oaKUIMjMoEawBI/qEx9Wq6jVR5nOCfGair/3EmONRf9JkxTmcuEuSYttxWVdR7mo YE0OpdSe49V//qxQPyIqJMjxNcUAnRGLwXFcPaO5QnweLeW2SG0mre7n5PHDDVJ1 ApBSaTE= X-Sasl-enc: YahUs+0pM0G22o9f3UqdC3UzMem1cyF69hk9Wu2AFh1S 1472543799 Received: from keelia.au.ibm.com (unknown [203.0.153.9]) by mail.messagingengine.com (Postfix) with ESMTPA id BBD88CCE66; Tue, 30 Aug 2016 03:56:36 -0400 (EDT) From: Andrew Jeffery To: Joel Stanley Subject: [PATCH v3 5/7] aspeed-g4: Add gpio controller to devicetree Date: Tue, 30 Aug 2016 17:25:58 +0930 Message-Id: <20160830075600.11559-6-andrew@aj.id.au> X-Mailer: git-send-email 2.9.3.1.g0db844e In-Reply-To: <20160830075600.11559-1-andrew@aj.id.au> References: <20160830075600.11559-1-andrew@aj.id.au> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160830_005701_701162_C2DB481C X-CRM114-Status: UNSURE ( 7.49 ) 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index a5d6e81e318a..7c2b73c4d5ab 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -492,6 +492,16 @@ 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>; + interrupt-controller; + }; + timer: timer@1e782000 { compatible = "aspeed,ast2400-timer"; reg = <0x1e782000 0x90>;