Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2824061rdb; Fri, 22 Sep 2023 09:15:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtAuUxCj7Moi1KwG9qd6X+2l25H/qUsHS1+R2i8pTGDPIxPF/abil0pqNy/x+4uiajJ2L2 X-Received: by 2002:a17:902:ed05:b0:1bf:25a1:9813 with SMTP id b5-20020a170902ed0500b001bf25a19813mr7908516pld.6.1695399337100; Fri, 22 Sep 2023 09:15:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695399337; cv=none; d=google.com; s=arc-20160816; b=S5MkkaVodslqgHuBq2d09l3e1G9wh32sQIMlayuzBSHI8WNKfWXO4xWYlhlLw6nV2N FTeD1HO3EL0YQQdjnihXtSnHtfSA0lfcD5ZlH7lSla3QB3lL2rgVBC9QaMZ8ZrPwsOPE HhileoFPi+eRMVoW/U3S1zPrsuNouDJthVOYRl8FbXNJLV+4mEn62r2JSq8fgc+5gFKH xKTGqh6G6NElG7WEp8TC/GAPI/8rAk3l9ER+ZaoBxfL4scnzeBW3cShUIRaWJ0s9ocOr 0U+0Xu5GtJSoZA4GyRms3eMGuot4IcUZ3S9/efaxTKAUSJbWFQOGVTYsPxrMCrE+kcPg 974Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=UxWctFinzxWPtTE82baPUgrf/I8UrWY8qGX4uCt/zbA=; fh=K2bksTSdXc8Lb7FEzl8Fl5P5pIxXfeWi/CwfMt7DvGg=; b=AezLagcddBgQJIY7SWqibS3G17wBegVAJflexJjoC0Yo+667WaNNCP5BJ3UwCcedLR mJUMAPbZdokYxFzM5Cgw6C05HiHzOPlLMDsJq462OvjZzfSy0YG9AIBsnAijZd1HV8qF RiC6/xaJZgb1gvfMCBmX90OuBCkxprHYmz5wxuE7s9jHEJ6tjKG6C2pIBFotv/UsLBMg bH3atZ6UiMlQlVgPDO5RiGZ7UAepTIjsdd42JTdlDNsc+akzoWRYlMUxKmwgiw8lajr9 idFHPDxjMQ0VBV3DQPZaFDs3ewWWC/uD09w7iKZ1GV9Z8Eq8aQT6F4B8JbBhX0//gTu4 YMWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=P9tN8kf1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id n5-20020a170902e54500b001c0727658b0si4485841plf.283.2023.09.22.09.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 09:15:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=P9tN8kf1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 839248021DB4; Fri, 22 Sep 2023 04:50:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233840AbjIVLuw (ORCPT + 99 others); Fri, 22 Sep 2023 07:50:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229644AbjIVLuu (ORCPT ); Fri, 22 Sep 2023 07:50:50 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84FD4FB; Fri, 22 Sep 2023 04:50:44 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38MBoe93005920; Fri, 22 Sep 2023 11:50:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=qcppdkim1; bh=UxWctFinzxWPtTE82baPUgrf/I8UrWY8qGX4uCt/zbA=; b=P9tN8kf1ZE/u0nP3USIjqpuq0IZI/0SxWAV6Er1Afp31Fsk+doZ0H4B5DY6LNOYzIVHx 1iY1MUrqu3fba6qM48gvmUnPNRZs/aVUd5Z85/1Jj8BEkibirzdBlcXQZ4RuCvMD57D8 PGtAtGqnsnACm5Vdfzzgrm3HkiHxB/vRC3ibc598b8Hglca+tA/L702onm63CUjHBbb4 J6jsTCtTqOOZPqLYkdFGynOKVkX9od4Pu8pTXTe8zJGPQgnnOr05vUbjT1WYs26hwjZB 7um363240+AeL0gwYRaTpksMydqR/dVMbaFh0gHNHvjMiIPdVD0Jj/tHBosoz48lQJCQ GQ== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t8u6ahqqy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 11:50:39 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 38MBoamn027189; Fri, 22 Sep 2023 11:50:36 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3t55eman8q-1; Fri, 22 Sep 2023 11:50:36 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 38MBoaKC027177; Fri, 22 Sep 2023 11:50:36 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-rohiagar-hyd.qualcomm.com [10.213.106.138]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 38MBoaOS027174; Fri, 22 Sep 2023 11:50:36 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id A16201E2F; Fri, 22 Sep 2023 17:20:35 +0530 (+0530) From: Rohit Agarwal To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rohit Agarwal Subject: [PATCH 1/3] arm64: dts: qcom: Add interconnect nodes for SDX75 Date: Fri, 22 Sep 2023 17:20:32 +0530 Message-Id: <1695383434-24705-2-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1695383434-24705-1-git-send-email-quic_rohiagar@quicinc.com> References: <1695383434-24705-1-git-send-email-quic_rohiagar@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 9s1fWbmNkjUD5DXK4tNUJRay46CKFrRk X-Proofpoint-ORIG-GUID: 9s1fWbmNkjUD5DXK4tNUJRay46CKFrRk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-22_10,2023-09-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 mlxlogscore=779 priorityscore=1501 lowpriorityscore=0 spamscore=0 suspectscore=0 clxscore=1015 malwarescore=0 mlxscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309220100 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 22 Sep 2023 04:50:54 -0700 (PDT) Add interconnect nodes to support interconnects on SDX75. Also parallely add the interconnect property for UART required so that the bootup to shell does not break with interconnects in place. Signed-off-by: Rohit Agarwal --- arch/arm64/boot/dts/qcom/sdx75.dtsi | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi index e180aa4..dd3a525 100644 --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -197,6 +198,19 @@ }; }; + clk_virt: interconnect-0 { + compatible = "qcom,sdx75-clk-virt"; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + clocks = <&rpmhcc RPMH_QPIC_CLK>; + }; + + mc_virt: interconnect-1 { + compatible = "qcom,sdx75-mc-virt"; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + firmware { scm: scm { compatible = "qcom,scm-sdx75", "qcom,scm"; @@ -434,6 +448,8 @@ clock-names = "m-ahb", "s-ahb"; iommus = <&apps_smmu 0xe3 0x0>; + interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>; + interconnect-names = "qup-core"; #address-cells = <2>; #size-cells = <2>; ranges; @@ -444,6 +460,10 @@ reg = <0x0 0x00984000 0x0 0x4000>; clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; clock-names = "se"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, + <&gem_noc MASTER_APPSS_PROC 0 &system_noc SLAVE_QUP_0 0>; + interconnect-names = "qup-core", + "qup-config"; interrupts = ; pinctrl-0 = <&qupv3_se1_2uart_active>; pinctrl-1 = <&qupv3_se1_2uart_sleep>; @@ -453,6 +473,20 @@ }; }; + system_noc: interconnect@1640000 { + compatible = "qcom,sdx75-system-noc"; + reg = <0x0 0x01640000 0x0 0x4b400>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + pcie_anoc: interconnect@16c0000 { + compatible = "qcom,sdx75-pcie-anoc"; + reg = <0x0 0x016c0000 0x0 0x14200>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x0 0x01f40000 0x0 0x40000>; @@ -733,6 +767,20 @@ #freq-domain-cells = <1>; #clock-cells = <1>; }; + + dc_noc: interconnect@190e0000 { + compatible = "qcom,sdx75-dc-noc"; + reg = <0x0 0x190e0000 0x0 0x8200>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; + + gem_noc: interconnect@19100000 { + compatible = "qcom,sdx75-gem-noc"; + reg = <0x0 0x19100000 0x0 0x34080>; + #interconnect-cells = <2>; + qcom,bcm-voters = <&apps_bcm_voter>; + }; }; timer { -- 2.7.4