From patchwork Sun Nov 16 00:04:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Ebalard X-Patchwork-Id: 5312341 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 35D4CC11AC for ; Sun, 16 Nov 2014 00:05:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 45945201F2 for ; Sun, 16 Nov 2014 00:05:00 +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 4D04B201DD for ; Sun, 16 Nov 2014 00:04:59 +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 1XpnI9-0000az-BK; Sun, 16 Nov 2014 00:02:09 +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 1XpnI7-0000ZT-HR for linux-arm-kernel@lists.infradead.org; Sun, 16 Nov 2014 00:02:08 +0000 Received: by smtp.natisbad.org (Postfix, from userid 109) id 510B61700699; Sun, 16 Nov 2014 01:01:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416096081; bh=09OvNaASjjwJsJSlORc/5qByEvgImHrE3AJWGwuoipg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=2lX7KEnAAp4Zf0IqVXmnzW2NAePsGXDx7mEY4Zk05PaXjZdNzD0oeOOIDARGiS9KS rLvtrDC6MXTTmP/4pRASavW6BCBriVXcbCKt3qUYNCd4xrHyPh+FXG+J1Let9e8M4H 81055bWt96g4QvWS0NgwbMssUTS+DeGEpv6R5Yys= 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 2CEBC1700477; Sun, 16 Nov 2014 01:00:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=natisbad.org; s=mail; t=1416096054; bh=09OvNaASjjwJsJSlORc/5qByEvgImHrE3AJWGwuoipg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=09Bc8ABrc9SLPJyMsKQRmg6ZEhqAPS23JFeSum280IpR62nVINsYyaqYN94HFe8Xm jIe1YO2V8mIZgfN8YgEdyS7P5bfi0V/tEnrGype7Vw7F7cCDAqnvwdNxW+RAaH9waa J/XIY3szB35juA/yzhqEQdd7LCR/ML22aVPJ082g= X-Hashcash: 1:20:141116:jason@lakedaemon.net::rlDpwAGv2T2on8X1:000000000000000000000000000000000000000002n3O X-Hashcash: 1:20:141116:andrew@lunn.ch::JIl5n9izlm86gXpN:00035of X-Hashcash: 1:20:141116:gregory.clement@free-electrons.com::tQ/mcdy0vPsYbqyE:0000000000000000000000000004sEY X-Hashcash: 1:20:141116:sebastian.hesselbarth@gmail.com::0ex5Amqy7rRpFQjL:000000000000000000000000000000AltB X-Hashcash: 1:20:141116:klightspeed@killerwolves.net::juArCRO8QF07Fw7N:0000000000000000000000000000000001H3V X-Hashcash: 1:20:141116:linux@arm.linux.org.uk::2EWsQD6Fixe5ZlI4:0000000000000000000000000000000000000003fPO X-Hashcash: 1:20:141116:linux-arm-kernel@lists.infradead.org::7fXnPpXFx74SSHnn:00000000000000000000000006bY1 X-Hashcash: 1:20:141116:rob.herring@calxeda.com::pSZC1GuK3jl/2JQ6:0000000000000000000000000000000000000026Fh X-Hashcash: 1:20:141116:pawel.moll@arm.com::dUzOu4+k1weKJyvQ:00000000000000000000000000000000000000000002xNo X-Hashcash: 1:20:141116:mark.rutland@arm.com::0sALCKp0YqL0H0aN:0000000000000000000000000000000000000000070ZQ X-Hashcash: 1:20:141116:swarren@wwwdotorg.org::elwCPyNTcK4f22DQ:0000000000000000000000000000000000000000A5KN X-Hashcash: 1:20:141116:ijc+devicetree@hellion.org.uk::EU/EtKn7YbuO72gf:000000000000000000000000000000002zDS X-Hashcash: 1:20:141116:devicetree@vger.kernel.org::p1+xHvMBjWUZ+uQq:000000000000000000000000000000000004ngT From: Arnaud Ebalard To: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Ben Peddell Subject: [PATCHv1 1/3] arm: mvebu: add uartX labels for Armada SoC serial nodes In-Reply-To: References: Message-Id: Date: Sun, 16 Nov 2014 01:04:12 +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-20141115_160207_889030_69260D9F X-CRM114-Status: GOOD ( 10.41 ) 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 future use is when providing stdout-path property for barebox. Signed-off-by: Arnaud Ebalard Acked-by: Andrew Lunn --- 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>;