From patchwork Thu Feb 16 12:52:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 654154 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C92BEC64EC4 for ; Thu, 16 Feb 2023 12:53:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230474AbjBPMxQ (ORCPT ); Thu, 16 Feb 2023 07:53:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230173AbjBPMxL (ORCPT ); Thu, 16 Feb 2023 07:53:11 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFEBE48E04 for ; Thu, 16 Feb 2023 04:53:07 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id a2so1742691wrd.6 for ; Thu, 16 Feb 2023 04:53:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cSdbB0k5k1AEobOWepSdzQF+T7jER4lOY+1Fh8MN3Kw=; b=XFpf2epYKOY95abu5FSgg1iKNOIeJcdptJ6YYAtNYb/psT7MzGRyVrnAFWTDkRHpd+ Vjhk5O1Ijl2xR5J7u7TthKCELgJQrk0lsYeVkwz31uJTji0kakxVnZPhKdvopqOwp/9r G2wucm+zifPjBAOIlCr6Ms7/9dS/ZOXjnLdB6oxLyuj4os29CrM4W5ePCjUFeiAeUtoq pjccuO0TpGWwvQN1fTXbn7o8i9oJ1PJtQ1RpfS0Yd89JBHVfIkl9WMUjOlqiFXJcco+E +0rtOoG5e9V81LvCrM9dWRBoVCVv9Wtm4YwbT6nF34iKO5Uwdtw86EYMq1fqFGpr6I2o HlQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cSdbB0k5k1AEobOWepSdzQF+T7jER4lOY+1Fh8MN3Kw=; b=E1Lk15ueHEpd+N0WRexIoh1bNa+bQE7KN1Ud82c72eZJA5cTt69myuK0mfMvoGXD6a RmSaC7d2lDMLjNODU1vupwoNg1BKnraOAL1NbS6U/uGzRVRr5vPL6guVNLoeZ6Z9u1Y5 LAJ8SV5DwTXu8w9gRdU8Z1tFmtAOdgeW+fJU8Lem91+NNR/G6690CAOpR5b/4Nr6E6/N P0j+coelrMh65frmvWOuDli6lhwqV9XKmwOJ7Ve6wz1h7K3mOjEoojtsMvDa474LQ7pV n9NLZ/FX7qZlJNLX56OLD5LBofGfcsjustWy5c3ni2SS03DiY3T3DvGCW+yzjlsHSkd4 VK6Q== X-Gm-Message-State: AO0yUKVzae+4pYja4i1ZZpKMZevamTqirCLbe1n1Ity9A8y8W5ZEZ/GB yEn8SI/HVvKLrZ/XO3+y2TdD6jBYJIAzKzVs X-Google-Smtp-Source: AK7set/b2v39ofFqrzr0BRAG6/CK2bfQFhxJ2DUQT9/A445MuadwMBj/PCyPE4wkxjFUgQtjFG7S8A== X-Received: by 2002:adf:e801:0:b0:2c5:5836:4e1b with SMTP id o1-20020adfe801000000b002c558364e1bmr5412597wrm.60.1676551987542; Thu, 16 Feb 2023 04:53:07 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:7c5b:1160:db5d:72da]) by smtp.gmail.com with ESMTPSA id h18-20020adffd52000000b002be5bdbe40csm1453292wrs.27.2023.02.16.04.53.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 04:53:07 -0800 (PST) From: Bartosz Golaszewski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v3 7/9] arm64: dts: qcom: sa8775p: add high-speed UART nodes Date: Thu, 16 Feb 2023 13:52:55 +0100 Message-Id: <20230216125257.112300-8-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230216125257.112300-1-brgl@bgdev.pl> References: <20230216125257.112300-1-brgl@bgdev.pl> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Bartosz Golaszewski Add two UART nodes that are known to be used by existing development boards with this SoC. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index eda5d107961b..ce5976e36aee 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -489,6 +489,21 @@ &clk_virt SLAVE_QUP_CORE_1 0>, operating-points-v2 = <&qup_opp_table_100mhz>; status = "disabled"; }; + + uart12: serial@a94000 { + compatible = "qcom,geni-uart"; + reg = <0x0 0xa94000 0x0 0x4000>; + interrupts = ; + clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; + clock-names = "se"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 0 + &clk_virt SLAVE_QUP_CORE_1 0>, + <&gem_noc MASTER_APPSS_PROC 0 + &config_noc SLAVE_QUP_1 0>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; + status = "disabled"; + }; }; qupv3_id_2: geniqup@8c0000 { @@ -524,6 +539,22 @@ &config_noc SLAVE_QUP_2 0>, status = "disabled"; }; + uart17: serial@88c000 { + compatible = "qcom,geni-uart"; + reg = <0x0 0x88c000 0x0 0x4000>; + interrupts-extended = <&intc GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>, + <&tlmm 94 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; + clock-names = "se"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 0 + &clk_virt SLAVE_QUP_CORE_2 0>, + <&gem_noc MASTER_APPSS_PROC 0 + &config_noc SLAVE_QUP_2 0>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; + status = "disabled"; + }; + i2c18: i2c@890000 { compatible = "qcom,geni-i2c"; reg = <0x0 0x890000 0x0 0x4000>;