From patchwork Wed Sep 9 10:32:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 249443 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp272933ilg; Wed, 9 Sep 2020 03:34:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwAC8n+Mu42nK6244vF3kanoFVFr8oU4nm4bbVUk8ZirmwZpDWqFvle5IgMIIFStOWffKw X-Received: by 2002:a05:6402:184d:: with SMTP id v13mr3502256edy.240.1599647698876; Wed, 09 Sep 2020 03:34:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599647698; cv=none; d=google.com; s=arc-20160816; b=y1QaLBD9AxaGLlNDPAG4SGtFSdxvuU8JdVNmINj7f/qHk/Sw20L4bMLHwJJbLdX/0n PHxFM6z+wkwpGv9D3v/U5tX+Wc7F2sWceEHtSbwLmOJpe3BURgd/0yewA42yO06sNyNo rSjGYBo497UYSesACabbr3SVpqkEJmUnJNg00X6I5Vq5sxGRoz3RVrWdOCRsppB5Vuyf AzXYphPxNAywALMFiZ43XApm+IuOeJhhy/jSpX3m+Z1cDbtPWUYYMpL+PK4hMwYW+fHu igo2C8WhcdjOgtm0xR2ywfGue9JnIsSersoU7GHhyCVgC7c6SAjDa/vbHTBrAFhEE/iu IhXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=KwAqgLDFoiZ8Gp5IMjmzgXFUfM8xNPZ5Nw/2R+ILIJA=; b=Nl9V3E7Sh5Bu1vb8sNEeirNlOORY1lql6Pu+W0WvQFEi8HxN+8Q+hNEErj2IgHBrFz EiLDWiMzmyHqv3SB60hwbuVuktOA60sM6uHqMy4ItuE6Vgd8I5LLPMoogi4fksxu7dz/ X2m98DvhO1zp14xKFXQu31Zvhzi6dNFhDFZcZXZWrrqUwU9uQZSXWwUSynqrW5CmdqPh akCJ788+3pSHK+a++MbY+TWNYdACfvsFNyaCHBZJ5RvrfjHbJp/Isb09H7VbGBTdHpt7 oaiypmLqB2AxOilJHjbTYbCJPpXpSt4gT0sOCY57BmGT6YBZH+asPX/2NCFiPKV35c2y 0eYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gTin0jb2; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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. [23.128.96.18]) by mx.google.com with ESMTP id oy13si1174088ejb.481.2020.09.09.03.34.58; Wed, 09 Sep 2020 03:34:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gTin0jb2; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1727936AbgIIKeu (ORCPT + 15 others); Wed, 9 Sep 2020 06:34:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730174AbgIIKcn (ORCPT ); Wed, 9 Sep 2020 06:32:43 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA822C061573 for ; Wed, 9 Sep 2020 03:32:42 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id n25so2851527ljj.4 for ; Wed, 09 Sep 2020 03:32:42 -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:mime-version :content-transfer-encoding; bh=KwAqgLDFoiZ8Gp5IMjmzgXFUfM8xNPZ5Nw/2R+ILIJA=; b=gTin0jb26AUzeAWsywkd6d0QDoWLv/cyzhX8QJu7I0DZhOwNb1Nw7GDc9AGAFIpjN5 QNQ4J8SmVX8GcQdYOjM8ONoXccnMLm+qyBCeSTmxj6PTm9cxG2gtB7/bOh/DT285rpeF BR6etFI0dNEgX1BiF2sr00FhiZEKwMgeFwNP/gO0iBtdQE6rQg7VJbu71esbf4UYNjYe /HhxYxcK0llieBrQO3vRYdJxgBY+/KtBDnXWiAgFlKVTwWe0tVlPeHa5rNelPqMEyAOf bfuWNjSjb0kUaF3Wj8A0UHGTjU/UZjCGFioYQ0qPMFySYOkNUHtEyifntjjntt0dr2vh 8OUg== 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:mime-version :content-transfer-encoding; bh=KwAqgLDFoiZ8Gp5IMjmzgXFUfM8xNPZ5Nw/2R+ILIJA=; b=Cumk+FbJP16eOTpS9/SFPEKItddkcZCNxcKYL5LPOTJWNWVvJ1Vx67C/vBSV1T4ipZ iwrZXt95ajX9KxuVNCb1xSFJol+5c1Dy/QPyDlaQ9a2L5E6ghD8AFfQtuw5KVMEGvbzt oFk6Bmi4PVyH4u5ci+ssAO9zf5WS3obbbGYaCR2wvLmZC2DhFBOWMEBiaCpuBHhHjfSA 2iU0AOArcqqLilaukTYqPElu6EyRAm8/FF/bX9p60bo9wZMO6GP6rAL4gBmj/vGM8xcM lyfF1S6wtQ11pKwIjBwXewpF5XlpR1NKIO4Py0q0cT43pMn9wRie0d+kCrV70BIA8xF0 Wo3A== X-Gm-Message-State: AOAM531T1OtzxC7n3i3v1AYVTo2H4K+kJ45I0m913RdfOiSnU46LqMLT Oh+2Z9efu7IY5f8r+UmvuaVqzA== X-Received: by 2002:a2e:89d6:: with SMTP id c22mr1648832ljk.242.1599647561213; Wed, 09 Sep 2020 03:32:41 -0700 (PDT) Received: from eriador.lan ([188.162.64.180]) by smtp.gmail.com with ESMTPSA id u22sm632253lji.65.2020.09.09.03.32.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 03:32:40 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson Cc: Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, Rob Herring Subject: [PATCH] arch64: dts: qcom: sm8250: add uart nodes Date: Wed, 9 Sep 2020 13:32:37 +0300 Message-Id: <20200909103238.149761-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Currently sm8250.dtsi only defines default debug uart. Port rest uart nodes from the downstream dtsi file. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 74 ++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) -- 2.28.0 diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index e5525df69946..552fa3df9e4f 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -551,6 +551,17 @@ spi17: spi@88c000 { status = "disabled"; }; + uart17: serial@88c000 { + compatible = "qcom,geni-uart"; + reg = <0 0x0088c000 0 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_uart17_default>; + interrupts = ; + status = "disabled"; + }; + i2c18: i2c@890000 { compatible = "qcom,geni-i2c"; reg = <0 0x00890000 0 0x4000>; @@ -577,6 +588,17 @@ spi18: spi@890000 { status = "disabled"; }; + uart18: serial@890000 { + compatible = "qcom,geni-uart"; + reg = <0 0x00890000 0 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_uart18_default>; + interrupts = ; + status = "disabled"; + }; + i2c19: i2c@894000 { compatible = "qcom,geni-i2c"; reg = <0 0x00894000 0 0x4000>; @@ -693,6 +715,17 @@ spi2: spi@988000 { status = "disabled"; }; + uart2: serial@988000 { + compatible = "qcom,geni-debug-uart"; + reg = <0 0x00988000 0 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_uart2_default>; + interrupts = ; + status = "disabled"; + }; + i2c3: i2c@98c000 { compatible = "qcom,geni-i2c"; reg = <0 0x0098c000 0 0x4000>; @@ -797,6 +830,17 @@ spi6: spi@998000 { status = "disabled"; }; + uart6: serial@998000 { + compatible = "qcom,geni-uart"; + reg = <0 0x00998000 0 0x4000>; + clock-names = "se"; + clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; + pinctrl-names = "default"; + pinctrl-0 = <&qup_uart6_default>; + interrupts = ; + status = "disabled"; + }; + i2c7: i2c@99c000 { compatible = "qcom,geni-i2c"; reg = <0 0x0099c000 0 0x4000>; @@ -2410,6 +2454,21 @@ config { }; }; + qup_uart2_default: qup-uart2-default { + mux { + pins = "gpio117", "gpio118"; + function = "qup2"; + }; + }; + + qup_uart6_default: qup-uart6-default { + mux { + pins = "gpio16", "gpio17", + "gpio18", "gpio19"; + function = "qup6"; + }; + }; + qup_uart12_default: qup-uart12-default { mux { pins = "gpio34", "gpio35"; @@ -2417,6 +2476,21 @@ mux { }; }; + qup_uart17_default: qup-uart17-default { + mux { + pins = "gpio52", "gpio53", + "gpio54", "gpio55"; + function = "qup17"; + }; + }; + + qup_uart18_default: qup-uart18-default { + mux { + pins = "gpio58", "gpio59"; + function = "qup18"; + }; + }; + pri_mi2s_sck_active: pri-mi2s-sck-active { mux { pins = "gpio138";