1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2021, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2022, Linaro Ltd
7 #include <linux/device.h>
8 #include <linux/interconnect.h>
9 #include <linux/interconnect-provider.h>
10 #include <linux/module.h>
11 #include <linux/of_platform.h>
12 #include <dt-bindings/interconnect/qcom,sc8280xp.h>
14 #include "bcm-voter.h"
18 static struct qcom_icc_node qhm_qspi = {
20 .id = SC8280XP_MASTER_QSPI_0,
24 .links = { SC8280XP_SLAVE_A1NOC_SNOC },
27 static struct qcom_icc_node qhm_qup1 = {
29 .id = SC8280XP_MASTER_QUP_1,
33 .links = { SC8280XP_SLAVE_A1NOC_SNOC },
36 static struct qcom_icc_node qhm_qup2 = {
38 .id = SC8280XP_MASTER_QUP_2,
42 .links = { SC8280XP_SLAVE_A1NOC_SNOC },
45 static struct qcom_icc_node qnm_a1noc_cfg = {
46 .name = "qnm_a1noc_cfg",
47 .id = SC8280XP_MASTER_A1NOC_CFG,
50 .links = { SC8280XP_SLAVE_SERVICE_A1NOC },
53 static struct qcom_icc_node qxm_ipa = {
55 .id = SC8280XP_MASTER_IPA,
59 .links = { SC8280XP_SLAVE_A1NOC_SNOC },
62 static struct qcom_icc_node xm_emac_1 = {
64 .id = SC8280XP_MASTER_EMAC_1,
68 .links = { SC8280XP_SLAVE_A1NOC_SNOC },
71 static struct qcom_icc_node xm_sdc4 = {
73 .id = SC8280XP_MASTER_SDCC_4,
77 .links = { SC8280XP_SLAVE_A1NOC_SNOC },
80 static struct qcom_icc_node xm_ufs_mem = {
82 .id = SC8280XP_MASTER_UFS_MEM,
86 .links = { SC8280XP_SLAVE_A1NOC_SNOC },
89 static struct qcom_icc_node xm_usb3_0 = {
91 .id = SC8280XP_MASTER_USB3_0,
95 .links = { SC8280XP_SLAVE_USB_NOC_SNOC },
98 static struct qcom_icc_node xm_usb3_1 = {
100 .id = SC8280XP_MASTER_USB3_1,
104 .links = { SC8280XP_SLAVE_USB_NOC_SNOC },
107 static struct qcom_icc_node xm_usb3_mp = {
108 .name = "xm_usb3_mp",
109 .id = SC8280XP_MASTER_USB3_MP,
113 .links = { SC8280XP_SLAVE_USB_NOC_SNOC },
116 static struct qcom_icc_node xm_usb4_host0 = {
117 .name = "xm_usb4_host0",
118 .id = SC8280XP_MASTER_USB4_0,
122 .links = { SC8280XP_SLAVE_USB_NOC_SNOC },
125 static struct qcom_icc_node xm_usb4_host1 = {
126 .name = "xm_usb4_host1",
127 .id = SC8280XP_MASTER_USB4_1,
131 .links = { SC8280XP_SLAVE_USB_NOC_SNOC },
134 static struct qcom_icc_node qhm_qdss_bam = {
135 .name = "qhm_qdss_bam",
136 .id = SC8280XP_MASTER_QDSS_BAM,
140 .links = { SC8280XP_SLAVE_A2NOC_SNOC },
143 static struct qcom_icc_node qhm_qup0 = {
145 .id = SC8280XP_MASTER_QUP_0,
149 .links = { SC8280XP_SLAVE_A2NOC_SNOC },
152 static struct qcom_icc_node qnm_a2noc_cfg = {
153 .name = "qnm_a2noc_cfg",
154 .id = SC8280XP_MASTER_A2NOC_CFG,
158 .links = { SC8280XP_SLAVE_SERVICE_A2NOC },
161 static struct qcom_icc_node qxm_crypto = {
162 .name = "qxm_crypto",
163 .id = SC8280XP_MASTER_CRYPTO,
167 .links = { SC8280XP_SLAVE_A2NOC_SNOC },
170 static struct qcom_icc_node qxm_sensorss_q6 = {
171 .name = "qxm_sensorss_q6",
172 .id = SC8280XP_MASTER_SENSORS_PROC,
176 .links = { SC8280XP_SLAVE_A2NOC_SNOC },
179 static struct qcom_icc_node qxm_sp = {
181 .id = SC8280XP_MASTER_SP,
185 .links = { SC8280XP_SLAVE_A2NOC_SNOC },
188 static struct qcom_icc_node xm_emac_0 = {
190 .id = SC8280XP_MASTER_EMAC,
194 .links = { SC8280XP_SLAVE_A2NOC_SNOC },
197 static struct qcom_icc_node xm_pcie3_0 = {
198 .name = "xm_pcie3_0",
199 .id = SC8280XP_MASTER_PCIE_0,
203 .links = { SC8280XP_SLAVE_ANOC_PCIE_GEM_NOC },
206 static struct qcom_icc_node xm_pcie3_1 = {
207 .name = "xm_pcie3_1",
208 .id = SC8280XP_MASTER_PCIE_1,
212 .links = { SC8280XP_SLAVE_ANOC_PCIE_GEM_NOC },
215 static struct qcom_icc_node xm_pcie3_2a = {
216 .name = "xm_pcie3_2a",
217 .id = SC8280XP_MASTER_PCIE_2A,
221 .links = { SC8280XP_SLAVE_ANOC_PCIE_GEM_NOC },
224 static struct qcom_icc_node xm_pcie3_2b = {
225 .name = "xm_pcie3_2b",
226 .id = SC8280XP_MASTER_PCIE_2B,
230 .links = { SC8280XP_SLAVE_ANOC_PCIE_GEM_NOC },
233 static struct qcom_icc_node xm_pcie3_3a = {
234 .name = "xm_pcie3_3a",
235 .id = SC8280XP_MASTER_PCIE_3A,
239 .links = { SC8280XP_SLAVE_ANOC_PCIE_GEM_NOC },
242 static struct qcom_icc_node xm_pcie3_3b = {
243 .name = "xm_pcie3_3b",
244 .id = SC8280XP_MASTER_PCIE_3B,
248 .links = { SC8280XP_SLAVE_ANOC_PCIE_GEM_NOC },
251 static struct qcom_icc_node xm_pcie3_4 = {
252 .name = "xm_pcie3_4",
253 .id = SC8280XP_MASTER_PCIE_4,
257 .links = { SC8280XP_SLAVE_ANOC_PCIE_GEM_NOC },
260 static struct qcom_icc_node xm_qdss_etr = {
261 .name = "xm_qdss_etr",
262 .id = SC8280XP_MASTER_QDSS_ETR,
266 .links = { SC8280XP_SLAVE_A2NOC_SNOC },
269 static struct qcom_icc_node xm_sdc2 = {
271 .id = SC8280XP_MASTER_SDCC_2,
275 .links = { SC8280XP_SLAVE_A2NOC_SNOC },
278 static struct qcom_icc_node xm_ufs_card = {
279 .name = "xm_ufs_card",
280 .id = SC8280XP_MASTER_UFS_CARD,
284 .links = { SC8280XP_SLAVE_A2NOC_SNOC },
287 static struct qcom_icc_node qup0_core_master = {
288 .name = "qup0_core_master",
289 .id = SC8280XP_MASTER_QUP_CORE_0,
293 .links = { SC8280XP_SLAVE_QUP_CORE_0 },
296 static struct qcom_icc_node qup1_core_master = {
297 .name = "qup1_core_master",
298 .id = SC8280XP_MASTER_QUP_CORE_1,
302 .links = { SC8280XP_SLAVE_QUP_CORE_1 },
305 static struct qcom_icc_node qup2_core_master = {
306 .name = "qup2_core_master",
307 .id = SC8280XP_MASTER_QUP_CORE_2,
311 .links = { SC8280XP_SLAVE_QUP_CORE_2 },
314 static struct qcom_icc_node qnm_gemnoc_cnoc = {
315 .name = "qnm_gemnoc_cnoc",
316 .id = SC8280XP_MASTER_GEM_NOC_CNOC,
320 .links = { SC8280XP_SLAVE_AHB2PHY_0,
321 SC8280XP_SLAVE_AHB2PHY_1,
322 SC8280XP_SLAVE_AHB2PHY_2,
324 SC8280XP_SLAVE_APPSS,
325 SC8280XP_SLAVE_CAMERA_CFG,
326 SC8280XP_SLAVE_CLK_CTL,
327 SC8280XP_SLAVE_CDSP_CFG,
328 SC8280XP_SLAVE_CDSP1_CFG,
329 SC8280XP_SLAVE_RBCPR_CX_CFG,
330 SC8280XP_SLAVE_RBCPR_MMCX_CFG,
331 SC8280XP_SLAVE_RBCPR_MX_CFG,
332 SC8280XP_SLAVE_CPR_NSPCX,
333 SC8280XP_SLAVE_CRYPTO_0_CFG,
334 SC8280XP_SLAVE_CX_RDPM,
335 SC8280XP_SLAVE_DCC_CFG,
336 SC8280XP_SLAVE_DISPLAY_CFG,
337 SC8280XP_SLAVE_DISPLAY1_CFG,
338 SC8280XP_SLAVE_EMAC_CFG,
339 SC8280XP_SLAVE_EMAC1_CFG,
340 SC8280XP_SLAVE_GFX3D_CFG,
342 SC8280XP_SLAVE_IMEM_CFG,
343 SC8280XP_SLAVE_IPA_CFG,
344 SC8280XP_SLAVE_IPC_ROUTER_CFG,
345 SC8280XP_SLAVE_LPASS,
346 SC8280XP_SLAVE_MX_RDPM,
347 SC8280XP_SLAVE_MXC_RDPM,
348 SC8280XP_SLAVE_PCIE_0_CFG,
349 SC8280XP_SLAVE_PCIE_1_CFG,
350 SC8280XP_SLAVE_PCIE_2A_CFG,
351 SC8280XP_SLAVE_PCIE_2B_CFG,
352 SC8280XP_SLAVE_PCIE_3A_CFG,
353 SC8280XP_SLAVE_PCIE_3B_CFG,
354 SC8280XP_SLAVE_PCIE_4_CFG,
355 SC8280XP_SLAVE_PCIE_RSC_CFG,
357 SC8280XP_SLAVE_PIMEM_CFG,
358 SC8280XP_SLAVE_PKA_WRAPPER_CFG,
359 SC8280XP_SLAVE_PMU_WRAPPER_CFG,
360 SC8280XP_SLAVE_QDSS_CFG,
361 SC8280XP_SLAVE_QSPI_0,
362 SC8280XP_SLAVE_QUP_0,
363 SC8280XP_SLAVE_QUP_1,
364 SC8280XP_SLAVE_QUP_2,
365 SC8280XP_SLAVE_SDCC_2,
366 SC8280XP_SLAVE_SDCC_4,
367 SC8280XP_SLAVE_SECURITY,
368 SC8280XP_SLAVE_SMMUV3_CFG,
369 SC8280XP_SLAVE_SMSS_CFG,
370 SC8280XP_SLAVE_SPSS_CFG,
373 SC8280XP_SLAVE_UFS_CARD_CFG,
374 SC8280XP_SLAVE_UFS_MEM_CFG,
375 SC8280XP_SLAVE_USB3_0,
376 SC8280XP_SLAVE_USB3_1,
377 SC8280XP_SLAVE_USB3_MP,
378 SC8280XP_SLAVE_USB4_0,
379 SC8280XP_SLAVE_USB4_1,
380 SC8280XP_SLAVE_VENUS_CFG,
381 SC8280XP_SLAVE_VSENSE_CTRL_CFG,
382 SC8280XP_SLAVE_VSENSE_CTRL_R_CFG,
383 SC8280XP_SLAVE_A1NOC_CFG,
384 SC8280XP_SLAVE_A2NOC_CFG,
385 SC8280XP_SLAVE_ANOC_PCIE_BRIDGE_CFG,
386 SC8280XP_SLAVE_DDRSS_CFG,
387 SC8280XP_SLAVE_CNOC_MNOC_CFG,
388 SC8280XP_SLAVE_SNOC_CFG,
389 SC8280XP_SLAVE_SNOC_SF_BRIDGE_CFG,
391 SC8280XP_SLAVE_PIMEM,
392 SC8280XP_SLAVE_SERVICE_CNOC,
393 SC8280XP_SLAVE_QDSS_STM,
399 static struct qcom_icc_node qnm_gemnoc_pcie = {
400 .name = "qnm_gemnoc_pcie",
401 .id = SC8280XP_MASTER_GEM_NOC_PCIE_SNOC,
405 .links = { SC8280XP_SLAVE_PCIE_0,
406 SC8280XP_SLAVE_PCIE_1,
407 SC8280XP_SLAVE_PCIE_2A,
408 SC8280XP_SLAVE_PCIE_2B,
409 SC8280XP_SLAVE_PCIE_3A,
410 SC8280XP_SLAVE_PCIE_3B,
411 SC8280XP_SLAVE_PCIE_4
415 static struct qcom_icc_node qnm_cnoc_dc_noc = {
416 .name = "qnm_cnoc_dc_noc",
417 .id = SC8280XP_MASTER_CNOC_DC_NOC,
421 .links = { SC8280XP_SLAVE_LLCC_CFG,
422 SC8280XP_SLAVE_GEM_NOC_CFG
426 static struct qcom_icc_node alm_gpu_tcu = {
427 .name = "alm_gpu_tcu",
428 .id = SC8280XP_MASTER_GPU_TCU,
432 .links = { SC8280XP_SLAVE_GEM_NOC_CNOC,
437 static struct qcom_icc_node alm_pcie_tcu = {
438 .name = "alm_pcie_tcu",
439 .id = SC8280XP_MASTER_PCIE_TCU,
443 .links = { SC8280XP_SLAVE_GEM_NOC_CNOC,
448 static struct qcom_icc_node alm_sys_tcu = {
449 .name = "alm_sys_tcu",
450 .id = SC8280XP_MASTER_SYS_TCU,
454 .links = { SC8280XP_SLAVE_GEM_NOC_CNOC,
459 static struct qcom_icc_node chm_apps = {
461 .id = SC8280XP_MASTER_APPSS_PROC,
465 .links = { SC8280XP_SLAVE_GEM_NOC_CNOC,
467 SC8280XP_SLAVE_GEM_NOC_PCIE_CNOC
471 static struct qcom_icc_node qnm_cmpnoc0 = {
472 .name = "qnm_cmpnoc0",
473 .id = SC8280XP_MASTER_COMPUTE_NOC,
477 .links = { SC8280XP_SLAVE_GEM_NOC_CNOC,
482 static struct qcom_icc_node qnm_cmpnoc1 = {
483 .name = "qnm_cmpnoc1",
484 .id = SC8280XP_MASTER_COMPUTE_NOC_1,
488 .links = { SC8280XP_SLAVE_GEM_NOC_CNOC,
493 static struct qcom_icc_node qnm_gemnoc_cfg = {
494 .name = "qnm_gemnoc_cfg",
495 .id = SC8280XP_MASTER_GEM_NOC_CFG,
499 .links = { SC8280XP_SLAVE_SERVICE_GEM_NOC_1,
500 SC8280XP_SLAVE_SERVICE_GEM_NOC_2,
501 SC8280XP_SLAVE_SERVICE_GEM_NOC
505 static struct qcom_icc_node qnm_gpu = {
507 .id = SC8280XP_MASTER_GFX3D,
511 .links = { SC8280XP_SLAVE_GEM_NOC_CNOC,
516 static struct qcom_icc_node qnm_mnoc_hf = {
517 .name = "qnm_mnoc_hf",
518 .id = SC8280XP_MASTER_MNOC_HF_MEM_NOC,
522 .links = { SC8280XP_SLAVE_LLCC,
523 SC8280XP_SLAVE_GEM_NOC_PCIE_CNOC
527 static struct qcom_icc_node qnm_mnoc_sf = {
528 .name = "qnm_mnoc_sf",
529 .id = SC8280XP_MASTER_MNOC_SF_MEM_NOC,
533 .links = { SC8280XP_SLAVE_GEM_NOC_CNOC,
538 static struct qcom_icc_node qnm_pcie = {
540 .id = SC8280XP_MASTER_ANOC_PCIE_GEM_NOC,
544 .links = { SC8280XP_SLAVE_GEM_NOC_CNOC,
549 static struct qcom_icc_node qnm_snoc_gc = {
550 .name = "qnm_snoc_gc",
551 .id = SC8280XP_MASTER_SNOC_GC_MEM_NOC,
555 .links = { SC8280XP_SLAVE_LLCC },
558 static struct qcom_icc_node qnm_snoc_sf = {
559 .name = "qnm_snoc_sf",
560 .id = SC8280XP_MASTER_SNOC_SF_MEM_NOC,
564 .links = { SC8280XP_SLAVE_GEM_NOC_CNOC,
566 SC8280XP_SLAVE_GEM_NOC_PCIE_CNOC },
569 static struct qcom_icc_node qhm_config_noc = {
570 .name = "qhm_config_noc",
571 .id = SC8280XP_MASTER_CNOC_LPASS_AG_NOC,
575 .links = { SC8280XP_SLAVE_LPASS_CORE_CFG,
576 SC8280XP_SLAVE_LPASS_LPI_CFG,
577 SC8280XP_SLAVE_LPASS_MPU_CFG,
578 SC8280XP_SLAVE_LPASS_TOP_CFG,
579 SC8280XP_SLAVE_SERVICES_LPASS_AML_NOC,
580 SC8280XP_SLAVE_SERVICE_LPASS_AG_NOC
584 static struct qcom_icc_node qxm_lpass_dsp = {
585 .name = "qxm_lpass_dsp",
586 .id = SC8280XP_MASTER_LPASS_PROC,
590 .links = { SC8280XP_SLAVE_LPASS_TOP_CFG,
591 SC8280XP_SLAVE_LPASS_SNOC,
592 SC8280XP_SLAVE_SERVICES_LPASS_AML_NOC,
593 SC8280XP_SLAVE_SERVICE_LPASS_AG_NOC
597 static struct qcom_icc_node llcc_mc = {
599 .id = SC8280XP_MASTER_LLCC,
603 .links = { SC8280XP_SLAVE_EBI1 },
606 static struct qcom_icc_node qnm_camnoc_hf = {
607 .name = "qnm_camnoc_hf",
608 .id = SC8280XP_MASTER_CAMNOC_HF,
612 .links = { SC8280XP_SLAVE_MNOC_HF_MEM_NOC },
615 static struct qcom_icc_node qnm_mdp0_0 = {
616 .name = "qnm_mdp0_0",
617 .id = SC8280XP_MASTER_MDP0,
621 .links = { SC8280XP_SLAVE_MNOC_HF_MEM_NOC },
624 static struct qcom_icc_node qnm_mdp0_1 = {
625 .name = "qnm_mdp0_1",
626 .id = SC8280XP_MASTER_MDP1,
630 .links = { SC8280XP_SLAVE_MNOC_HF_MEM_NOC },
633 static struct qcom_icc_node qnm_mdp1_0 = {
634 .name = "qnm_mdp1_0",
635 .id = SC8280XP_MASTER_MDP_CORE1_0,
639 .links = { SC8280XP_SLAVE_MNOC_HF_MEM_NOC },
642 static struct qcom_icc_node qnm_mdp1_1 = {
643 .name = "qnm_mdp1_1",
644 .id = SC8280XP_MASTER_MDP_CORE1_1,
648 .links = { SC8280XP_SLAVE_MNOC_HF_MEM_NOC },
651 static struct qcom_icc_node qnm_mnoc_cfg = {
652 .name = "qnm_mnoc_cfg",
653 .id = SC8280XP_MASTER_CNOC_MNOC_CFG,
657 .links = { SC8280XP_SLAVE_SERVICE_MNOC },
660 static struct qcom_icc_node qnm_rot_0 = {
662 .id = SC8280XP_MASTER_ROTATOR,
666 .links = { SC8280XP_SLAVE_MNOC_SF_MEM_NOC },
669 static struct qcom_icc_node qnm_rot_1 = {
671 .id = SC8280XP_MASTER_ROTATOR_1,
675 .links = { SC8280XP_SLAVE_MNOC_SF_MEM_NOC },
678 static struct qcom_icc_node qnm_video0 = {
679 .name = "qnm_video0",
680 .id = SC8280XP_MASTER_VIDEO_P0,
684 .links = { SC8280XP_SLAVE_MNOC_SF_MEM_NOC },
687 static struct qcom_icc_node qnm_video1 = {
688 .name = "qnm_video1",
689 .id = SC8280XP_MASTER_VIDEO_P1,
693 .links = { SC8280XP_SLAVE_MNOC_SF_MEM_NOC },
696 static struct qcom_icc_node qnm_video_cvp = {
697 .name = "qnm_video_cvp",
698 .id = SC8280XP_MASTER_VIDEO_PROC,
702 .links = { SC8280XP_SLAVE_MNOC_SF_MEM_NOC },
705 static struct qcom_icc_node qxm_camnoc_icp = {
706 .name = "qxm_camnoc_icp",
707 .id = SC8280XP_MASTER_CAMNOC_ICP,
711 .links = { SC8280XP_SLAVE_MNOC_SF_MEM_NOC },
714 static struct qcom_icc_node qxm_camnoc_sf = {
715 .name = "qxm_camnoc_sf",
716 .id = SC8280XP_MASTER_CAMNOC_SF,
720 .links = { SC8280XP_SLAVE_MNOC_SF_MEM_NOC },
723 static struct qcom_icc_node qhm_nsp_noc_config = {
724 .name = "qhm_nsp_noc_config",
725 .id = SC8280XP_MASTER_CDSP_NOC_CFG,
729 .links = { SC8280XP_SLAVE_SERVICE_NSP_NOC },
732 static struct qcom_icc_node qxm_nsp = {
734 .id = SC8280XP_MASTER_CDSP_PROC,
738 .links = { SC8280XP_SLAVE_CDSP_MEM_NOC,
739 SC8280XP_SLAVE_NSP_XFR
743 static struct qcom_icc_node qhm_nspb_noc_config = {
744 .name = "qhm_nspb_noc_config",
745 .id = SC8280XP_MASTER_CDSPB_NOC_CFG,
749 .links = { SC8280XP_SLAVE_SERVICE_NSPB_NOC },
752 static struct qcom_icc_node qxm_nspb = {
754 .id = SC8280XP_MASTER_CDSP_PROC_B,
758 .links = { SC8280XP_SLAVE_CDSPB_MEM_NOC,
759 SC8280XP_SLAVE_NSPB_XFR
763 static struct qcom_icc_node qnm_aggre1_noc = {
764 .name = "qnm_aggre1_noc",
765 .id = SC8280XP_MASTER_A1NOC_SNOC,
769 .links = { SC8280XP_SLAVE_SNOC_GEM_NOC_SF },
772 static struct qcom_icc_node qnm_aggre2_noc = {
773 .name = "qnm_aggre2_noc",
774 .id = SC8280XP_MASTER_A2NOC_SNOC,
778 .links = { SC8280XP_SLAVE_SNOC_GEM_NOC_SF },
781 static struct qcom_icc_node qnm_aggre_usb_noc = {
782 .name = "qnm_aggre_usb_noc",
783 .id = SC8280XP_MASTER_USB_NOC_SNOC,
787 .links = { SC8280XP_SLAVE_SNOC_GEM_NOC_SF },
790 static struct qcom_icc_node qnm_lpass_noc = {
791 .name = "qnm_lpass_noc",
792 .id = SC8280XP_MASTER_LPASS_ANOC,
796 .links = { SC8280XP_SLAVE_SNOC_GEM_NOC_SF },
799 static struct qcom_icc_node qnm_snoc_cfg = {
800 .name = "qnm_snoc_cfg",
801 .id = SC8280XP_MASTER_SNOC_CFG,
805 .links = { SC8280XP_SLAVE_SERVICE_SNOC },
808 static struct qcom_icc_node qxm_pimem = {
810 .id = SC8280XP_MASTER_PIMEM,
814 .links = { SC8280XP_SLAVE_SNOC_GEM_NOC_GC },
817 static struct qcom_icc_node xm_gic = {
819 .id = SC8280XP_MASTER_GIC,
823 .links = { SC8280XP_SLAVE_SNOC_GEM_NOC_GC },
826 static struct qcom_icc_node qns_a1noc_snoc = {
827 .name = "qns_a1noc_snoc",
828 .id = SC8280XP_SLAVE_A1NOC_SNOC,
832 .links = { SC8280XP_MASTER_A1NOC_SNOC },
835 static struct qcom_icc_node qns_aggre_usb_snoc = {
836 .name = "qns_aggre_usb_snoc",
837 .id = SC8280XP_SLAVE_USB_NOC_SNOC,
841 .links = { SC8280XP_MASTER_USB_NOC_SNOC },
844 static struct qcom_icc_node srvc_aggre1_noc = {
845 .name = "srvc_aggre1_noc",
846 .id = SC8280XP_SLAVE_SERVICE_A1NOC,
851 static struct qcom_icc_node qns_a2noc_snoc = {
852 .name = "qns_a2noc_snoc",
853 .id = SC8280XP_SLAVE_A2NOC_SNOC,
857 .links = { SC8280XP_MASTER_A2NOC_SNOC },
860 static struct qcom_icc_node qns_pcie_gem_noc = {
861 .name = "qns_pcie_gem_noc",
862 .id = SC8280XP_SLAVE_ANOC_PCIE_GEM_NOC,
866 .links = { SC8280XP_MASTER_ANOC_PCIE_GEM_NOC },
869 static struct qcom_icc_node srvc_aggre2_noc = {
870 .name = "srvc_aggre2_noc",
871 .id = SC8280XP_SLAVE_SERVICE_A2NOC,
876 static struct qcom_icc_node qup0_core_slave = {
877 .name = "qup0_core_slave",
878 .id = SC8280XP_SLAVE_QUP_CORE_0,
883 static struct qcom_icc_node qup1_core_slave = {
884 .name = "qup1_core_slave",
885 .id = SC8280XP_SLAVE_QUP_CORE_1,
890 static struct qcom_icc_node qup2_core_slave = {
891 .name = "qup2_core_slave",
892 .id = SC8280XP_SLAVE_QUP_CORE_2,
897 static struct qcom_icc_node qhs_ahb2phy0 = {
898 .name = "qhs_ahb2phy0",
899 .id = SC8280XP_SLAVE_AHB2PHY_0,
904 static struct qcom_icc_node qhs_ahb2phy1 = {
905 .name = "qhs_ahb2phy1",
906 .id = SC8280XP_SLAVE_AHB2PHY_1,
911 static struct qcom_icc_node qhs_ahb2phy2 = {
912 .name = "qhs_ahb2phy2",
913 .id = SC8280XP_SLAVE_AHB2PHY_2,
918 static struct qcom_icc_node qhs_aoss = {
920 .id = SC8280XP_SLAVE_AOSS,
925 static struct qcom_icc_node qhs_apss = {
927 .id = SC8280XP_SLAVE_APPSS,
932 static struct qcom_icc_node qhs_camera_cfg = {
933 .name = "qhs_camera_cfg",
934 .id = SC8280XP_SLAVE_CAMERA_CFG,
939 static struct qcom_icc_node qhs_clk_ctl = {
940 .name = "qhs_clk_ctl",
941 .id = SC8280XP_SLAVE_CLK_CTL,
946 static struct qcom_icc_node qhs_compute0_cfg = {
947 .name = "qhs_compute0_cfg",
948 .id = SC8280XP_SLAVE_CDSP_CFG,
952 .links = { SC8280XP_MASTER_CDSP_NOC_CFG },
955 static struct qcom_icc_node qhs_compute1_cfg = {
956 .name = "qhs_compute1_cfg",
957 .id = SC8280XP_SLAVE_CDSP1_CFG,
961 .links = { SC8280XP_MASTER_CDSPB_NOC_CFG },
964 static struct qcom_icc_node qhs_cpr_cx = {
965 .name = "qhs_cpr_cx",
966 .id = SC8280XP_SLAVE_RBCPR_CX_CFG,
971 static struct qcom_icc_node qhs_cpr_mmcx = {
972 .name = "qhs_cpr_mmcx",
973 .id = SC8280XP_SLAVE_RBCPR_MMCX_CFG,
978 static struct qcom_icc_node qhs_cpr_mx = {
979 .name = "qhs_cpr_mx",
980 .id = SC8280XP_SLAVE_RBCPR_MX_CFG,
985 static struct qcom_icc_node qhs_cpr_nspcx = {
986 .name = "qhs_cpr_nspcx",
987 .id = SC8280XP_SLAVE_CPR_NSPCX,
992 static struct qcom_icc_node qhs_crypto0_cfg = {
993 .name = "qhs_crypto0_cfg",
994 .id = SC8280XP_SLAVE_CRYPTO_0_CFG,
999 static struct qcom_icc_node qhs_cx_rdpm = {
1000 .name = "qhs_cx_rdpm",
1001 .id = SC8280XP_SLAVE_CX_RDPM,
1006 static struct qcom_icc_node qhs_dcc_cfg = {
1007 .name = "qhs_dcc_cfg",
1008 .id = SC8280XP_SLAVE_DCC_CFG,
1013 static struct qcom_icc_node qhs_display0_cfg = {
1014 .name = "qhs_display0_cfg",
1015 .id = SC8280XP_SLAVE_DISPLAY_CFG,
1020 static struct qcom_icc_node qhs_display1_cfg = {
1021 .name = "qhs_display1_cfg",
1022 .id = SC8280XP_SLAVE_DISPLAY1_CFG,
1027 static struct qcom_icc_node qhs_emac0_cfg = {
1028 .name = "qhs_emac0_cfg",
1029 .id = SC8280XP_SLAVE_EMAC_CFG,
1034 static struct qcom_icc_node qhs_emac1_cfg = {
1035 .name = "qhs_emac1_cfg",
1036 .id = SC8280XP_SLAVE_EMAC1_CFG,
1041 static struct qcom_icc_node qhs_gpuss_cfg = {
1042 .name = "qhs_gpuss_cfg",
1043 .id = SC8280XP_SLAVE_GFX3D_CFG,
1048 static struct qcom_icc_node qhs_hwkm = {
1050 .id = SC8280XP_SLAVE_HWKM,
1055 static struct qcom_icc_node qhs_imem_cfg = {
1056 .name = "qhs_imem_cfg",
1057 .id = SC8280XP_SLAVE_IMEM_CFG,
1062 static struct qcom_icc_node qhs_ipa = {
1064 .id = SC8280XP_SLAVE_IPA_CFG,
1069 static struct qcom_icc_node qhs_ipc_router = {
1070 .name = "qhs_ipc_router",
1071 .id = SC8280XP_SLAVE_IPC_ROUTER_CFG,
1076 static struct qcom_icc_node qhs_lpass_cfg = {
1077 .name = "qhs_lpass_cfg",
1078 .id = SC8280XP_SLAVE_LPASS,
1082 .links = { SC8280XP_MASTER_CNOC_LPASS_AG_NOC },
1085 static struct qcom_icc_node qhs_mx_rdpm = {
1086 .name = "qhs_mx_rdpm",
1087 .id = SC8280XP_SLAVE_MX_RDPM,
1092 static struct qcom_icc_node qhs_mxc_rdpm = {
1093 .name = "qhs_mxc_rdpm",
1094 .id = SC8280XP_SLAVE_MXC_RDPM,
1099 static struct qcom_icc_node qhs_pcie0_cfg = {
1100 .name = "qhs_pcie0_cfg",
1101 .id = SC8280XP_SLAVE_PCIE_0_CFG,
1106 static struct qcom_icc_node qhs_pcie1_cfg = {
1107 .name = "qhs_pcie1_cfg",
1108 .id = SC8280XP_SLAVE_PCIE_1_CFG,
1113 static struct qcom_icc_node qhs_pcie2a_cfg = {
1114 .name = "qhs_pcie2a_cfg",
1115 .id = SC8280XP_SLAVE_PCIE_2A_CFG,
1120 static struct qcom_icc_node qhs_pcie2b_cfg = {
1121 .name = "qhs_pcie2b_cfg",
1122 .id = SC8280XP_SLAVE_PCIE_2B_CFG,
1127 static struct qcom_icc_node qhs_pcie3a_cfg = {
1128 .name = "qhs_pcie3a_cfg",
1129 .id = SC8280XP_SLAVE_PCIE_3A_CFG,
1134 static struct qcom_icc_node qhs_pcie3b_cfg = {
1135 .name = "qhs_pcie3b_cfg",
1136 .id = SC8280XP_SLAVE_PCIE_3B_CFG,
1141 static struct qcom_icc_node qhs_pcie4_cfg = {
1142 .name = "qhs_pcie4_cfg",
1143 .id = SC8280XP_SLAVE_PCIE_4_CFG,
1148 static struct qcom_icc_node qhs_pcie_rsc_cfg = {
1149 .name = "qhs_pcie_rsc_cfg",
1150 .id = SC8280XP_SLAVE_PCIE_RSC_CFG,
1155 static struct qcom_icc_node qhs_pdm = {
1157 .id = SC8280XP_SLAVE_PDM,
1162 static struct qcom_icc_node qhs_pimem_cfg = {
1163 .name = "qhs_pimem_cfg",
1164 .id = SC8280XP_SLAVE_PIMEM_CFG,
1169 static struct qcom_icc_node qhs_pka_wrapper_cfg = {
1170 .name = "qhs_pka_wrapper_cfg",
1171 .id = SC8280XP_SLAVE_PKA_WRAPPER_CFG,
1176 static struct qcom_icc_node qhs_pmu_wrapper_cfg = {
1177 .name = "qhs_pmu_wrapper_cfg",
1178 .id = SC8280XP_SLAVE_PMU_WRAPPER_CFG,
1183 static struct qcom_icc_node qhs_qdss_cfg = {
1184 .name = "qhs_qdss_cfg",
1185 .id = SC8280XP_SLAVE_QDSS_CFG,
1190 static struct qcom_icc_node qhs_qspi = {
1192 .id = SC8280XP_SLAVE_QSPI_0,
1197 static struct qcom_icc_node qhs_qup0 = {
1199 .id = SC8280XP_SLAVE_QUP_0,
1204 static struct qcom_icc_node qhs_qup1 = {
1206 .id = SC8280XP_SLAVE_QUP_1,
1211 static struct qcom_icc_node qhs_qup2 = {
1213 .id = SC8280XP_SLAVE_QUP_2,
1218 static struct qcom_icc_node qhs_sdc2 = {
1220 .id = SC8280XP_SLAVE_SDCC_2,
1225 static struct qcom_icc_node qhs_sdc4 = {
1227 .id = SC8280XP_SLAVE_SDCC_4,
1232 static struct qcom_icc_node qhs_security = {
1233 .name = "qhs_security",
1234 .id = SC8280XP_SLAVE_SECURITY,
1239 static struct qcom_icc_node qhs_smmuv3_cfg = {
1240 .name = "qhs_smmuv3_cfg",
1241 .id = SC8280XP_SLAVE_SMMUV3_CFG,
1246 static struct qcom_icc_node qhs_smss_cfg = {
1247 .name = "qhs_smss_cfg",
1248 .id = SC8280XP_SLAVE_SMSS_CFG,
1253 static struct qcom_icc_node qhs_spss_cfg = {
1254 .name = "qhs_spss_cfg",
1255 .id = SC8280XP_SLAVE_SPSS_CFG,
1260 static struct qcom_icc_node qhs_tcsr = {
1262 .id = SC8280XP_SLAVE_TCSR,
1267 static struct qcom_icc_node qhs_tlmm = {
1269 .id = SC8280XP_SLAVE_TLMM,
1274 static struct qcom_icc_node qhs_ufs_card_cfg = {
1275 .name = "qhs_ufs_card_cfg",
1276 .id = SC8280XP_SLAVE_UFS_CARD_CFG,
1281 static struct qcom_icc_node qhs_ufs_mem_cfg = {
1282 .name = "qhs_ufs_mem_cfg",
1283 .id = SC8280XP_SLAVE_UFS_MEM_CFG,
1288 static struct qcom_icc_node qhs_usb3_0 = {
1289 .name = "qhs_usb3_0",
1290 .id = SC8280XP_SLAVE_USB3_0,
1295 static struct qcom_icc_node qhs_usb3_1 = {
1296 .name = "qhs_usb3_1",
1297 .id = SC8280XP_SLAVE_USB3_1,
1302 static struct qcom_icc_node qhs_usb3_mp = {
1303 .name = "qhs_usb3_mp",
1304 .id = SC8280XP_SLAVE_USB3_MP,
1309 static struct qcom_icc_node qhs_usb4_host_0 = {
1310 .name = "qhs_usb4_host_0",
1311 .id = SC8280XP_SLAVE_USB4_0,
1316 static struct qcom_icc_node qhs_usb4_host_1 = {
1317 .name = "qhs_usb4_host_1",
1318 .id = SC8280XP_SLAVE_USB4_1,
1323 static struct qcom_icc_node qhs_venus_cfg = {
1324 .name = "qhs_venus_cfg",
1325 .id = SC8280XP_SLAVE_VENUS_CFG,
1330 static struct qcom_icc_node qhs_vsense_ctrl_cfg = {
1331 .name = "qhs_vsense_ctrl_cfg",
1332 .id = SC8280XP_SLAVE_VSENSE_CTRL_CFG,
1337 static struct qcom_icc_node qhs_vsense_ctrl_r_cfg = {
1338 .name = "qhs_vsense_ctrl_r_cfg",
1339 .id = SC8280XP_SLAVE_VSENSE_CTRL_R_CFG,
1344 static struct qcom_icc_node qns_a1_noc_cfg = {
1345 .name = "qns_a1_noc_cfg",
1346 .id = SC8280XP_SLAVE_A1NOC_CFG,
1350 .links = { SC8280XP_MASTER_A1NOC_CFG },
1353 static struct qcom_icc_node qns_a2_noc_cfg = {
1354 .name = "qns_a2_noc_cfg",
1355 .id = SC8280XP_SLAVE_A2NOC_CFG,
1359 .links = { SC8280XP_MASTER_A2NOC_CFG },
1362 static struct qcom_icc_node qns_anoc_pcie_bridge_cfg = {
1363 .name = "qns_anoc_pcie_bridge_cfg",
1364 .id = SC8280XP_SLAVE_ANOC_PCIE_BRIDGE_CFG,
1369 static struct qcom_icc_node qns_ddrss_cfg = {
1370 .name = "qns_ddrss_cfg",
1371 .id = SC8280XP_SLAVE_DDRSS_CFG,
1375 .links = { SC8280XP_MASTER_CNOC_DC_NOC },
1378 static struct qcom_icc_node qns_mnoc_cfg = {
1379 .name = "qns_mnoc_cfg",
1380 .id = SC8280XP_SLAVE_CNOC_MNOC_CFG,
1384 .links = { SC8280XP_MASTER_CNOC_MNOC_CFG },
1387 static struct qcom_icc_node qns_snoc_cfg = {
1388 .name = "qns_snoc_cfg",
1389 .id = SC8280XP_SLAVE_SNOC_CFG,
1393 .links = { SC8280XP_MASTER_SNOC_CFG },
1396 static struct qcom_icc_node qns_snoc_sf_bridge_cfg = {
1397 .name = "qns_snoc_sf_bridge_cfg",
1398 .id = SC8280XP_SLAVE_SNOC_SF_BRIDGE_CFG,
1403 static struct qcom_icc_node qxs_imem = {
1405 .id = SC8280XP_SLAVE_IMEM,
1410 static struct qcom_icc_node qxs_pimem = {
1411 .name = "qxs_pimem",
1412 .id = SC8280XP_SLAVE_PIMEM,
1417 static struct qcom_icc_node srvc_cnoc = {
1418 .name = "srvc_cnoc",
1419 .id = SC8280XP_SLAVE_SERVICE_CNOC,
1424 static struct qcom_icc_node xs_pcie_0 = {
1425 .name = "xs_pcie_0",
1426 .id = SC8280XP_SLAVE_PCIE_0,
1431 static struct qcom_icc_node xs_pcie_1 = {
1432 .name = "xs_pcie_1",
1433 .id = SC8280XP_SLAVE_PCIE_1,
1438 static struct qcom_icc_node xs_pcie_2a = {
1439 .name = "xs_pcie_2a",
1440 .id = SC8280XP_SLAVE_PCIE_2A,
1445 static struct qcom_icc_node xs_pcie_2b = {
1446 .name = "xs_pcie_2b",
1447 .id = SC8280XP_SLAVE_PCIE_2B,
1452 static struct qcom_icc_node xs_pcie_3a = {
1453 .name = "xs_pcie_3a",
1454 .id = SC8280XP_SLAVE_PCIE_3A,
1459 static struct qcom_icc_node xs_pcie_3b = {
1460 .name = "xs_pcie_3b",
1461 .id = SC8280XP_SLAVE_PCIE_3B,
1466 static struct qcom_icc_node xs_pcie_4 = {
1467 .name = "xs_pcie_4",
1468 .id = SC8280XP_SLAVE_PCIE_4,
1473 static struct qcom_icc_node xs_qdss_stm = {
1474 .name = "xs_qdss_stm",
1475 .id = SC8280XP_SLAVE_QDSS_STM,
1480 static struct qcom_icc_node xs_smss = {
1482 .id = SC8280XP_SLAVE_SMSS,
1487 static struct qcom_icc_node xs_sys_tcu_cfg = {
1488 .name = "xs_sys_tcu_cfg",
1489 .id = SC8280XP_SLAVE_TCU,
1494 static struct qcom_icc_node qhs_llcc = {
1496 .id = SC8280XP_SLAVE_LLCC_CFG,
1501 static struct qcom_icc_node qns_gemnoc = {
1502 .name = "qns_gemnoc",
1503 .id = SC8280XP_SLAVE_GEM_NOC_CFG,
1507 .links = { SC8280XP_MASTER_GEM_NOC_CFG },
1510 static struct qcom_icc_node qns_gem_noc_cnoc = {
1511 .name = "qns_gem_noc_cnoc",
1512 .id = SC8280XP_SLAVE_GEM_NOC_CNOC,
1516 .links = { SC8280XP_MASTER_GEM_NOC_CNOC },
1519 static struct qcom_icc_node qns_llcc = {
1521 .id = SC8280XP_SLAVE_LLCC,
1525 .links = { SC8280XP_MASTER_LLCC },
1528 static struct qcom_icc_node qns_pcie = {
1530 .id = SC8280XP_SLAVE_GEM_NOC_PCIE_CNOC,
1534 .links = { SC8280XP_MASTER_GEM_NOC_PCIE_SNOC },
1537 static struct qcom_icc_node srvc_even_gemnoc = {
1538 .name = "srvc_even_gemnoc",
1539 .id = SC8280XP_SLAVE_SERVICE_GEM_NOC_1,
1544 static struct qcom_icc_node srvc_odd_gemnoc = {
1545 .name = "srvc_odd_gemnoc",
1546 .id = SC8280XP_SLAVE_SERVICE_GEM_NOC_2,
1551 static struct qcom_icc_node srvc_sys_gemnoc = {
1552 .name = "srvc_sys_gemnoc",
1553 .id = SC8280XP_SLAVE_SERVICE_GEM_NOC,
1558 static struct qcom_icc_node qhs_lpass_core = {
1559 .name = "qhs_lpass_core",
1560 .id = SC8280XP_SLAVE_LPASS_CORE_CFG,
1565 static struct qcom_icc_node qhs_lpass_lpi = {
1566 .name = "qhs_lpass_lpi",
1567 .id = SC8280XP_SLAVE_LPASS_LPI_CFG,
1572 static struct qcom_icc_node qhs_lpass_mpu = {
1573 .name = "qhs_lpass_mpu",
1574 .id = SC8280XP_SLAVE_LPASS_MPU_CFG,
1579 static struct qcom_icc_node qhs_lpass_top = {
1580 .name = "qhs_lpass_top",
1581 .id = SC8280XP_SLAVE_LPASS_TOP_CFG,
1586 static struct qcom_icc_node qns_sysnoc = {
1587 .name = "qns_sysnoc",
1588 .id = SC8280XP_SLAVE_LPASS_SNOC,
1592 .links = { SC8280XP_MASTER_LPASS_ANOC },
1595 static struct qcom_icc_node srvc_niu_aml_noc = {
1596 .name = "srvc_niu_aml_noc",
1597 .id = SC8280XP_SLAVE_SERVICES_LPASS_AML_NOC,
1602 static struct qcom_icc_node srvc_niu_lpass_agnoc = {
1603 .name = "srvc_niu_lpass_agnoc",
1604 .id = SC8280XP_SLAVE_SERVICE_LPASS_AG_NOC,
1609 static struct qcom_icc_node ebi = {
1611 .id = SC8280XP_SLAVE_EBI1,
1616 static struct qcom_icc_node qns_mem_noc_hf = {
1617 .name = "qns_mem_noc_hf",
1618 .id = SC8280XP_SLAVE_MNOC_HF_MEM_NOC,
1622 .links = { SC8280XP_MASTER_MNOC_HF_MEM_NOC },
1625 static struct qcom_icc_node qns_mem_noc_sf = {
1626 .name = "qns_mem_noc_sf",
1627 .id = SC8280XP_SLAVE_MNOC_SF_MEM_NOC,
1631 .links = { SC8280XP_MASTER_MNOC_SF_MEM_NOC },
1634 static struct qcom_icc_node srvc_mnoc = {
1635 .name = "srvc_mnoc",
1636 .id = SC8280XP_SLAVE_SERVICE_MNOC,
1641 static struct qcom_icc_node qns_nsp_gemnoc = {
1642 .name = "qns_nsp_gemnoc",
1643 .id = SC8280XP_SLAVE_CDSP_MEM_NOC,
1647 .links = { SC8280XP_MASTER_COMPUTE_NOC },
1650 static struct qcom_icc_node qxs_nsp_xfr = {
1651 .name = "qxs_nsp_xfr",
1652 .id = SC8280XP_SLAVE_NSP_XFR,
1657 static struct qcom_icc_node service_nsp_noc = {
1658 .name = "service_nsp_noc",
1659 .id = SC8280XP_SLAVE_SERVICE_NSP_NOC,
1664 static struct qcom_icc_node qns_nspb_gemnoc = {
1665 .name = "qns_nspb_gemnoc",
1666 .id = SC8280XP_SLAVE_CDSPB_MEM_NOC,
1670 .links = { SC8280XP_MASTER_COMPUTE_NOC_1 },
1673 static struct qcom_icc_node qxs_nspb_xfr = {
1674 .name = "qxs_nspb_xfr",
1675 .id = SC8280XP_SLAVE_NSPB_XFR,
1680 static struct qcom_icc_node service_nspb_noc = {
1681 .name = "service_nspb_noc",
1682 .id = SC8280XP_SLAVE_SERVICE_NSPB_NOC,
1687 static struct qcom_icc_node qns_gemnoc_gc = {
1688 .name = "qns_gemnoc_gc",
1689 .id = SC8280XP_SLAVE_SNOC_GEM_NOC_GC,
1693 .links = { SC8280XP_MASTER_SNOC_GC_MEM_NOC },
1696 static struct qcom_icc_node qns_gemnoc_sf = {
1697 .name = "qns_gemnoc_sf",
1698 .id = SC8280XP_SLAVE_SNOC_GEM_NOC_SF,
1702 .links = { SC8280XP_MASTER_SNOC_SF_MEM_NOC },
1705 static struct qcom_icc_node srvc_snoc = {
1706 .name = "srvc_snoc",
1707 .id = SC8280XP_SLAVE_SERVICE_SNOC,
1712 static struct qcom_icc_bcm bcm_acv = {
1718 static struct qcom_icc_bcm bcm_ce0 = {
1721 .nodes = { &qxm_crypto },
1724 static struct qcom_icc_bcm bcm_cn0 = {
1728 .nodes = { &qnm_gemnoc_cnoc,
1740 static struct qcom_icc_bcm bcm_cn1 = {
1743 .nodes = { &qhs_ahb2phy0,
1781 &qhs_pka_wrapper_cfg,
1782 &qhs_pmu_wrapper_cfg,
1800 &qhs_vsense_ctrl_cfg,
1801 &qhs_vsense_ctrl_r_cfg,
1804 &qns_anoc_pcie_bridge_cfg,
1808 &qns_snoc_sf_bridge_cfg,
1813 static struct qcom_icc_bcm bcm_cn2 = {
1816 .nodes = { &qhs_qspi,
1823 static struct qcom_icc_bcm bcm_cn3 = {
1826 .nodes = { &qxs_imem,
1832 static struct qcom_icc_bcm bcm_mc0 = {
1839 static struct qcom_icc_bcm bcm_mm0 = {
1843 .nodes = { &qnm_camnoc_hf,
1851 static struct qcom_icc_bcm bcm_mm1 = {
1854 .nodes = { &qnm_rot_0,
1865 static struct qcom_icc_bcm bcm_nsa0 = {
1868 .nodes = { &qns_nsp_gemnoc,
1873 static struct qcom_icc_bcm bcm_nsa1 = {
1876 .nodes = { &qxm_nsp },
1879 static struct qcom_icc_bcm bcm_nsb0 = {
1882 .nodes = { &qns_nspb_gemnoc,
1887 static struct qcom_icc_bcm bcm_nsb1 = {
1890 .nodes = { &qxm_nspb },
1893 static struct qcom_icc_bcm bcm_pci0 = {
1896 .nodes = { &qns_pcie_gem_noc },
1899 static struct qcom_icc_bcm bcm_qup0 = {
1903 .nodes = { &qup0_core_slave },
1906 static struct qcom_icc_bcm bcm_qup1 = {
1910 .nodes = { &qup1_core_slave },
1913 static struct qcom_icc_bcm bcm_qup2 = {
1917 .nodes = { &qup2_core_slave },
1920 static struct qcom_icc_bcm bcm_sh0 = {
1924 .nodes = { &qns_llcc },
1927 static struct qcom_icc_bcm bcm_sh2 = {
1930 .nodes = { &chm_apps },
1933 static struct qcom_icc_bcm bcm_sn0 = {
1937 .nodes = { &qns_gemnoc_sf },
1940 static struct qcom_icc_bcm bcm_sn1 = {
1943 .nodes = { &qns_gemnoc_gc },
1946 static struct qcom_icc_bcm bcm_sn2 = {
1949 .nodes = { &qxs_pimem },
1952 static struct qcom_icc_bcm bcm_sn3 = {
1955 .nodes = { &qns_a1noc_snoc,
1960 static struct qcom_icc_bcm bcm_sn4 = {
1963 .nodes = { &qns_a2noc_snoc,
1968 static struct qcom_icc_bcm bcm_sn5 = {
1971 .nodes = { &qns_aggre_usb_snoc,
1976 static struct qcom_icc_bcm bcm_sn9 = {
1979 .nodes = { &qns_sysnoc,
1984 static struct qcom_icc_bcm bcm_sn10 = {
1987 .nodes = { &xs_qdss_stm },
1990 static struct qcom_icc_bcm * const aggre1_noc_bcms[] = {
1995 static struct qcom_icc_node * const aggre1_noc_nodes[] = {
1996 [MASTER_QSPI_0] = &qhm_qspi,
1997 [MASTER_QUP_1] = &qhm_qup1,
1998 [MASTER_QUP_2] = &qhm_qup2,
1999 [MASTER_A1NOC_CFG] = &qnm_a1noc_cfg,
2000 [MASTER_IPA] = &qxm_ipa,
2001 [MASTER_EMAC_1] = &xm_emac_1,
2002 [MASTER_SDCC_4] = &xm_sdc4,
2003 [MASTER_UFS_MEM] = &xm_ufs_mem,
2004 [MASTER_USB3_0] = &xm_usb3_0,
2005 [MASTER_USB3_1] = &xm_usb3_1,
2006 [MASTER_USB3_MP] = &xm_usb3_mp,
2007 [MASTER_USB4_0] = &xm_usb4_host0,
2008 [MASTER_USB4_1] = &xm_usb4_host1,
2009 [SLAVE_A1NOC_SNOC] = &qns_a1noc_snoc,
2010 [SLAVE_USB_NOC_SNOC] = &qns_aggre_usb_snoc,
2011 [SLAVE_SERVICE_A1NOC] = &srvc_aggre1_noc,
2014 static const struct qcom_icc_desc sc8280xp_aggre1_noc = {
2015 .nodes = aggre1_noc_nodes,
2016 .num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
2017 .bcms = aggre1_noc_bcms,
2018 .num_bcms = ARRAY_SIZE(aggre1_noc_bcms),
2021 static struct qcom_icc_bcm * const aggre2_noc_bcms[] = {
2027 static struct qcom_icc_node * const aggre2_noc_nodes[] = {
2028 [MASTER_QDSS_BAM] = &qhm_qdss_bam,
2029 [MASTER_QUP_0] = &qhm_qup0,
2030 [MASTER_A2NOC_CFG] = &qnm_a2noc_cfg,
2031 [MASTER_CRYPTO] = &qxm_crypto,
2032 [MASTER_SENSORS_PROC] = &qxm_sensorss_q6,
2033 [MASTER_SP] = &qxm_sp,
2034 [MASTER_EMAC] = &xm_emac_0,
2035 [MASTER_PCIE_0] = &xm_pcie3_0,
2036 [MASTER_PCIE_1] = &xm_pcie3_1,
2037 [MASTER_PCIE_2A] = &xm_pcie3_2a,
2038 [MASTER_PCIE_2B] = &xm_pcie3_2b,
2039 [MASTER_PCIE_3A] = &xm_pcie3_3a,
2040 [MASTER_PCIE_3B] = &xm_pcie3_3b,
2041 [MASTER_PCIE_4] = &xm_pcie3_4,
2042 [MASTER_QDSS_ETR] = &xm_qdss_etr,
2043 [MASTER_SDCC_2] = &xm_sdc2,
2044 [MASTER_UFS_CARD] = &xm_ufs_card,
2045 [SLAVE_A2NOC_SNOC] = &qns_a2noc_snoc,
2046 [SLAVE_ANOC_PCIE_GEM_NOC] = &qns_pcie_gem_noc,
2047 [SLAVE_SERVICE_A2NOC] = &srvc_aggre2_noc,
2050 static const struct qcom_icc_desc sc8280xp_aggre2_noc = {
2051 .nodes = aggre2_noc_nodes,
2052 .num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
2053 .bcms = aggre2_noc_bcms,
2054 .num_bcms = ARRAY_SIZE(aggre2_noc_bcms),
2057 static struct qcom_icc_bcm * const clk_virt_bcms[] = {
2063 static struct qcom_icc_node * const clk_virt_nodes[] = {
2064 [MASTER_QUP_CORE_0] = &qup0_core_master,
2065 [MASTER_QUP_CORE_1] = &qup1_core_master,
2066 [MASTER_QUP_CORE_2] = &qup2_core_master,
2067 [SLAVE_QUP_CORE_0] = &qup0_core_slave,
2068 [SLAVE_QUP_CORE_1] = &qup1_core_slave,
2069 [SLAVE_QUP_CORE_2] = &qup2_core_slave,
2072 static const struct qcom_icc_desc sc8280xp_clk_virt = {
2073 .nodes = clk_virt_nodes,
2074 .num_nodes = ARRAY_SIZE(clk_virt_nodes),
2075 .bcms = clk_virt_bcms,
2076 .num_bcms = ARRAY_SIZE(clk_virt_bcms),
2079 static struct qcom_icc_bcm * const config_noc_bcms[] = {
2088 static struct qcom_icc_node * const config_noc_nodes[] = {
2089 [MASTER_GEM_NOC_CNOC] = &qnm_gemnoc_cnoc,
2090 [MASTER_GEM_NOC_PCIE_SNOC] = &qnm_gemnoc_pcie,
2091 [SLAVE_AHB2PHY_0] = &qhs_ahb2phy0,
2092 [SLAVE_AHB2PHY_1] = &qhs_ahb2phy1,
2093 [SLAVE_AHB2PHY_2] = &qhs_ahb2phy2,
2094 [SLAVE_AOSS] = &qhs_aoss,
2095 [SLAVE_APPSS] = &qhs_apss,
2096 [SLAVE_CAMERA_CFG] = &qhs_camera_cfg,
2097 [SLAVE_CLK_CTL] = &qhs_clk_ctl,
2098 [SLAVE_CDSP_CFG] = &qhs_compute0_cfg,
2099 [SLAVE_CDSP1_CFG] = &qhs_compute1_cfg,
2100 [SLAVE_RBCPR_CX_CFG] = &qhs_cpr_cx,
2101 [SLAVE_RBCPR_MMCX_CFG] = &qhs_cpr_mmcx,
2102 [SLAVE_RBCPR_MX_CFG] = &qhs_cpr_mx,
2103 [SLAVE_CPR_NSPCX] = &qhs_cpr_nspcx,
2104 [SLAVE_CRYPTO_0_CFG] = &qhs_crypto0_cfg,
2105 [SLAVE_CX_RDPM] = &qhs_cx_rdpm,
2106 [SLAVE_DCC_CFG] = &qhs_dcc_cfg,
2107 [SLAVE_DISPLAY_CFG] = &qhs_display0_cfg,
2108 [SLAVE_DISPLAY1_CFG] = &qhs_display1_cfg,
2109 [SLAVE_EMAC_CFG] = &qhs_emac0_cfg,
2110 [SLAVE_EMAC1_CFG] = &qhs_emac1_cfg,
2111 [SLAVE_GFX3D_CFG] = &qhs_gpuss_cfg,
2112 [SLAVE_HWKM] = &qhs_hwkm,
2113 [SLAVE_IMEM_CFG] = &qhs_imem_cfg,
2114 [SLAVE_IPA_CFG] = &qhs_ipa,
2115 [SLAVE_IPC_ROUTER_CFG] = &qhs_ipc_router,
2116 [SLAVE_LPASS] = &qhs_lpass_cfg,
2117 [SLAVE_MX_RDPM] = &qhs_mx_rdpm,
2118 [SLAVE_MXC_RDPM] = &qhs_mxc_rdpm,
2119 [SLAVE_PCIE_0_CFG] = &qhs_pcie0_cfg,
2120 [SLAVE_PCIE_1_CFG] = &qhs_pcie1_cfg,
2121 [SLAVE_PCIE_2A_CFG] = &qhs_pcie2a_cfg,
2122 [SLAVE_PCIE_2B_CFG] = &qhs_pcie2b_cfg,
2123 [SLAVE_PCIE_3A_CFG] = &qhs_pcie3a_cfg,
2124 [SLAVE_PCIE_3B_CFG] = &qhs_pcie3b_cfg,
2125 [SLAVE_PCIE_4_CFG] = &qhs_pcie4_cfg,
2126 [SLAVE_PCIE_RSC_CFG] = &qhs_pcie_rsc_cfg,
2127 [SLAVE_PDM] = &qhs_pdm,
2128 [SLAVE_PIMEM_CFG] = &qhs_pimem_cfg,
2129 [SLAVE_PKA_WRAPPER_CFG] = &qhs_pka_wrapper_cfg,
2130 [SLAVE_PMU_WRAPPER_CFG] = &qhs_pmu_wrapper_cfg,
2131 [SLAVE_QDSS_CFG] = &qhs_qdss_cfg,
2132 [SLAVE_QSPI_0] = &qhs_qspi,
2133 [SLAVE_QUP_0] = &qhs_qup0,
2134 [SLAVE_QUP_1] = &qhs_qup1,
2135 [SLAVE_QUP_2] = &qhs_qup2,
2136 [SLAVE_SDCC_2] = &qhs_sdc2,
2137 [SLAVE_SDCC_4] = &qhs_sdc4,
2138 [SLAVE_SECURITY] = &qhs_security,
2139 [SLAVE_SMMUV3_CFG] = &qhs_smmuv3_cfg,
2140 [SLAVE_SMSS_CFG] = &qhs_smss_cfg,
2141 [SLAVE_SPSS_CFG] = &qhs_spss_cfg,
2142 [SLAVE_TCSR] = &qhs_tcsr,
2143 [SLAVE_TLMM] = &qhs_tlmm,
2144 [SLAVE_UFS_CARD_CFG] = &qhs_ufs_card_cfg,
2145 [SLAVE_UFS_MEM_CFG] = &qhs_ufs_mem_cfg,
2146 [SLAVE_USB3_0] = &qhs_usb3_0,
2147 [SLAVE_USB3_1] = &qhs_usb3_1,
2148 [SLAVE_USB3_MP] = &qhs_usb3_mp,
2149 [SLAVE_USB4_0] = &qhs_usb4_host_0,
2150 [SLAVE_USB4_1] = &qhs_usb4_host_1,
2151 [SLAVE_VENUS_CFG] = &qhs_venus_cfg,
2152 [SLAVE_VSENSE_CTRL_CFG] = &qhs_vsense_ctrl_cfg,
2153 [SLAVE_VSENSE_CTRL_R_CFG] = &qhs_vsense_ctrl_r_cfg,
2154 [SLAVE_A1NOC_CFG] = &qns_a1_noc_cfg,
2155 [SLAVE_A2NOC_CFG] = &qns_a2_noc_cfg,
2156 [SLAVE_ANOC_PCIE_BRIDGE_CFG] = &qns_anoc_pcie_bridge_cfg,
2157 [SLAVE_DDRSS_CFG] = &qns_ddrss_cfg,
2158 [SLAVE_CNOC_MNOC_CFG] = &qns_mnoc_cfg,
2159 [SLAVE_SNOC_CFG] = &qns_snoc_cfg,
2160 [SLAVE_SNOC_SF_BRIDGE_CFG] = &qns_snoc_sf_bridge_cfg,
2161 [SLAVE_IMEM] = &qxs_imem,
2162 [SLAVE_PIMEM] = &qxs_pimem,
2163 [SLAVE_SERVICE_CNOC] = &srvc_cnoc,
2164 [SLAVE_PCIE_0] = &xs_pcie_0,
2165 [SLAVE_PCIE_1] = &xs_pcie_1,
2166 [SLAVE_PCIE_2A] = &xs_pcie_2a,
2167 [SLAVE_PCIE_2B] = &xs_pcie_2b,
2168 [SLAVE_PCIE_3A] = &xs_pcie_3a,
2169 [SLAVE_PCIE_3B] = &xs_pcie_3b,
2170 [SLAVE_PCIE_4] = &xs_pcie_4,
2171 [SLAVE_QDSS_STM] = &xs_qdss_stm,
2172 [SLAVE_SMSS] = &xs_smss,
2173 [SLAVE_TCU] = &xs_sys_tcu_cfg,
2176 static const struct qcom_icc_desc sc8280xp_config_noc = {
2177 .nodes = config_noc_nodes,
2178 .num_nodes = ARRAY_SIZE(config_noc_nodes),
2179 .bcms = config_noc_bcms,
2180 .num_bcms = ARRAY_SIZE(config_noc_bcms),
2183 static struct qcom_icc_bcm * const dc_noc_bcms[] = {
2186 static struct qcom_icc_node * const dc_noc_nodes[] = {
2187 [MASTER_CNOC_DC_NOC] = &qnm_cnoc_dc_noc,
2188 [SLAVE_LLCC_CFG] = &qhs_llcc,
2189 [SLAVE_GEM_NOC_CFG] = &qns_gemnoc,
2192 static const struct qcom_icc_desc sc8280xp_dc_noc = {
2193 .nodes = dc_noc_nodes,
2194 .num_nodes = ARRAY_SIZE(dc_noc_nodes),
2195 .bcms = dc_noc_bcms,
2196 .num_bcms = ARRAY_SIZE(dc_noc_bcms),
2199 static struct qcom_icc_bcm * const gem_noc_bcms[] = {
2204 static struct qcom_icc_node * const gem_noc_nodes[] = {
2205 [MASTER_GPU_TCU] = &alm_gpu_tcu,
2206 [MASTER_PCIE_TCU] = &alm_pcie_tcu,
2207 [MASTER_SYS_TCU] = &alm_sys_tcu,
2208 [MASTER_APPSS_PROC] = &chm_apps,
2209 [MASTER_COMPUTE_NOC] = &qnm_cmpnoc0,
2210 [MASTER_COMPUTE_NOC_1] = &qnm_cmpnoc1,
2211 [MASTER_GEM_NOC_CFG] = &qnm_gemnoc_cfg,
2212 [MASTER_GFX3D] = &qnm_gpu,
2213 [MASTER_MNOC_HF_MEM_NOC] = &qnm_mnoc_hf,
2214 [MASTER_MNOC_SF_MEM_NOC] = &qnm_mnoc_sf,
2215 [MASTER_ANOC_PCIE_GEM_NOC] = &qnm_pcie,
2216 [MASTER_SNOC_GC_MEM_NOC] = &qnm_snoc_gc,
2217 [MASTER_SNOC_SF_MEM_NOC] = &qnm_snoc_sf,
2218 [SLAVE_GEM_NOC_CNOC] = &qns_gem_noc_cnoc,
2219 [SLAVE_LLCC] = &qns_llcc,
2220 [SLAVE_GEM_NOC_PCIE_CNOC] = &qns_pcie,
2221 [SLAVE_SERVICE_GEM_NOC_1] = &srvc_even_gemnoc,
2222 [SLAVE_SERVICE_GEM_NOC_2] = &srvc_odd_gemnoc,
2223 [SLAVE_SERVICE_GEM_NOC] = &srvc_sys_gemnoc,
2226 static const struct qcom_icc_desc sc8280xp_gem_noc = {
2227 .nodes = gem_noc_nodes,
2228 .num_nodes = ARRAY_SIZE(gem_noc_nodes),
2229 .bcms = gem_noc_bcms,
2230 .num_bcms = ARRAY_SIZE(gem_noc_bcms),
2233 static struct qcom_icc_bcm * const lpass_ag_noc_bcms[] = {
2237 static struct qcom_icc_node * const lpass_ag_noc_nodes[] = {
2238 [MASTER_CNOC_LPASS_AG_NOC] = &qhm_config_noc,
2239 [MASTER_LPASS_PROC] = &qxm_lpass_dsp,
2240 [SLAVE_LPASS_CORE_CFG] = &qhs_lpass_core,
2241 [SLAVE_LPASS_LPI_CFG] = &qhs_lpass_lpi,
2242 [SLAVE_LPASS_MPU_CFG] = &qhs_lpass_mpu,
2243 [SLAVE_LPASS_TOP_CFG] = &qhs_lpass_top,
2244 [SLAVE_LPASS_SNOC] = &qns_sysnoc,
2245 [SLAVE_SERVICES_LPASS_AML_NOC] = &srvc_niu_aml_noc,
2246 [SLAVE_SERVICE_LPASS_AG_NOC] = &srvc_niu_lpass_agnoc,
2249 static const struct qcom_icc_desc sc8280xp_lpass_ag_noc = {
2250 .nodes = lpass_ag_noc_nodes,
2251 .num_nodes = ARRAY_SIZE(lpass_ag_noc_nodes),
2252 .bcms = lpass_ag_noc_bcms,
2253 .num_bcms = ARRAY_SIZE(lpass_ag_noc_bcms),
2256 static struct qcom_icc_bcm * const mc_virt_bcms[] = {
2261 static struct qcom_icc_node * const mc_virt_nodes[] = {
2262 [MASTER_LLCC] = &llcc_mc,
2263 [SLAVE_EBI1] = &ebi,
2266 static const struct qcom_icc_desc sc8280xp_mc_virt = {
2267 .nodes = mc_virt_nodes,
2268 .num_nodes = ARRAY_SIZE(mc_virt_nodes),
2269 .bcms = mc_virt_bcms,
2270 .num_bcms = ARRAY_SIZE(mc_virt_bcms),
2273 static struct qcom_icc_bcm * const mmss_noc_bcms[] = {
2278 static struct qcom_icc_node * const mmss_noc_nodes[] = {
2279 [MASTER_CAMNOC_HF] = &qnm_camnoc_hf,
2280 [MASTER_MDP0] = &qnm_mdp0_0,
2281 [MASTER_MDP1] = &qnm_mdp0_1,
2282 [MASTER_MDP_CORE1_0] = &qnm_mdp1_0,
2283 [MASTER_MDP_CORE1_1] = &qnm_mdp1_1,
2284 [MASTER_CNOC_MNOC_CFG] = &qnm_mnoc_cfg,
2285 [MASTER_ROTATOR] = &qnm_rot_0,
2286 [MASTER_ROTATOR_1] = &qnm_rot_1,
2287 [MASTER_VIDEO_P0] = &qnm_video0,
2288 [MASTER_VIDEO_P1] = &qnm_video1,
2289 [MASTER_VIDEO_PROC] = &qnm_video_cvp,
2290 [MASTER_CAMNOC_ICP] = &qxm_camnoc_icp,
2291 [MASTER_CAMNOC_SF] = &qxm_camnoc_sf,
2292 [SLAVE_MNOC_HF_MEM_NOC] = &qns_mem_noc_hf,
2293 [SLAVE_MNOC_SF_MEM_NOC] = &qns_mem_noc_sf,
2294 [SLAVE_SERVICE_MNOC] = &srvc_mnoc,
2297 static const struct qcom_icc_desc sc8280xp_mmss_noc = {
2298 .nodes = mmss_noc_nodes,
2299 .num_nodes = ARRAY_SIZE(mmss_noc_nodes),
2300 .bcms = mmss_noc_bcms,
2301 .num_bcms = ARRAY_SIZE(mmss_noc_bcms),
2304 static struct qcom_icc_bcm * const nspa_noc_bcms[] = {
2309 static struct qcom_icc_node * const nspa_noc_nodes[] = {
2310 [MASTER_CDSP_NOC_CFG] = &qhm_nsp_noc_config,
2311 [MASTER_CDSP_PROC] = &qxm_nsp,
2312 [SLAVE_CDSP_MEM_NOC] = &qns_nsp_gemnoc,
2313 [SLAVE_NSP_XFR] = &qxs_nsp_xfr,
2314 [SLAVE_SERVICE_NSP_NOC] = &service_nsp_noc,
2317 static const struct qcom_icc_desc sc8280xp_nspa_noc = {
2318 .nodes = nspa_noc_nodes,
2319 .num_nodes = ARRAY_SIZE(nspa_noc_nodes),
2320 .bcms = nspa_noc_bcms,
2321 .num_bcms = ARRAY_SIZE(nspa_noc_bcms),
2324 static struct qcom_icc_bcm * const nspb_noc_bcms[] = {
2329 static struct qcom_icc_node * const nspb_noc_nodes[] = {
2330 [MASTER_CDSPB_NOC_CFG] = &qhm_nspb_noc_config,
2331 [MASTER_CDSP_PROC_B] = &qxm_nspb,
2332 [SLAVE_CDSPB_MEM_NOC] = &qns_nspb_gemnoc,
2333 [SLAVE_NSPB_XFR] = &qxs_nspb_xfr,
2334 [SLAVE_SERVICE_NSPB_NOC] = &service_nspb_noc,
2337 static const struct qcom_icc_desc sc8280xp_nspb_noc = {
2338 .nodes = nspb_noc_nodes,
2339 .num_nodes = ARRAY_SIZE(nspb_noc_nodes),
2340 .bcms = nspb_noc_bcms,
2341 .num_bcms = ARRAY_SIZE(nspb_noc_bcms),
2344 static struct qcom_icc_bcm * const system_noc_main_bcms[] = {
2353 static struct qcom_icc_node * const system_noc_main_nodes[] = {
2354 [MASTER_A1NOC_SNOC] = &qnm_aggre1_noc,
2355 [MASTER_A2NOC_SNOC] = &qnm_aggre2_noc,
2356 [MASTER_USB_NOC_SNOC] = &qnm_aggre_usb_noc,
2357 [MASTER_LPASS_ANOC] = &qnm_lpass_noc,
2358 [MASTER_SNOC_CFG] = &qnm_snoc_cfg,
2359 [MASTER_PIMEM] = &qxm_pimem,
2360 [MASTER_GIC] = &xm_gic,
2361 [SLAVE_SNOC_GEM_NOC_GC] = &qns_gemnoc_gc,
2362 [SLAVE_SNOC_GEM_NOC_SF] = &qns_gemnoc_sf,
2363 [SLAVE_SERVICE_SNOC] = &srvc_snoc,
2366 static const struct qcom_icc_desc sc8280xp_system_noc_main = {
2367 .nodes = system_noc_main_nodes,
2368 .num_nodes = ARRAY_SIZE(system_noc_main_nodes),
2369 .bcms = system_noc_main_bcms,
2370 .num_bcms = ARRAY_SIZE(system_noc_main_bcms),
2373 static const struct of_device_id qnoc_of_match[] = {
2374 { .compatible = "qcom,sc8280xp-aggre1-noc", .data = &sc8280xp_aggre1_noc, },
2375 { .compatible = "qcom,sc8280xp-aggre2-noc", .data = &sc8280xp_aggre2_noc, },
2376 { .compatible = "qcom,sc8280xp-clk-virt", .data = &sc8280xp_clk_virt, },
2377 { .compatible = "qcom,sc8280xp-config-noc", .data = &sc8280xp_config_noc, },
2378 { .compatible = "qcom,sc8280xp-dc-noc", .data = &sc8280xp_dc_noc, },
2379 { .compatible = "qcom,sc8280xp-gem-noc", .data = &sc8280xp_gem_noc, },
2380 { .compatible = "qcom,sc8280xp-lpass-ag-noc", .data = &sc8280xp_lpass_ag_noc, },
2381 { .compatible = "qcom,sc8280xp-mc-virt", .data = &sc8280xp_mc_virt, },
2382 { .compatible = "qcom,sc8280xp-mmss-noc", .data = &sc8280xp_mmss_noc, },
2383 { .compatible = "qcom,sc8280xp-nspa-noc", .data = &sc8280xp_nspa_noc, },
2384 { .compatible = "qcom,sc8280xp-nspb-noc", .data = &sc8280xp_nspb_noc, },
2385 { .compatible = "qcom,sc8280xp-system-noc", .data = &sc8280xp_system_noc_main, },
2388 MODULE_DEVICE_TABLE(of, qnoc_of_match);
2390 static struct platform_driver qnoc_driver = {
2391 .probe = qcom_icc_rpmh_probe,
2392 .remove = qcom_icc_rpmh_remove,
2394 .name = "qnoc-sc8280xp",
2395 .of_match_table = qnoc_of_match,
2396 .sync_state = icc_sync_state,
2400 static int __init qnoc_driver_init(void)
2402 return platform_driver_register(&qnoc_driver);
2404 core_initcall(qnoc_driver_init);
2406 static void __exit qnoc_driver_exit(void)
2408 platform_driver_unregister(&qnoc_driver);
2410 module_exit(qnoc_driver_exit);
2412 MODULE_DESCRIPTION("Qualcomm SC8280XP NoC driver");
2413 MODULE_LICENSE("GPL");