From patchwork Tue Dec 6 03:53:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jeffery X-Patchwork-Id: 9462013 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 9B1AD6022E for ; Tue, 6 Dec 2016 03:58:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 84DBD20747 for ; Tue, 6 Dec 2016 03:58:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77B2D281C3; Tue, 6 Dec 2016 03:58:41 +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 2ADA020747 for ; Tue, 6 Dec 2016 03:58:41 +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 1cE6rS-00026F-T4; Tue, 06 Dec 2016 03:56:10 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cE6qO-00005c-Fc for linux-arm-kernel@lists.infradead.org; Tue, 06 Dec 2016 03:55:05 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id AD0AD209B2; Mon, 5 Dec 2016 22:54:46 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Mon, 05 Dec 2016 22:54:46 -0500 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-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=u0i Awqb6AxK2RGqd4zlCW14gxvM=; b=hbTsEHJRLXYalLpxqHXsPdTlLlrOvZPrqKZ 3FHSlq3li67EH08ZJYZpjWg+VzvP0u/QiglcOM2rUMU9iu5sk1xNJO4ep4NBGqox kOW3PgONddBoP8ZiOOeMn+5FdMWkhV/8NmZIZad4JuTpXaCw6MgUasgBXd99+Mc8 mEHa+gfw= 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-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=smtpout; bh=u0iAwqb6AxK2RGqd4zlCW14gxvM=; b=V0xGC 4z0oMjil5RwC2Jxo5eYlvwYDukM68rpCiugCbK0fkwtcc/2OJEzW491TbiXjixcL 0k8oNQrpqQug4mK74F40Z0DpQWOPiMqF/7Yf/J2KYSYrMbO9n8rzI1ApF5CBlwE0 E2f8AR0K2PMH5WDl0PPS0C+9ui+TKV7+MNYQRY= X-ME-Sender: X-Sasl-enc: CNU2mXfgJi6VhASllAIylPP2qCI4t1xFy9op5N6QMkes 1480996485 Received: from keelia.au.ibm.com (unknown [202.81.18.29]) by mail.messagingengine.com (Postfix) with ESMTPA id C57997EF1F; Mon, 5 Dec 2016 22:54:43 -0500 (EST) From: Andrew Jeffery To: Joel Stanley Subject: [PATCH v4 6/6] arm: dts: aspeed-g5: Add gpio controller to devicetree Date: Tue, 6 Dec 2016 14:53:48 +1100 Message-Id: <20161206035348.29948-7-andrew@aj.id.au> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161206035348.29948-1-andrew@aj.id.au> References: <20161206035348.29948-1-andrew@aj.id.au> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161205_195504_664130_390293EE X-CRM114-Status: UNSURE ( 6.65 ) 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 , linux-kernel@vger.kernel.org, Rob Herring , 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 Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g5.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index 6ccabdb90e95..a95c1b08a816 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -898,6 +898,16 @@ reg = <0x1e720000 0x9000>; // 36K }; + gpio: gpio@1e780000 { + #gpio-cells = <2>; + gpio-controller; + compatible = "aspeed,ast2500-gpio"; + reg = <0x1e780000 0x1000>; + interrupts = <20>; + gpio-ranges = <&pinctrl 0 0 220>; + interrupt-controller; + }; + timer: timer@1e782000 { compatible = "aspeed,ast2400-timer"; reg = <0x1e782000 0x90>;