From patchwork Thu Jul 21 12:44:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Jaszczyk X-Patchwork-Id: 9241615 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 0D2D5607D3 for ; Thu, 21 Jul 2016 12:48:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F38F727D85 for ; Thu, 21 Jul 2016 12:48:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E7FA527E71; Thu, 21 Jul 2016 12:48:49 +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=-4.1 required=2.0 tests=BAYES_00,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 8F3CD27D85 for ; Thu, 21 Jul 2016 12:48:49 +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 1bQDNY-0008N3-KS; Thu, 21 Jul 2016 12:47:04 +0000 Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bQDHv-0001mK-J2 for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2016 12:41:17 +0000 Received: by mail-lf0-x231.google.com with SMTP id l69so60735817lfg.1 for ; Thu, 21 Jul 2016 05:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GKjH+BhbF1kpp0c+bDZWGN0qkJns0z0v0Fgp7Wcx5IE=; b=oS0EYKLiN+Ha3VZBr+NeFhGfuZp2zyyUUhw5IdBOLjaU6QVMtA5RANpa//fYwfcVlA s5kUErP9gqRK2ohQKlXbTsGIZSF3shgw4iwqRoB4tAOyW4uPw8ufppuo+cNO/RxYnDqV kOsgMoWwmUH+MIcsSfpvsv1E88M15h+zgJJh1foLlF1kjMV5Ls8cT/bcbfJBd122h0fg RraoAJiHzOKC39WBmLZqpTftMGNEjikio722glBPtk+LczKHCVXYa9sorlYEZfGdCETR 52OGjHnJ4SB98oN2GGrDEDwD45904Jfry6tm2Z4L6tDdrvSEUOhs+nIrnhsxgFE5uDia K83A== 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:in-reply-to :references; bh=GKjH+BhbF1kpp0c+bDZWGN0qkJns0z0v0Fgp7Wcx5IE=; b=ho847Mu/ll2udIpQNoxkM+PchIFRCRlHFdCgrJShPWCHx88zWKTRJaUgqBTYwblBeb /Dh69pUuvuSS85wOCVkmm11uiDioY2iSE08iQlVmTgPqXjlB9W6VkIZPU9Pau9GeeIqO rYBLARv90cOdSp6lcanYbvBnd4sRbIa67z+jmgoEhaf9PdaYZSMjOCM2u5nwugeseXER jBPAev8Z84zGi1vo/s+MW8fIbXajILf/I73NSUr4SXP4NXvM07phHs6tIiporCIPCZM5 a9YPvBVSUADy0HNOwtsXvMGfMMi2kReZZ+vW+yCakBZ4vihDW9pVaGIgECKd8qPf6bRa X8Qg== X-Gm-Message-State: ALyK8tLkqB2BJs90DgikxG4b2GYOyYItI5hKopujmrVMZS5VD1vFLGpwON9/6QWkNfs3mg== X-Received: by 10.25.207.129 with SMTP id f123mr10184124lfg.81.1469104853354; Thu, 21 Jul 2016 05:40:53 -0700 (PDT) Received: from enkidu.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 196sm1759701ljf.5.2016.07.21.05.40.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 05:40:52 -0700 (PDT) From: Grzegorz Jaszczyk To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 11/18] ARM: mvebu: a39x: add missing nodes describing GPIO's Date: Thu, 21 Jul 2016 14:44:08 +0200 Message-Id: <1469105055-25181-13-git-send-email-jaz@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1469105055-25181-1-git-send-email-jaz@semihalf.com> References: <1469105055-25181-1-git-send-email-jaz@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160721_054115_965214_44A38450 X-CRM114-Status: UNSURE ( 8.66 ) 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@arm.com, andrew@lunn.ch, jason@lakedaemon.net, jaz@semihalf.com, linux@armlinux.org.uk, alior@marvell.com, robh+dt@kernel.org, gregory.clement@free-electrons.com, mw@semihalf.com, thomas.petazzoni@free-electrons.com, sebastian.hesselbarth@gmail.com 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 The whole Armada 39x SoC family of processors has GPIO's which all can be supported with existing driver. Signed-off-by: Grzegorz Jaszczyk Acked-by: Gregory CLEMENT --- arch/arm/boot/dts/armada-39x.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi index 5e01438..0749878 100644 --- a/arch/arm/boot/dts/armada-39x.dtsi +++ b/arch/arm/boot/dts/armada-39x.dtsi @@ -55,6 +55,8 @@ compatible = "marvell,armada390"; aliases { + gpio0 = &gpio0; + gpio1 = &gpio1; serial0 = &uart0; serial1 = &uart1; serial2 = &uart2; @@ -274,6 +276,34 @@ }; }; + gpio0: gpio@18100 { + compatible = "marvell,orion-gpio"; + reg = <0x18100 0x40>; + ngpios = <32>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = , + , + , + ; + }; + + gpio1: gpio@18140 { + compatible = "marvell,orion-gpio"; + reg = <0x18140 0x40>; + ngpios = <28>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = , + , + , + ; + }; + system-controller@18200 { compatible = "marvell,armada-390-system-controller", "marvell,armada-370-xp-system-controller";