From nobody Mon Feb 9 17:24:41 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 8BEE932FA14 for ; Thu, 18 Dec 2025 08:10:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766045461; cv=none; b=Nw+XsRtl6np0xjjl0trgBDz9Ruq0dtT8cbgnn0jTYFDQpbFuRAeRqvrudQOM3OxjdExKnzVEeiGu3BrWdl1znLuHHbkMBzObGSA3eFQe+71bBBcGFslyxxe25GuRIlW6kuIV195G/zwyjZifpA5q4wNeZr0oCQVp/w4Qdz4A6mQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766045461; c=relaxed/simple; bh=O3lebP0j3CFc+4vd2v8DIGqiBdADibYV+coTgG78B8w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ua9BF0SqZK/eQcktdVtJKQPwUXg8TuyJaTPSPFfHJweM28FiE6sVIXHRiIRq95uQUObVfUUEEb3Zuq6spggPdA4sObtb60o5JI6ez1iRsabZwOOZXQlylPi+v9fcH+ERWheboE37FT+nAATVuXNSSugi7R+gWCIU7iM3pQJRTtU= 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=aSInmJ4u; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=a6hdj+6O; arc=none smtp.client-ip=205.220.180.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="aSInmJ4u"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="a6hdj+6O" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5BI1YVoU4057302 for ; Thu, 18 Dec 2025 08:10:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= sG1WZ80GdTZxaNTh3bLb2aJSY//j7WYleV6GdsKVEEs=; b=aSInmJ4u044Jhan9 hrtIvLHvEhPl6RwSv/SyHN0lJRHwqmYrdlweZTZ+nzhdGycZTM5CrhALtAM3WGe7 shi0eDfUMh08CKGtKQdLR+gzBX1edw6uHgOIuMBvUVTy1/Yts9S2VB7TmbYdOpjd JmFbSocJLW5BKrr0Taa9mY4n/URdEeO7izHxAXszzPgJBpB8eoLaOmR0q9ToLki6 PYv1cIXtEon835YnqxH4xM62DDqSj6DZqQaLW4I/jsbaO0RQxhcelIdfroZ2NwfR erbdicZ6LekUWtbZmeIZHx9afeB+0qlxhq4Bkg8qwuDgCJ5VPnt8fZq/IC0GasWe ZzRjGw== Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4b3xr5ap8t-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 18 Dec 2025 08:10:55 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-bc2a04abc5aso400032a12.2 for ; Thu, 18 Dec 2025 00:10:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1766045455; x=1766650255; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=sG1WZ80GdTZxaNTh3bLb2aJSY//j7WYleV6GdsKVEEs=; b=a6hdj+6OOunQrLrWZkKsOI0DjITcgX60hoEw5+qXwTGBdj3kmu7WVe1T+MjiOcWuPX hyeRVJwx/Q9UFT74GszS/aR4l6BwnMR6TIZI/VwlMZ98eHEEi9CQzoKa/L1/FatO29RZ bzeIW0AHwVWx4kxzOeCWNEL0KXmoezmSxwlKjbXKpS/ayG5MPCOOPjloNyrrwtiq+D8B YLISmq/Bh0K8K1T0AtE4DaAeBFb/FIsjZ3162hVDbaV1SRmuRcmQaskXHROw0gRQ73n7 XC1R8iN/3nSco6JJk23eLT6izB6uhGR4URlzgvZMOYruPTf8vvH1OVQQASNTp61BdGtf 9KWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766045455; x=1766650255; h=cc:to:in-reply-to:references: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=sG1WZ80GdTZxaNTh3bLb2aJSY//j7WYleV6GdsKVEEs=; b=q6NxYFBc0ZvU7j5FcLdfRiSIXq4p02QiCN5I58a2bkKQKIvRGlWYp4tDk+8u8dWeS1 XempmlCKtfQ9r9mVZnMxKhYbjCSLnW3E0BEJVjPuzwd1sdlAeNcSnjy4u9PFLns718kH hMHiYhHvczZkp31Aq5ZMKTrdnKgAYubFxeH0+6DVFq3sz0qyYr+JKo8fSzpbPXPsRH73 7Kw5hkBp0fuiy30CotriXeTCs8YeNX4627ufwLozrf4fx8h5LQfB9i9IKEURrTCDMtGp ywrAvZYDE+X2FeyYs3FnypwEwkgJ5oXz+eD5lLdHC/3a3KLFUTJsekR9Hrjc/hjHpG7p xbBA== X-Forwarded-Encrypted: i=1; AJvYcCXnWhUjyVPr4K9gNoQVk/k2wNjwucNDl74rA4TxIbClnvx+saMp1rU54hXo1oVEJUWhEaCHdf9CeVs2aFg=@vger.kernel.org X-Gm-Message-State: AOJu0YxXobXhTx7SSKBIVEQgMG/1F7wD2HByoj38P/LFO9AttHeXi9sv 6GOjH310xStYeR75bG61R5xS3inzHXF7+l8NYNC3jIbmudNv+DV7Xjkv6reXXB1XIfg5ZLWvt7W NkLgl8N6ejHq+JVj22vVcJ9zoPvLRuCADNXGAIczRVBWa5O9M3oGvsSSH2Rr9YcQw7Po= X-Gm-Gg: AY/fxX6V4bcMMpUTwkcP56frHn5cDcljZmcenhA1r+usjhW5M+6SrbXjuDYaS1Ht8Qt ciQ65gtclMP3QZ/e6v32o/gGSx7pqp41LmOqkxlkpqSzGkbjRkdtskYwD2AHjbd9RVlm+x/z8Px AnsEZWi3rwnFtNYzc1mOXpBikAMt0Cid+lrdjUIIT0ySWrVV3UdlxbNZUyrBYjJ4kxdh7iq86Rt qilqTf+plqmTEWfGnf00n/yWnyU855w/nnZPoKhrbbI+L+nskkppWqTAs763q7NZF43qotJpRum Q5RQ6zvPIQXe/5YvZB2yDc72z5H+XBM1MAzdFx+XqI0mT5qWrAi53RxN1368So4afCydrrZnpoT N5TTQ88ACUF1Np1pQc4aygf9l54oG7YjtIXkp4MGWkww/1/wfyPeGTToqPq0yOjupukU= X-Received: by 2002:a05:693c:4144:20b0:2b0:4c33:8e41 with SMTP id 5a478bee46e88-2b04c3396b1mr2071932eec.20.1766045454360; Thu, 18 Dec 2025 00:10:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IHD2VP67zT5B5y+7lY8WNaa47ogrhNludkWA85whK5lk//2YwQDGZoidIT7qDtLm/qeA2zjAg== X-Received: by 2002:a05:693c:4144:20b0:2b0:4c33:8e41 with SMTP id 5a478bee46e88-2b04c3396b1mr2071893eec.20.1766045453740; Thu, 18 Dec 2025 00:10:53 -0800 (PST) Received: from hu-yuanfang-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2b04e58d423sm2564824eec.6.2025.12.18.00.10.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Dec 2025 00:10:53 -0800 (PST) From: yuanfang Zhang Date: Thu, 18 Dec 2025 00:09:52 -0800 Subject: [PATCH v2 12/12] arm64: dts: qcom: hamoa: Add CoreSight nodes for APSS debug block 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: <20251218-cpu_cluster_component_pm-v2-12-2335a6ae62a0@oss.qualcomm.com> References: <20251218-cpu_cluster_component_pm-v2-0-2335a6ae62a0@oss.qualcomm.com> In-Reply-To: <20251218-cpu_cluster_component_pm-v2-0-2335a6ae62a0@oss.qualcomm.com> To: Suzuki K Poulose , Mike Leach , James Clark , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mathieu Poirier , Leo Yan , Alexander Shishkin , Bjorn Andersson , Konrad Dybcio Cc: kernel@oss.qualcomm.com, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Yuanfang Zhang , maulik.shah@oss.qualcomm.com, Jie Gan X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1766045439; l=20225; i=yuanfang.zhang@oss.qualcomm.com; s=20250814; h=from:subject:message-id; bh=OSpn+qOE01+ChQYG4B4E7m17DuVeVtvMUxcLoJ3PwDU=; b=YafyrU0mQNdNr7r/T2pwh3fMGQJww52o1W/HEABZaTXedXw+u3EBGOYrqpr2tDZj+D1boOLIq I7n8I1ypa6mAnDJ6CsXHm752F6qKICRgwdD3xmIckiFuZX7rO5i9ygC X-Developer-Key: i=yuanfang.zhang@oss.qualcomm.com; a=ed25519; pk=9oS/FoPW5k0CsqSDDrPlnV+kVIOUaAe0O5pr4M1wHgY= X-Proofpoint-GUID: pGne7_SEuq_ifesVIlYN2oHj8a5rxEFX X-Authority-Analysis: v=2.4 cv=DsBbOW/+ c=1 sm=1 tr=0 ts=6943b70f cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=wP3pNCr1ah4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=rG_eRC_tWg5vcVVOg78A:9 a=QEXdDO2ut3YA:10 a=_Vgx9l1VpLgwpw_dHYaR:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjE4MDA2NiBTYWx0ZWRfX8XpCmSG5p9L7 6CDyclmqbQACJWRLvZLvJTTSQ+obDgT9IEpuLpNjyZmm8Zor+NwtrjmPQNYxKoAkuAY4/JRWNkJ HP7R1V39cT7efg7WPVDE/gES+Whx9QDKnc8Z83qEckkWjoXF0+t/0OD51a2GcJbqFGKPD4RNjVB X+0PO9Rzz74TRe3Tun2Qzfq5nrpMuTanZbVcGy8rPMx2kKgQR4lraFVK7m/npnLXzthSPrTpFVl kEfiaX9sxd8oU5wHh+8wcwLCLvLSdv6laGAtznYtzD4RiOyUleHvdOlivnweFxHTMJvpvQe2Iug lJ5FDh4XXsIwg7ucB0omQSd8weKVW8Z2G68kwBv0H5ILpvY3TjwBB7uQ3NfjOJxmp0KVztlVBh4 qkjJrTrZPREjhnYDswgVrVxT9Alb1Q== X-Proofpoint-ORIG-GUID: pGne7_SEuq_ifesVIlYN2oHj8a5rxEFX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-18_01,2025-12-17_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 priorityscore=1501 impostorscore=0 spamscore=0 adultscore=0 clxscore=1015 bulkscore=0 malwarescore=0 phishscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2512180066 From: Jie Gan The APSS debug block is built with CoreSight devices like ETM, replicator, funnel and TMC ETF. Add dt nodes for these devices to enable ETM trace. Signed-off-by: Jie Gan Co-developed-by: Yuanfang Zhang Signed-off-by: Yuanfang Zhang --- arch/arm64/boot/dts/qcom/hamoa.dtsi | 926 ++++++++++++++++++++++++++++++++= ++++ arch/arm64/boot/dts/qcom/purwa.dtsi | 12 + 2 files changed, 938 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/hamoa.dtsi b/arch/arm64/boot/dts/qcom= /hamoa.dtsi index a17900eacb20396a9792efcfcd6ce6dd877435d1..8c3de8bf058daa681db040c4a9a= 38253863e6c78 100644 --- a/arch/arm64/boot/dts/qcom/hamoa.dtsi +++ b/arch/arm64/boot/dts/qcom/hamoa.dtsi @@ -305,6 +305,210 @@ eud_in: endpoint { }; }; =20 + etm-0 { + compatible =3D "arm,coresight-etm4x-sysreg"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + cpu =3D <&cpu0>; + qcom,skip-power-up; + + out-ports { + port { + etm0_out: endpoint { + remote-endpoint =3D <&ncc0_0_rep_in>; + }; + }; + }; + }; + + etm-1 { + compatible =3D "arm,coresight-etm4x-sysreg"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + cpu =3D <&cpu1>; + qcom,skip-power-up; + + out-ports { + port { + etm1_out: endpoint { + remote-endpoint =3D <&ncc0_1_rep_in>; + }; + }; + }; + }; + + etm-2 { + compatible =3D "arm,coresight-etm4x-sysreg"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + cpu =3D <&cpu2>; + qcom,skip-power-up; + + out-ports { + port { + etm2_out: endpoint { + remote-endpoint =3D <&ncc0_2_rep_in>; + }; + }; + }; + }; + + etm-3 { + compatible =3D "arm,coresight-etm4x-sysreg"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + cpu =3D <&cpu3>; + qcom,skip-power-up; + + out-ports { + port { + etm3_out: endpoint { + remote-endpoint =3D <&ncc0_3_rep_in>; + }; + }; + }; + }; + + etm-4 { + compatible =3D "arm,coresight-etm4x-sysreg"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + cpu =3D <&cpu4>; + qcom,skip-power-up; + + out-ports { + port { + etm4_out: endpoint { + remote-endpoint =3D <&ncc1_0_rep_in>; + }; + }; + }; + }; + + etm-5 { + compatible =3D "arm,coresight-etm4x-sysreg"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + cpu =3D <&cpu5>; + qcom,skip-power-up; + + out-ports { + port { + etm5_out: endpoint { + remote-endpoint =3D <&ncc1_1_rep_in>; + }; + }; + }; + }; + + etm-6 { + compatible =3D "arm,coresight-etm4x-sysreg"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + cpu =3D <&cpu6>; + qcom,skip-power-up; + + out-ports { + port { + etm6_out: endpoint { + remote-endpoint =3D <&ncc1_2_rep_in>; + }; + }; + }; + }; + + etm-7 { + compatible =3D "arm,coresight-etm4x-sysreg"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + cpu =3D <&cpu7>; + qcom,skip-power-up; + + out-ports { + port { + etm7_out: endpoint { + remote-endpoint =3D <&ncc1_3_rep_in>; + }; + }; + }; + }; + + etm8: etm-8 { + compatible =3D "arm,coresight-etm4x-sysreg"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + cpu =3D <&cpu8>; + qcom,skip-power-up; + + out-ports { + port { + etm8_out: endpoint { + remote-endpoint =3D <&ncc2_0_rep_in>; + }; + }; + }; + }; + + etm9: etm-9 { + compatible =3D "arm,coresight-etm4x-sysreg"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + cpu =3D <&cpu9>; + qcom,skip-power-up; + + out-ports { + port { + etm9_out: endpoint { + remote-endpoint =3D <&ncc2_1_rep_in>; + }; + }; + }; + }; + + etm10: etm-10 { + compatible =3D "arm,coresight-etm4x-sysreg"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + cpu =3D <&cpu10>; + qcom,skip-power-up; + + out-ports { + port { + etm10_out: endpoint { + remote-endpoint =3D <&ncc2_2_rep_in>; + }; + }; + }; + }; + + etm11: etm-11 { + compatible =3D "arm,coresight-etm4x-sysreg"; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + cpu =3D <&cpu11>; + qcom,skip-power-up; + + out-ports { + port { + etm11_out: endpoint { + remote-endpoint =3D <&ncc2_3_rep_in>; + }; + }; + }; + }; + firmware { scm: scm { compatible =3D "qcom,scm-x1e80100", "qcom,scm"; @@ -6864,6 +7068,14 @@ funnel1_in2: endpoint { }; }; =20 + port@4 { + reg =3D <4>; + + funnel1_in4: endpoint { + remote-endpoint =3D <&apss_funnel_out>; + }; + }; + port@5 { reg =3D <5>; =20 @@ -8154,6 +8366,720 @@ ddr_funnel1_out: endpoint { }; }; =20 + apss_funnel: funnel@12080000 { + compatible =3D "arm,coresight-dynamic-funnel", "arm,primecell"; + reg =3D <0x0 0x12080000 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>; + + apss_funnel_in0: endpoint { + remote-endpoint =3D <&ncc0_etf_out>; + }; + }; + + port@1 { + reg =3D <1>; + + apss_funnel_in1: endpoint { + remote-endpoint =3D <&ncc1_etf_out>; + }; + }; + + port@2 { + reg =3D <2>; + + apss_funnel_in2: endpoint { + remote-endpoint =3D <&ncc2_etf_out>; + }; + }; + }; + + out-ports { + port { + apss_funnel_out: endpoint { + remote-endpoint =3D <&funnel1_in4>; + }; + }; + }; + }; + + funnel@13401000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb908>; + reg =3D <0x0 0x13401000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd0>; + qcom,cpu-bound-components; + + in-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@2 { + reg =3D <2>; + + ncc0_2_funnel_in2: endpoint { + remote-endpoint =3D <&ncc0_1_funnel_out>; + }; + }; + }; + + out-ports { + port { + ncc0_2_funnel_out: endpoint { + remote-endpoint =3D <&ncc0_etf_in>; + }; + }; + }; + }; + + tmc@13409000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb961>; + reg =3D <0x0 0x13409000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd0>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc0_etf_in: endpoint { + remote-endpoint =3D <&ncc0_2_funnel_out>; + }; + }; + }; + + out-ports { + port { + ncc0_etf_out: endpoint { + remote-endpoint =3D <&apss_funnel_in0>; + }; + }; + }; + }; + + replicator@13490000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb909>; + reg =3D <0x0 0x13490000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd0>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc0_0_rep_in: endpoint { + remote-endpoint =3D <&etm0_out>; + }; + }; + }; + + out-ports { + port { + ncc0_0_rep_out: endpoint { + remote-endpoint =3D <&ncc0_1_funnel_in0>; + }; + }; + }; + }; + + replicator@134a0000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb909>; + reg =3D <0x0 0x134a0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd0>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc0_1_rep_in: endpoint { + remote-endpoint =3D <&etm1_out>; + }; + }; + }; + + out-ports { + port { + ncc0_1_rep_out: endpoint { + remote-endpoint =3D <&ncc0_1_funnel_in1>; + }; + }; + }; + }; + + replicator@134b0000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb909>; + reg =3D <0x0 0x134b0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd0>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc0_2_rep_in: endpoint { + remote-endpoint =3D <&etm2_out>; + }; + }; + }; + + out-ports { + port { + ncc0_2_rep_out: endpoint { + remote-endpoint =3D <&ncc0_1_funnel_in2>; + }; + }; + }; + }; + + replicator@134c0000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb909>; + reg =3D <0x0 0x134c0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd0>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc0_3_rep_in: endpoint { + remote-endpoint =3D <&etm3_out>; + }; + }; + }; + + out-ports { + port { + ncc0_3_rep_out: endpoint { + remote-endpoint =3D <&ncc0_1_funnel_in3>; + }; + }; + }; + }; + + funnel@134d0000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb908>; + reg =3D <0x0 0x134d0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd0>; + qcom,cpu-bound-components; + + in-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + ncc0_1_funnel_in0: endpoint { + remote-endpoint =3D <&ncc0_0_rep_out>; + }; + }; + + port@1 { + reg =3D <1>; + + ncc0_1_funnel_in1: endpoint { + remote-endpoint =3D <&ncc0_1_rep_out>; + }; + }; + + port@2 { + reg =3D <2>; + + ncc0_1_funnel_in2: endpoint { + remote-endpoint =3D <&ncc0_2_rep_out>; + }; + }; + + port@3 { + reg =3D <3>; + + ncc0_1_funnel_in3: endpoint { + remote-endpoint =3D <&ncc0_3_rep_out>; + }; + }; + }; + + out-ports { + port { + ncc0_1_funnel_out: endpoint { + remote-endpoint =3D <&ncc0_2_funnel_in2>; + }; + }; + }; + }; + + funnel@13901000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb908>; + reg =3D <0x0 0x13901000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd1>; + qcom,cpu-bound-components; + + in-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@2 { + reg =3D <2>; + + ncc1_2_funnel_in2: endpoint { + remote-endpoint =3D <&ncc1_1_funnel_out>; + }; + }; + }; + + out-ports { + port { + ncc1_2_funnel_out: endpoint { + remote-endpoint =3D <&ncc1_etf_in>; + }; + }; + }; + }; + + tmc@13909000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb961>; + reg =3D <0x0 0x13909000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd1>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc1_etf_in: endpoint { + remote-endpoint =3D <&ncc1_2_funnel_out>; + }; + }; + }; + + out-ports { + port { + ncc1_etf_out: endpoint { + remote-endpoint =3D <&apss_funnel_in1>; + }; + }; + }; + }; + + replicator@13990000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb909>; + reg =3D <0x0 0x13990000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd1>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc1_0_rep_in: endpoint { + remote-endpoint =3D <&etm4_out>; + }; + }; + }; + + out-ports { + port { + ncc1_0_rep_out: endpoint { + remote-endpoint =3D <&ncc1_1_funnel_in0>; + }; + }; + }; + }; + + replicator@139a0000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb909>; + reg =3D <0x0 0x139a0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd1>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc1_1_rep_in: endpoint { + remote-endpoint =3D <&etm5_out>; + }; + }; + }; + + out-ports { + port { + ncc1_1_rep_out: endpoint { + remote-endpoint =3D <&ncc1_1_funnel_in1>; + }; + }; + }; + }; + + replicator@139b0000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb909>; + reg =3D <0x0 0x139b0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd1>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc1_2_rep_in: endpoint { + remote-endpoint =3D <&etm6_out>; + }; + }; + }; + + out-ports { + port { + ncc1_2_rep_out: endpoint { + remote-endpoint =3D <&ncc1_1_funnel_in2>; + }; + }; + }; + }; + + replicator@139c0000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb909>; + reg =3D <0x0 0x139c0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd1>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc1_3_rep_in: endpoint { + remote-endpoint =3D <&etm7_out>; + }; + }; + }; + + out-ports { + port { + ncc1_3_rep_out: endpoint { + remote-endpoint =3D <&ncc1_1_funnel_in3>; + }; + }; + }; + }; + + funnel@139d0000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb908>; + reg =3D <0x0 0x139d0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd1>; + qcom,cpu-bound-components; + + in-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + ncc1_1_funnel_in0: endpoint { + remote-endpoint =3D <&ncc1_0_rep_out>; + }; + }; + + port@1 { + reg =3D <1>; + + ncc1_1_funnel_in1: endpoint { + remote-endpoint =3D <&ncc1_1_rep_out>; + }; + }; + + port@2 { + reg =3D <2>; + + ncc1_1_funnel_in2: endpoint { + remote-endpoint =3D <&ncc1_2_rep_out>; + }; + }; + + port@3 { + reg =3D <3>; + + ncc1_1_funnel_in3: endpoint { + remote-endpoint =3D <&ncc1_3_rep_out>; + }; + }; + }; + + out-ports { + port { + ncc1_1_funnel_out: endpoint { + remote-endpoint =3D <&ncc1_2_funnel_in2>; + }; + }; + }; + }; + + cluster2_funnel_l2: funnel@13e01000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb908>; + reg =3D <0x0 0x13e01000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd2>; + qcom,cpu-bound-components; + + in-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@2 { + reg =3D <2>; + + ncc2_2_funnel_in2: endpoint { + remote-endpoint =3D <&ncc2_1_funnel_out>; + }; + }; + }; + + out-ports { + port { + ncc2_2_funnel_out: endpoint { + remote-endpoint =3D <&ncc2_etf_in>; + }; + }; + }; + }; + + cluster2_etf: tmc@13e09000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb961>; + reg =3D <0x0 0x13e09000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd2>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc2_etf_in: endpoint { + remote-endpoint =3D <&ncc2_2_funnel_out>; + }; + }; + }; + + out-ports { + port { + ncc2_etf_out: endpoint { + remote-endpoint =3D <&apss_funnel_in2>; + }; + }; + }; + }; + + cluster2_rep_2_0: replicator@13e90000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb909>; + reg =3D <0x0 0x13e90000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd2>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc2_0_rep_in: endpoint { + remote-endpoint =3D <&etm8_out>; + }; + }; + }; + + out-ports { + port { + ncc2_0_rep_out: endpoint { + remote-endpoint =3D <&ncc2_1_funnel_in0>; + }; + }; + }; + }; + + cluster2_rep_2_1: replicator@13ea0000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb909>; + reg =3D <0x0 0x13ea0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd2>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc2_1_rep_in: endpoint { + remote-endpoint =3D <&etm9_out>; + }; + }; + }; + + out-ports { + port { + ncc2_1_rep_out: endpoint { + remote-endpoint =3D <&ncc2_1_funnel_in1>; + }; + }; + }; + }; + + cluster2_rep_2_2: replicator@13eb0000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb909>; + reg =3D <0x0 0x13eb0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd2>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc2_2_rep_in: endpoint { + remote-endpoint =3D <&etm10_out>; + }; + }; + }; + + out-ports { + port { + ncc2_2_rep_out: endpoint { + remote-endpoint =3D <&ncc2_1_funnel_in2>; + }; + }; + }; + }; + + cluster2_rep_2_3: replicator@13ec0000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb909>; + reg =3D <0x0 0x13ec0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd2>; + qcom,cpu-bound-components; + + in-ports { + port { + ncc2_3_rep_in: endpoint { + remote-endpoint =3D <&etm11_out>; + }; + }; + }; + + out-ports { + port { + ncc2_3_rep_out: endpoint { + remote-endpoint =3D <&ncc2_1_funnel_in3>; + }; + }; + }; + }; + + cluster2_funnel_l1: funnel@13ed0000 { + compatible =3D "arm,primecell"; + arm,primecell-periphid =3D <0x000bb908>; + reg =3D <0x0 0x13ed0000 0x0 0x1000>; + + clocks =3D <&aoss_qmp>; + clock-names =3D "apb_pclk"; + power-domains =3D <&cluster_pd2>; + qcom,cpu-bound-components; + + in-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + ncc2_1_funnel_in0: endpoint { + remote-endpoint =3D <&ncc2_0_rep_out>; + }; + }; + + port@1 { + reg =3D <1>; + + ncc2_1_funnel_in1: endpoint { + remote-endpoint =3D <&ncc2_1_rep_out>; + }; + }; + + port@2 { + reg =3D <2>; + + ncc2_1_funnel_in2: endpoint { + remote-endpoint =3D <&ncc2_2_rep_out>; + }; + }; + + port@3 { + reg =3D <3>; + + ncc2_1_funnel_in3: endpoint { + remote-endpoint =3D <&ncc2_3_rep_out>; + }; + }; + }; + + out-ports { + port { + ncc2_1_funnel_out: endpoint { + remote-endpoint =3D <&ncc2_2_funnel_in2>; + }; + }; + }; + }; + apps_smmu: iommu@15000000 { compatible =3D "qcom,x1e80100-smmu-500", "qcom,smmu-500", "arm,mmu-500"; reg =3D <0 0x15000000 0 0x100000>; diff --git a/arch/arm64/boot/dts/qcom/purwa.dtsi b/arch/arm64/boot/dts/qcom= /purwa.dtsi index 2cecd2dd0de8c39f0702d6983bead2bc2adccf9b..38f2df9e42b60b5f22decfb4643= 81bce214d414d 100644 --- a/arch/arm64/boot/dts/qcom/purwa.dtsi +++ b/arch/arm64/boot/dts/qcom/purwa.dtsi @@ -21,6 +21,18 @@ /delete-node/ &gpu_speed_bin; /delete-node/ &pcie3_phy; /delete-node/ &thermal_zones; +/delete-node/ &etm8; +/delete-node/ &etm9; +/delete-node/ &etm10; +/delete-node/ &etm11; +/delete-node/ &cluster2_funnel_l1; +/delete-node/ &cluster2_funnel_l2; +/delete-node/ &cluster2_etf; +/delete-node/ &cluster2_rep_2_0; +/delete-node/ &cluster2_rep_2_1; +/delete-node/ &cluster2_rep_2_2; +/delete-node/ &cluster2_rep_2_3; +/delete-node/ &apss_funnel_in2; =20 &gcc { compatible =3D "qcom,x1p42100-gcc", "qcom,x1e80100-gcc"; --=20 2.34.1