From patchwork Sun Nov 16 17:37:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Ebalard X-Patchwork-Id: 5314301 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 82FD5C11AC for ; Sun, 16 Nov 2014 17:37:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A105320149 for ; Sun, 16 Nov 2014 17:37: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 C1F7020148 for ; Sun, 16 Nov 2014 17:37: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 1Xq3jg-0007xI-Mu; Sun, 16 Nov 2014 17:35:40 +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 1Xq3jR-0007NB-Dp for linux-arm-kernel@lists.infradead.org; Sun, 16 Nov 2014 17:35:26 +0000 Received: by smtp.natisbad.org (Postfix, from userid 109) id 6BC6F1700D55; Sun, 16 Nov 2014 18:34:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416159284; bh=HQjN86sUHZQt+URoOEkawlAYmYN0t4bMDHN0hPLh4W4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=BK7VW9Jm/ig+5vzWOXoo64ngZxcZ5f7kAceJucFgkG7n0dgIs3t0rnEVVTNoJxaiX oCH0AiIMVaMVdNBh55lJR/nVLP4Ev9WzYH9l7LU684RJbmbKLbRnlvJYgjp1tfGqRK KLJ0P2NFolDLufuTf0q1Q8Pe94MI8uzoxTxES2fU= 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 D362C1700516; Sun, 16 Nov 2014 18:33:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416159238; bh=HQjN86sUHZQt+URoOEkawlAYmYN0t4bMDHN0hPLh4W4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=iRFD7x6cLnMAbkS8dEUipGUZpSf1TZGH3EdUb0+HakuTZML6Tmk08NOY1EHrd9i/P qOCztTU1ddzes5KjCzDEco0Vyg45IaONlcYHGcL1c0gJQtk0bIlEcKORjOHigj5cXr fFeOdvCMxPI4EPlwlQPTDdgdOaAuczdzkb5aWQCs= X-Hashcash: 1:20:141116:jason@lakedaemon.net::BRSGTsQqHU3olIEW:000000000000000000000000000000000000000001xyY X-Hashcash: 1:20:141116:andrew@lunn.ch::6PSbMFRo2Htduc7Z:000AEJg X-Hashcash: 1:20:141116:gregory.clement@free-electrons.com::ZtwMqjWgC8ffvB+U:0000000000000000000000000008vGD X-Hashcash: 1:20:141116:sebastian.hesselbarth@gmail.com::xmrINdavCBmka/8H:0000000000000000000000000000000yb2 X-Hashcash: 1:20:141116:klightspeed@killerwolves.net::4jtJdhprc9ImPvun:0000000000000000000000000000000005A38 X-Hashcash: 1:20:141116:linux@arm.linux.org.uk::i8hv0kATRBJFqlm9:000000000000000000000000000000000000000E9PE X-Hashcash: 1:20:141116:linux-arm-kernel@lists.infradead.org::Z2HuEn47y5WdJSYU:00000000000000000000000005yrs X-Hashcash: 1:20:141116:rob.herring@calxeda.com::ceiP9f+f/i5STuZ6:000000000000000000000000000000000000000qmm X-Hashcash: 1:20:141116:pawel.moll@arm.com::xqDTK/J1KLAGmgES:00000000000000000000000000000000000000000000CgS X-Hashcash: 1:20:141116:mark.rutland@arm.com::KNfwKamLI606h2C0:000000000000000000000000000000000000000002VmR X-Hashcash: 1:20:141116:swarren@wwwdotorg.org::pZu5wazCebNhYDPY:0000000000000000000000000000000000000000D/ET X-Hashcash: 1:20:141116:ijc+devicetree@hellion.org.uk::nJl71E4SDVz9NRNF:000000000000000000000000000000006zc0 X-Hashcash: 1:20:141116:devicetree@vger.kernel.org::MZT2jEV2rBr9xmeu:000000000000000000000000000000000001jDZ From: Arnaud Ebalard To: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Ben Peddell Subject: [PATCHv2 3/8] arm: mvebu: add uartX labels for Armada SoC serial nodes In-Reply-To: References: Message-Id: <833968f4add3449ec9cd7909f558cc6debed521b.1416158990.git.arno@natisbad.org> Date: Sun, 16 Nov 2014 18:37:16 +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_093525_797443_D8A9BB7A X-CRM114-Status: GOOD ( 10.02 ) 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 --- 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 bff9f6c18db1..a68f5b837536 100644 --- a/arch/arm/boot/dts/armada-xp.dtsi +++ b/arch/arm/boot/dts/armada-xp.dtsi @@ -52,7 +52,7 @@ reg = <0x11100 0x100>; }; - serial@12200 { + uart2: serial@12200 { compatible = "snps,dw-apb-uart"; reg = <0x12200 0x100>; reg-shift = <2>; @@ -61,7 +61,8 @@ clocks = <&coreclk 0>; status = "disabled"; }; - serial@12300 { + + uart3: serial@12300 { compatible = "snps,dw-apb-uart"; reg = <0x12300 0x100>; reg-shift = <2>;