From patchwork Mon Nov 17 23:27: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: 5324421 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 89E64C11AC for ; Mon, 17 Nov 2014 23:27:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AFA7620125 for ; Mon, 17 Nov 2014 23:27:40 +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 E0E6620120 for ; Mon, 17 Nov 2014 23:27:39 +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 1XqVfr-0002MX-2r; Mon, 17 Nov 2014 23:25:35 +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 1XqVfn-0002Ae-AM for linux-arm-kernel@lists.infradead.org; Mon, 17 Nov 2014 23:25:31 +0000 Received: by smtp.natisbad.org (Postfix, from userid 109) id 9C75B1700769; Tue, 18 Nov 2014 00:24:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416266688; bh=HQjN86sUHZQt+URoOEkawlAYmYN0t4bMDHN0hPLh4W4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=fBuB5xqnTqaq/9Fye2pxmC3OhS8AFAR4drMyF8EP35uBEK8zrhvnrd53AMlLhzDF7 nmp4E5j+A2IHuEhd50AhKRxCPJWITpCtwhRHj857GUhSODK835/AcAB0v8G/5U0+X6 KkebvAmaTWxHD59wpnaLNuDoonSj/kJfssEtwiXo= 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 67D5D1700468; Tue, 18 Nov 2014 00:23:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416266635; bh=HQjN86sUHZQt+URoOEkawlAYmYN0t4bMDHN0hPLh4W4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=uDjrG8frARv+kSEShzZV73N5YpRhoqokmaC+xZgyJ3ovmFwypDm7CQJVV1szpg9Sh cn0Dck5j8U+zxHQIEAfg4O75IHIusZ3wvJ0l+E7iLjRkzUzTFcEqcGEHygnI/qhNUq 4NZvy2Yqu+qPmAjgsV1mEXVGVWNeDS/eWPPenHso= X-Hashcash: 1:20:141117:jason@lakedaemon.net::W0IygxCXCvq/7nsB:000000000000000000000000000000000000000003rv6 X-Hashcash: 1:20:141117:andrew@lunn.ch::vlJ9jIhUXJYy6xRR:0001rv0 X-Hashcash: 1:20:141117:gregory.clement@free-electrons.com::rI9NgHOZ6VjI0GdP:0000000000000000000000000008m2M X-Hashcash: 1:20:141117:sebastian.hesselbarth@gmail.com::MDfvFjoID8HnTRdA:000000000000000000000000000000J6Qo X-Hashcash: 1:20:141117:klightspeed@killerwolves.net::RGzwgtU//AmuVAim:0000000000000000000000000000000005d+d X-Hashcash: 1:20:141117:linux@arm.linux.org.uk::E3ZzVJcR4VCK8IfR:00000000000000000000000000000000000000051Ch X-Hashcash: 1:20:141117:linux-arm-kernel@lists.infradead.org::qmx2jujqwVErGzKj:00000000000000000000000001xK6 X-Hashcash: 1:20:141117:rob.herring@calxeda.com::J8q41bgN8VwEkfwy:000000000000000000000000000000000000005Yh+ X-Hashcash: 1:20:141117:pawel.moll@arm.com::cqkLRrnXFkSMzljY:000000000000000000000000000000000000000000050YB X-Hashcash: 1:20:141117:mark.rutland@arm.com::BZLhi5jdcgz7jJCe:000000000000000000000000000000000000000000HBn X-Hashcash: 1:20:141117:swarren@wwwdotorg.org::HRKJielyEcIjcRBx:00000000000000000000000000000000000000000DLH X-Hashcash: 1:20:141117:ijc+devicetree@hellion.org.uk::Qnan7MrsIka7bwrZ:000000000000000000000000000000000H6r X-Hashcash: 1:20:141117:devicetree@vger.kernel.org::vFN9s99DMriX86nR:000000000000000000000000000000000001Ihi From: Arnaud Ebalard To: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Ben Peddell Subject: [PATCHv3 03/12] arm: mvebu: add uartX labels for Armada SoC serial nodes In-Reply-To: References: Message-Id: <2eb960fa12bba9d298c8b984dcceeb5814412c8c.1416266432.git.arno@natisbad.org> Date: Tue, 18 Nov 2014 00:27: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-20141117_152531_665612_3287E7FB X-CRM114-Status: GOOD ( 10.05 ) 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>;