From patchwork Thu Jul 10 18:53:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Soren Brinkmann X-Patchwork-Id: 4526161 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 CE21E9F37C for ; Thu, 10 Jul 2014 18:57:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 14315201F7 for ; Thu, 10 Jul 2014 18:57:30 +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 5096A201F4 for ; Thu, 10 Jul 2014 18:57:29 +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 1X5JU7-0000Nl-Iz; Thu, 10 Jul 2014 18:54:23 +0000 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X5JU4-0000Lk-Cb for linux-arm-kernel@lists.infradead.org; Thu, 10 Jul 2014 18:54:20 +0000 Received: by mail-pa0-f43.google.com with SMTP id lf10so4981pab.2 for ; Thu, 10 Jul 2014 11:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=8JfSizMeyh38IItPQwCUOvpv85miqOBQbVALedKJceE=; b=DR2O4cvessb9If+5nBlUD6V2aJPpFkjU8ShFOslFtztEQnNwTqdi82RxpDW9RRVlHz 1Ah2Wp4eJby7AgpdttUTal0LEooTtQqc2/TBwJH24ZPWNiMmk/R4Q0QNfd59npLLNXok PAIYxgob7B4WHoRSkK31BKNF3kuAUKG2IKo4E38eh6X/7kpNKV/I0HUOdPmzLoXduf2m JB8egC4q5rCgEwKmOz6Qj0DZtgmKG0YlEMN6Mhe9504f3DZ4QggUY2Q6FeBDEUO/cQ7d DeAVhdIFbJJma5TcRBbNKllVekDUUfwxgAbefJfy4bbp5ApLqaHTiuOgpoR03Z7KE3v8 KutA== X-Received: by 10.70.88.105 with SMTP id bf9mr19029283pdb.54.1405018438229; Thu, 10 Jul 2014 11:53:58 -0700 (PDT) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id ib5sm62646624pbb.55.2014.07.10.11.53.56 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 10 Jul 2014 11:53:57 -0700 (PDT) From: Soren Brinkmann To: Michal Simek , Russell King Subject: [PATCH] ARM: zynq: dt: Add GPIO node Date: Thu, 10 Jul 2014 11:53:38 -0700 Message-Id: <1405018418-23396-1-git-send-email-soren.brinkmann@xilinx.com> X-Mailer: git-send-email 2.0.1.1.gfbfc394 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140710_115420_469731_AC506A48 X-CRM114-Status: UNSURE ( 8.49 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Kumar Gala , =?UTF-8?q?S=C3=B6ren=20Brinkmann?= 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 node describing Zynq's GPIO controller. Signed-off-by: Soren Brinkmann --- The GPIO driver and binding documentation is staged in Linus' GPIO tree. Sören arch/arm/boot/dts/zynq-7000.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi index 760bbc463c5b..504cca338247 100644 --- a/arch/arm/boot/dts/zynq-7000.dtsi +++ b/arch/arm/boot/dts/zynq-7000.dtsi @@ -65,6 +65,16 @@ interrupt-parent = <&intc>; ranges; + gpio0: gpio@e000a000 { + compatible = "xlnx,zynq-gpio-1.0"; + #gpio-cells = <2>; + clocks = <&clkc 42>; + gpio-controller; + interrupt-parent = <&intc>; + interrupts = <0 20 4>; + reg = <0xe000a000 0x1000>; + }; + i2c0: i2c@e0004000 { compatible = "cdns,i2c-r1p10"; status = "disabled";