From nobody Mon May 25 05:56:33 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 297B13B992E for ; Mon, 18 May 2026 05:48:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779083300; cv=none; b=Dpuz3HOIMX289rzt7/ynShKONatHKb0wz/7XYpp2fKHSOPNbUjqMsVodJ76qq8Mr52CogSInm9KAtzcm2s52/EH859hBaC8iWGmmfW6RUIMiiIBFsDUleguGGSwFEck8vyh/m3AGNAWhvcnaP0mClCwIVCo6jqIww2GiZlxSjEM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779083300; c=relaxed/simple; bh=vHEeoA7Tb+W7OBFkM/tkJ3dWuRITf9w6E37bqfeeKuI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=P6JaZXZmoVh8Kx5L6PPBZ8TIi22SZq0EVIG1TT42eAXqSPhoZsTfEunm/XzkRopnRV2J5JZF1GMAAM7mggz2VVgo0O2dl7GByxnexVoU12KCflk5zsqjhIEhAORwyHNh2pou4odJdGiG1XwDlSzcaUuX3FqxmZJpi7KAT/b4cuA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=M7mIZzQo; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=hww2pYrg; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="M7mIZzQo"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="hww2pYrg" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64HJGhOO145990 for ; Mon, 18 May 2026 05:48:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=uFwT7ZuKUzG+Ii/CDd8GWo TzmC32Mo4d+kGOQPzqcsk=; b=M7mIZzQo3foXX3fWMykaBXLB8puIgNKY/nJNnq 41DqaZwajWB55byKXJ+9ZShntIln+Zq0KeT7MGy1ec8sSyAMgM0Cr0CrN7XPEWms iewNXpOkLk00ur57VWbA+IpYUyfgJiGY9HqTwJgHAHyfe6kDFM3qgYpWj6Kbqp1M T1Zw8+r6S41d2Ge79QS0ty4pZ0fv4taebpuUT1zhG7dDEd4TbLPiwWuNOAcitUzo x7dOLDOfDIKzoNubu7ny2/I+esO8+bNsYO1FbBLHp4S+cB0U4JzJPQjBfVvG2r2s wnm3kPRjbsIEqJw+ZpiR5Ov/S1ozJb+aD6rdQ6/oSvYH103g== Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e6gx6vst1-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 18 May 2026 05:48:09 +0000 (GMT) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-c823549b1fcso3412129a12.0 for ; Sun, 17 May 2026 22:48:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779083289; x=1779688089; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=uFwT7ZuKUzG+Ii/CDd8GWoTzmC32Mo4d+kGOQPzqcsk=; b=hww2pYrgy/S+VkVPKKmDM5s6+wIzkNiKO6Hpr8B1Ag38cY6Rl5+WmxoTCdvijUL9GJ hKfIclvrlK94Um62rAUYgD8DZm7Xbi/AjdldB4Xw7eRtax0OP9y3umnqE88W8vQZ5mBc XHsvHBjpZHtREtMUeh9ZonVgEXQ9mDzuf3FJSPAevunIylreAno5/Gi2ThJTxUMY6u7K ObqWWkZ4624sdqySSbbDpYQZVA0jw1I+UA1TCx6VHU5VewKrB4e9uB0OO0AR29dm8aW3 +UU8rufAcf1RqXHf5u2MwNxLCSBDzPEs7fuJb0EnzTMEw4Cyr4dKYknPddykyaTpJ7Pf i5Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779083289; x=1779688089; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uFwT7ZuKUzG+Ii/CDd8GWoTzmC32Mo4d+kGOQPzqcsk=; b=M6NdMVevZDgJdOWmIfX2vSlH3i3J7E9u8vPTU4t59Zl+CtXmf4ZWwuuOt59SIuSfZi UAotL6gYmzuDvTBQIFSLMn7ee2GHq/BkhDFaSwmYlgAfg2qAmNmZQTFuTdUeNRkXuOVK swIp0uJxmIFCq16zxFj4RsVgaO2YiLqcDroYT9q2VkG1VmPrnzMDiGUxw24yp+gfEPKb LhKlOZ3e0TOjZ5cV1EbsntAplQXLun2bX3wbesifXuWjEoObiMMXcX9IoCu9HLor8zxf 5TT66gBYXnAPVuHSCa4LD4WXlUye9nGfMmpv80aIQDuJM9elDPJ7zqv0M46X3Q5euZWg kWWA== X-Forwarded-Encrypted: i=1; AFNElJ92rTl7OGz/Ny5L3ShSyy6eS4sRdA0fKDkJsuYAaNZEOUlOFH0N5JXZoGlYTctopBYbOobitWmEev0+T1k=@vger.kernel.org X-Gm-Message-State: AOJu0Yxy0Z6RPA65nCdKoSb8jO/hrt8LPN8HkKV4d9tFmrSSv/I4N1Yx MGtF6J3xsZThuQenKRerzqBA1qt0+QTHMVs/jEobJdJk+52Hjv2JQlJmDO9WscUS4Is6AyY/k+y Dad5QaKFa2C31tW1bo9HPO1ZDonGNCO7wQnNDDbMxKtTmbRJicHVmaNKgoDSV0zu9fu0= X-Gm-Gg: Acq92OEkt/frUmPRV0EUAbdBI1Q4AH/7cC8U+0teqzPhmpgp7yps4MU+CvcH4d03erD oezn0UDqpLRoe3qPhNo84S7El+eKPm1IeZpjalgk33bOxU9Yt9go/JizgdYNq0oK1hV8+QTltDZ NpGiPIQjEbZLYecEAmaXxiRc9xWIrP+rp/Qm85TmrqgPBuNZO75HCB3FCPjdKfRX6rdHZ4bEsWH Y7cGsn5tfIWdUMc00msPPQ85oPy9KGRjPExEjW41oQs5xbdg2u9aYncIo5SuUOkqYhPf3oODZlD tsFicfeI/NQMAWenLaLPQg8soGFmHzB8uVyY/20cDzj4bIi0Bdoj6K1FHBlU6xT+UMYtQkKU/7C J2DV5guxWcaz7txomZtAWXFIENzny53GLQcOq2l4UE9BE3141chK2D+wZWoZ00U5TfhcqdsbL7B GXd7XsowRv X-Received: by 2002:a05:6a20:748d:b0:3a3:1164:c7a6 with SMTP id adf61e73a8af0-3b22e81f7a7mr14880617637.14.1779083288527; Sun, 17 May 2026 22:48:08 -0700 (PDT) X-Received: by 2002:a05:6a20:748d:b0:3a3:1164:c7a6 with SMTP id adf61e73a8af0-3b22e81f7a7mr14880581637.14.1779083287850; Sun, 17 May 2026 22:48:07 -0700 (PDT) Received: from jiegan-gv.ap.qualcomm.com (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c82bb11683fsm11970059a12.26.2026.05.17.22.48.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2026 22:48:07 -0700 (PDT) From: Jie Gan Date: Mon, 18 May 2026 13:47:49 +0800 Subject: [PATCH v4] arm64: dts: qcom: glymur: add coresight nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260518-add-coresight-nodes-for-glymur-v4-1-45f54f441899@oss.qualcomm.com> X-B4-Tracking: v=1; b=H4sIAAWoCmoC/42NQQ6CMBBFr0Jm7RCgVMGV9zAsCh1gEqDaASIh3 N3KCdz85P3FezsIeSaBe7SDp5WF3RQgv0TQ9GbqCNkGhizJrolONRprsXGehLt+xslZEmydx27 YxsVjXia5NqYkSwUEyctTy58z8KwC9yyz89vZW9Xv/Vu9KkyxUKZWpa2zm7YPJxK/FzM0bhzjM FAdx/EFZg+exdMAAAA= To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Tingwei Zhang Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jie Gan X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1779083284; l=23691; i=jie.gan@oss.qualcomm.com; s=20250909; h=from:subject:message-id; bh=vHEeoA7Tb+W7OBFkM/tkJ3dWuRITf9w6E37bqfeeKuI=; b=xPuAbAbeUonMvyC3rsaJyoLeeoQi5v2EQC4Kpwg017S7d56qZ8GAmDXdHPImi1eBHw5V5fRCJ fX0MeCbg8UgAuiWB26Si6bZG0FD3GR+Gs7kspS0wbRzqm0O3l6hTcmz X-Developer-Key: i=jie.gan@oss.qualcomm.com; a=ed25519; pk=3LxxUZRPCNkvPDlWOvXfJNqNO4SfGdy3eghMb8puHuk= X-Proofpoint-ORIG-GUID: 1z6QiE7YREzMyoKWiPxHZZhGcY_Wb3-p X-Authority-Analysis: v=2.4 cv=f614wuyM c=1 sm=1 tr=0 ts=6a0aa819 cx=c_pps a=rz3CxIlbcmazkYymdCej/Q==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=Ym7NTek2rUbMElXwnXkA:9 a=QEXdDO2ut3YA:10 a=bFCP_H2QrGi7Okbo017w:22 X-Proofpoint-GUID: 1z6QiE7YREzMyoKWiPxHZZhGcY_Wb3-p X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTE4MDA1MyBTYWx0ZWRfX86hGOBwjtIHc oKrmn5MJtYvkWqkfomjnWyYRyqEVQw+7MCm0//j281ky1iGej1Or3gBYu3bBYRqNK8c7+xEZ3Vf ABDZuOqGOqG/1jEgb0F/hlfZBgRvmM+Vjzz6eKkbEv+L7jLuk0WX96ZcWorbNkvHuBhikKF3L1y VFUL2gRN99AJHSmIL/GxdWup/eY4AjjFQwlaXSFb7rj8dw1raljPbYtseCT7I/xdNpUALu4gzVX XiorlI/K+Ozt9dJXhyyvUM3uVIUG6PV2tyh8NzI20N16BdSbwUJQEtE+nDLlekBDxgqcCmBaZM6 YHXS/CE0ygaXd+4lGY0mZKaWrJtGMXU5TNZ0WIXpHt0CpfPDJ5umRyLhy+n6SwS+anyeRBMgDt+ Awtwz+tZjU2SdFA/PmspK1GbgNY/U6cu7yeyNI1O0vUtQ/PYYLTpTLQyP+QtBdF1YB6EgAV0+eN 7XM6B+w7CR+oU/NkE6w== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-18_01,2026-05-15_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 bulkscore=0 clxscore=1015 malwarescore=0 spamscore=0 suspectscore=0 impostorscore=0 phishscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605180053 Add CoreSight nodes to enable trace paths like TPDM->ETF/STM->ETF. These devices are part of the AOSS, CDSP, QDSS, PCIe5, TraceNoc and some small subsystems, such as GCC, IPCC, PMU and so on. Delete cti_wpss DT node on Mahua since this device will cause NoC issue on Mahua device. Signed-off-by: Jie Gan --- Changes in v4: 1. fix the wrong MMIO size for the traceNoC device: tn@11200000 Link to v3: https://lore.kernel.org/r/20260515-add-coresight-nodes-for-glym= ur-v3-1-83ab39db275d@oss.qualcomm.com Changes in V3: 1. Delete cti_wpss node in Mahua to prevent crash issue Link to V2 - https://lore.kernel.org/all/20260318-add-coresight-dt-nodes-fo= r-glymur-v2-1-d76e08f21fa5@oss.qualcomm.com/ Changes in V2: 1. removed two cti devices due to GFX block is down - cti@11c42000 - cti@11c4b000 2. changes two TPDM devices to static: - tpdm-cdsp-cmsr - tpdm-cdsp-cmsr2 Link to v1 - https://lore.kernel.org/all/20251230-add-coresight-nodes-for-g= lymur-v1-1-103b6d24f1ca@oss.qualcomm.com/ --- arch/arm64/boot/dts/qcom/glymur.dtsi | 1097 ++++++++++++++++++++++++++++++= ++++ arch/arm64/boot/dts/qcom/mahua.dtsi | 1 + 2 files changed, 1098 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qco= m/glymur.dtsi index 0c5cb8532b20..0c9165d738cd 100644 --- a/arch/arm64/boot/dts/qcom/glymur.dtsi +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi @@ -341,6 +341,18 @@ domain_ss3: domain-sleep-0 { }; }; =20 + dummy-sink { + compatible =3D "arm,coresight-dummy-sink"; + + in-ports { + port { + eud_in: endpoint { + remote-endpoint =3D <&swao_rep_out1>; + }; + }; + }; + }; + firmware { scm: scm { compatible =3D "qcom,scm-glymur", "qcom,scm"; @@ -5501,6 +5513,1035 @@ rx-pins { }; }; =20 + stm: stm@10002000 { + compatible =3D "arm,coresight-stm", "arm,primecell"; + reg =3D <0x0 0x10002000 0x0 0x1000>, + <0x0 0x16280000 0x0 0x180000>; + reg-names =3D "stm-base", + "stm-stimulus-base"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + out-ports { + port { + stm_out: endpoint { + remote-endpoint =3D <&funnel0_in7>; + }; + }; + }; + }; + + tpda@10004000 { + compatible =3D "qcom,coresight-tpda", "arm,primecell"; + reg =3D <0x0 0x10004000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + in-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@1 { + reg =3D <1>; + + qdss_tpda_in1: endpoint { + remote-endpoint =3D <&spdm_tpdm_out>; + }; + }; + }; + + out-ports { + port { + qdss_tpda_out: endpoint { + remote-endpoint =3D <&funnel0_in6>; + }; + }; + }; + }; + + tpdm@1000f000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x1000f000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-element-bits =3D <32>; + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + spdm_tpdm_out: endpoint { + remote-endpoint =3D <&qdss_tpda_in1>; + }; + }; + }; + }; + + funnel@10041000 { + compatible =3D "arm,coresight-dynamic-funnel", "arm,primecell"; + reg =3D <0x0 0x10041000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + in-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + funnel0_in0: endpoint { + remote-endpoint =3D <&tn_ag_out>; + }; + }; + + port@6 { + reg =3D <6>; + + funnel0_in6: endpoint { + remote-endpoint =3D <&qdss_tpda_out>; + }; + }; + + port@7 { + reg =3D <7>; + + funnel0_in7: endpoint { + remote-endpoint =3D <&stm_out>; + }; + }; + }; + + out-ports { + port { + funnel0_out: endpoint { + remote-endpoint =3D <&aoss_funnel_in6>; + }; + }; + }; + }; + + tpdm@1102c000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x1102c000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,dsb-msrs-num =3D <32>; + + out-ports { + port { + gcc_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in36>; + }; + }; + }; + }; + + tpdm@11180000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11180000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,dsb-element-bits =3D <32>; + qcom,dsb-msrs-num =3D <32>; + + out-ports { + port { + cdsp_tpdm_out: endpoint { + remote-endpoint =3D <&cdsp_tpda_in0>; + }; + }; + }; + }; + + tpdm@11185000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11185000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-element-bits =3D <64>; + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + cdsp_dpm1_tpdm_out: endpoint { + remote-endpoint =3D <&cdsp_tpda_in5>; + }; + }; + }; + }; + + tpdm@11186000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11186000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-element-bits =3D <64>; + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + cdsp_dpm2_tpdm_out: endpoint { + remote-endpoint =3D <&cdsp_tpda_in6>; + }; + }; + }; + }; + + tpda@11188000 { + compatible =3D "qcom,coresight-tpda", "arm,primecell"; + reg =3D <0x0 0x11188000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + in-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + cdsp_tpda_in0: endpoint { + remote-endpoint =3D <&cdsp_tpdm_out>; + }; + }; + + port@1 { + reg =3D <1>; + + cdsp_tpda_in1: endpoint { + remote-endpoint =3D <&cdsp_llm_tpdm_out>; + }; + }; + + port@2 { + reg =3D <2>; + + cdsp_tpda_in2: endpoint { + remote-endpoint =3D <&cdsp_llm2_tpdm_out>; + }; + }; + + port@3 { + reg =3D <3>; + + cdsp_tpda_in3: endpoint { + remote-endpoint =3D <&cdsp_cmsr_tpdm_out>; + }; + }; + + port@4 { + reg =3D <4>; + + cdsp_tpda_in4: endpoint { + remote-endpoint =3D <&cdsp_cmsr2_tpdm_out>; + }; + }; + + port@5 { + reg =3D <5>; + + cdsp_tpda_in5: endpoint { + remote-endpoint =3D <&cdsp_dpm1_tpdm_out>; + }; + }; + + port@6 { + reg =3D <6>; + + cdsp_tpda_in6: endpoint { + remote-endpoint =3D <&cdsp_dpm2_tpdm_out>; + }; + }; + }; + + out-ports { + port { + cdsp_tpda_out: endpoint { + remote-endpoint =3D <&cdsp_funnel_in0>; + }; + }; + }; + }; + + funnel@11189000 { + compatible =3D "arm,coresight-dynamic-funnel", "arm,primecell"; + reg =3D <0x0 0x11189000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + in-ports { + port { + cdsp_funnel_in0: endpoint { + remote-endpoint =3D <&cdsp_tpda_out>; + }; + }; + }; + + out-ports { + port { + cdsp_funnel_out: endpoint { + remote-endpoint =3D <&tn_ag_in53>; + }; + }; + }; + }; + + cti@11193000 { + compatible =3D "arm,coresight-cti", "arm,primecell"; + reg =3D <0x0 0x11193000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + }; + + cti_wpss: cti@111ab000 { + compatible =3D "arm,coresight-cti", "arm,primecell"; + reg =3D <0x0 0x111ab000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + }; + + tpdm@111d0000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x111d0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,dsb-msrs-num =3D <32>; + + out-ports { + port { + qm_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in35>; + }; + }; + }; + }; + + tn@11200000 { + compatible =3D "qcom,coresight-tnoc", "arm,primecell"; + reg =3D <0x0 0x11200000 0x0 0x3c00>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + in-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@6 { + reg =3D <6>; + + tn_ag_in6: endpoint { + remote-endpoint =3D <&mm_dsb_tpdm_out>; + }; + }; + + port@10 { + reg =3D <0x10>; + + tn_ag_in16: endpoint { + remote-endpoint =3D <&east_dsb_tpdm_out>; + }; + }; + + port@21 { + reg =3D <0x21>; + + tn_ag_in33: endpoint { + remote-endpoint =3D <&west_dsb_tpdm_out>; + }; + }; + + port@23 { + reg =3D <0x23>; + + tn_ag_in35: endpoint { + remote-endpoint =3D <&qm_tpdm_out>; + }; + }; + + port@24 { + reg =3D <0x24>; + + tn_ag_in36: endpoint { + remote-endpoint =3D <&gcc_tpdm_out>; + }; + }; + + port@32 { + reg =3D <0x32>; + + tn_ag_in50: endpoint { + remote-endpoint =3D <&pcie_rscc_tpda_out>; + }; + }; + + port@35 { + reg =3D <0x35>; + + tn_ag_in53: endpoint { + remote-endpoint =3D <&cdsp_funnel_out>; + }; + }; + + port@3f { + reg =3D <0x3f>; + + tn_ag_in63: endpoint { + remote-endpoint =3D <¢er_dsb_tpdm_out>; + }; + }; + + port@40 { + reg =3D <0x40>; + + tn_ag_in64: endpoint { + remote-endpoint =3D <&ipcc_cmb_tpdm_out>; + }; + }; + + port@41 { + reg =3D <0x41>; + + tn_ag_in65: endpoint { + remote-endpoint =3D <&qrng_tpdm_out>; + }; + }; + + port@42 { + reg =3D <0x42>; + + tn_ag_in66: endpoint { + remote-endpoint =3D <&pmu_tpdm_out>; + }; + }; + + port@43 { + reg =3D <0x43>; + + tn_ag_in67: endpoint { + remote-endpoint =3D <&rdpm_west_cmb0_tpdm_out>; + }; + }; + + port@44 { + reg =3D <0x44>; + + tn_ag_in68: endpoint { + remote-endpoint =3D <&rdpm_west_cmb1_tpdm_out>; + }; + }; + + port@45 { + reg =3D <0x45>; + + tn_ag_in69: endpoint { + remote-endpoint =3D <&rdpm_west_cmb2_tpdm_out>; + }; + }; + + port@4b { + reg =3D <0x4b>; + + tn_ag_in75: endpoint { + remote-endpoint =3D <&south_dsb2_tpdm_out>; + }; + }; + + port@52 { + reg =3D <0x52>; + + tn_ag_in82: endpoint { + remote-endpoint =3D <&south_dsb_tpdm_out>; + }; + }; + + port@53 { + reg =3D <0x53>; + + tn_ag_in83: endpoint { + remote-endpoint =3D <¢er_dsb1_tpdm_out>; + }; + }; + }; + + out-ports { + port { + tn_ag_out: endpoint { + remote-endpoint =3D <&funnel0_in0>; + }; + }; + }; + }; + + tpdm@11207000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11207000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,dsb-msrs-num =3D <32>; + + out-ports { + port { + mm_dsb_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in6>; + }; + }; + }; + }; + + tpdm@1120b000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x1120b000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,dsb-msrs-num =3D <32>; + + out-ports { + port { + east_dsb_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in16>; + }; + }; + }; + }; + + tpdm@11213000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11213000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,dsb-msrs-num =3D <32>; + + out-ports { + port { + west_dsb_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in33>; + }; + }; + }; + }; + + tpdm@11219000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11219000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,dsb-msrs-num =3D <32>; + + out-ports { + port { + center_dsb_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in63>; + }; + }; + }; + }; + + tpdm@1121a000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x1121a000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + ipcc_cmb_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in64>; + }; + }; + }; + }; + + tpdm@1121b000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x1121b000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + qrng_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in65>; + }; + }; + }; + }; + + tpdm@1121c000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x1121c000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,dsb-msrs-num =3D <32>; + + out-ports { + port { + pmu_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in66>; + }; + }; + }; + }; + + tpdm@1121d000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x1121d000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + rdpm_west_cmb0_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in67>; + }; + }; + }; + }; + + tpdm@1121e000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x1121e000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + rdpm_west_cmb1_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in68>; + }; + }; + }; + }; + + tpdm@1121f000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x1121f000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + rdpm_west_cmb2_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in69>; + }; + }; + }; + }; + + tpdm@11220000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11220000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,dsb-msrs-num =3D <32>; + + out-ports { + port { + center_dsb1_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in83>; + }; + }; + }; + }; + + tpdm@11224000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11224000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,dsb-msrs-num =3D <32>; + + out-ports { + port { + south_dsb2_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in75>; + }; + }; + }; + }; + + tpdm@11228000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11228000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,dsb-msrs-num =3D <32>; + + out-ports { + port { + south_dsb_tpdm_out: endpoint { + remote-endpoint =3D <&tn_ag_in82>; + }; + }; + }; + }; + + tpdm@11470000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11470000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-element-bits =3D <32>; + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + pcie_rscc_tpdm_out: endpoint { + remote-endpoint =3D <&pcie_rscc_tpda_in0>; + }; + }; + }; + }; + + tpda@11471000 { + compatible =3D "qcom,coresight-tpda", "arm,primecell"; + reg =3D <0x0 0x11471000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + in-ports { + port { + pcie_rscc_tpda_in0: endpoint { + remote-endpoint =3D <&pcie_rscc_tpdm_out>; + }; + }; + }; + + out-ports { + port { + pcie_rscc_tpda_out: endpoint { + remote-endpoint =3D <&tn_ag_in50>; + }; + }; + }; + }; + + tpdm@11c03000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11c03000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-element-bits =3D <64>; + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + swao_prio4_tpdm_out: endpoint { + remote-endpoint =3D <&aoss_tpda_in4>; + }; + }; + }; + }; + + funnel@11c04000 { + compatible =3D "arm,coresight-dynamic-funnel", "arm,primecell"; + reg =3D <0x0 0x11c04000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + in-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@5 { + reg =3D <5>; + + aoss_funnel_in5: endpoint { + remote-endpoint =3D <&aoss_tpda_out>; + }; + }; + + port@6 { + reg =3D <6>; + + aoss_funnel_in6: endpoint { + remote-endpoint =3D <&funnel0_out>; + }; + }; + }; + + out-ports { + port { + aoss_funnel_out: endpoint { + remote-endpoint =3D <&etf0_in>; + }; + }; + }; + }; + + tmc_etf: tmc@11c05000 { + compatible =3D "arm,coresight-tmc", "arm,primecell"; + reg =3D <0x0 0x11c05000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + in-ports { + port { + etf0_in: endpoint { + remote-endpoint =3D <&aoss_funnel_out>; + }; + }; + }; + + out-ports { + port { + etf0_out: endpoint { + remote-endpoint =3D <&swao_rep_in>; + }; + }; + }; + }; + + replicator@11c06000 { + compatible =3D "arm,coresight-dynamic-replicator", "arm,primecell"; + reg =3D <0x0 0x11c06000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + in-ports { + port { + swao_rep_in: endpoint { + remote-endpoint =3D <&etf0_out>; + }; + }; + }; + + out-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@1 { + reg =3D <1>; + + swao_rep_out1: endpoint { + remote-endpoint =3D <&eud_in>; + }; + }; + }; + }; + + tpda@11c08000 { + compatible =3D "qcom,coresight-tpda", "arm,primecell"; + reg =3D <0x0 0x11c08000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + in-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + aoss_tpda_in0: endpoint { + remote-endpoint =3D <&swao_prio0_tpdm_out>; + }; + }; + + port@1 { + reg =3D <1>; + + aoss_tpda_in1: endpoint { + remote-endpoint =3D <&swao_prio1_tpdm_out>; + }; + }; + + port@2 { + reg =3D <2>; + + aoss_tpda_in2: endpoint { + remote-endpoint =3D <&swao_prio2_tpdm_out>; + }; + }; + + port@3 { + reg =3D <3>; + + aoss_tpda_in3: endpoint { + remote-endpoint =3D <&swao_prio3_tpdm_out>; + }; + }; + + port@4 { + reg =3D <4>; + + aoss_tpda_in4: endpoint { + remote-endpoint =3D <&swao_prio4_tpdm_out>; + }; + }; + + port@5 { + reg =3D <5>; + + aoss_tpda_in5: endpoint { + remote-endpoint =3D <&swao_tpdm_out>; + }; + }; + }; + + out-ports { + port { + aoss_tpda_out: endpoint { + remote-endpoint =3D <&aoss_funnel_in5>; + }; + }; + }; + }; + + tpdm@11c09000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11c09000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-element-bits =3D <64>; + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + swao_prio0_tpdm_out: endpoint { + remote-endpoint =3D <&aoss_tpda_in0>; + }; + }; + }; + }; + + tpdm@11c0a000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11c0a000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-element-bits =3D <64>; + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + swao_prio1_tpdm_out: endpoint { + remote-endpoint =3D <&aoss_tpda_in1>; + }; + }; + }; + }; + + tpdm@11c0b000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11c0b000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-element-bits =3D <64>; + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + swao_prio2_tpdm_out: endpoint { + remote-endpoint =3D <&aoss_tpda_in2>; + }; + }; + }; + }; + + tpdm@11c0c000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11c0c000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,cmb-element-bits =3D <64>; + qcom,cmb-msrs-num =3D <32>; + + out-ports { + port { + swao_prio3_tpdm_out: endpoint { + remote-endpoint =3D <&aoss_tpda_in3>; + }; + }; + }; + }; + + tpdm@11c0d000 { + compatible =3D "qcom,coresight-tpdm", "arm,primecell"; + reg =3D <0x0 0x11c0d000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + + qcom,dsb-element-bits =3D <32>; + qcom,dsb-msrs-num =3D <32>; + + out-ports { + port { + swao_tpdm_out: endpoint { + remote-endpoint =3D <&aoss_tpda_in5>; + }; + }; + }; + }; + apps_smmu: iommu@15000000 { compatible =3D "qcom,glymur-smmu-500", "qcom,smmu-500", @@ -7132,4 +8173,60 @@ gpuss-1-critical { }; }; }; + + tpdm-cdsp-llm { + compatible =3D "qcom,coresight-static-tpdm"; + qcom,cmb-element-bits =3D <32>; + + out-ports { + port { + cdsp_llm_tpdm_out: endpoint { + remote-endpoint =3D <&cdsp_tpda_in1>; + }; + }; + }; + }; + + tpdm-cdsp-llm2 { + compatible =3D "qcom,coresight-static-tpdm"; + qcom,cmb-element-bits =3D <32>; + + out-ports { + port { + cdsp_llm2_tpdm_out: endpoint { + remote-endpoint =3D <&cdsp_tpda_in2>; + }; + }; + }; + }; + + tpdm-cdsp-cmsr { + compatible =3D "qcom,coresight-static-tpdm"; + + qcom,cmb-element-bits =3D <32>; + qcom,dsb-element-bits =3D <32>; + + out-ports { + port { + cdsp_cmsr_tpdm_out: endpoint { + remote-endpoint =3D <&cdsp_tpda_in3>; + }; + }; + }; + }; + + tpdm-cdsp-cmsr2 { + compatible =3D "qcom,coresight-static-tpdm"; + + qcom,cmb-element-bits =3D <32>; + qcom,dsb-element-bits =3D <32>; + + out-ports { + port { + cdsp_cmsr2_tpdm_out: endpoint { + remote-endpoint =3D <&cdsp_tpda_in4>; + }; + }; + }; + }; }; diff --git a/arch/arm64/boot/dts/qcom/mahua.dtsi b/arch/arm64/boot/dts/qcom= /mahua.dtsi index 990a02c6afc1..22822b6b2e8b 100644 --- a/arch/arm64/boot/dts/qcom/mahua.dtsi +++ b/arch/arm64/boot/dts/qcom/mahua.dtsi @@ -21,6 +21,7 @@ /delete-node/ &cpu_pd15; /delete-node/ &cpu_pd16; /delete-node/ &cpu_pd17; +/delete-node/ &cti_wpss; /delete-node/ &thermal_aoss_6; /delete-node/ &thermal_aoss_7; /delete-node/ &thermal_cpu_2_0_0; --- base-commit: e98d21c170b01ddef366f023bbfcf6b31509fa83 change-id: 20260515-add-coresight-nodes-for-glymur-49045aa9ede8 Best regards, --=20 Jie Gan