From patchwork Wed Sep 9 10:32:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 249444 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp273008ilg; Wed, 9 Sep 2020 03:35:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8aIRcNia4+i9EG/TrDxHs/1CM8ymaAHH9bNP5r3ZKp/0v9b7tBtzsqZT1eTNvf6GsufDQ X-Received: by 2002:a05:6402:176c:: with SMTP id da12mr3505934edb.386.1599647708958; Wed, 09 Sep 2020 03:35:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599647708; cv=none; d=google.com; s=arc-20160816; b=Oh+2fGvqGV3vjA3MEEZuqVMCGJLhnbfKfm33hJKxOREL2omLfwjWLh6QiInSzZHlGf sphF5CD7RfRxyWeiLpGnYLmCkd3rTzAg1b5AltJA4KnDhgyjTmBf1MH1HMbx0rvUGJYT JVioPGDHD0tA+buZToPDDkSJV0Xt8lUUhocWDE31CR5cu6BWkpz4WGNgSBzNQQ3LmrNX ajciHpDvid+Yqrib/vcxY53Th610uKwhgMH/mVXrLBKcLmiGbnvMGIksPeB6Id6XvoTQ ShBlfd2mOfFybaPatPTsC8HvUgzydd+XFb6gp0eyZLiz7PZioQSW5+V/VNdymaKBC7PN 7uVQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KwAqgLDFoiZ8Gp5IMjmzgXFUfM8xNPZ5Nw/2R+ILIJA=; b=ZSNTtogSDdV5k3Ib83PlAxfRgOOnEDeYqs5ATi7LW+d45Xb3PWkLil3Kbx6E6wMo26 s3wLWalbfXjpSSO6n35A0QsFxugA4RytcjkPrNLn96fEkO7HEBL5rnUKvLuTtvcE+YhW VQfJgpYYsMqBfB+0R8GknJPl0d906vcFEoiVUnlyOQjJgpWVnhRXjdCJkuLZheQH33nH ihc4h40pGCJN9zxFGL9THXM/wwBXyGeSO/cgHDfuYSmuzNqDW0o7dxM+d2HwaWQ+/OFk JlBXiRu/9o2DI8KwFx5IaLTKrk9ZgdCbTRsR6hGF4GFBF1Fj4b+39KmYBjvN7rnm3atN EMwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qfme2p06; 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.35.08; Wed, 09 Sep 2020 03:35:08 -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=qfme2p06; 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 S1726708AbgIIKey (ORCPT + 15 others); Wed, 9 Sep 2020 06:34:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728363AbgIIKcr (ORCPT ); Wed, 9 Sep 2020 06:32:47 -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 B7859C061755 for ; Wed, 9 Sep 2020 03:32:44 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id k25so2871614ljk.0 for ; Wed, 09 Sep 2020 03:32:44 -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 :mime-version:content-transfer-encoding; bh=KwAqgLDFoiZ8Gp5IMjmzgXFUfM8xNPZ5Nw/2R+ILIJA=; b=qfme2p06TfuSBtf1N7DNKoxc2NtFuAc0gLskY9VPHEmM3n6bHOhI8f3BIOiUhiQrqt 1XAf2DtqIcal+OpjqFmqkVlSNIrqi2H2g3ekVHVNs3G0iy7k5SbupPcmimHp7oD2jjcx oyfPtkBAZ+tdn6HTteaDOLjnbNwM6Rn1ijz5Jwtz3cZu74LlbOOP8SMFDLJhxK080u8u 5IgoOdkNi3y1tgxAb/LUHbM/vxDmkUNCKzv0iGtCLVCZAJ0FG6DVNvzWQTXL8j6TJuNC J8iO0jKRuOwjqxnJaYG9fZeRxi5IiWGXsmN05vbMVTVHA8dQwkAN4/ZSl/8W0SvBKMH4 hzvg== 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:mime-version:content-transfer-encoding; bh=KwAqgLDFoiZ8Gp5IMjmzgXFUfM8xNPZ5Nw/2R+ILIJA=; b=l5kYeCDA+rLlmJPjSZflQysyDfvTISnmLX92q6LfscIdntkGYrXdIE8e/cAuzJyzVD jjaYX7C/uustHgn4uh2FBVLqY0g+A1stLUaj82ryXcRSW2WRNuS6eynaFaBr2nEwvsPU 0J947AqYSuZQNoKs/OtFW4N9diQ2HE56gbTLm96PP6X+D+nwgPw6ypeS3roUUl9VBgxn RCWI+l/9YAhLjV4LEAXJDgcGE1tmdiq7Pcd5aH8sLuxoJLGGR4FGmBxM+BoZLcs5gr76 KmqLtQt7yXkoEoeODJaQytrXMUPAc8LownJQZrUWH4jqVZf1VFcpuJaUidKRjgidL6oq eQKA== X-Gm-Message-State: AOAM5314waY8JMV8WzZ6V8DhgOOaSf6RgBj6DtWllFnoEp2APjv19ZdG fdRoERbxNlSYgOrX+PQc7q8Idw== X-Received: by 2002:a2e:6819:: with SMTP id c25mr1634957lja.187.1599647562635; Wed, 09 Sep 2020 03:32:42 -0700 (PDT) Received: from eriador.lan ([188.162.64.180]) by smtp.gmail.com with ESMTPSA id u22sm632253lji.65.2020.09.09.03.32.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 03:32:42 -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:38 +0300 Message-Id: <20200909103238.149761-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200909103238.149761-1-dmitry.baryshkov@linaro.org> References: <20200909103238.149761-1-dmitry.baryshkov@linaro.org> 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 Acked-by: Manivannan Sadhasivam 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";