From patchwork Sun Nov 16 17:37:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Ebalard X-Patchwork-Id: 5314321 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 117109F2F1 for ; Sun, 16 Nov 2014 17:38:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 365A820149 for ; Sun, 16 Nov 2014 17:38:16 +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 0CA4320148 for ; Sun, 16 Nov 2014 17:38:15 +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 1Xq3kL-0008Pj-Ud; Sun, 16 Nov 2014 17:36:21 +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-00082b-81 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 1B3B41700468; Sun, 16 Nov 2014 18:35:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416159327; bh=gmBrJhuyoJV/y/aCSK4R5CuDkI37vl9RlpKC4EJ3Tag=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OXrlx9HxNpBru1SwnqulfBrhAWPSTuBWM/5f2TZyy+8nQKRud0VY8a05PHGaZH8kU XXM+OEr4vdxL9KK0DvHqN4Sv8OqXIHBVLZfaS8V9FgL4e28A+oLwbDH9ekv9kIseU8 /ucUt1khPHhKdqbqu6XuRb+98qe+Zi/T42my3DXk= 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 697781700D44; Sun, 16 Nov 2014 18:34:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416159266; bh=gmBrJhuyoJV/y/aCSK4R5CuDkI37vl9RlpKC4EJ3Tag=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ZH/h0+xxyd+TQu1Cgy08tWi2+7g/2JLW+1pnuGvnRJNlq/bOoI0N1k3atEHZii70U nZzDe9YYjbfGEEtPMnZmlcV39xdKcJ9ZVeTXhkJM7yHBIlDEa2aQs3H2iMxrtLEOu0 qVYEJl6tHuMaVab4l8d2kEfUSGbm3/tzVeBUjwfM= X-Hashcash: 1:20:141116:jason@lakedaemon.net::u6YcQ/C3iEzTyr4X:000000000000000000000000000000000000000005LZ3 X-Hashcash: 1:20:141116:andrew@lunn.ch::NZ90pVV2EKi8FwB0:0000Rxv X-Hashcash: 1:20:141116:gregory.clement@free-electrons.com::vkW9LDdfkHY55bwP:0000000000000000000000000001Imy X-Hashcash: 1:20:141116:sebastian.hesselbarth@gmail.com::gEc7GsIaUFyRBEk9:000000000000000000000000000000HzaV X-Hashcash: 1:20:141116:klightspeed@killerwolves.net::2Ejbc0rgQThIyK3P:00000000000000000000000000000000008PJ X-Hashcash: 1:20:141116:linux@arm.linux.org.uk::j0ckIbH1/MkzPL35:0000000000000000000000000000000000000004/fH X-Hashcash: 1:20:141116:linux-arm-kernel@lists.infradead.org::JIXmyvX8daefSwtT:00000000000000000000000003Rco X-Hashcash: 1:20:141116:rob.herring@calxeda.com::5IGpk9Onw+o6DFUc:000000000000000000000000000000000000001O7G X-Hashcash: 1:20:141116:pawel.moll@arm.com::kVlIBM30DWwBUcG4:000000000000000000000000000000000000000000076B6 X-Hashcash: 1:20:141116:mark.rutland@arm.com::jo97VwH2XBY05aTT:0000000000000000000000000000000000000000019X7 X-Hashcash: 1:20:141116:swarren@wwwdotorg.org::N4izxvylG3yP99Dc:00000000000000000000000000000000000000002BKV X-Hashcash: 1:20:141116:ijc+devicetree@hellion.org.uk::7u87dkOe1Oc2c25/:00000000000000000000000000000000AF79 X-Hashcash: 1:20:141116:devicetree@vger.kernel.org::wx5GmY4pjsxhoqqP:000000000000000000000000000000000004s2P From: Arnaud Ebalard To: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Ben Peddell Subject: [PATCHv2 6/8] arm: mvebu: add common ge0/1 and spi0 pintcrl entries for Armada XP MV78230 In-Reply-To: References: Message-Id: <8c861a1fe1026289bf17f02dc8d69539019f28b7.1416158990.git.arno@natisbad.org> Date: Sun, 16 Nov 2014 18:37:44 +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_605689_54227350 X-CRM114-Status: UNSURE ( 9.16 ) 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 the two GbE interfaces using RGMII signaling w/ the PHY via MPP0-11/MPP12-23 and the spi0 interface using MPP36-39 are common configurations. Instead of replicating them in each .dts file, put those in armada-xp-mv78230.dtsi file so that they can be referenced. Suggested-by: Andrew Lunn Signed-off-by: Arnaud Ebalard --- arch/arm/boot/dts/armada-xp-mv78230.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/armada-xp-mv78230.dtsi b/arch/arm/boot/dts/armada-xp-mv78230.dtsi index 2592e1c13560..85a39aed00dd 100644 --- a/arch/arm/boot/dts/armada-xp-mv78230.dtsi +++ b/arch/arm/boot/dts/armada-xp-mv78230.dtsi @@ -171,6 +171,26 @@ compatible = "marvell,mv78230-pinctrl"; reg = <0x18000 0x38>; + ge0_rgmii_pins: ge0-rgmii-pins { + marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3", + "mpp4", "mpp5", "mpp6", "mpp7", + "mpp8", "mpp9", "mpp10", "mpp11"; + marvell,function = "ge0"; + }; + + ge1_rgmii_pins: ge1-rgmii-pins { + marvell,pins = "mpp12", "mpp13", "mpp14", "mpp15", + "mpp16", "mpp17", "mpp18", "mpp19", + "mpp20", "mpp21", "mpp22", "mpp23"; + marvell,function = "ge1"; + }; + + spi0_pins: spi0-pins { + marvell,pins = "mpp36", "mpp37", + "mpp38", "mpp39"; + marvell,function = "spi"; + }; + sdio_pins: sdio-pins { marvell,pins = "mpp30", "mpp31", "mpp32", "mpp33", "mpp34", "mpp35";