From patchwork Tue Oct 23 19:06:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 149469 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp1081273ljp; Tue, 23 Oct 2018 12:07:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV62y/LYHw2xVyuAqRthi8xuBwqe5B5LW5ENVLPLnnpJu1Z2jjQNEuEsTfwIJYe+C37w387W7 X-Received: by 2002:a65:664e:: with SMTP id z14-v6mr46341340pgv.347.1540321659211; Tue, 23 Oct 2018 12:07:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540321659; cv=none; d=google.com; s=arc-20160816; b=H5+nLQJswCbhHAen3wzsDtrbc5aeLma4yhcdQKR/ScLNxMk0ngYcHApfdXyoHzXHKH dcoL2MUa21lR4AxROJ7mKRdwStsVtGgGy4VvDdVzMtF09/393C5FrE8fialkHOK/8s+N 2qmEuPnB8oknm98F95uzMo4GxaCaOJLR0eXYV+lznGqAH3t7to1lEO35TwMdmBluGKoS YWors7Ta4ieNvgGDKMYgkT8bJSrro+y07i0qWdHi2GMhSq6EVkD//SPPHppIscRwDo29 590UNDmw4jvZEdGk1mk+4IEc2JJg+Zkgh6UpsyuUozhBEvkQ1QltH0sZG7KGITDPXU8l zV2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=YvdLCjfcxNQPFXjmHk/hA4deTnj67ZOPaaX9raZnvIs=; b=WMNEkAYRg4bgaLduAb8VCWgfyXn5Ip5UZNotUOk/sibTOVfdYP3/v/tLsbPCnBLKD6 NP0la4h8pWPt+v4/x29jP+IbYiR0h4i/7F/Ez2bNxR0XoWmoh8TCPtU61NkA1+ZBOIoV Pxh/YJ7pZxg20rCdXoC/8dV9ItnQfXwJfaoRCnO7hIOYkPYqdvlW0nVo9FAdJd7gFTpN 4kDRFVf01o6GyDS1TokoxIc0zvz24rZf4DXe/FMOz6Yye0UFtEymOs5ptgcVQQFNir4n Dgpd64DUpQP4qwOQUS0K7i3RikYykFXJxU242xqZrT8//xt+rFvsMSnB2sp7ZIQarOSt jeAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y4uPFj9i; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4-v6si2107012pgn.309.2018.10.23.12.07.38; Tue, 23 Oct 2018 12:07:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y4uPFj9i; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728975AbeJXDcR (ORCPT + 32 others); Tue, 23 Oct 2018 23:32:17 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:43928 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728914AbeJXDcQ (ORCPT ); Tue, 23 Oct 2018 23:32:16 -0400 Received: by mail-pl1-f196.google.com with SMTP id 30-v6so1056223plb.10 for ; Tue, 23 Oct 2018 12:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YvdLCjfcxNQPFXjmHk/hA4deTnj67ZOPaaX9raZnvIs=; b=Y4uPFj9iAo++m+2LHJuondSEk/5glnNJy8e7JJIxpMv+blxrDhNQWc1Q/eebV2Zktw PnzWDnIhDkMXdMhBSOt0oQHumPbUYNj2psGM6VU/jKuQEZ3CAzsDoma/keR4YPGEHYPh T3PsuFVP9rTrUZyp8uVjSGZH9Oldyd0v0ldsA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YvdLCjfcxNQPFXjmHk/hA4deTnj67ZOPaaX9raZnvIs=; b=CSB5NwERBv280/BVLhAeVWKx1XqIXr8/kk4oaxEcoos/0uILDkt/vQenLNG3nS2HaL BadYZF2TwCfcQSxTTIFyfT8nIPC/lw+xM7Ao0CLAaJWZHU04NbHHLaaLaltR7cp/0vf0 0oX+aP++qf4hZA1dboZ1Iwq24JugaIyFE/FInXD9kdrjQJlSpFHWuSYjEmvBAduECsDf 5Sdy9Q3LWQYiUR3XPzZuBoTyyLg/hd2il6ttIG5XT2NBGLfNOYTekiFj+Q6YK6r1q4h8 Iq79Ww5/cUxRonN6cdgMPOJGKCLZ4XZuyNsTQbxs+ctBQERqvoysHtYdM2fhkvg+LyJ9 IvCg== X-Gm-Message-State: ABuFfohOw/oOrbBeK6R38WkPuxfbC6ZIQvpg2ETZSQEVMC99S0jFX8UN 5AVm4KglgAizyacmygeMEZai X-Received: by 2002:a17:902:b198:: with SMTP id s24-v6mr47452527plr.70.1540321655912; Tue, 23 Oct 2018 12:07:35 -0700 (PDT) Received: from localhost.localdomain ([2405:204:744c:7bc5:17c:5f65:76c4:d542]) by smtp.gmail.com with ESMTPSA id v189-v6sm4897075pfb.54.2018.10.23.12.07.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Oct 2018 12:07:35 -0700 (PDT) From: Manivannan Sadhasivam To: xuwei5@hisilicon.com, linus.walleij@linaro.org, robh+dt@kernel.org Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 4/5] arm64: boot: dts: hisilicon: hikey970: Enable on-board UARTs Date: Wed, 24 Oct 2018 00:36:54 +0530 Message-Id: <20181023190655.12004-5-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181023190655.12004-1-manivannan.sadhasivam@linaro.org> References: <20181023190655.12004-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable on-board UARTs on HiSilicon HiKey970 board. Signed-off-by: Manivannan Sadhasivam --- .../boot/dts/hisilicon/hi3670-hikey970.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts b/arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts index 8fdc1dfcb06c..fc851a3177e7 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dts @@ -17,6 +17,12 @@ compatible = "hisilicon,hi3670-hikey970", "hisilicon,hi3670"; aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; + serial4 = &uart4; + serial5 = &uart5; serial6 = &uart6; /* console UART */ }; @@ -31,6 +37,20 @@ }; }; +&uart0 { + /* On High speed expansion header */ + label = "HS-UART0"; + status = "okay"; +}; + +&uart2 { + /* On Low speed expansion header */ + label = "LS-UART0"; + status = "okay"; +}; + &uart6 { + /* On Low speed expansion header */ + label = "LS-UART1"; status = "okay"; };