From patchwork Wed Jun 25 23:56:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Kan X-Patchwork-Id: 4424931 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2D328BEEAA for ; Wed, 25 Jun 2014 23:59:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 52F5D20377 for ; Wed, 25 Jun 2014 23:59:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7615820304 for ; Wed, 25 Jun 2014 23:59:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wzx3R-0004f0-IZ; Wed, 25 Jun 2014 23:56:41 +0000 Received: from exprod5og118.obsmtp.com ([64.18.0.160]) by bombadil.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wzx3Q-0004ZF-2a for linux-arm-kernel@lists.infradead.org; Wed, 25 Jun 2014 23:56:40 +0000 Received: from mail-pa0-f44.google.com ([209.85.220.44]) (using TLSv1) by exprod5ob118.postini.com ([64.18.4.12]) with SMTP ID DSNKU6thoxwIBuef0HEFJvQm3KBW/G89hCoK@postini.com; Wed, 25 Jun 2014 16:56:40 PDT Received: by mail-pa0-f44.google.com with SMTP id rd3so2364286pab.31 for ; Wed, 25 Jun 2014 16:56:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=XiyTHJhOjYg/LbOxj8UBzYF7kzCaJ1GVFeY/zxWfVGo=; b=lb76Wjkt1qwZAmUsI0OpNWAptkQTok5xpxc5BgnCBIX+JNpVmi1PTeB3dpVWJjeqoo z0ztfvPwK9JeqcyVY+bVE0VDz8lyTKvykXY7j9j/66QncvfDpfP451/934bhaRGYMNNz eCHfHJjT58pCx82dOS9P5w+I/PEyDsgwZdziftxa75ZZNVq/IfDQ0i6wmjGS50Y6wFHL BiSDwmhNpbbQtCr57X/Ht3pY/68j05ltobq7P+0PSmkWI5ZAeX0G4K4WXEq/qPT377Ez wAJIcTFWaa+/VJbayD/6+/o+SnZcnmqr0BEnmVK+6pV6V7WFjlrIulrl7qchKrr8sVk6 T3TA== X-Gm-Message-State: ALoCoQkKiDhx+5JUR3LjjD187QgCG0CS4VL/5X5rOOGGkoLPN5B/YYygqKv3K3OHoP7Jm+dMOcvUmsJlcy6qaxbA1kARkALb3+lSVP+rB/R8f3R0SFOUzuZhrLTyNvb6wVE79gZ+mV782wL+CXWPSFE5ZXGTE/uIkg== X-Received: by 10.68.197.8 with SMTP id iq8mr16553561pbc.124.1403740578937; Wed, 25 Jun 2014 16:56:18 -0700 (PDT) X-Received: by 10.68.197.8 with SMTP id iq8mr16553543pbc.124.1403740578770; Wed, 25 Jun 2014 16:56:18 -0700 (PDT) Received: from fkan-lpt.amcc.com (63-147-59-2.dia.static.qwest.net. [63.147.59.2]) by mx.google.com with ESMTPSA id f2sm25249386pat.11.2014.06.25.16.56.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Jun 2014 16:56:18 -0700 (PDT) From: Feng Kan To: patches@apm.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: Add Designware GPIO dts binding to APM X-Gene platform Date: Wed, 25 Jun 2014 16:56:16 -0700 Message-Id: <1403740576-7165-1-git-send-email-fkan@apm.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140625_165640_163814_C9DD428F X-CRM114-Status: UNSURE ( 8.12 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) Cc: Feng Kan X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-1.9 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD, 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 Add Designware GPIO dts binding to APM X-Gene platform Signed-off-by: Feng Kan --- arch/arm64/boot/dts/apm-storm.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index c5f0a47..63e58d3 100644 --- a/arch/arm64/boot/dts/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm-storm.dtsi @@ -363,5 +363,20 @@ #clock-cells = <1>; clocks = <&rtcclk 0>; }; + + dwgpio: dwgpio@1c024000 { + compatible = "snps,dw-apb-gpio"; + reg = <0x0 0x1c024000 0x0 0x1000>; + reg-io-width = <4>; + #address-cells = <1>; + #size-cells = <0>; + + porta: gpio-controller@0 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + snps,nr-gpios = <32>; + reg = <0>; + }; + }; }; };