From patchwork Fri Nov 21 19:45:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Ebalard X-Patchwork-Id: 5357601 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 219CFC11AC for ; Fri, 21 Nov 2014 19:45:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3D1E52021B for ; Fri, 21 Nov 2014 19:45:57 +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 6BACF201BB for ; Fri, 21 Nov 2014 19:45:56 +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 1Xru6Y-0005SR-3G; Fri, 21 Nov 2014 19:42:54 +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 1Xru6R-0005Or-JE for linux-arm-kernel@lists.infradead.org; Fri, 21 Nov 2014 19:42:48 +0000 Received: by smtp.natisbad.org (Postfix, from userid 109) id B97321700D4B; Fri, 21 Nov 2014 20:42:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416598949; bh=6drzFCL5ylsvBJzUboM/TWEjPudXaZdvsReOipbXJpI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=0i42nX8yRRxG01Qtz0TLppJwrqMUfMDteL+LoOLPzX7uWqIe8mE19po7BIzhVgBjt m3sXUiD34wqQ5gvCKjW0g+ub616Yp8gEBh6ilLaAoMF0GLtv6dkCOpVMLhZAZXZrFT cs9HP3LGr3LYSGBqeeaNdQjfdw1R/T9B8/XOruFY= 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 499AA17004A0; Fri, 21 Nov 2014 20:41:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416598911; bh=6drzFCL5ylsvBJzUboM/TWEjPudXaZdvsReOipbXJpI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=xFAESK6hdECCkvoI3sCmGuoKsMQzLPrCWCRJ2diWiHmvnAJkU3x/5rv5LqE4vsMVS XBUkjsutHq1gNnEcLLfeTweAoFv1bqvxVdYskaQsJkp5YthqhqBUyj8ZCBecWIcBdc YxHc6KXmxFgQ9YCU5Moe0WuqfYGCuP0TzM0+Vxu8= X-Hashcash: 1:20:141121:jason@lakedaemon.net::5RxViWMApHvbnymU:000000000000000000000000000000000000000006nTq X-Hashcash: 1:20:141121:andrew@lunn.ch::xIEs0LIWz8BFWM4E:000FQqo X-Hashcash: 1:20:141121:gregory.clement@free-electrons.com::Y7k6HLeyX0JzFUu7:0000000000000000000000000002Q1p X-Hashcash: 1:20:141121:sebastian.hesselbarth@gmail.com::vdEEVc6nD7xZ5wBp:0000000000000000000000000000000cmE X-Hashcash: 1:20:141121:klightspeed@killerwolves.net::B0hbS6laic07DIHW:0000000000000000000000000000000002Kea X-Hashcash: 1:20:141121:linux@arm.linux.org.uk::gRYKW3D6BJRUbNRx:0000000000000000000000000000000000000000u5S X-Hashcash: 1:20:141121:linux-arm-kernel@lists.infradead.org::byda+3GzyPulHBmp:00000000000000000000000003SAH X-Hashcash: 1:20:141121:rob.herring@calxeda.com::kshmZIwF/6MGX776:000000000000000000000000000000000000004qYG X-Hashcash: 1:20:141121:pawel.moll@arm.com::UCIoSICaLR+AdP9z:00000000000000000000000000000000000000000001284 X-Hashcash: 1:20:141121:mark.rutland@arm.com::DduXYAY1oHGXP0UX:000000000000000000000000000000000000000003v7k X-Hashcash: 1:20:141121:swarren@wwwdotorg.org::H1u6vio11MvHfrTd:00000000000000000000000000000000000000002hL+ X-Hashcash: 1:20:141121:ijc+devicetree@hellion.org.uk::edRRKKp/lsVODOJq:000000000000000000000000000000003Cpi X-Hashcash: 1:20:141121:devicetree@vger.kernel.org::z0c3+2K0SMGf7w6r:000000000000000000000000000000000006LCn From: Arnaud Ebalard To: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Ben Peddell Subject: [PATCHv5 02/10] arm: mvebu: add uartX labels for Armada SoC serial nodes In-Reply-To: References: Message-Id: Date: Fri, 21 Nov 2014 20:45:21 +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_114247_956788_EAEFD735 X-CRM114-Status: UNSURE ( 9.66 ) 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>;