From patchwork Sun Nov 16 17:37:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Ebalard X-Patchwork-Id: 5314311 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 1177B9F2F1 for ; Sun, 16 Nov 2014 17:38:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 382D520149 for ; Sun, 16 Nov 2014 17:38:09 +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 7963A20148 for ; Sun, 16 Nov 2014 17:38:08 +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 1Xq3k7-0008GV-H0; Sun, 16 Nov 2014 17:36:07 +0000 Received: from 36.223.133.77.rev.sfr.net ([77.133.223.36] helo=smtp.natisbad.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xq3k3-0007za-82 for linux-arm-kernel@lists.infradead.org; Sun, 16 Nov 2014 17:36:04 +0000 Received: by smtp.natisbad.org (Postfix, from userid 109) id 0C9AE1700426; Sun, 16 Nov 2014 18:35:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416159319; bh=oqOgzbhOBkYBzutGDh68DsUJ2iCMJPANy+jdcYKwKW4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=2FVWAYqlSwVO2jlv0/6iaJeFpDiejQB3s4s4h6Vo56m3c2xNLMcstilc8zj+7B8dk ogtPFgw0GAcMknGp/q957Tclj49uMHZtkjfZLmX5I84hi3hs08IiOx8p7x180OqSSf Z6QSicsbL8jRiVZ1DjqU8D8GBrgg3TcRh+WBVyrk= X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from small (localhost [IPv6:::1]) by smtp.natisbad.org (Postfix) with ESMTP id 2CAFE170053E; Sun, 16 Nov 2014 18:34:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416159255; bh=oqOgzbhOBkYBzutGDh68DsUJ2iCMJPANy+jdcYKwKW4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=N3SXOcI2v0VmdeVGlvRv5PBtF8zN+JVSZobAR37+U9OVdSX5cuIqDqJWHzw47U6l/ Mh3QVQboyyU55mkFykjtPLNLYq07xoHNmZdLUmkaeVTnf9QAriP7NtA1xpmOmQyucP GTD2Pd+6TBLUGz+1YExcWwCRZwyl1qMXXbjUyE30= X-Hashcash: 1:20:141116:jason@lakedaemon.net::hknQ/VUTtQCCwMEe:0000000000000000000000000000000000000000015/g X-Hashcash: 1:20:141116:andrew@lunn.ch::4hdFKO3tj5Iy71uJ:000BVi7 X-Hashcash: 1:20:141116:gregory.clement@free-electrons.com::bVIG4fnY4uv01bzb:0000000000000000000000000009B+x X-Hashcash: 1:20:141116:sebastian.hesselbarth@gmail.com::iajrWuEPbkVcxr8B:00000000000000000000000000000029RR X-Hashcash: 1:20:141116:klightspeed@killerwolves.net::31WSrTFbM5fHBCCS:00000000000000000000000000000000008qH X-Hashcash: 1:20:141116:linux@arm.linux.org.uk::VOEstRg8ghkiQ3GV:00000000000000000000000000000000000000081dD X-Hashcash: 1:20:141116:linux-arm-kernel@lists.infradead.org::7eshrFVIrLRoiX+5:00000000000000000000000002U8F X-Hashcash: 1:20:141116:rob.herring@calxeda.com::Ww4YduUT+AwN/xd7:000000000000000000000000000000000000000sQ7 X-Hashcash: 1:20:141116:pawel.moll@arm.com::D2GkPeHWoMdRuWdC:00000000000000000000000000000000000000000001xPl X-Hashcash: 1:20:141116:mark.rutland@arm.com::YcMdOQUdBjYw5m6N:000000000000000000000000000000000000000001fBx X-Hashcash: 1:20:141116:swarren@wwwdotorg.org::L07Oat0rxy92QVU0:00000000000000000000000000000000000000004Sdp X-Hashcash: 1:20:141116:ijc+devicetree@hellion.org.uk::q5N4EgrdZUlHiaPf:000000000000000000000000000000000c87 X-Hashcash: 1:20:141116:devicetree@vger.kernel.org::ZP3oDLv5d8GwiBEP:000000000000000000000000000000000002sXP From: Arnaud Ebalard To: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Ben Peddell Subject: [PATCHv2 5/8] arm: mvebu: add common uart0 and spi0 pintcrl entries for Armada 370 In-Reply-To: References: Message-Id: Date: Sun, 16 Nov 2014 18:37:33 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141116_093603_628491_A81AA7C5 X-CRM114-Status: UNSURE ( 8.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.3 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Pawel Moll , Stephen Warren , Ian Campbell , Rob Herring , linux-arm-kernel@lists.infradead.org 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-Virus-Scanned: ClamAV using ClamSMTP pinctrl entries for uart0 using MPP0-1 and spi0 using MPP33-36 are common configurations. Instead of replicating them in each .dts file, put those in armada-370.dtsi file so that they can be referenced. Suggested-by: Andrew Lunn Signed-off-by: Arnaud Ebalard --- arch/arm/boot/dts/armada-370.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi index 6b3c23b1e138..d9f5d59e463e 100644 --- a/arch/arm/boot/dts/armada-370.dtsi +++ b/arch/arm/boot/dts/armada-370.dtsi @@ -115,6 +115,17 @@ compatible = "marvell,mv88f6710-pinctrl"; reg = <0x18000 0x38>; + uart0_pins: uart0-pins { + marvell,pins = "mpp0", "mpp1"; + marvell,function = "uart0"; + }; + + spi0_pins: spi0-pins { + marvell,pins = "mpp33", "mpp34", + "mpp35", "mpp36"; + marvell,function = "spi0"; + }; + sdio_pins1: sdio-pins1 { marvell,pins = "mpp9", "mpp11", "mpp12", "mpp13", "mpp14", "mpp15";