From patchwork Tue Sep 15 23:54:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Wood X-Patchwork-Id: 7189671 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1D704BEEC1 for ; Tue, 15 Sep 2015 23:57:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 23FD320841 for ; Tue, 15 Sep 2015 23:57:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E5A4E2079C for ; Tue, 15 Sep 2015 23:57:09 +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 1Zc043-0000SQ-6Z; Tue, 15 Sep 2015 23:55:07 +0000 Received: from mail-bn1bon0134.outbound.protection.outlook.com ([157.56.111.134] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zc03z-0007z2-Lt for linux-arm-kernel@lists.infradead.org; Tue, 15 Sep 2015 23:55:04 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=scottwood@freescale.com; Received: from home.buserror.net (2601:448:8100:f9f:a10d:7c80:2c64:f6af) by BY1PR03MB1482.namprd03.prod.outlook.com (10.162.210.140) with Microsoft SMTP Server (TLS) id 15.1.268.17; Tue, 15 Sep 2015 23:54:38 +0000 Date: Tue, 15 Sep 2015 18:54:32 -0500 From: Scott Wood To: Subject: [PATCH v2] arm64: dts: fsl-ls2080a: Add serial aliases Message-ID: <20150915235432.GA26825@home.buserror.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [2601:448:8100:f9f:a10d:7c80:2c64:f6af] X-ClientProxiedBy: BY2PR21CA0041.namprd21.prod.outlook.com (25.162.74.179) To BY1PR03MB1482.namprd03.prod.outlook.com (25.162.210.140) X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1482; 2:WmcTtZvPMarDVqUqJRT5qde7ITK8bGmqKrGXckkw5dWbWS/yE4Q0K6Lpi40H+5AbKjIXa5oj7qeIRKvlB0HVlh4cRNTVAoNnKIrj46h2MyFjY+nfLGYHOmwfs9ji8syUXSriNtCxnm+YREgS9CmNyCbgfjLPpKIi0Hd8D+aPBEA=; 3:Pd/xbxEaAR+81cE0/ML94bXoeAfyQM/DHGledYaXW+T8adceME6U8l941fThsQTKoXyc8BpX3eyuCA3hHr4ve3Wp2rJZEPkuDiB76OMkk4tVE5JIKRKQWMvrcr92Lp1uDW6vT1PsnEb/wRuTp9gsmg==; 25:xNtfy3O5JvXzW3zsYo1d3b7DrV2KGdi11TqeVbeBaMSdSBx6IWn6LfQD7ogCBrr/HgxFfUVbkMG3gdz4ffXen6Jm00QtkTI/hwiAIChNXguEmBa8h5z3N8Albb5j1ZwRRMWu5WTsun7uVaSOqk8zFA26YgO86VVhEYj++yp0UlFb23WdUy+mMai5m4ZmNLe8FYoAmefzrhrGZFQkWkbjFQsjepBDe9y1DALqQf7nq0ZgQhTTzlIHlvq4eJQS0DNdE9GNcKcREQEG21t6qE4Q2A== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR03MB1482; X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1482; 20:xywTCFD515330fXiyY5lsxQUy/9oI7i59RlazHNgDQS7DoquE/IGmXsWvdj2tY2rJdUAiM+BgRKFDoEgmxmhC9EMOg80PiQwKoB2qlYzCL/Z1pTilqcGz7TEAgGFp9sLCOGA5DsrCCd26HyfWcbXAZN9kE/aSmWdww7vpdlj321HcLCJYyz0jeYeWnVmtih/Cf7hWhIKhBfxJRZwCDtKagNin6ZvBWcQmWE/rlQZQ+9B7/BgSE3d4LPEt+miVsXlJZoD7uiUEJ6QcI8fIU2w4OH+rwKTknmPm/sdc9i6qkx2mSJJ4RasCHniXgVOLQ4zadGdCCGNNki9V/yv+BkaPI416vhLJIvM0EGsiMJ9MrkPAosgs09T3fhkZ3qk2eXxPJfgKp4UsUcDPi5RqZRFVf8+qa1YF5CJOi4FZ6APv6UdOYGRI59rk/lyuO2zAmj5lppI5hRRurV1sDs70Ti+29oSlOX6g2xK+MF/N6uEbJhZ2jC6lIItzP97kV46bfYQ; 4:nOcTKV4yBss9MX2EJKRFqFRedfshfvFsNUyYytq1toqoCbYOdA4T5D6REIvms7uPQF4Js6Op9OHBvxCueBPN2qT+7sttEKZY33tTf8UExakRKPx67U2x5J5feeWdEZBxM7AcbtcEyHgWzaCYZr7t0idDJJKrLCa1uZ5GISQwHnL1z4GsrptM8lOUrkG7+eSUFxlFUsQro3T93e7I9ZWDdDJuXC7YlpF0bbD1mKTHGLUocF7s30M2pmawGQrazZEmhTGQ1o23wJ1kH1ubl8nzsAC356q7Y1b25WPGeaBS0aAWSSOA9xozGZpaopFzJMjnaSO2b0V1FoxvcMKYrLMkKk9QpRrHr/0s8kZ+/Vt5BWM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(520075)(520078)(3002001); SRVR:BY1PR03MB1482; BCL:0; PCL:0; RULEID:; SRVR:BY1PR03MB1482; X-Forefront-PRVS: 070092A9D3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(83506001)(77156002)(5001960100002)(101416001)(86362001)(106356001)(33656002)(105586002)(229853001)(2351001)(42186005)(110136002)(19580405001)(23726002)(47776003)(189998001)(53416004)(40100003)(92566002)(5001860100001)(62966003)(77096005)(97756001)(19580395003)(54356999)(50466002)(5001830100001)(69596002)(97736004)(4001540100001)(50986999)(4001350100001)(87976001)(122386002)(68736005)(5007970100001)(64706001)(46102003)(81156007)(5004730100002)(46406003)(15975445007)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR03MB1482; H:home.buserror.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: freescale.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR03MB1482; 23:eez1lhDXsg8MCpENZOxhqo2J0nDbDDXe1bJxo4JNt?= =?us-ascii?Q?ie77vbXp5Cl84FYzRVvJYIPC23Jhg5aeOXi97Xf69vursulUwlRObNv+AnmZ?= =?us-ascii?Q?QHqwZxZmPMDCkryMzzdB4mQFb9eG9rp6Rl/RkBoR8+TQT9ag6XPtB+wiDArU?= =?us-ascii?Q?tWBQEMJOCC8ppSnvLmJuySakWngRzMTu4WVy1VYRB4oI623YHt0E6Ptb9ZFF?= =?us-ascii?Q?RoPaX2sLhpZND6EtTJw/J7L+51H2B0LOyk3YqGD+dHBrJlpOejenGMGui2GQ?= =?us-ascii?Q?W17aebculHYNZLQWAfTHtdjOtvjd4QnlfDwpsGs0riZC0YqHFSXPLqh4c11w?= =?us-ascii?Q?2onPuyupO6yjj60tLU5fIKTVdlb2U+z/FniMimw24k32xeEWTxrfKTAjiMqx?= =?us-ascii?Q?CqwuXMARzD4AhwxGUqQx5yBYJzH8AB6CIylCO2GqeA6hYayi0tJXCb3mEzvO?= =?us-ascii?Q?+BiCsprD1E7grgNC0LUGXR0jpJdtOv6kJrFRhtKaMgeWNejXRm5/PjW1HCKk?= =?us-ascii?Q?PkPXwVDLYREo9drFjRoSnPxIzj0xKYq5M94qWAAwaKZiEGZM0kqcJY+2P06/?= =?us-ascii?Q?Kogn70hv+uz80DH4t9K4vA824wX1FspSsYLbo+akyjSGu6DGw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ItfrU=; 20:3WoC+dDvMfHawwnWPQPPCvvpLY2XWXr5ArVbRcbdrMOVITmONTDoDd7KujPAdLyBJfVyNldw68g+LstPUXgxqA== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2015 23:54:38.8953 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1482 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150915_165503_943393_184F82E1 X-CRM114-Status: UNSURE ( 6.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bhupesh Sharma , Arnd Bergmann Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These will allow U-Boot to set linux,stdout-path in /chosen based on the active console device, which will allow devicetree-based earlycon. Signed-off-by: Scott Wood --- v2: Put aliases in board dts rather than chip dtsi Depends on https://patchwork.kernel.org/patch/7120211/ arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 5 +++++ arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts | 5 +++++ arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts index 116b7c2..437dd25 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts @@ -51,6 +51,11 @@ / { model = "Freescale Layerscape 2080a QDS Board"; compatible = "fsl,ls2080a-qds", "fsl,ls2080a"; + + aliases { + serial0 = &serial0; + serial1 = &serial1; + }; }; &esdhc { diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts index 2858da7..6be14b5 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts @@ -51,6 +51,11 @@ / { model = "Freescale Layerscape 2080a RDB Board"; compatible = "fsl,ls2080a-rdb", "fsl,ls2080a"; + + aliases { + serial0 = &serial0; + serial1 = &serial1; + }; }; &esdhc { diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts b/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts index cf45d38..21a07a0 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts @@ -57,6 +57,11 @@ model = "Freescale Layerscape 2080a software Simulator model"; compatible = "fsl,ls2080a-simu", "fsl,ls2080a"; + aliases { + serial0 = &serial0; + serial1 = &serial1; + }; + ethernet@2210000 { compatible = "smsc,lan91c111"; reg = <0x0 0x2210000 0x0 0x100>;