From 345f9f1efbfdf961d92829a6d582eb2b4f9024c2 Mon Sep 17 00:00:00 2001 From: Jie Gan Date: Tue, 19 May 2026 21:22:23 +0800 Subject: [PATCH 1/3] Revert "WORKAROUND: arm64: dts: qcom: Mahua: Removing Qdss DSP node" This reverts commit 6ff56ea919f9af2d5e3d9475a68e67e394300169. Revert the change for updating to the latest upstream version. Signed-off-by: Jie Gan --- arch/arm64/boot/dts/qcom/glymur.dtsi | 2 +- arch/arm64/boot/dts/qcom/mahua.dtsi | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi index 2aa9c71b92d95..268a2d4b4b6bc 100644 --- a/arch/arm64/boot/dts/qcom/glymur.dtsi +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi @@ -6995,7 +6995,7 @@ clock-names = "apb_pclk"; }; - QDSS_DSP: cti@111ab000 { + cti@111ab000 { compatible = "arm,coresight-cti", "arm,primecell"; reg = <0x0 0x111ab000 0x0 0x1000>; diff --git a/arch/arm64/boot/dts/qcom/mahua.dtsi b/arch/arm64/boot/dts/qcom/mahua.dtsi index 582a11b37189a..990a02c6afc16 100644 --- a/arch/arm64/boot/dts/qcom/mahua.dtsi +++ b/arch/arm64/boot/dts/qcom/mahua.dtsi @@ -49,7 +49,6 @@ /delete-node/ &thermal_video_1; /delete-node/ &tsens6; /delete-node/ &tsens7; -/delete-node/ &QDSS_DSP; &aggre1_noc { compatible = "qcom,mahua-aggre1-noc", "qcom,glymur-aggre1-noc"; From 559114da67ea73ee6836b6d925557936bfaaa579 Mon Sep 17 00:00:00 2001 From: Jie Gan Date: Tue, 19 May 2026 21:23:09 +0800 Subject: [PATCH 2/3] Revert "FROMLIST: arm64: dts: qcom: glymur: add coresight nodes" This reverts commit cd255924fe950bef687c4468b278b1ae08c9d6f0. Revert this change for updating to the latest upstream version. Signed-off-by: Jie Gan --- arch/arm64/boot/dts/qcom/glymur.dtsi | 1509 ++++---------------------- 1 file changed, 206 insertions(+), 1303 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi index 268a2d4b4b6bc..f42dc9c8c817f 100644 --- a/arch/arm64/boot/dts/qcom/glymur.dtsi +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi @@ -348,18 +348,6 @@ }; }; - dummy-sink { - compatible = "arm,coresight-dummy-sink"; - - in-ports { - port { - eud_in: endpoint { - remote-endpoint = <&swao_rep_out1>; - }; - }; - }; - }; - firmware { scm: scm { compatible = "qcom,scm-glymur", "qcom,scm"; @@ -6699,1287 +6687,258 @@ }; }; - stm: stm@10002000 { - compatible = "arm,coresight-stm", "arm,primecell"; - reg = <0x0 0x10002000 0x0 0x1000>, - <0x0 0x16280000 0x0 0x180000>; - reg-names = "stm-base", - "stm-stimulus-base"; + apps_smmu: iommu@15000000 { + compatible = "qcom,glymur-smmu-500", + "qcom,smmu-500", + "arm,mmu-500"; + reg = <0x0 0x15000000 0x0 0x100000>; - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; + #iommu-cells = <2>; + #global-interrupts = <1>; - out-ports { - port { - stm_out: endpoint { - remote-endpoint = <&funnel0_in7>; - }; - }; - }; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + + dma-coherent; }; - tpda@10004000 { - compatible = "qcom,coresight-tpda", "arm,primecell"; - reg = <0x0 0x10004000 0x0 0x1000>; + pcie_smmu: iommu@15480000 { + compatible = "arm,smmu-v3"; + reg = <0x0 0x15480000 0x0 0x20000>; + interrupts = , + , + ; + interrupt-names = "eventq", "cmdq-sync", "gerror"; + dma-coherent; + #iommu-cells = <1>; + }; - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; + intc: interrupt-controller@17000000 { + compatible = "arm,gic-v3"; + reg = <0x0 0x17000000 0x0 0x10000>, + <0x0 0x17080000 0x0 0x480000>; - in-ports { - #address-cells = <1>; - #size-cells = <0>; + interrupts = ; - port@1 { - reg = <1>; + #interrupt-cells = <3>; + interrupt-controller; - qdss_tpda_in1: endpoint { - remote-endpoint = <&spdm_tpdm_out>; - }; - }; - }; + #address-cells = <2>; + #size-cells = <2>; + ranges; - out-ports { - port { - qdss_tpda_out: endpoint { - remote-endpoint = <&funnel0_in6>; - }; - }; + gic_its: msi-controller@17040000 { + compatible = "arm,gic-v3-its"; + reg = <0x0 0x17040000 0x0 0x40000>; + + msi-controller; + #msi-cells = <1>; }; }; - tpdm@1000f000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x1000f000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,cmb-element-bits = <32>; - qcom,cmb-msrs-num = <32>; - - out-ports { - port { - spdm_tpdm_out: endpoint { - remote-endpoint = <&qdss_tpda_in1>; - }; - }; - }; + watchdog@17600000 { + compatible = "qcom,apss-wdt-glymur", "qcom,kpss-wdt"; + reg = <0x0 0x17600000 0x0 0x1000>; + clocks = <&sleep_clk>; + interrupts = ; }; - funnel@10041000 { - compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; - reg = <0x0 0x10041000 0x0 0x1000>; + pdp0_mbox: mailbox@17610000 { + compatible = "qcom,glymur-cpucp-mbox", "qcom,x1e80100-cpucp-mbox"; + reg = <0x0 0x17610000 0 0x8000>, <0 0x19980000 0 0x8000>; + interrupts = ; + #mbox-cells = <1>; + }; - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; + cpucp_mbox: mailbox@17620000 { + compatible = "qcom,glymur-cpucp-mbox", "qcom,x1e80100-cpucp-mbox"; + reg = <0 0x17620000 0 0x8000>, <0 0x18830000 0 0x8000>; + interrupts = ; + #mbox-cells = <1>; + }; - in-ports { - #address-cells = <1>; - #size-cells = <0>; + timer@17810000 { + compatible = "arm,armv7-timer-mem"; + reg = <0x0 0x17810000 0x0 0x1000>; + #address-cells = <2>; + #size-cells = <1>; + ranges = <0x0 0x0 0x0 0x0 0x20000000>; - port@0 { - reg = <0>; + frame@17811000 { + reg = <0x0 0x17811000 0x1000>, + <0x0 0x17812000 0x1000>; - funnel0_in0: endpoint { - remote-endpoint = <&tn_ag_out>; - }; - }; + interrupts = , + ; - port@6 { - reg = <6>; + frame-number = <0>; + }; - funnel0_in6: endpoint { - remote-endpoint = <&qdss_tpda_out>; - }; - }; + frame@17813000 { + reg = <0x0 0x17813000 0x1000>; - port@7 { - reg = <7>; + interrupts = ; - funnel0_in7: endpoint { - remote-endpoint = <&stm_out>; - }; - }; - }; + frame-number = <1>; - out-ports { - port { - funnel0_out: endpoint { - remote-endpoint = <&aoss_funnel_in6>; - }; - }; + status = "disabled"; }; - }; - tpdm@1102c000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x1102c000 0x0 0x1000>; + frame@17815000 { + reg = <0x0 0x17815000 0x1000>; - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; + interrupts = ; - qcom,dsb-msrs-num = <32>; + frame-number = <2>; - out-ports { - port { - gcc_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in36>; - }; - }; + status = "disabled"; }; - }; - tpdm@11180000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11180000 0x0 0x1000>; + frame@17817000 { + reg = <0x0 0x17817000 0x1000>; - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; + interrupts = ; - qcom,dsb-element-bits = <32>; - qcom,dsb-msrs-num = <32>; + frame-number = <3>; - out-ports { - port { - cdsp_tpdm_out: endpoint { - remote-endpoint = <&cdsp_tpda_in0>; - }; - }; + status = "disabled"; }; - }; - tpdm@11185000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11185000 0x0 0x1000>; + frame@17819000 { + reg = <0x0 0x17819000 0x1000>; - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; + interrupts = ; - qcom,cmb-element-bits = <64>; - qcom,cmb-msrs-num = <32>; + frame-number = <4>; - out-ports { - port { - cdsp_dpm1_tpdm_out: endpoint { - remote-endpoint = <&cdsp_tpda_in5>; - }; - }; + status = "disabled"; }; - }; - tpdm@11186000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11186000 0x0 0x1000>; + frame@1781b000 { + reg = <0x0 0x1781b000 0x1000>; - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; + interrupts = ; - qcom,cmb-element-bits = <64>; - qcom,cmb-msrs-num = <32>; + frame-number = <5>; - out-ports { - port { - cdsp_dpm2_tpdm_out: endpoint { - remote-endpoint = <&cdsp_tpda_in6>; - }; - }; + status = "disabled"; }; - }; - tpda@11188000 { - compatible = "qcom,coresight-tpda", "arm,primecell"; - reg = <0x0 0x11188000 0x0 0x1000>; + frame@1781d000 { + reg = <0x0 0x1781d000 0x1000>; - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - in-ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - - cdsp_tpda_in0: endpoint { - remote-endpoint = <&cdsp_tpdm_out>; - }; - }; - - port@1 { - reg = <1>; - - cdsp_tpda_in1: endpoint { - remote-endpoint = <&cdsp_llm_tpdm_out>; - }; - }; - - port@2 { - reg = <2>; - - cdsp_tpda_in2: endpoint { - remote-endpoint = <&cdsp_llm2_tpdm_out>; - }; - }; - - port@3 { - reg = <3>; - - cdsp_tpda_in3: endpoint { - remote-endpoint = <&cdsp_cmsr_tpdm_out>; - }; - }; - - port@4 { - reg = <4>; - - cdsp_tpda_in4: endpoint { - remote-endpoint = <&cdsp_cmsr2_tpdm_out>; - }; - }; - - port@5 { - reg = <5>; - - cdsp_tpda_in5: endpoint { - remote-endpoint = <&cdsp_dpm1_tpdm_out>; - }; - }; - - port@6 { - reg = <6>; - - cdsp_tpda_in6: endpoint { - remote-endpoint = <&cdsp_dpm2_tpdm_out>; - }; - }; - }; - - out-ports { - port { - cdsp_tpda_out: endpoint { - remote-endpoint = <&cdsp_funnel_in0>; - }; - }; - }; - }; - - funnel@11189000 { - compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; - reg = <0x0 0x11189000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - in-ports { - port { - cdsp_funnel_in0: endpoint { - remote-endpoint = <&cdsp_tpda_out>; - }; - }; - }; - - out-ports { - port { - cdsp_funnel_out: endpoint { - remote-endpoint = <&tn_ag_in53>; - }; - }; - }; - }; - - cti@11193000 { - compatible = "arm,coresight-cti", "arm,primecell"; - reg = <0x0 0x11193000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - }; - - cti@111ab000 { - compatible = "arm,coresight-cti", "arm,primecell"; - reg = <0x0 0x111ab000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - }; - - tpdm@111d0000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x111d0000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,dsb-msrs-num = <32>; - - out-ports { - port { - qm_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in35>; - }; - }; - }; - }; - - tn@11200000 { - compatible = "qcom,coresight-tnoc", "arm,primecell"; - reg = <0x0 0x11200000 0x0 0x4200>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - in-ports { - #address-cells = <1>; - #size-cells = <0>; - - port@6 { - reg = <6>; - - tn_ag_in6: endpoint { - remote-endpoint = <&mm_dsb_tpdm_out>; - }; - }; - - port@10 { - reg = <0x10>; - - tn_ag_in16: endpoint { - remote-endpoint = <&east_dsb_tpdm_out>; - }; - }; - - port@21 { - reg = <0x21>; - - tn_ag_in33: endpoint { - remote-endpoint = <&west_dsb_tpdm_out>; - }; - }; - - port@23 { - reg = <0x23>; - - tn_ag_in35: endpoint { - remote-endpoint = <&qm_tpdm_out>; - }; - }; - - port@24 { - reg = <0x24>; - - tn_ag_in36: endpoint { - remote-endpoint = <&gcc_tpdm_out>; - }; - }; - - port@32 { - reg = <0x32>; - - tn_ag_in50: endpoint { - remote-endpoint = <&pcie_rscc_tpda_out>; - }; - }; - - port@35 { - reg = <0x35>; - - tn_ag_in53: endpoint { - remote-endpoint = <&cdsp_funnel_out>; - }; - }; - - port@3f { - reg = <0x3f>; - - tn_ag_in63: endpoint { - remote-endpoint = <¢er_dsb_tpdm_out>; - }; - }; - - port@40 { - reg = <0x40>; - - tn_ag_in64: endpoint { - remote-endpoint = <&ipcc_cmb_tpdm_out>; - }; - }; - - port@41 { - reg = <0x41>; - - tn_ag_in65: endpoint { - remote-endpoint = <&qrng_tpdm_out>; - }; - }; - - port@42 { - reg = <0x42>; - - tn_ag_in66: endpoint { - remote-endpoint = <&pmu_tpdm_out>; - }; - }; - - port@43 { - reg = <0x43>; - - tn_ag_in67: endpoint { - remote-endpoint = <&rdpm_west_cmb0_tpdm_out>; - }; - }; - - port@44 { - reg = <0x44>; - - tn_ag_in68: endpoint { - remote-endpoint = <&rdpm_west_cmb1_tpdm_out>; - }; - }; - - port@45 { - reg = <0x45>; - - tn_ag_in69: endpoint { - remote-endpoint = <&rdpm_west_cmb2_tpdm_out>; - }; - }; - - port@4b { - reg = <0x4b>; - - tn_ag_in75: endpoint { - remote-endpoint = <&south_dsb2_tpdm_out>; - }; - }; - - port@52 { - reg = <0x52>; - - tn_ag_in82: endpoint { - remote-endpoint = <&south_dsb_tpdm_out>; - }; - }; - - port@53 { - reg = <0x53>; - - tn_ag_in83: endpoint { - remote-endpoint = <¢er_dsb1_tpdm_out>; - }; - }; - }; - - out-ports { - port { - tn_ag_out: endpoint { - remote-endpoint = <&funnel0_in0>; - }; - }; - }; - }; - - tpdm@11207000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11207000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,dsb-msrs-num = <32>; - - out-ports { - port { - mm_dsb_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in6>; - }; - }; - }; - }; - - tpdm@1120b000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x1120b000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,dsb-msrs-num = <32>; - - out-ports { - port { - east_dsb_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in16>; - }; - }; - }; - }; - - tpdm@11213000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11213000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,dsb-msrs-num = <32>; - - out-ports { - port { - west_dsb_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in33>; - }; - }; - }; - }; - - tpdm@11219000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11219000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,dsb-msrs-num = <32>; - - out-ports { - port { - center_dsb_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in63>; - }; - }; - }; - }; - - tpdm@1121a000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x1121a000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,cmb-msrs-num = <32>; - - out-ports { - port { - ipcc_cmb_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in64>; - }; - }; - }; - }; - - tpdm@1121b000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x1121b000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,cmb-msrs-num = <32>; - - out-ports { - port { - qrng_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in65>; - }; - }; - }; - }; - - tpdm@1121c000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x1121c000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,dsb-msrs-num = <32>; - - out-ports { - port { - pmu_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in66>; - }; - }; - }; - }; - - tpdm@1121d000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x1121d000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,cmb-msrs-num = <32>; - - out-ports { - port { - rdpm_west_cmb0_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in67>; - }; - }; - }; - }; - - tpdm@1121e000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x1121e000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,cmb-msrs-num = <32>; - - out-ports { - port { - rdpm_west_cmb1_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in68>; - }; - }; - }; - }; - - tpdm@1121f000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x1121f000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,cmb-msrs-num = <32>; - - out-ports { - port { - rdpm_west_cmb2_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in69>; - }; - }; - }; - }; - - tpdm@11220000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11220000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,dsb-msrs-num = <32>; - - out-ports { - port { - center_dsb1_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in83>; - }; - }; - }; - }; - - tpdm@11224000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11224000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,dsb-msrs-num = <32>; - - out-ports { - port { - south_dsb2_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in75>; - }; - }; - }; - }; - - tpdm@11228000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11228000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,dsb-msrs-num = <32>; - - out-ports { - port { - south_dsb_tpdm_out: endpoint { - remote-endpoint = <&tn_ag_in82>; - }; - }; - }; - }; - - tpdm@11470000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11470000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,cmb-element-bits = <32>; - qcom,cmb-msrs-num = <32>; - - out-ports { - port { - pcie_rscc_tpdm_out: endpoint { - remote-endpoint = <&pcie_rscc_tpda_in0>; - }; - }; - }; - }; - - tpda@11471000 { - compatible = "qcom,coresight-tpda", "arm,primecell"; - reg = <0x0 0x11471000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - in-ports { - port { - pcie_rscc_tpda_in0: endpoint { - remote-endpoint = <&pcie_rscc_tpdm_out>; - }; - }; - }; - - out-ports { - port { - pcie_rscc_tpda_out: endpoint { - remote-endpoint = <&tn_ag_in50>; - }; - }; - }; - }; - - tpdm@11c03000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11c03000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,cmb-element-bits = <64>; - qcom,cmb-msrs-num = <32>; - - out-ports { - port { - swao_prio4_tpdm_out: endpoint { - remote-endpoint = <&aoss_tpda_in4>; - }; - }; - }; - }; - - funnel@11c04000 { - compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; - reg = <0x0 0x11c04000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - in-ports { - #address-cells = <1>; - #size-cells = <0>; - - port@5 { - reg = <5>; - - aoss_funnel_in5: endpoint { - remote-endpoint = <&aoss_tpda_out>; - }; - }; - - port@6 { - reg = <6>; - - aoss_funnel_in6: endpoint { - remote-endpoint = <&funnel0_out>; - }; - }; - }; - - out-ports { - port { - aoss_funnel_out: endpoint { - remote-endpoint = <&etf0_in>; - }; - }; - }; - }; - - tmc_etf: tmc@11c05000 { - compatible = "arm,coresight-tmc", "arm,primecell"; - reg = <0x0 0x11c05000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - in-ports { - port { - etf0_in: endpoint { - remote-endpoint = <&aoss_funnel_out>; - }; - }; - }; - - out-ports { - port { - etf0_out: endpoint { - remote-endpoint = <&swao_rep_in>; - }; - }; - }; - }; - - replicator@11c06000 { - compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; - reg = <0x0 0x11c06000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - in-ports { - port { - swao_rep_in: endpoint { - remote-endpoint = <&etf0_out>; - }; - }; - }; - - out-ports { - #address-cells = <1>; - #size-cells = <0>; - - port@1 { - reg = <1>; - - swao_rep_out1: endpoint { - remote-endpoint = <&eud_in>; - }; - }; - }; - }; - - tpda@11c08000 { - compatible = "qcom,coresight-tpda", "arm,primecell"; - reg = <0x0 0x11c08000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - in-ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - - aoss_tpda_in0: endpoint { - remote-endpoint = <&swao_prio0_tpdm_out>; - }; - }; - - port@1 { - reg = <1>; - - aoss_tpda_in1: endpoint { - remote-endpoint = <&swao_prio1_tpdm_out>; - }; - }; - - port@2 { - reg = <2>; - - aoss_tpda_in2: endpoint { - remote-endpoint = <&swao_prio2_tpdm_out>; - }; - }; - - port@3 { - reg = <3>; - - aoss_tpda_in3: endpoint { - remote-endpoint = <&swao_prio3_tpdm_out>; - }; - }; - - port@4 { - reg = <4>; - - aoss_tpda_in4: endpoint { - remote-endpoint = <&swao_prio4_tpdm_out>; - }; - }; - - port@5 { - reg = <5>; - - aoss_tpda_in5: endpoint { - remote-endpoint = <&swao_tpdm_out>; - }; - }; - }; - - out-ports { - port { - aoss_tpda_out: endpoint { - remote-endpoint = <&aoss_funnel_in5>; - }; - }; - }; - }; - - tpdm@11c09000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11c09000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,cmb-element-bits = <64>; - qcom,cmb-msrs-num = <32>; - - out-ports { - port { - swao_prio0_tpdm_out: endpoint { - remote-endpoint = <&aoss_tpda_in0>; - }; - }; - }; - }; - - tpdm@11c0a000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11c0a000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,cmb-element-bits = <64>; - qcom,cmb-msrs-num = <32>; - - out-ports { - port { - swao_prio1_tpdm_out: endpoint { - remote-endpoint = <&aoss_tpda_in1>; - }; - }; - }; - }; - - tpdm@11c0b000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11c0b000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,cmb-element-bits = <64>; - qcom,cmb-msrs-num = <32>; - - out-ports { - port { - swao_prio2_tpdm_out: endpoint { - remote-endpoint = <&aoss_tpda_in2>; - }; - }; - }; - }; - - tpdm@11c0c000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11c0c000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,cmb-element-bits = <64>; - qcom,cmb-msrs-num = <32>; - - out-ports { - port { - swao_prio3_tpdm_out: endpoint { - remote-endpoint = <&aoss_tpda_in3>; - }; - }; - }; - }; - - tpdm@11c0d000 { - compatible = "qcom,coresight-tpdm", "arm,primecell"; - reg = <0x0 0x11c0d000 0x0 0x1000>; - - clocks = <&aoss_qmp>; - clock-names = "apb_pclk"; - - qcom,dsb-element-bits = <32>; - qcom,dsb-msrs-num = <32>; - - out-ports { - port { - swao_tpdm_out: endpoint { - remote-endpoint = <&aoss_tpda_in5>; - }; - }; - }; - }; - - apps_smmu: iommu@15000000 { - compatible = "qcom,glymur-smmu-500", - "qcom,smmu-500", - "arm,mmu-500"; - reg = <0x0 0x15000000 0x0 0x100000>; - - #iommu-cells = <2>; - #global-interrupts = <1>; - - interrupts = , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - ; - - dma-coherent; - }; - - pcie_smmu: iommu@15480000 { - compatible = "arm,smmu-v3"; - reg = <0x0 0x15480000 0x0 0x20000>; - interrupts = , - , - ; - interrupt-names = "eventq", "cmdq-sync", "gerror"; - dma-coherent; - #iommu-cells = <1>; - }; - - intc: interrupt-controller@17000000 { - compatible = "arm,gic-v3"; - reg = <0x0 0x17000000 0x0 0x10000>, - <0x0 0x17080000 0x0 0x480000>; - - interrupts = ; - - #interrupt-cells = <3>; - interrupt-controller; - - #address-cells = <2>; - #size-cells = <2>; - ranges; - - gic_its: msi-controller@17040000 { - compatible = "arm,gic-v3-its"; - reg = <0x0 0x17040000 0x0 0x40000>; - - msi-controller; - #msi-cells = <1>; - }; - }; - - watchdog@17600000 { - compatible = "qcom,apss-wdt-glymur", "qcom,kpss-wdt"; - reg = <0x0 0x17600000 0x0 0x1000>; - clocks = <&sleep_clk>; - interrupts = ; - }; - - pdp0_mbox: mailbox@17610000 { - compatible = "qcom,glymur-cpucp-mbox", "qcom,x1e80100-cpucp-mbox"; - reg = <0x0 0x17610000 0 0x8000>, <0 0x19980000 0 0x8000>; - interrupts = ; - #mbox-cells = <1>; - }; - - cpucp_mbox: mailbox@17620000 { - compatible = "qcom,glymur-cpucp-mbox", "qcom,x1e80100-cpucp-mbox"; - reg = <0 0x17620000 0 0x8000>, <0 0x18830000 0 0x8000>; - interrupts = ; - #mbox-cells = <1>; - }; - - timer@17810000 { - compatible = "arm,armv7-timer-mem"; - reg = <0x0 0x17810000 0x0 0x1000>; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0x0 0x0 0x0 0x0 0x20000000>; - - frame@17811000 { - reg = <0x0 0x17811000 0x1000>, - <0x0 0x17812000 0x1000>; - - interrupts = , - ; - - frame-number = <0>; - }; - - frame@17813000 { - reg = <0x0 0x17813000 0x1000>; - - interrupts = ; - - frame-number = <1>; - - status = "disabled"; - }; - - frame@17815000 { - reg = <0x0 0x17815000 0x1000>; - - interrupts = ; - - frame-number = <2>; - - status = "disabled"; - }; - - frame@17817000 { - reg = <0x0 0x17817000 0x1000>; - - interrupts = ; - - frame-number = <3>; - - status = "disabled"; - }; - - frame@17819000 { - reg = <0x0 0x17819000 0x1000>; - - interrupts = ; - - frame-number = <4>; - - status = "disabled"; - }; - - frame@1781b000 { - reg = <0x0 0x1781b000 0x1000>; - - interrupts = ; - - frame-number = <5>; - - status = "disabled"; - }; - - frame@1781d000 { - reg = <0x0 0x1781d000 0x1000>; - - interrupts = ; + interrupts = ; frame-number = <6>; @@ -9682,60 +8641,4 @@ }; }; }; - - tpdm-cdsp-llm { - compatible = "qcom,coresight-static-tpdm"; - qcom,cmb-element-bits = <32>; - - out-ports { - port { - cdsp_llm_tpdm_out: endpoint { - remote-endpoint = <&cdsp_tpda_in1>; - }; - }; - }; - }; - - tpdm-cdsp-llm2 { - compatible = "qcom,coresight-static-tpdm"; - qcom,cmb-element-bits = <32>; - - out-ports { - port { - cdsp_llm2_tpdm_out: endpoint { - remote-endpoint = <&cdsp_tpda_in2>; - }; - }; - }; - }; - - tpdm-cdsp-cmsr { - compatible = "qcom,coresight-static-tpdm"; - - qcom,cmb-element-bits = <32>; - qcom,dsb-element-bits = <32>; - - out-ports { - port { - cdsp_cmsr_tpdm_out: endpoint { - remote-endpoint = <&cdsp_tpda_in3>; - }; - }; - }; - }; - - tpdm-cdsp-cmsr2 { - compatible = "qcom,coresight-static-tpdm"; - - qcom,cmb-element-bits = <32>; - qcom,dsb-element-bits = <32>; - - out-ports { - port { - cdsp_cmsr2_tpdm_out: endpoint { - remote-endpoint = <&cdsp_tpda_in4>; - }; - }; - }; - }; }; From b53d2569f17f3c5f17e7b8cf3a089854cad7b436 Mon Sep 17 00:00:00 2001 From: Jie Gan Date: Wed, 20 May 2026 09:42:45 +0800 Subject: [PATCH 3/3] FROMLIST: arm64: dts: qcom: glymur: add coresight nodes 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. Link: https://lore.kernel.org/all/20260520-add-coresight-nodes-for-glymur-v6-1-0bfdcdfce3ec@oss.qualcomm.com/ Signed-off-by: Jie Gan --- arch/arm64/boot/dts/qcom/glymur.dtsi | 1509 ++++++++++++++++++++++---- arch/arm64/boot/dts/qcom/mahua.dtsi | 1 + 2 files changed, 1304 insertions(+), 206 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi index f42dc9c8c817f..939140ef9ea38 100644 --- a/arch/arm64/boot/dts/qcom/glymur.dtsi +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi @@ -348,6 +348,18 @@ }; }; + dummy-sink { + compatible = "arm,coresight-dummy-sink"; + + in-ports { + port { + eud_in: endpoint { + remote-endpoint = <&swao_rep_out1>; + }; + }; + }; + }; + firmware { scm: scm { compatible = "qcom,scm-glymur", "qcom,scm"; @@ -6687,258 +6699,1287 @@ }; }; - apps_smmu: iommu@15000000 { - compatible = "qcom,glymur-smmu-500", - "qcom,smmu-500", - "arm,mmu-500"; - reg = <0x0 0x15000000 0x0 0x100000>; - - #iommu-cells = <2>; - #global-interrupts = <1>; - - interrupts = , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - ; + stm: stm@10002000 { + compatible = "arm,coresight-stm", "arm,primecell"; + reg = <0x0 0x10002000 0x0 0x1000>, + <0x0 0x16280000 0x0 0x180000>; + reg-names = "stm-base", + "stm-stimulus-base"; - dma-coherent; - }; + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; - pcie_smmu: iommu@15480000 { - compatible = "arm,smmu-v3"; - reg = <0x0 0x15480000 0x0 0x20000>; - interrupts = , - , - ; - interrupt-names = "eventq", "cmdq-sync", "gerror"; - dma-coherent; - #iommu-cells = <1>; + out-ports { + port { + stm_out: endpoint { + remote-endpoint = <&funnel0_in7>; + }; + }; + }; }; - intc: interrupt-controller@17000000 { - compatible = "arm,gic-v3"; - reg = <0x0 0x17000000 0x0 0x10000>, - <0x0 0x17080000 0x0 0x480000>; + tpda@10004000 { + compatible = "qcom,coresight-tpda", "arm,primecell"; + reg = <0x0 0x10004000 0x0 0x1000>; - interrupts = ; + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; - #interrupt-cells = <3>; - interrupt-controller; + in-ports { + #address-cells = <1>; + #size-cells = <0>; - #address-cells = <2>; - #size-cells = <2>; - ranges; + port@1 { + reg = <1>; - gic_its: msi-controller@17040000 { - compatible = "arm,gic-v3-its"; - reg = <0x0 0x17040000 0x0 0x40000>; + qdss_tpda_in1: endpoint { + remote-endpoint = <&spdm_tpdm_out>; + }; + }; + }; - msi-controller; - #msi-cells = <1>; + out-ports { + port { + qdss_tpda_out: endpoint { + remote-endpoint = <&funnel0_in6>; + }; + }; }; }; - watchdog@17600000 { - compatible = "qcom,apss-wdt-glymur", "qcom,kpss-wdt"; - reg = <0x0 0x17600000 0x0 0x1000>; - clocks = <&sleep_clk>; - interrupts = ; - }; + tpdm@1000f000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x1000f000 0x0 0x1000>; - pdp0_mbox: mailbox@17610000 { - compatible = "qcom,glymur-cpucp-mbox", "qcom,x1e80100-cpucp-mbox"; - reg = <0x0 0x17610000 0 0x8000>, <0 0x19980000 0 0x8000>; - interrupts = ; - #mbox-cells = <1>; - }; + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; - cpucp_mbox: mailbox@17620000 { - compatible = "qcom,glymur-cpucp-mbox", "qcom,x1e80100-cpucp-mbox"; - reg = <0 0x17620000 0 0x8000>, <0 0x18830000 0 0x8000>; - interrupts = ; - #mbox-cells = <1>; + qcom,cmb-element-bits = <32>; + qcom,cmb-msrs-num = <32>; + + out-ports { + port { + spdm_tpdm_out: endpoint { + remote-endpoint = <&qdss_tpda_in1>; + }; + }; + }; }; - timer@17810000 { - compatible = "arm,armv7-timer-mem"; - reg = <0x0 0x17810000 0x0 0x1000>; - #address-cells = <2>; - #size-cells = <1>; - ranges = <0x0 0x0 0x0 0x0 0x20000000>; + funnel@10041000 { + compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; + reg = <0x0 0x10041000 0x0 0x1000>; - frame@17811000 { - reg = <0x0 0x17811000 0x1000>, - <0x0 0x17812000 0x1000>; + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; - interrupts = , - ; + in-ports { + #address-cells = <1>; + #size-cells = <0>; - frame-number = <0>; - }; + port@0 { + reg = <0>; - frame@17813000 { - reg = <0x0 0x17813000 0x1000>; + funnel0_in0: endpoint { + remote-endpoint = <&tn_ag_out>; + }; + }; - interrupts = ; + port@6 { + reg = <6>; - frame-number = <1>; + funnel0_in6: endpoint { + remote-endpoint = <&qdss_tpda_out>; + }; + }; - status = "disabled"; + port@7 { + reg = <7>; + + funnel0_in7: endpoint { + remote-endpoint = <&stm_out>; + }; + }; }; - frame@17815000 { - reg = <0x0 0x17815000 0x1000>; + out-ports { + port { + funnel0_out: endpoint { + remote-endpoint = <&aoss_funnel_in6>; + }; + }; + }; + }; - interrupts = ; + tpdm@1102c000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x1102c000 0x0 0x1000>; - frame-number = <2>; + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; - status = "disabled"; + qcom,dsb-msrs-num = <32>; + + out-ports { + port { + gcc_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in36>; + }; + }; }; + }; - frame@17817000 { - reg = <0x0 0x17817000 0x1000>; + tpdm@11180000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11180000 0x0 0x1000>; - interrupts = ; + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; - frame-number = <3>; + qcom,dsb-element-bits = <32>; + qcom,dsb-msrs-num = <32>; - status = "disabled"; + out-ports { + port { + cdsp_tpdm_out: endpoint { + remote-endpoint = <&cdsp_tpda_in0>; + }; + }; }; + }; - frame@17819000 { - reg = <0x0 0x17819000 0x1000>; + tpdm@11185000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11185000 0x0 0x1000>; - interrupts = ; + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; - frame-number = <4>; + qcom,cmb-element-bits = <64>; + qcom,cmb-msrs-num = <32>; - status = "disabled"; + out-ports { + port { + cdsp_dpm1_tpdm_out: endpoint { + remote-endpoint = <&cdsp_tpda_in5>; + }; + }; }; + }; - frame@1781b000 { - reg = <0x0 0x1781b000 0x1000>; + tpdm@11186000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11186000 0x0 0x1000>; - interrupts = ; + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; - frame-number = <5>; + qcom,cmb-element-bits = <64>; + qcom,cmb-msrs-num = <32>; - status = "disabled"; + out-ports { + port { + cdsp_dpm2_tpdm_out: endpoint { + remote-endpoint = <&cdsp_tpda_in6>; + }; + }; }; + }; - frame@1781d000 { - reg = <0x0 0x1781d000 0x1000>; + tpda@11188000 { + compatible = "qcom,coresight-tpda", "arm,primecell"; + reg = <0x0 0x11188000 0x0 0x1000>; - interrupts = ; + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + in-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + cdsp_tpda_in0: endpoint { + remote-endpoint = <&cdsp_tpdm_out>; + }; + }; + + port@1 { + reg = <1>; + + cdsp_tpda_in1: endpoint { + remote-endpoint = <&cdsp_llm_tpdm_out>; + }; + }; + + port@2 { + reg = <2>; + + cdsp_tpda_in2: endpoint { + remote-endpoint = <&cdsp_llm2_tpdm_out>; + }; + }; + + port@3 { + reg = <3>; + + cdsp_tpda_in3: endpoint { + remote-endpoint = <&cdsp_cmsr_tpdm_out>; + }; + }; + + port@4 { + reg = <4>; + + cdsp_tpda_in4: endpoint { + remote-endpoint = <&cdsp_cmsr2_tpdm_out>; + }; + }; + + port@5 { + reg = <5>; + + cdsp_tpda_in5: endpoint { + remote-endpoint = <&cdsp_dpm1_tpdm_out>; + }; + }; + + port@6 { + reg = <6>; + + cdsp_tpda_in6: endpoint { + remote-endpoint = <&cdsp_dpm2_tpdm_out>; + }; + }; + }; + + out-ports { + port { + cdsp_tpda_out: endpoint { + remote-endpoint = <&cdsp_funnel_in0>; + }; + }; + }; + }; + + funnel@11189000 { + compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; + reg = <0x0 0x11189000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + in-ports { + port { + cdsp_funnel_in0: endpoint { + remote-endpoint = <&cdsp_tpda_out>; + }; + }; + }; + + out-ports { + port { + cdsp_funnel_out: endpoint { + remote-endpoint = <&tn_ag_in53>; + }; + }; + }; + }; + + cti@11193000 { + compatible = "arm,coresight-cti", "arm,primecell"; + reg = <0x0 0x11193000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + }; + + cti_wpss: cti@111ab000 { + compatible = "arm,coresight-cti", "arm,primecell"; + reg = <0x0 0x111ab000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + }; + + tpdm@111d0000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x111d0000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,dsb-msrs-num = <32>; + + out-ports { + port { + qm_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in35>; + }; + }; + }; + }; + + itnoc@11200000 { + compatible = "qcom,coresight-itnoc"; + reg = <0x0 0x11200000 0x0 0x3c00>; + + clocks = <&aoss_qmp>; + clock-names = "apb"; + + in-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@6 { + reg = <6>; + + tn_ag_in6: endpoint { + remote-endpoint = <&mm_dsb_tpdm_out>; + }; + }; + + port@10 { + reg = <0x10>; + + tn_ag_in16: endpoint { + remote-endpoint = <&east_dsb_tpdm_out>; + }; + }; + + port@21 { + reg = <0x21>; + + tn_ag_in33: endpoint { + remote-endpoint = <&west_dsb_tpdm_out>; + }; + }; + + port@23 { + reg = <0x23>; + + tn_ag_in35: endpoint { + remote-endpoint = <&qm_tpdm_out>; + }; + }; + + port@24 { + reg = <0x24>; + + tn_ag_in36: endpoint { + remote-endpoint = <&gcc_tpdm_out>; + }; + }; + + port@32 { + reg = <0x32>; + + tn_ag_in50: endpoint { + remote-endpoint = <&pcie_rscc_tpda_out>; + }; + }; + + port@35 { + reg = <0x35>; + + tn_ag_in53: endpoint { + remote-endpoint = <&cdsp_funnel_out>; + }; + }; + + port@3f { + reg = <0x3f>; + + tn_ag_in63: endpoint { + remote-endpoint = <¢er_dsb_tpdm_out>; + }; + }; + + port@40 { + reg = <0x40>; + + tn_ag_in64: endpoint { + remote-endpoint = <&ipcc_cmb_tpdm_out>; + }; + }; + + port@41 { + reg = <0x41>; + + tn_ag_in65: endpoint { + remote-endpoint = <&qrng_tpdm_out>; + }; + }; + + port@42 { + reg = <0x42>; + + tn_ag_in66: endpoint { + remote-endpoint = <&pmu_tpdm_out>; + }; + }; + + port@43 { + reg = <0x43>; + + tn_ag_in67: endpoint { + remote-endpoint = <&rdpm_west_cmb0_tpdm_out>; + }; + }; + + port@44 { + reg = <0x44>; + + tn_ag_in68: endpoint { + remote-endpoint = <&rdpm_west_cmb1_tpdm_out>; + }; + }; + + port@45 { + reg = <0x45>; + + tn_ag_in69: endpoint { + remote-endpoint = <&rdpm_west_cmb2_tpdm_out>; + }; + }; + + port@4b { + reg = <0x4b>; + + tn_ag_in75: endpoint { + remote-endpoint = <&south_dsb2_tpdm_out>; + }; + }; + + port@52 { + reg = <0x52>; + + tn_ag_in82: endpoint { + remote-endpoint = <&south_dsb_tpdm_out>; + }; + }; + + port@53 { + reg = <0x53>; + + tn_ag_in83: endpoint { + remote-endpoint = <¢er_dsb1_tpdm_out>; + }; + }; + }; + + out-ports { + port { + tn_ag_out: endpoint { + remote-endpoint = <&funnel0_in0>; + }; + }; + }; + }; + + tpdm@11207000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11207000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,dsb-msrs-num = <32>; + + out-ports { + port { + mm_dsb_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in6>; + }; + }; + }; + }; + + tpdm@1120b000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x1120b000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,dsb-msrs-num = <32>; + + out-ports { + port { + east_dsb_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in16>; + }; + }; + }; + }; + + tpdm@11213000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11213000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,dsb-msrs-num = <32>; + + out-ports { + port { + west_dsb_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in33>; + }; + }; + }; + }; + + tpdm@11219000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11219000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,dsb-msrs-num = <32>; + + out-ports { + port { + center_dsb_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in63>; + }; + }; + }; + }; + + tpdm@1121a000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x1121a000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,cmb-msrs-num = <32>; + + out-ports { + port { + ipcc_cmb_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in64>; + }; + }; + }; + }; + + tpdm@1121b000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x1121b000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,cmb-msrs-num = <32>; + + out-ports { + port { + qrng_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in65>; + }; + }; + }; + }; + + tpdm@1121c000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x1121c000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,dsb-msrs-num = <32>; + + out-ports { + port { + pmu_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in66>; + }; + }; + }; + }; + + tpdm@1121d000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x1121d000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,cmb-msrs-num = <32>; + + out-ports { + port { + rdpm_west_cmb0_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in67>; + }; + }; + }; + }; + + tpdm@1121e000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x1121e000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,cmb-msrs-num = <32>; + + out-ports { + port { + rdpm_west_cmb1_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in68>; + }; + }; + }; + }; + + tpdm@1121f000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x1121f000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,cmb-msrs-num = <32>; + + out-ports { + port { + rdpm_west_cmb2_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in69>; + }; + }; + }; + }; + + tpdm@11220000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11220000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,dsb-msrs-num = <32>; + + out-ports { + port { + center_dsb1_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in83>; + }; + }; + }; + }; + + tpdm@11224000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11224000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,dsb-msrs-num = <32>; + + out-ports { + port { + south_dsb2_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in75>; + }; + }; + }; + }; + + tpdm@11228000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11228000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,dsb-msrs-num = <32>; + + out-ports { + port { + south_dsb_tpdm_out: endpoint { + remote-endpoint = <&tn_ag_in82>; + }; + }; + }; + }; + + tpdm@11470000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11470000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,cmb-element-bits = <32>; + qcom,cmb-msrs-num = <32>; + + out-ports { + port { + pcie_rscc_tpdm_out: endpoint { + remote-endpoint = <&pcie_rscc_tpda_in0>; + }; + }; + }; + }; + + tpda@11471000 { + compatible = "qcom,coresight-tpda", "arm,primecell"; + reg = <0x0 0x11471000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + in-ports { + port { + pcie_rscc_tpda_in0: endpoint { + remote-endpoint = <&pcie_rscc_tpdm_out>; + }; + }; + }; + + out-ports { + port { + pcie_rscc_tpda_out: endpoint { + remote-endpoint = <&tn_ag_in50>; + }; + }; + }; + }; + + tpdm@11c03000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11c03000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,cmb-element-bits = <64>; + qcom,cmb-msrs-num = <32>; + + out-ports { + port { + swao_prio4_tpdm_out: endpoint { + remote-endpoint = <&aoss_tpda_in4>; + }; + }; + }; + }; + + funnel@11c04000 { + compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; + reg = <0x0 0x11c04000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + in-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@5 { + reg = <5>; + + aoss_funnel_in5: endpoint { + remote-endpoint = <&aoss_tpda_out>; + }; + }; + + port@6 { + reg = <6>; + + aoss_funnel_in6: endpoint { + remote-endpoint = <&funnel0_out>; + }; + }; + }; + + out-ports { + port { + aoss_funnel_out: endpoint { + remote-endpoint = <&etf0_in>; + }; + }; + }; + }; + + tmc_etf: tmc@11c05000 { + compatible = "arm,coresight-tmc", "arm,primecell"; + reg = <0x0 0x11c05000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + in-ports { + port { + etf0_in: endpoint { + remote-endpoint = <&aoss_funnel_out>; + }; + }; + }; + + out-ports { + port { + etf0_out: endpoint { + remote-endpoint = <&swao_rep_in>; + }; + }; + }; + }; + + replicator@11c06000 { + compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; + reg = <0x0 0x11c06000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + in-ports { + port { + swao_rep_in: endpoint { + remote-endpoint = <&etf0_out>; + }; + }; + }; + + out-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + + swao_rep_out1: endpoint { + remote-endpoint = <&eud_in>; + }; + }; + }; + }; + + tpda@11c08000 { + compatible = "qcom,coresight-tpda", "arm,primecell"; + reg = <0x0 0x11c08000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + in-ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + aoss_tpda_in0: endpoint { + remote-endpoint = <&swao_prio0_tpdm_out>; + }; + }; + + port@1 { + reg = <1>; + + aoss_tpda_in1: endpoint { + remote-endpoint = <&swao_prio1_tpdm_out>; + }; + }; + + port@2 { + reg = <2>; + + aoss_tpda_in2: endpoint { + remote-endpoint = <&swao_prio2_tpdm_out>; + }; + }; + + port@3 { + reg = <3>; + + aoss_tpda_in3: endpoint { + remote-endpoint = <&swao_prio3_tpdm_out>; + }; + }; + + port@4 { + reg = <4>; + + aoss_tpda_in4: endpoint { + remote-endpoint = <&swao_prio4_tpdm_out>; + }; + }; + + port@5 { + reg = <5>; + + aoss_tpda_in5: endpoint { + remote-endpoint = <&swao_tpdm_out>; + }; + }; + }; + + out-ports { + port { + aoss_tpda_out: endpoint { + remote-endpoint = <&aoss_funnel_in5>; + }; + }; + }; + }; + + tpdm@11c09000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11c09000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,cmb-element-bits = <64>; + qcom,cmb-msrs-num = <32>; + + out-ports { + port { + swao_prio0_tpdm_out: endpoint { + remote-endpoint = <&aoss_tpda_in0>; + }; + }; + }; + }; + + tpdm@11c0a000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11c0a000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,cmb-element-bits = <64>; + qcom,cmb-msrs-num = <32>; + + out-ports { + port { + swao_prio1_tpdm_out: endpoint { + remote-endpoint = <&aoss_tpda_in1>; + }; + }; + }; + }; + + tpdm@11c0b000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11c0b000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,cmb-element-bits = <64>; + qcom,cmb-msrs-num = <32>; + + out-ports { + port { + swao_prio2_tpdm_out: endpoint { + remote-endpoint = <&aoss_tpda_in2>; + }; + }; + }; + }; + + tpdm@11c0c000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11c0c000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,cmb-element-bits = <64>; + qcom,cmb-msrs-num = <32>; + + out-ports { + port { + swao_prio3_tpdm_out: endpoint { + remote-endpoint = <&aoss_tpda_in3>; + }; + }; + }; + }; + + tpdm@11c0d000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x0 0x11c0d000 0x0 0x1000>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + qcom,dsb-element-bits = <32>; + qcom,dsb-msrs-num = <32>; + + out-ports { + port { + swao_tpdm_out: endpoint { + remote-endpoint = <&aoss_tpda_in5>; + }; + }; + }; + }; + + apps_smmu: iommu@15000000 { + compatible = "qcom,glymur-smmu-500", + "qcom,smmu-500", + "arm,mmu-500"; + reg = <0x0 0x15000000 0x0 0x100000>; + + #iommu-cells = <2>; + #global-interrupts = <1>; + + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + + dma-coherent; + }; + + pcie_smmu: iommu@15480000 { + compatible = "arm,smmu-v3"; + reg = <0x0 0x15480000 0x0 0x20000>; + interrupts = , + , + ; + interrupt-names = "eventq", "cmdq-sync", "gerror"; + dma-coherent; + #iommu-cells = <1>; + }; + + intc: interrupt-controller@17000000 { + compatible = "arm,gic-v3"; + reg = <0x0 0x17000000 0x0 0x10000>, + <0x0 0x17080000 0x0 0x480000>; + + interrupts = ; + + #interrupt-cells = <3>; + interrupt-controller; + + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gic_its: msi-controller@17040000 { + compatible = "arm,gic-v3-its"; + reg = <0x0 0x17040000 0x0 0x40000>; + + msi-controller; + #msi-cells = <1>; + }; + }; + + watchdog@17600000 { + compatible = "qcom,apss-wdt-glymur", "qcom,kpss-wdt"; + reg = <0x0 0x17600000 0x0 0x1000>; + clocks = <&sleep_clk>; + interrupts = ; + }; + + pdp0_mbox: mailbox@17610000 { + compatible = "qcom,glymur-cpucp-mbox", "qcom,x1e80100-cpucp-mbox"; + reg = <0x0 0x17610000 0 0x8000>, <0 0x19980000 0 0x8000>; + interrupts = ; + #mbox-cells = <1>; + }; + + cpucp_mbox: mailbox@17620000 { + compatible = "qcom,glymur-cpucp-mbox", "qcom,x1e80100-cpucp-mbox"; + reg = <0 0x17620000 0 0x8000>, <0 0x18830000 0 0x8000>; + interrupts = ; + #mbox-cells = <1>; + }; + + timer@17810000 { + compatible = "arm,armv7-timer-mem"; + reg = <0x0 0x17810000 0x0 0x1000>; + #address-cells = <2>; + #size-cells = <1>; + ranges = <0x0 0x0 0x0 0x0 0x20000000>; + + frame@17811000 { + reg = <0x0 0x17811000 0x1000>, + <0x0 0x17812000 0x1000>; + + interrupts = , + ; + + frame-number = <0>; + }; + + frame@17813000 { + reg = <0x0 0x17813000 0x1000>; + + interrupts = ; + + frame-number = <1>; + + status = "disabled"; + }; + + frame@17815000 { + reg = <0x0 0x17815000 0x1000>; + + interrupts = ; + + frame-number = <2>; + + status = "disabled"; + }; + + frame@17817000 { + reg = <0x0 0x17817000 0x1000>; + + interrupts = ; + + frame-number = <3>; + + status = "disabled"; + }; + + frame@17819000 { + reg = <0x0 0x17819000 0x1000>; + + interrupts = ; + + frame-number = <4>; + + status = "disabled"; + }; + + frame@1781b000 { + reg = <0x0 0x1781b000 0x1000>; + + interrupts = ; + + frame-number = <5>; + + status = "disabled"; + }; + + frame@1781d000 { + reg = <0x0 0x1781d000 0x1000>; + + interrupts = ; frame-number = <6>; @@ -8641,4 +9682,60 @@ }; }; }; + + tpdm-cdsp-llm { + compatible = "qcom,coresight-static-tpdm"; + qcom,cmb-element-bits = <32>; + + out-ports { + port { + cdsp_llm_tpdm_out: endpoint { + remote-endpoint = <&cdsp_tpda_in1>; + }; + }; + }; + }; + + tpdm-cdsp-llm2 { + compatible = "qcom,coresight-static-tpdm"; + qcom,cmb-element-bits = <32>; + + out-ports { + port { + cdsp_llm2_tpdm_out: endpoint { + remote-endpoint = <&cdsp_tpda_in2>; + }; + }; + }; + }; + + tpdm-cdsp-cmsr { + compatible = "qcom,coresight-static-tpdm"; + + qcom,cmb-element-bits = <32>; + qcom,dsb-element-bits = <32>; + + out-ports { + port { + cdsp_cmsr_tpdm_out: endpoint { + remote-endpoint = <&cdsp_tpda_in3>; + }; + }; + }; + }; + + tpdm-cdsp-cmsr2 { + compatible = "qcom,coresight-static-tpdm"; + + qcom,cmb-element-bits = <32>; + qcom,dsb-element-bits = <32>; + + out-ports { + port { + cdsp_cmsr2_tpdm_out: endpoint { + remote-endpoint = <&cdsp_tpda_in4>; + }; + }; + }; + }; }; diff --git a/arch/arm64/boot/dts/qcom/mahua.dtsi b/arch/arm64/boot/dts/qcom/mahua.dtsi index 990a02c6afc16..22822b6b2e8b9 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;