From patchwork Tue Nov 18 23:01:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Ebalard X-Patchwork-Id: 5333561 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8C9E7C11AC for ; Tue, 18 Nov 2014 23:01:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7C0BB201EC for ; Tue, 18 Nov 2014 23:01:45 +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 A62AF201CE for ; Tue, 18 Nov 2014 23:01:44 +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 1Xqrkg-0002Y6-27; Tue, 18 Nov 2014 23:00:02 +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 1Xqrkb-0002QG-Ki for linux-arm-kernel@lists.infradead.org; Tue, 18 Nov 2014 22:59:58 +0000 Received: by smtp.natisbad.org (Postfix, from userid 109) id 7B2511700D44; Tue, 18 Nov 2014 23:59:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416351550; bh=Nx5Zq4o0J9SCZt86XzrrycSTy67AjJSqoumshK/fp2w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=gOmigCn5PGKZJu2k1EXuH7NusTcyO33yn6+4w+NxactU+0t22hATPd40n9E2cjJT0 sR5Wc3uyVQ/D9vVLAyPKcd6my/gylpsbxFFlhO+O7WDx5+0z3f4+LgtUj9UFpLYNaM 9tzO3p43uYaC8xOBwkLGaf6RvyFu5wQ+BtY+ji7k= 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 BD2421700468; Tue, 18 Nov 2014 23:58:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416351505; bh=Nx5Zq4o0J9SCZt86XzrrycSTy67AjJSqoumshK/fp2w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=grxJ1ku0je1RigAE5MJ0VE29FeQ9cQ0a4FQ2LmGazr7Ak0SNX5YGo2oJbrupKEX9Y 6DQIPc6y3WqKVuBIXuHuvbMx9MlaTrnfAqTN7PJM1nCuD+MxQTX/+xhpnLsOuIkRBx b4IUx8YXe8cRRxVSK3N7razU/BpHomMZ/PkcWf4o= X-Hashcash: 1:20:141118:jason@lakedaemon.net::NUgImzGWgIjFYuYC:000000000000000000000000000000000000000001DLT X-Hashcash: 1:20:141118:andrew@lunn.ch::o0AsJA5ZzDCNi8z5:0002ODL X-Hashcash: 1:20:141118:gregory.clement@free-electrons.com::HGXW6VEIW00MYGxJ:0000000000000000000000000002MoN X-Hashcash: 1:20:141118:sebastian.hesselbarth@gmail.com::8cGU2CukiZ6gHBmD:0000000000000000000000000000001OsQ X-Hashcash: 1:20:141118:klightspeed@killerwolves.net::Wu+4IwpgAVqXhrgM:00000000000000000000000000000000045F0 X-Hashcash: 1:20:141118:linux@arm.linux.org.uk::9X8ks6CV9shBSkQk:0000000000000000000000000000000000000003Whx X-Hashcash: 1:20:141118:linux-arm-kernel@lists.infradead.org::gCKItZCv02Ga01N2:00000000000000000000000005fvZ X-Hashcash: 1:20:141118:rob.herring@calxeda.com::eDU1t+FAb/tTr9mR:000000000000000000000000000000000000001T4t X-Hashcash: 1:20:141118:pawel.moll@arm.com::M+63ly63qEibnzi/:000000000000000000000000000000000000000000022jo X-Hashcash: 1:20:141118:mark.rutland@arm.com::94rrGg+QUQ2dirtN:000000000000000000000000000000000000000004o+G X-Hashcash: 1:20:141118:swarren@wwwdotorg.org::L32YH1wo5RoKTwj9:00000000000000000000000000000000000000001hfL X-Hashcash: 1:20:141118:ijc+devicetree@hellion.org.uk::XY45hIYPM0nC7AqQ:00000000000000000000000000000000CeT7 X-Hashcash: 1:20:141118:devicetree@vger.kernel.org::dA9xDDyFxWUwV6oI:000000000000000000000000000000000004BSp From: Arnaud Ebalard To: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Ben Peddell Subject: [PATCHv4 02/10] arm: mvebu: add uartX labels for Armada SoC serial nodes In-Reply-To: References: Message-Id: <8c622c408d74d5e9fc36b7c00f9e8aeb3f290683.1416351426.git.arno@natisbad.org> Date: Wed, 19 Nov 2014 00:01:47 +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-20141118_145957_941862_C250D567 X-CRM114-Status: GOOD ( 10.07 ) 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 This patch adds uartX labels for Armada SoC serial nodes. This is a preliminary work to be able to easily reference the serial lines in Device Tree files. One expected use is when providing stdout-path property for barebox. Acked-by: Andrew Lunn Signed-off-by: Arnaud Ebalard Reviewed-by: Thomas Petazzoni --- arch/arm/boot/dts/armada-370-xp.dtsi | 5 +++-- arch/arm/boot/dts/armada-xp.dtsi | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi index 83286ec9702c..2be9723bcdf3 100644 --- a/arch/arm/boot/dts/armada-370-xp.dtsi +++ b/arch/arm/boot/dts/armada-370-xp.dtsi @@ -151,7 +151,7 @@ status = "disabled"; }; - serial@12000 { + uart0: serial@12000 { compatible = "snps,dw-apb-uart"; reg = <0x12000 0x100>; reg-shift = <2>; @@ -160,7 +160,8 @@ clocks = <&coreclk 0>; status = "disabled"; }; - serial@12100 { + + uart1: serial@12100 { compatible = "snps,dw-apb-uart"; reg = <0x12100 0x100>; reg-shift = <2>; diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi index a3919b644737..e4ba27ef109b 100644 --- a/arch/arm/boot/dts/armada-xp.dtsi +++ b/arch/arm/boot/dts/armada-xp.dtsi @@ -53,7 +53,7 @@ reg = <0x11100 0x100>; }; - serial@12200 { + uart2: serial@12200 { compatible = "snps,dw-apb-uart"; reg = <0x12200 0x100>; reg-shift = <2>; @@ -62,7 +62,8 @@ clocks = <&coreclk 0>; status = "disabled"; }; - serial@12300 { + + uart3: serial@12300 { compatible = "snps,dw-apb-uart"; reg = <0x12300 0x100>; reg-shift = <2>;