From patchwork Thu Mar 9 10:37:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 66762 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp216839wrd; Thu, 9 Mar 2023 02:44:48 -0800 (PST) X-Google-Smtp-Source: AK7set+IHEOUowmNVE6K1bUVbBYzuPPOEz+nHpqYou+bEhw7+MIWg/8fzgLvcQiBqyaLIGphZtgr X-Received: by 2002:a17:902:ec8e:b0:19c:bcae:b45a with SMTP id x14-20020a170902ec8e00b0019cbcaeb45amr22195880plg.65.1678358687733; Thu, 09 Mar 2023 02:44:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678358687; cv=none; d=google.com; s=arc-20160816; b=yle+tGWSMuNMeYHDUohXr+mL4IwuWAuWJeXHBfDiej9PfJYBVG6FTAVJNPce4t1xKx aJyVy8D0po897o/FPcTzm+4UcMxadcuK4N8LNjEcX9M8ubyHR5XnQeu22M9lqPNC3pbs aLu2ZHRUhtEG60mgamgeZPxUccfQnG768AxA1B3Z0oEiUQ6tyt83KCyjgwgkKkcbkPv9 SPrtXK6VLOoxUedsJmtbeaIkuTX7rAnK6DpuqXHDGSRhXiYbj/L/fES8vDlf3VWDtTPg 5KTvzaAk7eflYX4HvqAfI7IFoQ6rqAgS3jb1tne0EZ7AtuWG9GLZg8RMaQ76hcu9rHAD vm4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZQ7qwaWhTP1sdEt6dec5mYyXeH36jDZTEXpRK58r+Rs=; b=wi6+cEF/fjqI1zuV3UtTsM++Y405Vt55nwAhtYK+VRTbt+T3xOlEPTH6AE3GTkNOrS ux4mPC46DPz6mVoEmgdAltdIQgCqumMz2cNmVW0ik18xn6xkvXBYib+176rDKIqI+UoN IyqM8a3GroEW2iqTVcMe5qG2EIFH523IAIaqXmZvD7yIKxvWyICCq3vVa5Pl48aGRary F53VivP/caz4/WUu/492QFl6r0fRjmoVkqHs9wnraCbAADVgqTeOLAZ76KN+7gya0CYe 2tc2VfnKHLaNtmPgcKF9M+WE8ljrqRgZQqqS6EG/3k71WfJmEfeCJS2o1oScIzflLekR RhCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=eehEsIMy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k6-20020a170902ba8600b0019b4ee071f3si16294880pls.584.2023.03.09.02.44.32; Thu, 09 Mar 2023 02:44:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20210112.gappssmtp.com header.s=20210112 header.b=eehEsIMy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231425AbjCIKid (ORCPT + 99 others); Thu, 9 Mar 2023 05:38:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231216AbjCIKiG (ORCPT ); Thu, 9 Mar 2023 05:38:06 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45A5714E80 for ; Thu, 9 Mar 2023 02:38:04 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id g3so1367204wri.6 for ; Thu, 09 Mar 2023 02:38:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20210112.gappssmtp.com; s=20210112; t=1678358282; 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=ZQ7qwaWhTP1sdEt6dec5mYyXeH36jDZTEXpRK58r+Rs=; b=eehEsIMy1Fd2fn+39Zh7PVoMcS9kNOEUOLgBLSv3+ud7BlOYwBP3V3cposi9bUHYAT dOQpqM63HhHzl4Dbin0iISQFaRAAJIy0ky7ckNVaKpKZwQLh4A6Z/iT+woWbY/9fPAuc 3opcTDLjd8px4SDKErZJXOmw1JeMHo4yzlVNph7iGZGpL1GbEiU6p/wGjhvbw2Qe3Liy VJdzT/4G8mVCysHHHrqT7/ROZVvPWImvnF5u/6y4V0Q15tiIZkikRbjEwsHeyXjBvK5N dfI4EegGI8MGzPIXL5nW39e/K1FOLt1WpUJdtkxCnQVZqC6jtohge/pXjjGdK5an1Nkc 8v/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678358282; 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=ZQ7qwaWhTP1sdEt6dec5mYyXeH36jDZTEXpRK58r+Rs=; b=nsTR2yU4cY/1wpWQe0aL+e18g5DBiXDSa5BIZgMfdqdpkLs26aqdyEDUk3S3sIFxSs ifCpKEzQENkVCQP4lHBAdNJYtDVR/e4K5gYSjkqrbfPbPO323X9f6dskOcJFvcVNRWfX hppuUd6EGKm1jLHJE66zYDtJb2eCHs2JywIl1T5peUDK/CNrjwBCIi+M2uDy5ubXrpNc VbwT8LodpmPW6nloYCuCxP5oPFjcDrwMROSMnB7Qh5+VlXUoWius2kXx51FEbImjNshk fHahdr1v+GHH09PnJ9qKPwENJL9mjEWVMcu66BF14SgH7QxedLrQTHOpLqRSZrgmiYeJ QYBA== X-Gm-Message-State: AO0yUKWeh+XyilCEQe98cO+za3FBHPGtD/k6YtXKByPcPT3hTKsGj3oM hKGGX8MwPwd0ue8zuoPeHRuv0w== X-Received: by 2002:adf:ce91:0:b0:2c7:1e16:57cf with SMTP id r17-20020adfce91000000b002c71e1657cfmr12732352wrn.67.1678358282638; Thu, 09 Mar 2023 02:38:02 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:f14c:2275:50fc:c056]) by smtp.gmail.com with ESMTPSA id f2-20020a5d58e2000000b002c56af32e8csm17638119wrd.35.2023.03.09.02.38.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Mar 2023 02:38:02 -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 v5 7/9] arm64: dts: qcom: sa8775p: add high-speed UART nodes Date: Thu, 9 Mar 2023 11:37:50 +0100 Message-Id: <20230309103752.173541-8-brgl@bgdev.pl> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230309103752.173541-1-brgl@bgdev.pl> References: <20230309103752.173541-1-brgl@bgdev.pl> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759886638989622146?= X-GMAIL-MSGID: =?utf-8?q?1759886638989622146?= 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 | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index d1b2a6d30eae..468390edf049 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -490,6 +490,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 0x00a94000 0x0 0x4000>; + interrupts = ; + clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; + clock-names = "se"; + interconnects = <&clk_virt MASTER_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; + status = "disabled"; + }; }; qupv3_id_2: geniqup@8c0000 { @@ -525,6 +540,21 @@ &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>, status = "disabled"; }; + uart17: serial@88c000 { + compatible = "qcom,geni-uart"; + reg = <0x0 0x0088c000 0x0 0x4000>; + interrupts = ; + clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; + clock-names = "se"; + interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", "qup-config"; + power-domains = <&rpmhpd SA8775P_CX>; + status = "disabled"; + }; + i2c18: i2c@890000 { compatible = "qcom,geni-i2c"; reg = <0x0 0x00890000 0x0 0x4000>;