From patchwork Fri Nov 21 23:45:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Ebalard X-Patchwork-Id: 5358561 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 851F49F387 for ; Fri, 21 Nov 2014 23:45:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AC28A20154 for ; Fri, 21 Nov 2014 23:45:31 +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 D3E502014A for ; Fri, 21 Nov 2014 23:45:30 +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 1XrxrQ-0004MA-DN; Fri, 21 Nov 2014 23:43:32 +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 1Xrxr8-0004Bo-AO for linux-arm-kernel@lists.infradead.org; Fri, 21 Nov 2014 23:43:15 +0000 Received: by smtp.natisbad.org (Postfix, from userid 109) id 978751700D2F; Sat, 22 Nov 2014 00:42:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416613376; bh=6drzFCL5ylsvBJzUboM/TWEjPudXaZdvsReOipbXJpI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=chY67P0vCtosT16sd9TtYFrXObnj+MADtXWD8CrZsUCsWFUdLN58+ZdC5UZ1uUjce KB+Gnr3ASF02yqKerPvgIioQ5n7PxbXdgqNAxB2Ug4voLkki7/9d55+F+0q1oIPzRb BOj8Xs3Q8RHbo1hcItpQpqmADR3e+zd29xj9GWls= 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 834151700508; Sat, 22 Nov 2014 00:42:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416613331; bh=6drzFCL5ylsvBJzUboM/TWEjPudXaZdvsReOipbXJpI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=KqHgx+cNLpgAd/J0HjvH8WGa26Tx5EiDQh2BCAn8iHqaFM59CRjIy7rlZm4/f/Qk2 KaNQs8EmeAyQFeHMXpQloMdsio/Tvi4zKDOj4p3jLlFKJkc9pXT02ys7EVRR/EZW+7 vNy1LjjU1P16Mj+Bqgz5K1RAeI5KG1ctYQVHHKS8= X-Hashcash: 1:20:141121:jason@lakedaemon.net::dVOBA/bZfLff7/QM:000000000000000000000000000000000000000000U9b X-Hashcash: 1:20:141121:andrew@lunn.ch::F9JkGGMJz/DwSo99:0003ooS X-Hashcash: 1:20:141121:gregory.clement@free-electrons.com::rHYF65qaZ1Hwk9P+:0000000000000000000000000008K3w X-Hashcash: 1:20:141121:sebastian.hesselbarth@gmail.com::gyWYNR8NYzny/O6e:0000000000000000000000000000006Bkb X-Hashcash: 1:20:141121:klightspeed@killerwolves.net::nAKJQ3L2aW3vVOiO:0000000000000000000000000000000006A6G X-Hashcash: 1:20:141121:linux@arm.linux.org.uk::R4FMb6U7H3oEyVYa:00000000000000000000000000000000000000024d8 X-Hashcash: 1:20:141121:linux-arm-kernel@lists.infradead.org::8d0Fr4rGDnVoPnDm:0000000000000000000000000D6Rw X-Hashcash: 1:20:141121:rob.herring@calxeda.com::UlguXMoTzpvfgS9U:00000000000000000000000000000000000000A5tp X-Hashcash: 1:20:141121:pawel.moll@arm.com::uxPWawuB/Bf6qiNG:00000000000000000000000000000000000000000000T61 X-Hashcash: 1:20:141121:mark.rutland@arm.com::aB8e9BgKbS0FkAgW:0000000000000000000000000000000000000000003qy X-Hashcash: 1:20:141121:swarren@wwwdotorg.org::QaeHiaOeKa4YHVZS:00000000000000000000000000000000000000000yYb X-Hashcash: 1:20:141121:ijc+devicetree@hellion.org.uk::YLMApZRf0iy1s43e:000000000000000000000000000000000OnR X-Hashcash: 1:20:141121:devicetree@vger.kernel.org::/hx5XGs66yVTH7/K:000000000000000000000000000000000004jNe From: Arnaud Ebalard To: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Ben Peddell Subject: [PATCHv6 02/10] arm: mvebu: add uartX labels for Armada SoC serial nodes In-Reply-To: References: Message-Id: <0683d1a823fe9b75849f3dafcf1cf6ee291cdca6.1416613429.git.arno@natisbad.org> Date: Sat, 22 Nov 2014 00:45:35 +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-20141121_154314_737444_C1E95B3D X-CRM114-Status: UNSURE ( 9.46 ) 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 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. Reviewed-by: Thomas Petazzoni Acked-by: Andrew Lunn Signed-off-by: Arnaud Ebalard --- 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>;