From patchwork Fri May 18 08:19:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 10408573 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 CCB9060230 for ; Fri, 18 May 2018 08:20:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC7A8288AD for ; Fri, 18 May 2018 08:20:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0B42288B8; Fri, 18 May 2018 08:20:02 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F0366288B3 for ; Fri, 18 May 2018 08:20:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4MYmLbWzlEai8MP73E486AppsI5yBMwA/4DGDKvfbgg=; b=tnpv6GxChwD3al BwrgvQP+k0J5WTrJ/XM5ENozhF1b1v2wLI6bSXBovSIqy3X8Bc8gYhhv0GEoZwwrXjDSDr/KGrX1Q xqGmolD7MWNsU/36WmvFGvYULbpr7GPkt3mWbiJIKuecw2mSIjRtgIG2i2R3LGQjeCc7uPwgB/BjR Ce3Gy6hncKV7MrqZIYVyzmvQcj0t6EFqDkIY3xZCidEx81XAL7amT83z6k8FrMRkcXBicaZ0TSABa PQGs7M+/wlWyR/WCBfrXcKPUhrlwHVQTh5O0lbcA9A/NCOQLcYXs6wN4/OoO2NmmMjVwklN6LQ+dY OyAoCt+p5J1KozWlWjfQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJacF-000066-8R; Fri, 18 May 2018 08:19:55 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fJacB-0008VK-Co for linux-arm-kernel@lists.infradead.org; Fri, 18 May 2018 08:19:53 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id EB4AF60F71; Fri, 18 May 2018 08:19:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526631585; bh=uQIlO7T9DRUrqoAz1p3wkno2mobD/GMhFvS6itSdb7U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Jii5Yd3oE06Y39+Zj6comFMXH/EhYB/r/qwBP6gI04F+Kn6jsaqdOcv3s+GccTwb1 WfXB87kV4dDmdzVLmOH+AvnJ3QgAl6QjzE7qaD0Lbs3IlqVS4LaTnG9Uz2OfRpcrTs dcDVCtp1+dJQBbQVvY+yv1HoKs4AEJf9v0+VlDVQ= Received: from srichara-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sricharan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9407D60C65; Fri, 18 May 2018 08:19:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526631585; bh=uQIlO7T9DRUrqoAz1p3wkno2mobD/GMhFvS6itSdb7U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Jii5Yd3oE06Y39+Zj6comFMXH/EhYB/r/qwBP6gI04F+Kn6jsaqdOcv3s+GccTwb1 WfXB87kV4dDmdzVLmOH+AvnJ3QgAl6QjzE7qaD0Lbs3IlqVS4LaTnG9Uz2OfRpcrTs dcDVCtp1+dJQBbQVvY+yv1HoKs4AEJf9v0+VlDVQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9407D60C65 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sricharan@codeaurora.org From: Sricharan R To: robh+dt@kernel.org, robh@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, andy.gross@linaro.org, david.brown@linaro.org, catalin.marinas@arm.com, will.deacon@arm.com, sboyd@codeaurora.org, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, absahu@codeaurora.org, marc.zyngier@arm.com, richardcochran@gmail.com, sricharan@codeaurora.org Subject: [PATCH V7 01/12] ARM: dts: ipq4019: Add a default chosen node Date: Fri, 18 May 2018 13:49:14 +0530 Message-Id: <1526631565-9972-2-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1526631565-9972-1-git-send-email-sricharan@codeaurora.org> References: <1526631565-9972-1-git-send-email-sricharan@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180518_011951_470240_05A107B5 X-CRM114-Status: GOOD ( 12.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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 Add a 'chosen' node to select the serial console. This is needed when bootloaders do not pass the 'console=' bootargs. Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 8 ++++++++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi index e413b21e..ef8d8c8 100644 --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi @@ -20,6 +20,14 @@ model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1"; compatible = "qcom,ipq4019"; + aliases { + serial0 = &blsp1_uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + soc { rng@22000 { status = "ok"; diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 10d112a..ea9202a 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -256,7 +256,7 @@ regulator; }; - serial@78af000 { + blsp1_uart1: serial@78af000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0x78af000 0x200>; interrupts = <0 107 0>;