From patchwork Mon Apr 16 10:35:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10342685 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 770BD60548 for ; Mon, 16 Apr 2018 10:35:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67DCE28646 for ; Mon, 16 Apr 2018 10:35:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5BC6F2864E; Mon, 16 Apr 2018 10:35:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E873728646 for ; Mon, 16 Apr 2018 10:35:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753638AbeDPKfv (ORCPT ); Mon, 16 Apr 2018 06:35:51 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:33873 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752576AbeDPKft (ORCPT ); Mon, 16 Apr 2018 06:35:49 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180416103547euoutp01a71e57c263d8090b899dfa046e78e3a2~l5DDrtUWb1312113121euoutp01I; Mon, 16 Apr 2018 10:35:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180416103547euoutp01a71e57c263d8090b899dfa046e78e3a2~l5DDrtUWb1312113121euoutp01I DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1523874947; bh=hpDdzKm+9xEyYt01K/9rbNt3nWl7NCNWqVzNe64Hc2g=; h=From:To:Cc:Subject:Date:References:From; b=tYJniwpZaS6x0xdzoy8UgBDD54kz6MytW3oCa+zBeJXMK726hOz9L/3BZ8s1po1tV Ku94nqinKiIL3KoHx6m+XZvL1cJqbWYeku/r9Le3FIqMJlhZ/Toks2qNlHfDi8hO7i EM1Cis6mMYYMlmXysrvHkI98iAxyD/VjGnt2rAC8= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180416103546eucas1p251726e8d2cdef54d7af15ba9631d93c9~l5DCa1qqH1113911139eucas1p2_; Mon, 16 Apr 2018 10:35:46 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 16.B6.17380.18C74DA5; Mon, 16 Apr 2018 11:35:45 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180416103544eucas1p2c393cdccdb79955b64e57ccc53456479~l5DAeVyFE1114011140eucas1p2G; Mon, 16 Apr 2018 10:35:44 +0000 (GMT) X-AuditID: cbfec7f4-b4fc79c0000043e4-2e-5ad47c8114f2 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 53.71.04178.08C74DA5; Mon, 16 Apr 2018 11:35:44 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P790001AXFGK330@eusync3.samsung.com>; Mon, 16 Apr 2018 11:35:44 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 1/3] arm: dts: exynos: Add serial path for Rinato board to get earlycon support Date: Mon, 16 Apr 2018 12:35:35 +0200 Message-id: <20180416103537.29518-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.15.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBIsWRmVeSWpSXmKPExsWy7djPc7qNNVeiDO5uFrLYOGM9q8X58xvY LTY9vsZqMeP8PiaLtUfusjuwemxa1cnmsXlJvUffllWMHp83yQWwRHHZpKTmZJalFunbJXBl TNyeWLCZreLcjWa2BsaVrF2MnBwSAiYSLZ+esncxcnEICaxglJj8aw4bSEJI4DOjxO5+F5ii zhkTWCGKljFKdB9czQThNDBJ/Fr5hxmkik3AUKLrbRdYt4iAt8TkM3/BxjIL9DFKXN87F6xI WCBRouPUJHYQm0VAVeLJzossIDavgK3ExJ3P2SDWyUss/r6TDaRZQuAiq8Tvmx9YIBIuEm3L r0PZwhKvjm9hh7BlJDo7DjJB2PUSfd+PMEE09zBK7G2ZCpWwljh8/CLY18wCfBKTtk0HuogD KM4r0dEmBFHiIXHy6TmockeJU7OPsULCIlbi1OS97BMYJRcwMqxiFE8tLc5NTy02ykst1ytO zC0uzUvXS87P3cQIjK/T/45/2cG460/SIUYBDkYlHt4dZy9HCbEmlhVX5h5ilOBgVhLhXZYI FOJNSaysSi3Kjy8qzUktPsQozcGiJM4bp1EXJSSQnliSmp2aWpBaBJNl4uCUamAsWMEiMu1j 8/uYktK3qy77vvu+0uhxU85jy1X1Wg69K2urzq5YcHDX87U6oh6nyo7MtW9aw+60LFrrU8uO xEeLmGRilDs/JBcmVMbPu/QnsX9To5GndHijrcPb5hdOyTPzUpy3mgos3Pgz4fjrnpeLP4Y9 EXuetni7swJbTt7NyDop9+8zMzOUWIozEg21mIuKEwFNnRuSqwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPJMWRmVeSWpSXmKPExsVy+t/xq7oNNVeiDO6d5bbYOGM9q8X58xvY LTY9vsZqMeP8PiaLtUfusjuwemxa1cnmsXlJvUffllWMHp83yQWwRHHZpKTmZJalFunbJXBl TNyeWLCZreLcjWa2BsaVrF2MnBwSAiYSnTMmANlcHEICSxglHt2bCuU0MUl0LpvFDFLFJmAo 0fW2iw3EFhHwlph85i87SBGzwARGidULZ4GNEhZIlDi96zdYEYuAqsSTnRdZQGxeAVuJiTuf s0Gsk5dY/H0n2wRGrgWMDKsYRVJLi3PTc4sN9YoTc4tL89L1kvNzNzECvb3t2M/NOxgvbQw+ xCjAwajEw7vj7OUoIdbEsuLK3EOMEhzMSiK8yxKBQrwpiZVVqUX58UWlOanFhxilOViUxHnP G1RGCQmkJ5akZqemFqQWwWSZODilGhgX7bxxbsvp6P3ZISmvtPZEbtL857gl8N2HlTlaWuUZ EbH7t5xLcbV/f8mxaHmgsz1Hdfo5qfkWNze3rNM1TPvF9dknvUFpDVvJvi+LT78J2XXinMO1 jOtarNUh1vdiu1cqsn08xz6B47yRqN/fxXZV19RjDslURx+cIb3/oY+gNdccn4J/oseVWIoz Eg21mIuKEwG0RI078gEAAA== X-CMS-MailID: 20180416103544eucas1p2c393cdccdb79955b64e57ccc53456479 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180416103544eucas1p2c393cdccdb79955b64e57ccc53456479 X-RootMTR: 20180416103544eucas1p2c393cdccdb79955b64e57ccc53456479 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add 'chosen' node with 'stdout-path' property to instruct kernel which serial driver should be used for kernel console/logs. This allows to enable earlycon messages by adding just 'earlycon' parameter to kernel command line. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos3250-rinato.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts index 2c3460781cc6..2a6b828c01b7 100644 --- a/arch/arm/boot/dts/exynos3250-rinato.dts +++ b/arch/arm/boot/dts/exynos3250-rinato.dts @@ -24,6 +24,10 @@ i2c7 = &i2c_max77836; }; + chosen { + stdout-path = &serial_1; + }; + memory@40000000 { device_type = "memory"; reg = <0x40000000 0x1ff00000>;