From patchwork Thu Aug 4 10:14:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Jaszczyk X-Patchwork-Id: 9263277 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 0DE8E60754 for ; Thu, 4 Aug 2016 10:18:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F2C102832B for ; Thu, 4 Aug 2016 10:18:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E760C283AC; Thu, 4 Aug 2016 10:18:19 +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 745022832B for ; Thu, 4 Aug 2016 10:18:19 +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 1bVFhj-000524-Nr; Thu, 04 Aug 2016 10:16:43 +0000 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bVFbb-00063D-EI for linux-arm-kernel@lists.infradead.org; Thu, 04 Aug 2016 10:10:26 +0000 Received: by mail-lf0-x22e.google.com with SMTP id l69so178887814lfg.1 for ; Thu, 04 Aug 2016 03:10:02 -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=W/ZXiXw7S4AEqCBGZOEERzmSwGStBwmlqomOLWz4Ws4=; b=pz8NR075IvuxHFF/zgSS8XvVxPZL9X4Rrak/f2rgObachNedfJHMZiCOX2zat3ylkO YUJyL01pdQ3VwL3A9YGgiK5O3l4AGGqQxzrE2j08GY1rn0V/9/oQ2E0avsjhiJMOoTHR RVkRMOZL4Chb/Z25VuefHIDcZTqnsUFR9zsdHEYpfPPRo86nYOQsxJ72IPQUu41AIrWF 6yg5IUuQDtYdS+hcMJZ68K7LUfWNXimPxCyAQyUGK6N/VCFYyeOqkwrkSbSGebFlFfWR jma7VlKHVkOVyPjh1v2u1jHRaF6Io8yitY1u1nYBQM23mAnTtxCW7r9tSg8Ff8eclr4+ 54Tg== 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=W/ZXiXw7S4AEqCBGZOEERzmSwGStBwmlqomOLWz4Ws4=; b=XyQRJdQNcnkMsX2NVQXguJ+6VHsqLT3AdjuJ4ssGt30OPDdFjYSlS8xaziypF6HKOD fFe2ADEVvV3kwdzh4k1osvxUjdCAv2lhlYcYfcJQTeXS5GgvMUffXsch2NOPfWiL8DTh SGA1Bc/YoaaIWQUWwtCMtseuD2N+6lo1iG+jn9XpL6OmGtSlJcCFtMV5MDhQEqBXqpsK dJaFvfd/JdWUx0wj20UmCdqqatheCXbEF3n5XoLpQyEgfOyQ+PvRMtDv9zls1fGwCVsb HXmMWyQrFfrzE8FLCTPe5oY++duDVTp1cc60285a8TIklc8lOD/vbtJLatDm6sqp/B00 o/Iw== X-Gm-Message-State: AEkoouvld1Vhwt9dZCD+VLeq8U7FB9aXRMA5TAV1rfl723fGxt30kuioubwyb8OUG3ddLQ== X-Received: by 10.25.0.149 with SMTP id 143mr19149363lfa.71.1470305400906; Thu, 04 Aug 2016 03:10:00 -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 c12sm2302628lfc.40.2016.08.04.03.09.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Aug 2016 03:09:59 -0700 (PDT) From: Grzegorz Jaszczyk To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 10/17] ARM: dts: mvebu: armada-39x: add missing nodes describing GPIO's Date: Thu, 4 Aug 2016 12:14:13 +0200 Message-Id: <1470305660-6601-11-git-send-email-jaz@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1470305660-6601-1-git-send-email-jaz@semihalf.com> References: <1470305660-6601-1-git-send-email-jaz@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160804_031023_783206_C5508F6E X-CRM114-Status: UNSURE ( 8.24 ) 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, nadavh@marvell.com, 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";