Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1850922rdb; Tue, 3 Oct 2023 03:05:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEqJPK+vki9A9f6qteznh1+5sBixJLNNlw02XFPOcu9mgszZUWVy9JYZuiEK/M5LNT78YYz X-Received: by 2002:a05:6a00:2e0e:b0:68f:cf6f:e212 with SMTP id fc14-20020a056a002e0e00b0068fcf6fe212mr12270947pfb.20.1696327553482; Tue, 03 Oct 2023 03:05:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696327553; cv=none; d=google.com; s=arc-20160816; b=s6W30Bq5ARlCfbv0RkVBYaFj9mEihjreaTIHTkBw+eUjh4TA3tm/D+Bbt+Rchi7Xc6 mAUUe2POvV+40+7te2Uu7ttIUJTHaZN1k1Ewj5PmZ6FJe3Q1ROpkLu/cXnFkzpYu5Yi6 1cSTPxgnVt34EFdcTGBmp2UHc/H3xwLHKmxbRAo/6bqGSZtxk7YwvATXzaWSxjht7igg JGg8107/RuqRr9/oHF8um1vD+2Q7B2ncUDgKzCLYCnYimk5+FmUM4CfZHjLnzIOqQsgJ T+sB1Yzlt18ZPjSN3gNFvRXFYA8sUjqr0wtuONQYNuYN9PgbLndbj4ax1brrWgnS2ZvM WW8A== 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=NIVmujrA2HZchhSaQY9EtWEXdPdrl1oyahJo8KRQUiA=; fh=ND2Flm1cqKq7/T6+HamnZV+qljlIo2Cb8ZFBUvc14z4=; b=oz0jSFZSeJcc7S2u4RVkVRbRLysEoSja82yW29hmDq3+Z0NHT9BW7AjezC7sLSg189 /Pxccnzu6PbT5jg8GYoI9990HUoQokZ0o0ppmsf95FirGMq2O8b+7uNsYrNzTccVj3Lk 1+9jnA1m/DOsDcjZFMLHnHUD3dmrDrRmjAVR0ge06uhGjTdOqZSLTOgtJ+Zzk6rsVPYa tXmGUbSMkWYXBIFQG5lGCTerTpkHHiiJj0qqgrGuL5373luNrGewYH3bOt9DXOUDJyh2 /Yiei9moDSdr8MzJV+1xhf/zvtEIaRsoh8XMgaic8UY4FqPXag9xdLvw7UzKaBzkSrUW 8DOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=C74GOclW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id z16-20020a656650000000b0057823b96685si1026086pgv.681.2023.10.03.03.05.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 03:05:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=C74GOclW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id CE1F4809C8FF; Tue, 3 Oct 2023 03:05:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239857AbjJCKE4 (ORCPT + 99 others); Tue, 3 Oct 2023 06:04:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239838AbjJCKEt (ORCPT ); Tue, 3 Oct 2023 06:04:49 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE3BDB0; Tue, 3 Oct 2023 03:04:46 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3939xm0x017528; Tue, 3 Oct 2023 10:04:39 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=NIVmujrA2HZchhSaQY9EtWEXdPdrl1oyahJo8KRQUiA=; b=C74GOclW5GrTZQUoat0Tlc082+ZFPh4DDaWcN5aAodX2TqiUGekSPdCXiTkGINvhtbrd Aj+XfOXVFPrIk2Lwzd2bADGdAHl42pebLGXc7GZNhrZMMlOJIPpuEgGtbSAk4NTaJFvf 1xwPU3efYGLuylUiK/fOtkF/mk0f9f0g3CBqSQ6Qo+EkXXrrjUABiTJt9uttUQecXzO6 8iM6Nv2n3nkq1KOwg953cwklX3w3nAvFfqjL6m0dJwRGTD0B+Sxf/qioE8hktiiCBTcN YlHULGeENHUV9S1zxi5KBVh6jsVN4LTYvDj1l+Xa89mZcbf6rgN9tB2Aehnz0Z3f5PEv eQ== 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 3tg77es0r8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Oct 2023 10:04:38 +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 393A4Ynt032580; Tue, 3 Oct 2023 10:04:34 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3tecrkqvr9-1; Tue, 03 Oct 2023 10:04:34 +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 393A4YXt032566; Tue, 3 Oct 2023 10:04:34 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 393A4Yjb032563; Tue, 03 Oct 2023 10:04:34 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3970568) id 668051EC5; Tue, 3 Oct 2023 15:34:33 +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, dmitry.baryshkov@linaro.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rohit Agarwal Subject: [PATCH v3 1/3] arm64: dts: qcom: Add interconnect nodes for SDX75 Date: Tue, 3 Oct 2023 15:34:30 +0530 Message-Id: <1696327472-21776-2-git-send-email-quic_rohiagar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1696327472-21776-1-git-send-email-quic_rohiagar@quicinc.com> References: <1696327472-21776-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-ORIG-GUID: 665EqnkRxZCfxIEEGGYY14V_izVorQ9z X-Proofpoint-GUID: 665EqnkRxZCfxIEEGGYY14V_izVorQ9z 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-10-03_06,2023-10-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 impostorscore=0 mlxscore=0 bulkscore=0 clxscore=1015 malwarescore=0 suspectscore=0 spamscore=0 priorityscore=1501 mlxlogscore=790 phishscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310030070 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Tue, 03 Oct 2023 03:05:33 -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 | 52 +++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi index e180aa4..ac0b785 100644 --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi @@ -8,6 +8,8 @@ #include #include +#include +#include #include #include #include @@ -197,6 +199,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 +449,9 @@ clock-names = "m-ahb", "s-ahb"; iommus = <&apps_smmu 0xe3 0x0>; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core"; #address-cells = <2>; #size-cells = <2>; ranges; @@ -444,6 +462,12 @@ reg = <0x0 0x00984000 0x0 0x4000>; clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; clock-names = "se"; + interconnects = <&clk_virt MASTER_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS + &clk_virt SLAVE_QUP_CORE_0 QCOM_ICC_TAG_ALWAYS>, + <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS + &system_noc SLAVE_QUP_0 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "qup-core", + "qup-config"; interrupts = ; pinctrl-0 = <&qupv3_se1_2uart_active>; pinctrl-1 = <&qupv3_se1_2uart_sleep>; @@ -453,6 +477,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 +771,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