]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
interconnect: qcom: sc7180: convert to dynamic IDs
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 31 Oct 2025 14:45:28 +0000 (16:45 +0200)
committerGeorgi Djakov <djakov@kernel.org>
Sun, 2 Nov 2025 21:17:22 +0000 (23:17 +0200)
Stop using fixed and IDs and covert the platform to use dynamic IDs for
the interconnect. This gives more flexibility and also allows us to drop
the .num_links member, saving from possible errors related to it being
not set or set incorrectly.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251031-rework-icc-v3-12-0575304c9624@oss.qualcomm.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/sc7180.c
drivers/interconnect/qcom/sc7180.h [deleted file]

index af2be15438403e4b46fca464b84abd1e0ebebe76..9f94b987c4448a04dc984ad09b0733c33c9bb76a 100644 (file)
 
 #include "bcm-voter.h"
 #include "icc-rpmh.h"
-#include "sc7180.h"
+
+static struct qcom_icc_node qhm_a1noc_cfg;
+static struct qcom_icc_node qhm_qspi;
+static struct qcom_icc_node qhm_qup_0;
+static struct qcom_icc_node xm_sdc2;
+static struct qcom_icc_node xm_emmc;
+static struct qcom_icc_node xm_ufs_mem;
+static struct qcom_icc_node qhm_a2noc_cfg;
+static struct qcom_icc_node qhm_qdss_bam;
+static struct qcom_icc_node qhm_qup_1;
+static struct qcom_icc_node qxm_crypto;
+static struct qcom_icc_node qxm_ipa;
+static struct qcom_icc_node xm_qdss_etr;
+static struct qcom_icc_node qhm_usb3;
+static struct qcom_icc_node qxm_camnoc_hf0_uncomp;
+static struct qcom_icc_node qxm_camnoc_hf1_uncomp;
+static struct qcom_icc_node qxm_camnoc_sf_uncomp;
+static struct qcom_icc_node qnm_npu;
+static struct qcom_icc_node qxm_npu_dsp;
+static struct qcom_icc_node qnm_snoc;
+static struct qcom_icc_node xm_qdss_dap;
+static struct qcom_icc_node qhm_cnoc_dc_noc;
+static struct qcom_icc_node acm_apps0;
+static struct qcom_icc_node acm_sys_tcu;
+static struct qcom_icc_node qhm_gemnoc_cfg;
+static struct qcom_icc_node qnm_cmpnoc;
+static struct qcom_icc_node qnm_mnoc_hf;
+static struct qcom_icc_node qnm_mnoc_sf;
+static struct qcom_icc_node qnm_snoc_gc;
+static struct qcom_icc_node qnm_snoc_sf;
+static struct qcom_icc_node qxm_gpu;
+static struct qcom_icc_node llcc_mc;
+static struct qcom_icc_node qhm_mnoc_cfg;
+static struct qcom_icc_node qxm_camnoc_hf0;
+static struct qcom_icc_node qxm_camnoc_hf1;
+static struct qcom_icc_node qxm_camnoc_sf;
+static struct qcom_icc_node qxm_mdp0;
+static struct qcom_icc_node qxm_rot;
+static struct qcom_icc_node qxm_venus0;
+static struct qcom_icc_node qxm_venus_arm9;
+static struct qcom_icc_node amm_npu_sys;
+static struct qcom_icc_node qhm_npu_cfg;
+static struct qcom_icc_node qup_core_master_1;
+static struct qcom_icc_node qup_core_master_2;
+static struct qcom_icc_node qhm_snoc_cfg;
+static struct qcom_icc_node qnm_aggre1_noc;
+static struct qcom_icc_node qnm_aggre2_noc;
+static struct qcom_icc_node qnm_gemnoc;
+static struct qcom_icc_node qxm_pimem;
+static struct qcom_icc_node qns_a1noc_snoc;
+static struct qcom_icc_node srvc_aggre1_noc;
+static struct qcom_icc_node qns_a2noc_snoc;
+static struct qcom_icc_node srvc_aggre2_noc;
+static struct qcom_icc_node qns_camnoc_uncomp;
+static struct qcom_icc_node qns_cdsp_gemnoc;
+static struct qcom_icc_node qhs_a1_noc_cfg;
+static struct qcom_icc_node qhs_a2_noc_cfg;
+static struct qcom_icc_node qhs_ahb2phy0;
+static struct qcom_icc_node qhs_ahb2phy2;
+static struct qcom_icc_node qhs_aop;
+static struct qcom_icc_node qhs_aoss;
+static struct qcom_icc_node qhs_boot_rom;
+static struct qcom_icc_node qhs_camera_cfg;
+static struct qcom_icc_node qhs_camera_nrt_throttle_cfg;
+static struct qcom_icc_node qhs_camera_rt_throttle_cfg;
+static struct qcom_icc_node qhs_clk_ctl;
+static struct qcom_icc_node qhs_cpr_cx;
+static struct qcom_icc_node qhs_cpr_mx;
+static struct qcom_icc_node qhs_crypto0_cfg;
+static struct qcom_icc_node qhs_dcc_cfg;
+static struct qcom_icc_node qhs_ddrss_cfg;
+static struct qcom_icc_node qhs_display_cfg;
+static struct qcom_icc_node qhs_display_rt_throttle_cfg;
+static struct qcom_icc_node qhs_display_throttle_cfg;
+static struct qcom_icc_node qhs_emmc_cfg;
+static struct qcom_icc_node qhs_glm;
+static struct qcom_icc_node qhs_gpuss_cfg;
+static struct qcom_icc_node qhs_imem_cfg;
+static struct qcom_icc_node qhs_ipa;
+static struct qcom_icc_node qhs_mnoc_cfg;
+static struct qcom_icc_node qhs_mss_cfg;
+static struct qcom_icc_node qhs_npu_cfg;
+static struct qcom_icc_node qhs_npu_dma_throttle_cfg;
+static struct qcom_icc_node qhs_npu_dsp_throttle_cfg;
+static struct qcom_icc_node qhs_pdm;
+static struct qcom_icc_node qhs_pimem_cfg;
+static struct qcom_icc_node qhs_prng;
+static struct qcom_icc_node qhs_qdss_cfg;
+static struct qcom_icc_node qhs_qm_cfg;
+static struct qcom_icc_node qhs_qm_mpu_cfg;
+static struct qcom_icc_node qhs_qspi;
+static struct qcom_icc_node qhs_qup0;
+static struct qcom_icc_node qhs_qup1;
+static struct qcom_icc_node qhs_sdc2;
+static struct qcom_icc_node qhs_security;
+static struct qcom_icc_node qhs_snoc_cfg;
+static struct qcom_icc_node qhs_tcsr;
+static struct qcom_icc_node qhs_tlmm_1;
+static struct qcom_icc_node qhs_tlmm_2;
+static struct qcom_icc_node qhs_tlmm_3;
+static struct qcom_icc_node qhs_ufs_mem_cfg;
+static struct qcom_icc_node qhs_usb3;
+static struct qcom_icc_node qhs_venus_cfg;
+static struct qcom_icc_node qhs_venus_throttle_cfg;
+static struct qcom_icc_node qhs_vsense_ctrl_cfg;
+static struct qcom_icc_node srvc_cnoc;
+static struct qcom_icc_node qhs_gemnoc;
+static struct qcom_icc_node qhs_llcc;
+static struct qcom_icc_node qhs_mdsp_ms_mpu_cfg;
+static struct qcom_icc_node qns_gem_noc_snoc;
+static struct qcom_icc_node qns_llcc;
+static struct qcom_icc_node srvc_gemnoc;
+static struct qcom_icc_node ebi;
+static struct qcom_icc_node qns_mem_noc_hf;
+static struct qcom_icc_node qns_mem_noc_sf;
+static struct qcom_icc_node srvc_mnoc;
+static struct qcom_icc_node qhs_cal_dp0;
+static struct qcom_icc_node qhs_cp;
+static struct qcom_icc_node qhs_dma_bwmon;
+static struct qcom_icc_node qhs_dpm;
+static struct qcom_icc_node qhs_isense;
+static struct qcom_icc_node qhs_llm;
+static struct qcom_icc_node qhs_tcm;
+static struct qcom_icc_node qns_npu_sys;
+static struct qcom_icc_node srvc_noc;
+static struct qcom_icc_node qup_core_slave_1;
+static struct qcom_icc_node qup_core_slave_2;
+static struct qcom_icc_node qhs_apss;
+static struct qcom_icc_node qns_cnoc;
+static struct qcom_icc_node qns_gemnoc_gc;
+static struct qcom_icc_node qns_gemnoc_sf;
+static struct qcom_icc_node qxs_imem;
+static struct qcom_icc_node qxs_pimem;
+static struct qcom_icc_node srvc_snoc;
+static struct qcom_icc_node xs_qdss_stm;
+static struct qcom_icc_node xs_sys_tcu_cfg;
 
 static struct qcom_icc_node qhm_a1noc_cfg = {
        .name = "qhm_a1noc_cfg",
-       .id = SC7180_MASTER_A1NOC_CFG,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_SLAVE_SERVICE_A1NOC },
+       .link_nodes = { &srvc_aggre1_noc },
 };
 
 static struct qcom_icc_node qhm_qspi = {
        .name = "qhm_qspi",
-       .id = SC7180_MASTER_QSPI,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_SLAVE_A1NOC_SNOC },
+       .link_nodes = { &qns_a1noc_snoc },
 };
 
 static struct qcom_icc_node qhm_qup_0 = {
        .name = "qhm_qup_0",
-       .id = SC7180_MASTER_QUP_0,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_SLAVE_A1NOC_SNOC },
+       .link_nodes = { &qns_a1noc_snoc },
 };
 
 static struct qcom_icc_node xm_sdc2 = {
        .name = "xm_sdc2",
-       .id = SC7180_MASTER_SDCC_2,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_SLAVE_A1NOC_SNOC },
+       .link_nodes = { &qns_a1noc_snoc },
 };
 
 static struct qcom_icc_node xm_emmc = {
        .name = "xm_emmc",
-       .id = SC7180_MASTER_EMMC,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_SLAVE_A1NOC_SNOC },
+       .link_nodes = { &qns_a1noc_snoc },
 };
 
 static struct qcom_icc_node xm_ufs_mem = {
        .name = "xm_ufs_mem",
-       .id = SC7180_MASTER_UFS_MEM,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_SLAVE_A1NOC_SNOC },
+       .link_nodes = { &qns_a1noc_snoc },
 };
 
 static struct qcom_icc_node qhm_a2noc_cfg = {
        .name = "qhm_a2noc_cfg",
-       .id = SC7180_MASTER_A2NOC_CFG,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_SLAVE_SERVICE_A2NOC },
+       .link_nodes = { &srvc_aggre2_noc },
 };
 
 static struct qcom_icc_node qhm_qdss_bam = {
        .name = "qhm_qdss_bam",
-       .id = SC7180_MASTER_QDSS_BAM,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_SLAVE_A2NOC_SNOC },
+       .link_nodes = { &qns_a2noc_snoc },
 };
 
 static struct qcom_icc_node qhm_qup_1 = {
        .name = "qhm_qup_1",
-       .id = SC7180_MASTER_QUP_1,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_SLAVE_A2NOC_SNOC },
+       .link_nodes = { &qns_a2noc_snoc },
 };
 
 static struct qcom_icc_node qxm_crypto = {
        .name = "qxm_crypto",
-       .id = SC7180_MASTER_CRYPTO,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_SLAVE_A2NOC_SNOC },
+       .link_nodes = { &qns_a2noc_snoc },
 };
 
 static struct qcom_icc_node qxm_ipa = {
        .name = "qxm_ipa",
-       .id = SC7180_MASTER_IPA,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_SLAVE_A2NOC_SNOC },
+       .link_nodes = { &qns_a2noc_snoc },
 };
 
 static struct qcom_icc_node xm_qdss_etr = {
        .name = "xm_qdss_etr",
-       .id = SC7180_MASTER_QDSS_ETR,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_SLAVE_A2NOC_SNOC },
+       .link_nodes = { &qns_a2noc_snoc },
 };
 
 static struct qcom_icc_node qhm_usb3 = {
        .name = "qhm_usb3",
-       .id = SC7180_MASTER_USB3,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_SLAVE_A2NOC_SNOC },
+       .link_nodes = { &qns_a2noc_snoc },
 };
 
 static struct qcom_icc_node qxm_camnoc_hf0_uncomp = {
        .name = "qxm_camnoc_hf0_uncomp",
-       .id = SC7180_MASTER_CAMNOC_HF0_UNCOMP,
        .channels = 1,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_SLAVE_CAMNOC_UNCOMP },
+       .link_nodes = { &qns_camnoc_uncomp },
 };
 
 static struct qcom_icc_node qxm_camnoc_hf1_uncomp = {
        .name = "qxm_camnoc_hf1_uncomp",
-       .id = SC7180_MASTER_CAMNOC_HF1_UNCOMP,
        .channels = 1,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_SLAVE_CAMNOC_UNCOMP },
+       .link_nodes = { &qns_camnoc_uncomp },
 };
 
 static struct qcom_icc_node qxm_camnoc_sf_uncomp = {
        .name = "qxm_camnoc_sf_uncomp",
-       .id = SC7180_MASTER_CAMNOC_SF_UNCOMP,
        .channels = 1,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_SLAVE_CAMNOC_UNCOMP },
+       .link_nodes = { &qns_camnoc_uncomp },
 };
 
 static struct qcom_icc_node qnm_npu = {
        .name = "qnm_npu",
-       .id = SC7180_MASTER_NPU,
        .channels = 2,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_SLAVE_CDSP_GEM_NOC },
+       .link_nodes = { &qns_cdsp_gemnoc },
 };
 
 static struct qcom_icc_node qxm_npu_dsp = {
        .name = "qxm_npu_dsp",
-       .id = SC7180_MASTER_NPU_PROC,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_SLAVE_CDSP_GEM_NOC },
+       .link_nodes = { &qns_cdsp_gemnoc },
 };
 
 static struct qcom_icc_node qnm_snoc = {
        .name = "qnm_snoc",
-       .id = SC7180_MASTER_SNOC_CNOC,
        .channels = 1,
        .buswidth = 8,
        .num_links = 51,
-       .links = { SC7180_SLAVE_A1NOC_CFG,
-                  SC7180_SLAVE_A2NOC_CFG,
-                  SC7180_SLAVE_AHB2PHY_SOUTH,
-                  SC7180_SLAVE_AHB2PHY_CENTER,
-                  SC7180_SLAVE_AOP,
-                  SC7180_SLAVE_AOSS,
-                  SC7180_SLAVE_BOOT_ROM,
-                  SC7180_SLAVE_CAMERA_CFG,
-                  SC7180_SLAVE_CAMERA_NRT_THROTTLE_CFG,
-                  SC7180_SLAVE_CAMERA_RT_THROTTLE_CFG,
-                  SC7180_SLAVE_CLK_CTL,
-                  SC7180_SLAVE_RBCPR_CX_CFG,
-                  SC7180_SLAVE_RBCPR_MX_CFG,
-                  SC7180_SLAVE_CRYPTO_0_CFG,
-                  SC7180_SLAVE_DCC_CFG,
-                  SC7180_SLAVE_CNOC_DDRSS,
-                  SC7180_SLAVE_DISPLAY_CFG,
-                  SC7180_SLAVE_DISPLAY_RT_THROTTLE_CFG,
-                  SC7180_SLAVE_DISPLAY_THROTTLE_CFG,
-                  SC7180_SLAVE_EMMC_CFG,
-                  SC7180_SLAVE_GLM,
-                  SC7180_SLAVE_GFX3D_CFG,
-                  SC7180_SLAVE_IMEM_CFG,
-                  SC7180_SLAVE_IPA_CFG,
-                  SC7180_SLAVE_CNOC_MNOC_CFG,
-                  SC7180_SLAVE_CNOC_MSS,
-                  SC7180_SLAVE_NPU_CFG,
-                  SC7180_SLAVE_NPU_DMA_BWMON_CFG,
-                  SC7180_SLAVE_NPU_PROC_BWMON_CFG,
-                  SC7180_SLAVE_PDM,
-                  SC7180_SLAVE_PIMEM_CFG,
-                  SC7180_SLAVE_PRNG,
-                  SC7180_SLAVE_QDSS_CFG,
-                  SC7180_SLAVE_QM_CFG,
-                  SC7180_SLAVE_QM_MPU_CFG,
-                  SC7180_SLAVE_QSPI_0,
-                  SC7180_SLAVE_QUP_0,
-                  SC7180_SLAVE_QUP_1,
-                  SC7180_SLAVE_SDCC_2,
-                  SC7180_SLAVE_SECURITY,
-                  SC7180_SLAVE_SNOC_CFG,
-                  SC7180_SLAVE_TCSR,
-                  SC7180_SLAVE_TLMM_WEST,
-                  SC7180_SLAVE_TLMM_NORTH,
-                  SC7180_SLAVE_TLMM_SOUTH,
-                  SC7180_SLAVE_UFS_MEM_CFG,
-                  SC7180_SLAVE_USB3,
-                  SC7180_SLAVE_VENUS_CFG,
-                  SC7180_SLAVE_VENUS_THROTTLE_CFG,
-                  SC7180_SLAVE_VSENSE_CTRL_CFG,
-                  SC7180_SLAVE_SERVICE_CNOC
-       },
+       .link_nodes = { &qhs_a1_noc_cfg,
+                       &qhs_a2_noc_cfg,
+                       &qhs_ahb2phy0,
+                       &qhs_ahb2phy2,
+                       &qhs_aop,
+                       &qhs_aoss,
+                       &qhs_boot_rom,
+                       &qhs_camera_cfg,
+                       &qhs_camera_nrt_throttle_cfg,
+                       &qhs_camera_rt_throttle_cfg,
+                       &qhs_clk_ctl,
+                       &qhs_cpr_cx,
+                       &qhs_cpr_mx,
+                       &qhs_crypto0_cfg,
+                       &qhs_dcc_cfg,
+                       &qhs_ddrss_cfg,
+                       &qhs_display_cfg,
+                       &qhs_display_rt_throttle_cfg,
+                       &qhs_display_throttle_cfg,
+                       &qhs_emmc_cfg,
+                       &qhs_glm,
+                       &qhs_gpuss_cfg,
+                       &qhs_imem_cfg,
+                       &qhs_ipa,
+                       &qhs_mnoc_cfg,
+                       &qhs_mss_cfg,
+                       &qhs_npu_cfg,
+                       &qhs_npu_dma_throttle_cfg,
+                       &qhs_npu_dsp_throttle_cfg,
+                       &qhs_pdm,
+                       &qhs_pimem_cfg,
+                       &qhs_prng,
+                       &qhs_qdss_cfg,
+                       &qhs_qm_cfg,
+                       &qhs_qm_mpu_cfg,
+                       &qhs_qspi,
+                       &qhs_qup0,
+                       &qhs_qup1,
+                       &qhs_sdc2,
+                       &qhs_security,
+                       &qhs_snoc_cfg,
+                       &qhs_tcsr,
+                       &qhs_tlmm_1,
+                       &qhs_tlmm_2,
+                       &qhs_tlmm_3,
+                       &qhs_ufs_mem_cfg,
+                       &qhs_usb3,
+                       &qhs_venus_cfg,
+                       &qhs_venus_throttle_cfg,
+                       &qhs_vsense_ctrl_cfg,
+                       &srvc_cnoc },
 };
 
 static struct qcom_icc_node xm_qdss_dap = {
        .name = "xm_qdss_dap",
-       .id = SC7180_MASTER_QDSS_DAP,
        .channels = 1,
        .buswidth = 8,
        .num_links = 51,
-       .links = { SC7180_SLAVE_A1NOC_CFG,
-                  SC7180_SLAVE_A2NOC_CFG,
-                  SC7180_SLAVE_AHB2PHY_SOUTH,
-                  SC7180_SLAVE_AHB2PHY_CENTER,
-                  SC7180_SLAVE_AOP,
-                  SC7180_SLAVE_AOSS,
-                  SC7180_SLAVE_BOOT_ROM,
-                  SC7180_SLAVE_CAMERA_CFG,
-                  SC7180_SLAVE_CAMERA_NRT_THROTTLE_CFG,
-                  SC7180_SLAVE_CAMERA_RT_THROTTLE_CFG,
-                  SC7180_SLAVE_CLK_CTL,
-                  SC7180_SLAVE_RBCPR_CX_CFG,
-                  SC7180_SLAVE_RBCPR_MX_CFG,
-                  SC7180_SLAVE_CRYPTO_0_CFG,
-                  SC7180_SLAVE_DCC_CFG,
-                  SC7180_SLAVE_CNOC_DDRSS,
-                  SC7180_SLAVE_DISPLAY_CFG,
-                  SC7180_SLAVE_DISPLAY_RT_THROTTLE_CFG,
-                  SC7180_SLAVE_DISPLAY_THROTTLE_CFG,
-                  SC7180_SLAVE_EMMC_CFG,
-                  SC7180_SLAVE_GLM,
-                  SC7180_SLAVE_GFX3D_CFG,
-                  SC7180_SLAVE_IMEM_CFG,
-                  SC7180_SLAVE_IPA_CFG,
-                  SC7180_SLAVE_CNOC_MNOC_CFG,
-                  SC7180_SLAVE_CNOC_MSS,
-                  SC7180_SLAVE_NPU_CFG,
-                  SC7180_SLAVE_NPU_DMA_BWMON_CFG,
-                  SC7180_SLAVE_NPU_PROC_BWMON_CFG,
-                  SC7180_SLAVE_PDM,
-                  SC7180_SLAVE_PIMEM_CFG,
-                  SC7180_SLAVE_PRNG,
-                  SC7180_SLAVE_QDSS_CFG,
-                  SC7180_SLAVE_QM_CFG,
-                  SC7180_SLAVE_QM_MPU_CFG,
-                  SC7180_SLAVE_QSPI_0,
-                  SC7180_SLAVE_QUP_0,
-                  SC7180_SLAVE_QUP_1,
-                  SC7180_SLAVE_SDCC_2,
-                  SC7180_SLAVE_SECURITY,
-                  SC7180_SLAVE_SNOC_CFG,
-                  SC7180_SLAVE_TCSR,
-                  SC7180_SLAVE_TLMM_WEST,
-                  SC7180_SLAVE_TLMM_NORTH,
-                  SC7180_SLAVE_TLMM_SOUTH,
-                  SC7180_SLAVE_UFS_MEM_CFG,
-                  SC7180_SLAVE_USB3,
-                  SC7180_SLAVE_VENUS_CFG,
-                  SC7180_SLAVE_VENUS_THROTTLE_CFG,
-                  SC7180_SLAVE_VSENSE_CTRL_CFG,
-                  SC7180_SLAVE_SERVICE_CNOC
-       },
+       .link_nodes = { &qhs_a1_noc_cfg,
+                       &qhs_a2_noc_cfg,
+                       &qhs_ahb2phy0,
+                       &qhs_ahb2phy2,
+                       &qhs_aop,
+                       &qhs_aoss,
+                       &qhs_boot_rom,
+                       &qhs_camera_cfg,
+                       &qhs_camera_nrt_throttle_cfg,
+                       &qhs_camera_rt_throttle_cfg,
+                       &qhs_clk_ctl,
+                       &qhs_cpr_cx,
+                       &qhs_cpr_mx,
+                       &qhs_crypto0_cfg,
+                       &qhs_dcc_cfg,
+                       &qhs_ddrss_cfg,
+                       &qhs_display_cfg,
+                       &qhs_display_rt_throttle_cfg,
+                       &qhs_display_throttle_cfg,
+                       &qhs_emmc_cfg,
+                       &qhs_glm,
+                       &qhs_gpuss_cfg,
+                       &qhs_imem_cfg,
+                       &qhs_ipa,
+                       &qhs_mnoc_cfg,
+                       &qhs_mss_cfg,
+                       &qhs_npu_cfg,
+                       &qhs_npu_dma_throttle_cfg,
+                       &qhs_npu_dsp_throttle_cfg,
+                       &qhs_pdm,
+                       &qhs_pimem_cfg,
+                       &qhs_prng,
+                       &qhs_qdss_cfg,
+                       &qhs_qm_cfg,
+                       &qhs_qm_mpu_cfg,
+                       &qhs_qspi,
+                       &qhs_qup0,
+                       &qhs_qup1,
+                       &qhs_sdc2,
+                       &qhs_security,
+                       &qhs_snoc_cfg,
+                       &qhs_tcsr,
+                       &qhs_tlmm_1,
+                       &qhs_tlmm_2,
+                       &qhs_tlmm_3,
+                       &qhs_ufs_mem_cfg,
+                       &qhs_usb3,
+                       &qhs_venus_cfg,
+                       &qhs_venus_throttle_cfg,
+                       &qhs_vsense_ctrl_cfg,
+                       &srvc_cnoc },
 };
 
 static struct qcom_icc_node qhm_cnoc_dc_noc = {
        .name = "qhm_cnoc_dc_noc",
-       .id = SC7180_MASTER_CNOC_DC_NOC,
        .channels = 1,
        .buswidth = 4,
        .num_links = 2,
-       .links = { SC7180_SLAVE_GEM_NOC_CFG,
-                  SC7180_SLAVE_LLCC_CFG
-       },
+       .link_nodes = { &qhs_gemnoc,
+                       &qhs_llcc },
 };
 
 static struct qcom_icc_node acm_apps0 = {
        .name = "acm_apps0",
-       .id = SC7180_MASTER_APPSS_PROC,
        .channels = 1,
        .buswidth = 16,
        .num_links = 2,
-       .links = { SC7180_SLAVE_GEM_NOC_SNOC,
-                  SC7180_SLAVE_LLCC
-       },
+       .link_nodes = { &qns_gem_noc_snoc,
+                       &qns_llcc },
 };
 
 static struct qcom_icc_node acm_sys_tcu = {
        .name = "acm_sys_tcu",
-       .id = SC7180_MASTER_SYS_TCU,
        .channels = 1,
        .buswidth = 8,
        .num_links = 2,
-       .links = { SC7180_SLAVE_GEM_NOC_SNOC,
-                  SC7180_SLAVE_LLCC
-       },
+       .link_nodes = { &qns_gem_noc_snoc,
+                       &qns_llcc },
 };
 
 static struct qcom_icc_node qhm_gemnoc_cfg = {
        .name = "qhm_gemnoc_cfg",
-       .id = SC7180_MASTER_GEM_NOC_CFG,
        .channels = 1,
        .buswidth = 4,
        .num_links = 2,
-       .links = { SC7180_SLAVE_MSS_PROC_MS_MPU_CFG,
-                  SC7180_SLAVE_SERVICE_GEM_NOC
-       },
+       .link_nodes = { &qhs_mdsp_ms_mpu_cfg,
+                       &srvc_gemnoc },
 };
 
 static struct qcom_icc_node qnm_cmpnoc = {
        .name = "qnm_cmpnoc",
-       .id = SC7180_MASTER_COMPUTE_NOC,
        .channels = 1,
        .buswidth = 32,
        .num_links = 2,
-       .links = { SC7180_SLAVE_GEM_NOC_SNOC,
-                  SC7180_SLAVE_LLCC
-       },
+       .link_nodes = { &qns_gem_noc_snoc,
+                       &qns_llcc },
 };
 
 static struct qcom_icc_node qnm_mnoc_hf = {
        .name = "qnm_mnoc_hf",
-       .id = SC7180_MASTER_MNOC_HF_MEM_NOC,
        .channels = 1,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_SLAVE_LLCC },
+       .link_nodes = { &qns_llcc },
 };
 
 static struct qcom_icc_node qnm_mnoc_sf = {
        .name = "qnm_mnoc_sf",
-       .id = SC7180_MASTER_MNOC_SF_MEM_NOC,
        .channels = 1,
        .buswidth = 32,
        .num_links = 2,
-       .links = { SC7180_SLAVE_GEM_NOC_SNOC,
-                  SC7180_SLAVE_LLCC
-       },
+       .link_nodes = { &qns_gem_noc_snoc,
+                       &qns_llcc },
 };
 
 static struct qcom_icc_node qnm_snoc_gc = {
        .name = "qnm_snoc_gc",
-       .id = SC7180_MASTER_SNOC_GC_MEM_NOC,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_SLAVE_LLCC },
+       .link_nodes = { &qns_llcc },
 };
 
 static struct qcom_icc_node qnm_snoc_sf = {
        .name = "qnm_snoc_sf",
-       .id = SC7180_MASTER_SNOC_SF_MEM_NOC,
        .channels = 1,
        .buswidth = 16,
        .num_links = 1,
-       .links = { SC7180_SLAVE_LLCC },
+       .link_nodes = { &qns_llcc },
 };
 
 static struct qcom_icc_node qxm_gpu = {
        .name = "qxm_gpu",
-       .id = SC7180_MASTER_GFX3D,
        .channels = 2,
        .buswidth = 32,
        .num_links = 2,
-       .links = { SC7180_SLAVE_GEM_NOC_SNOC,
-                  SC7180_SLAVE_LLCC
-       },
+       .link_nodes = { &qns_gem_noc_snoc,
+                       &qns_llcc },
 };
 
 static struct qcom_icc_node llcc_mc = {
        .name = "llcc_mc",
-       .id = SC7180_MASTER_LLCC,
        .channels = 2,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_SLAVE_EBI1 },
+       .link_nodes = { &ebi },
 };
 
 static struct qcom_icc_node qhm_mnoc_cfg = {
        .name = "qhm_mnoc_cfg",
-       .id = SC7180_MASTER_CNOC_MNOC_CFG,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_SLAVE_SERVICE_MNOC },
+       .link_nodes = { &srvc_mnoc },
 };
 
 static struct qcom_icc_node qxm_camnoc_hf0 = {
        .name = "qxm_camnoc_hf0",
-       .id = SC7180_MASTER_CAMNOC_HF0,
        .channels = 2,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_SLAVE_MNOC_HF_MEM_NOC },
+       .link_nodes = { &qns_mem_noc_hf },
 };
 
 static struct qcom_icc_node qxm_camnoc_hf1 = {
        .name = "qxm_camnoc_hf1",
-       .id = SC7180_MASTER_CAMNOC_HF1,
        .channels = 2,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_SLAVE_MNOC_HF_MEM_NOC },
+       .link_nodes = { &qns_mem_noc_hf },
 };
 
 static struct qcom_icc_node qxm_camnoc_sf = {
        .name = "qxm_camnoc_sf",
-       .id = SC7180_MASTER_CAMNOC_SF,
        .channels = 1,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_SLAVE_MNOC_SF_MEM_NOC },
+       .link_nodes = { &qns_mem_noc_sf },
 };
 
 static struct qcom_icc_node qxm_mdp0 = {
        .name = "qxm_mdp0",
-       .id = SC7180_MASTER_MDP0,
        .channels = 1,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_SLAVE_MNOC_HF_MEM_NOC },
+       .link_nodes = { &qns_mem_noc_hf },
 };
 
 static struct qcom_icc_node qxm_rot = {
        .name = "qxm_rot",
-       .id = SC7180_MASTER_ROTATOR,
        .channels = 1,
        .buswidth = 16,
        .num_links = 1,
-       .links = { SC7180_SLAVE_MNOC_SF_MEM_NOC },
+       .link_nodes = { &qns_mem_noc_sf },
 };
 
 static struct qcom_icc_node qxm_venus0 = {
        .name = "qxm_venus0",
-       .id = SC7180_MASTER_VIDEO_P0,
        .channels = 1,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_SLAVE_MNOC_SF_MEM_NOC },
+       .link_nodes = { &qns_mem_noc_sf },
 };
 
 static struct qcom_icc_node qxm_venus_arm9 = {
        .name = "qxm_venus_arm9",
-       .id = SC7180_MASTER_VIDEO_PROC,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_SLAVE_MNOC_SF_MEM_NOC },
+       .link_nodes = { &qns_mem_noc_sf },
 };
 
 static struct qcom_icc_node amm_npu_sys = {
        .name = "amm_npu_sys",
-       .id = SC7180_MASTER_NPU_SYS,
        .channels = 2,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_SLAVE_NPU_COMPUTE_NOC },
+       .link_nodes = { &qns_npu_sys },
 };
 
 static struct qcom_icc_node qhm_npu_cfg = {
        .name = "qhm_npu_cfg",
-       .id = SC7180_MASTER_NPU_NOC_CFG,
        .channels = 1,
        .buswidth = 4,
        .num_links = 8,
-       .links = { SC7180_SLAVE_NPU_CAL_DP0,
-                  SC7180_SLAVE_NPU_CP,
-                  SC7180_SLAVE_NPU_INT_DMA_BWMON_CFG,
-                  SC7180_SLAVE_NPU_DPM,
-                  SC7180_SLAVE_ISENSE_CFG,
-                  SC7180_SLAVE_NPU_LLM_CFG,
-                  SC7180_SLAVE_NPU_TCM,
-                  SC7180_SLAVE_SERVICE_NPU_NOC
-       },
+       .link_nodes = { &qhs_cal_dp0,
+                       &qhs_cp,
+                       &qhs_dma_bwmon,
+                       &qhs_dpm,
+                       &qhs_isense,
+                       &qhs_llm,
+                       &qhs_tcm,
+                       &srvc_noc },
 };
 
 static struct qcom_icc_node qup_core_master_1 = {
        .name = "qup_core_master_1",
-       .id = SC7180_MASTER_QUP_CORE_0,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_SLAVE_QUP_CORE_0 },
+       .link_nodes = { &qup_core_slave_1 },
 };
 
 static struct qcom_icc_node qup_core_master_2 = {
        .name = "qup_core_master_2",
-       .id = SC7180_MASTER_QUP_CORE_1,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_SLAVE_QUP_CORE_1 },
+       .link_nodes = { &qup_core_slave_2 },
 };
 
 static struct qcom_icc_node qhm_snoc_cfg = {
        .name = "qhm_snoc_cfg",
-       .id = SC7180_MASTER_SNOC_CFG,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_SLAVE_SERVICE_SNOC },
+       .link_nodes = { &srvc_snoc },
 };
 
 static struct qcom_icc_node qnm_aggre1_noc = {
        .name = "qnm_aggre1_noc",
-       .id = SC7180_MASTER_A1NOC_SNOC,
        .channels = 1,
        .buswidth = 16,
        .num_links = 6,
-       .links = { SC7180_SLAVE_APPSS,
-                  SC7180_SLAVE_SNOC_CNOC,
-                  SC7180_SLAVE_SNOC_GEM_NOC_SF,
-                  SC7180_SLAVE_IMEM,
-                  SC7180_SLAVE_PIMEM,
-                  SC7180_SLAVE_QDSS_STM
-       },
+       .link_nodes = { &qhs_apss,
+                       &qns_cnoc,
+                       &qns_gemnoc_sf,
+                       &qxs_imem,
+                       &qxs_pimem,
+                       &xs_qdss_stm },
 };
 
 static struct qcom_icc_node qnm_aggre2_noc = {
        .name = "qnm_aggre2_noc",
-       .id = SC7180_MASTER_A2NOC_SNOC,
        .channels = 1,
        .buswidth = 16,
        .num_links = 7,
-       .links = { SC7180_SLAVE_APPSS,
-                  SC7180_SLAVE_SNOC_CNOC,
-                  SC7180_SLAVE_SNOC_GEM_NOC_SF,
-                  SC7180_SLAVE_IMEM,
-                  SC7180_SLAVE_PIMEM,
-                  SC7180_SLAVE_QDSS_STM,
-                  SC7180_SLAVE_TCU
-       },
+       .link_nodes = { &qhs_apss,
+                       &qns_cnoc,
+                       &qns_gemnoc_sf,
+                       &qxs_imem,
+                       &qxs_pimem,
+                       &xs_qdss_stm,
+                       &xs_sys_tcu_cfg },
 };
 
 static struct qcom_icc_node qnm_gemnoc = {
        .name = "qnm_gemnoc",
-       .id = SC7180_MASTER_GEM_NOC_SNOC,
        .channels = 1,
        .buswidth = 8,
        .num_links = 6,
-       .links = { SC7180_SLAVE_APPSS,
-                  SC7180_SLAVE_SNOC_CNOC,
-                  SC7180_SLAVE_IMEM,
-                  SC7180_SLAVE_PIMEM,
-                  SC7180_SLAVE_QDSS_STM,
-                  SC7180_SLAVE_TCU
-       },
+       .link_nodes = { &qhs_apss,
+                       &qns_cnoc,
+                       &qxs_imem,
+                       &qxs_pimem,
+                       &xs_qdss_stm,
+                       &xs_sys_tcu_cfg },
 };
 
 static struct qcom_icc_node qxm_pimem = {
        .name = "qxm_pimem",
-       .id = SC7180_MASTER_PIMEM,
        .channels = 1,
        .buswidth = 8,
        .num_links = 2,
-       .links = { SC7180_SLAVE_SNOC_GEM_NOC_GC,
-                  SC7180_SLAVE_IMEM
-       },
+       .link_nodes = { &qns_gemnoc_gc,
+                       &qxs_imem },
 };
 
 static struct qcom_icc_node qns_a1noc_snoc = {
        .name = "qns_a1noc_snoc",
-       .id = SC7180_SLAVE_A1NOC_SNOC,
        .channels = 1,
        .buswidth = 16,
        .num_links = 1,
-       .links = { SC7180_MASTER_A1NOC_SNOC },
+       .link_nodes = { &qnm_aggre1_noc },
 };
 
 static struct qcom_icc_node srvc_aggre1_noc = {
        .name = "srvc_aggre1_noc",
-       .id = SC7180_SLAVE_SERVICE_A1NOC,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qns_a2noc_snoc = {
        .name = "qns_a2noc_snoc",
-       .id = SC7180_SLAVE_A2NOC_SNOC,
        .channels = 1,
        .buswidth = 16,
        .num_links = 1,
-       .links = { SC7180_MASTER_A2NOC_SNOC },
+       .link_nodes = { &qnm_aggre2_noc },
 };
 
 static struct qcom_icc_node srvc_aggre2_noc = {
        .name = "srvc_aggre2_noc",
-       .id = SC7180_SLAVE_SERVICE_A2NOC,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qns_camnoc_uncomp = {
        .name = "qns_camnoc_uncomp",
-       .id = SC7180_SLAVE_CAMNOC_UNCOMP,
        .channels = 1,
        .buswidth = 32,
 };
 
 static struct qcom_icc_node qns_cdsp_gemnoc = {
        .name = "qns_cdsp_gemnoc",
-       .id = SC7180_SLAVE_CDSP_GEM_NOC,
        .channels = 1,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_MASTER_COMPUTE_NOC },
+       .link_nodes = { &qnm_cmpnoc },
 };
 
 static struct qcom_icc_node qhs_a1_noc_cfg = {
        .name = "qhs_a1_noc_cfg",
-       .id = SC7180_SLAVE_A1NOC_CFG,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_MASTER_A1NOC_CFG },
+       .link_nodes = { &qhm_a1noc_cfg },
 };
 
 static struct qcom_icc_node qhs_a2_noc_cfg = {
        .name = "qhs_a2_noc_cfg",
-       .id = SC7180_SLAVE_A2NOC_CFG,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_MASTER_A2NOC_CFG },
+       .link_nodes = { &qhm_a2noc_cfg },
 };
 
 static struct qcom_icc_node qhs_ahb2phy0 = {
        .name = "qhs_ahb2phy0",
-       .id = SC7180_SLAVE_AHB2PHY_SOUTH,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_ahb2phy2 = {
        .name = "qhs_ahb2phy2",
-       .id = SC7180_SLAVE_AHB2PHY_CENTER,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_aop = {
        .name = "qhs_aop",
-       .id = SC7180_SLAVE_AOP,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_aoss = {
        .name = "qhs_aoss",
-       .id = SC7180_SLAVE_AOSS,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_boot_rom = {
        .name = "qhs_boot_rom",
-       .id = SC7180_SLAVE_BOOT_ROM,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_camera_cfg = {
        .name = "qhs_camera_cfg",
-       .id = SC7180_SLAVE_CAMERA_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_camera_nrt_throttle_cfg = {
        .name = "qhs_camera_nrt_throttle_cfg",
-       .id = SC7180_SLAVE_CAMERA_NRT_THROTTLE_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_camera_rt_throttle_cfg = {
        .name = "qhs_camera_rt_throttle_cfg",
-       .id = SC7180_SLAVE_CAMERA_RT_THROTTLE_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_clk_ctl = {
        .name = "qhs_clk_ctl",
-       .id = SC7180_SLAVE_CLK_CTL,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_cpr_cx = {
        .name = "qhs_cpr_cx",
-       .id = SC7180_SLAVE_RBCPR_CX_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_cpr_mx = {
        .name = "qhs_cpr_mx",
-       .id = SC7180_SLAVE_RBCPR_MX_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_crypto0_cfg = {
        .name = "qhs_crypto0_cfg",
-       .id = SC7180_SLAVE_CRYPTO_0_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_dcc_cfg = {
        .name = "qhs_dcc_cfg",
-       .id = SC7180_SLAVE_DCC_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_ddrss_cfg = {
        .name = "qhs_ddrss_cfg",
-       .id = SC7180_SLAVE_CNOC_DDRSS,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_MASTER_CNOC_DC_NOC },
+       .link_nodes = { &qhm_cnoc_dc_noc },
 };
 
 static struct qcom_icc_node qhs_display_cfg = {
        .name = "qhs_display_cfg",
-       .id = SC7180_SLAVE_DISPLAY_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_display_rt_throttle_cfg = {
        .name = "qhs_display_rt_throttle_cfg",
-       .id = SC7180_SLAVE_DISPLAY_RT_THROTTLE_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_display_throttle_cfg = {
        .name = "qhs_display_throttle_cfg",
-       .id = SC7180_SLAVE_DISPLAY_THROTTLE_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_emmc_cfg = {
        .name = "qhs_emmc_cfg",
-       .id = SC7180_SLAVE_EMMC_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_glm = {
        .name = "qhs_glm",
-       .id = SC7180_SLAVE_GLM,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_gpuss_cfg = {
        .name = "qhs_gpuss_cfg",
-       .id = SC7180_SLAVE_GFX3D_CFG,
        .channels = 1,
        .buswidth = 8,
 };
 
 static struct qcom_icc_node qhs_imem_cfg = {
        .name = "qhs_imem_cfg",
-       .id = SC7180_SLAVE_IMEM_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_ipa = {
        .name = "qhs_ipa",
-       .id = SC7180_SLAVE_IPA_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_mnoc_cfg = {
        .name = "qhs_mnoc_cfg",
-       .id = SC7180_SLAVE_CNOC_MNOC_CFG,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_MASTER_CNOC_MNOC_CFG },
+       .link_nodes = { &qhm_mnoc_cfg },
 };
 
 static struct qcom_icc_node qhs_mss_cfg = {
        .name = "qhs_mss_cfg",
-       .id = SC7180_SLAVE_CNOC_MSS,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_npu_cfg = {
        .name = "qhs_npu_cfg",
-       .id = SC7180_SLAVE_NPU_CFG,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_MASTER_NPU_NOC_CFG },
+       .link_nodes = { &qhm_npu_cfg },
 };
 
 static struct qcom_icc_node qhs_npu_dma_throttle_cfg = {
        .name = "qhs_npu_dma_throttle_cfg",
-       .id = SC7180_SLAVE_NPU_DMA_BWMON_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_npu_dsp_throttle_cfg = {
        .name = "qhs_npu_dsp_throttle_cfg",
-       .id = SC7180_SLAVE_NPU_PROC_BWMON_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_pdm = {
        .name = "qhs_pdm",
-       .id = SC7180_SLAVE_PDM,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_pimem_cfg = {
        .name = "qhs_pimem_cfg",
-       .id = SC7180_SLAVE_PIMEM_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_prng = {
        .name = "qhs_prng",
-       .id = SC7180_SLAVE_PRNG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_qdss_cfg = {
        .name = "qhs_qdss_cfg",
-       .id = SC7180_SLAVE_QDSS_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_qm_cfg = {
        .name = "qhs_qm_cfg",
-       .id = SC7180_SLAVE_QM_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_qm_mpu_cfg = {
        .name = "qhs_qm_mpu_cfg",
-       .id = SC7180_SLAVE_QM_MPU_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_qspi = {
        .name = "qhs_qspi",
-       .id = SC7180_SLAVE_QSPI_0,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_qup0 = {
        .name = "qhs_qup0",
-       .id = SC7180_SLAVE_QUP_0,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_qup1 = {
        .name = "qhs_qup1",
-       .id = SC7180_SLAVE_QUP_1,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_sdc2 = {
        .name = "qhs_sdc2",
-       .id = SC7180_SLAVE_SDCC_2,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_security = {
        .name = "qhs_security",
-       .id = SC7180_SLAVE_SECURITY,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_snoc_cfg = {
        .name = "qhs_snoc_cfg",
-       .id = SC7180_SLAVE_SNOC_CFG,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_MASTER_SNOC_CFG },
+       .link_nodes = { &qhm_snoc_cfg },
 };
 
 static struct qcom_icc_node qhs_tcsr = {
        .name = "qhs_tcsr",
-       .id = SC7180_SLAVE_TCSR,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_tlmm_1 = {
        .name = "qhs_tlmm_1",
-       .id = SC7180_SLAVE_TLMM_WEST,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_tlmm_2 = {
        .name = "qhs_tlmm_2",
-       .id = SC7180_SLAVE_TLMM_NORTH,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_tlmm_3 = {
        .name = "qhs_tlmm_3",
-       .id = SC7180_SLAVE_TLMM_SOUTH,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_ufs_mem_cfg = {
        .name = "qhs_ufs_mem_cfg",
-       .id = SC7180_SLAVE_UFS_MEM_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_usb3 = {
        .name = "qhs_usb3",
-       .id = SC7180_SLAVE_USB3,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_venus_cfg = {
        .name = "qhs_venus_cfg",
-       .id = SC7180_SLAVE_VENUS_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_venus_throttle_cfg = {
        .name = "qhs_venus_throttle_cfg",
-       .id = SC7180_SLAVE_VENUS_THROTTLE_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_vsense_ctrl_cfg = {
        .name = "qhs_vsense_ctrl_cfg",
-       .id = SC7180_SLAVE_VSENSE_CTRL_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node srvc_cnoc = {
        .name = "srvc_cnoc",
-       .id = SC7180_SLAVE_SERVICE_CNOC,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_gemnoc = {
        .name = "qhs_gemnoc",
-       .id = SC7180_SLAVE_GEM_NOC_CFG,
        .channels = 1,
        .buswidth = 4,
        .num_links = 1,
-       .links = { SC7180_MASTER_GEM_NOC_CFG },
+       .link_nodes = { &qhm_gemnoc_cfg },
 };
 
 static struct qcom_icc_node qhs_llcc = {
        .name = "qhs_llcc",
-       .id = SC7180_SLAVE_LLCC_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_mdsp_ms_mpu_cfg = {
        .name = "qhs_mdsp_ms_mpu_cfg",
-       .id = SC7180_SLAVE_MSS_PROC_MS_MPU_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qns_gem_noc_snoc = {
        .name = "qns_gem_noc_snoc",
-       .id = SC7180_SLAVE_GEM_NOC_SNOC,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_MASTER_GEM_NOC_SNOC },
+       .link_nodes = { &qnm_gemnoc },
 };
 
 static struct qcom_icc_node qns_llcc = {
        .name = "qns_llcc",
-       .id = SC7180_SLAVE_LLCC,
        .channels = 1,
        .buswidth = 16,
        .num_links = 1,
-       .links = { SC7180_MASTER_LLCC },
+       .link_nodes = { &llcc_mc },
 };
 
 static struct qcom_icc_node srvc_gemnoc = {
        .name = "srvc_gemnoc",
-       .id = SC7180_SLAVE_SERVICE_GEM_NOC,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node ebi = {
        .name = "ebi",
-       .id = SC7180_SLAVE_EBI1,
        .channels = 2,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qns_mem_noc_hf = {
        .name = "qns_mem_noc_hf",
-       .id = SC7180_SLAVE_MNOC_HF_MEM_NOC,
        .channels = 1,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_MASTER_MNOC_HF_MEM_NOC },
+       .link_nodes = { &qnm_mnoc_hf },
 };
 
 static struct qcom_icc_node qns_mem_noc_sf = {
        .name = "qns_mem_noc_sf",
-       .id = SC7180_SLAVE_MNOC_SF_MEM_NOC,
        .channels = 1,
        .buswidth = 32,
        .num_links = 1,
-       .links = { SC7180_MASTER_MNOC_SF_MEM_NOC },
+       .link_nodes = { &qnm_mnoc_sf },
 };
 
 static struct qcom_icc_node srvc_mnoc = {
        .name = "srvc_mnoc",
-       .id = SC7180_SLAVE_SERVICE_MNOC,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_cal_dp0 = {
        .name = "qhs_cal_dp0",
-       .id = SC7180_SLAVE_NPU_CAL_DP0,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_cp = {
        .name = "qhs_cp",
-       .id = SC7180_SLAVE_NPU_CP,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_dma_bwmon = {
        .name = "qhs_dma_bwmon",
-       .id = SC7180_SLAVE_NPU_INT_DMA_BWMON_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_dpm = {
        .name = "qhs_dpm",
-       .id = SC7180_SLAVE_NPU_DPM,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_isense = {
        .name = "qhs_isense",
-       .id = SC7180_SLAVE_ISENSE_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_llm = {
        .name = "qhs_llm",
-       .id = SC7180_SLAVE_NPU_LLM_CFG,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_tcm = {
        .name = "qhs_tcm",
-       .id = SC7180_SLAVE_NPU_TCM,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qns_npu_sys = {
        .name = "qns_npu_sys",
-       .id = SC7180_SLAVE_NPU_COMPUTE_NOC,
        .channels = 2,
        .buswidth = 32,
 };
 
 static struct qcom_icc_node srvc_noc = {
        .name = "srvc_noc",
-       .id = SC7180_SLAVE_SERVICE_NPU_NOC,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qup_core_slave_1 = {
        .name = "qup_core_slave_1",
-       .id = SC7180_SLAVE_QUP_CORE_0,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qup_core_slave_2 = {
        .name = "qup_core_slave_2",
-       .id = SC7180_SLAVE_QUP_CORE_1,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node qhs_apss = {
        .name = "qhs_apss",
-       .id = SC7180_SLAVE_APPSS,
        .channels = 1,
        .buswidth = 8,
 };
 
 static struct qcom_icc_node qns_cnoc = {
        .name = "qns_cnoc",
-       .id = SC7180_SLAVE_SNOC_CNOC,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_MASTER_SNOC_CNOC },
+       .link_nodes = { &qnm_snoc },
 };
 
 static struct qcom_icc_node qns_gemnoc_gc = {
        .name = "qns_gemnoc_gc",
-       .id = SC7180_SLAVE_SNOC_GEM_NOC_GC,
        .channels = 1,
        .buswidth = 8,
        .num_links = 1,
-       .links = { SC7180_MASTER_SNOC_GC_MEM_NOC },
+       .link_nodes = { &qnm_snoc_gc },
 };
 
 static struct qcom_icc_node qns_gemnoc_sf = {
        .name = "qns_gemnoc_sf",
-       .id = SC7180_SLAVE_SNOC_GEM_NOC_SF,
        .channels = 1,
        .buswidth = 16,
        .num_links = 1,
-       .links = { SC7180_MASTER_SNOC_SF_MEM_NOC },
+       .link_nodes = { &qnm_snoc_sf },
 };
 
 static struct qcom_icc_node qxs_imem = {
        .name = "qxs_imem",
-       .id = SC7180_SLAVE_IMEM,
        .channels = 1,
        .buswidth = 8,
 };
 
 static struct qcom_icc_node qxs_pimem = {
        .name = "qxs_pimem",
-       .id = SC7180_SLAVE_PIMEM,
        .channels = 1,
        .buswidth = 8,
 };
 
 static struct qcom_icc_node srvc_snoc = {
        .name = "srvc_snoc",
-       .id = SC7180_SLAVE_SERVICE_SNOC,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node xs_qdss_stm = {
        .name = "xs_qdss_stm",
-       .id = SC7180_SLAVE_QDSS_STM,
        .channels = 1,
        .buswidth = 4,
 };
 
 static struct qcom_icc_node xs_sys_tcu_cfg = {
        .name = "xs_sys_tcu_cfg",
-       .id = SC7180_SLAVE_TCU,
        .channels = 1,
        .buswidth = 8,
 };
@@ -1485,6 +1471,7 @@ static struct qcom_icc_node * const aggre1_noc_nodes[] = {
 };
 
 static const struct qcom_icc_desc sc7180_aggre1_noc = {
+       .alloc_dyn_id = true,
        .nodes = aggre1_noc_nodes,
        .num_nodes = ARRAY_SIZE(aggre1_noc_nodes),
        .bcms = aggre1_noc_bcms,
@@ -1508,6 +1495,7 @@ static struct qcom_icc_node * const aggre2_noc_nodes[] = {
 };
 
 static const struct qcom_icc_desc sc7180_aggre2_noc = {
+       .alloc_dyn_id = true,
        .nodes = aggre2_noc_nodes,
        .num_nodes = ARRAY_SIZE(aggre2_noc_nodes),
        .bcms = aggre2_noc_bcms,
@@ -1526,6 +1514,7 @@ static struct qcom_icc_node * const camnoc_virt_nodes[] = {
 };
 
 static const struct qcom_icc_desc sc7180_camnoc_virt = {
+       .alloc_dyn_id = true,
        .nodes = camnoc_virt_nodes,
        .num_nodes = ARRAY_SIZE(camnoc_virt_nodes),
        .bcms = camnoc_virt_bcms,
@@ -1545,6 +1534,7 @@ static struct qcom_icc_node * const compute_noc_nodes[] = {
 };
 
 static const struct qcom_icc_desc sc7180_compute_noc = {
+       .alloc_dyn_id = true,
        .nodes = compute_noc_nodes,
        .num_nodes = ARRAY_SIZE(compute_noc_nodes),
        .bcms = compute_noc_bcms,
@@ -1613,6 +1603,7 @@ static struct qcom_icc_node * const config_noc_nodes[] = {
 };
 
 static const struct qcom_icc_desc sc7180_config_noc = {
+       .alloc_dyn_id = true,
        .nodes = config_noc_nodes,
        .num_nodes = ARRAY_SIZE(config_noc_nodes),
        .bcms = config_noc_bcms,
@@ -1626,6 +1617,7 @@ static struct qcom_icc_node * const dc_noc_nodes[] = {
 };
 
 static const struct qcom_icc_desc sc7180_dc_noc = {
+       .alloc_dyn_id = true,
        .nodes = dc_noc_nodes,
        .num_nodes = ARRAY_SIZE(dc_noc_nodes),
 };
@@ -1654,6 +1646,7 @@ static struct qcom_icc_node * const gem_noc_nodes[] = {
 };
 
 static const struct qcom_icc_desc sc7180_gem_noc = {
+       .alloc_dyn_id = true,
        .nodes = gem_noc_nodes,
        .num_nodes = ARRAY_SIZE(gem_noc_nodes),
        .bcms = gem_noc_bcms,
@@ -1671,6 +1664,7 @@ static struct qcom_icc_node * const mc_virt_nodes[] = {
 };
 
 static const struct qcom_icc_desc sc7180_mc_virt = {
+       .alloc_dyn_id = true,
        .nodes = mc_virt_nodes,
        .num_nodes = ARRAY_SIZE(mc_virt_nodes),
        .bcms = mc_virt_bcms,
@@ -1698,6 +1692,7 @@ static struct qcom_icc_node * const mmss_noc_nodes[] = {
 };
 
 static const struct qcom_icc_desc sc7180_mmss_noc = {
+       .alloc_dyn_id = true,
        .nodes = mmss_noc_nodes,
        .num_nodes = ARRAY_SIZE(mmss_noc_nodes),
        .bcms = mmss_noc_bcms,
@@ -1719,6 +1714,7 @@ static struct qcom_icc_node * const npu_noc_nodes[] = {
 };
 
 static const struct qcom_icc_desc sc7180_npu_noc = {
+       .alloc_dyn_id = true,
        .nodes = npu_noc_nodes,
        .num_nodes = ARRAY_SIZE(npu_noc_nodes),
 };
@@ -1735,6 +1731,7 @@ static struct qcom_icc_node * const qup_virt_nodes[] = {
 };
 
 static const struct qcom_icc_desc sc7180_qup_virt = {
+       .alloc_dyn_id = true,
        .nodes = qup_virt_nodes,
        .num_nodes = ARRAY_SIZE(qup_virt_nodes),
        .bcms = qup_virt_bcms,
@@ -1770,6 +1767,7 @@ static struct qcom_icc_node * const system_noc_nodes[] = {
 };
 
 static const struct qcom_icc_desc sc7180_system_noc = {
+       .alloc_dyn_id = true,
        .nodes = system_noc_nodes,
        .num_nodes = ARRAY_SIZE(system_noc_nodes),
        .bcms = system_noc_bcms,
diff --git a/drivers/interconnect/qcom/sc7180.h b/drivers/interconnect/qcom/sc7180.h
deleted file mode 100644 (file)
index 2b71892..0000000
+++ /dev/null
@@ -1,149 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Qualcomm #define SC7180 interconnect IDs
- *
- * Copyright (c) 2020, The Linux Foundation. All rights reserved.
- */
-
-#ifndef __DRIVERS_INTERCONNECT_QCOM_SC7180_H
-#define __DRIVERS_INTERCONNECT_QCOM_SC7180_H
-
-#define SC7180_MASTER_APPSS_PROC                       0
-#define SC7180_MASTER_SYS_TCU                          1
-#define SC7180_MASTER_NPU_SYS                          2
-/* 3 was used by MASTER_IPA_CORE, now represented as RPMh clock */
-#define SC7180_MASTER_LLCC                             4
-#define SC7180_MASTER_A1NOC_CFG                                5
-#define SC7180_MASTER_A2NOC_CFG                                6
-#define SC7180_MASTER_CNOC_DC_NOC                      7
-#define SC7180_MASTER_GEM_NOC_CFG                      8
-#define SC7180_MASTER_CNOC_MNOC_CFG                    9
-#define SC7180_MASTER_NPU_NOC_CFG                      10
-#define SC7180_MASTER_QDSS_BAM                         11
-#define SC7180_MASTER_QSPI                             12
-#define SC7180_MASTER_QUP_0                            13
-#define SC7180_MASTER_QUP_1                            14
-#define SC7180_MASTER_SNOC_CFG                         15
-#define SC7180_MASTER_A1NOC_SNOC                       16
-#define SC7180_MASTER_A2NOC_SNOC                       17
-#define SC7180_MASTER_COMPUTE_NOC                      18
-#define SC7180_MASTER_GEM_NOC_SNOC                     19
-#define SC7180_MASTER_MNOC_HF_MEM_NOC                  20
-#define SC7180_MASTER_MNOC_SF_MEM_NOC                  21
-#define SC7180_MASTER_NPU                              22
-#define SC7180_MASTER_SNOC_CNOC                                23
-#define SC7180_MASTER_SNOC_GC_MEM_NOC                  24
-#define SC7180_MASTER_SNOC_SF_MEM_NOC                  25
-#define SC7180_MASTER_QUP_CORE_0                       26
-#define SC7180_MASTER_QUP_CORE_1                       27
-#define SC7180_MASTER_CAMNOC_HF0                       28
-#define SC7180_MASTER_CAMNOC_HF1                       29
-#define SC7180_MASTER_CAMNOC_HF0_UNCOMP                        30
-#define SC7180_MASTER_CAMNOC_HF1_UNCOMP                        31
-#define SC7180_MASTER_CAMNOC_SF                                32
-#define SC7180_MASTER_CAMNOC_SF_UNCOMP                 33
-#define SC7180_MASTER_CRYPTO                           34
-#define SC7180_MASTER_GFX3D                            35
-#define SC7180_MASTER_IPA                              36
-#define SC7180_MASTER_MDP0                             37
-#define SC7180_MASTER_NPU_PROC                         38
-#define SC7180_MASTER_PIMEM                            39
-#define SC7180_MASTER_ROTATOR                          40
-#define SC7180_MASTER_VIDEO_P0                         41
-#define SC7180_MASTER_VIDEO_PROC                       42
-#define SC7180_MASTER_QDSS_DAP                         43
-#define SC7180_MASTER_QDSS_ETR                         44
-#define SC7180_MASTER_SDCC_2                           45
-#define SC7180_MASTER_UFS_MEM                          46
-#define SC7180_MASTER_USB3                             47
-#define SC7180_MASTER_EMMC                             48
-#define SC7180_SLAVE_EBI1                              49
-/* 50 was used by SLAVE_IPA_CORE, now represented as RPMh clock */
-#define SC7180_SLAVE_A1NOC_CFG                         51
-#define SC7180_SLAVE_A2NOC_CFG                         52
-#define SC7180_SLAVE_AHB2PHY_SOUTH                     53
-#define SC7180_SLAVE_AHB2PHY_CENTER                    54
-#define SC7180_SLAVE_AOP                               55
-#define SC7180_SLAVE_AOSS                              56
-#define SC7180_SLAVE_APPSS                             57
-#define SC7180_SLAVE_BOOT_ROM                          58
-#define SC7180_SLAVE_NPU_CAL_DP0                       59
-#define SC7180_SLAVE_CAMERA_CFG                                60
-#define SC7180_SLAVE_CAMERA_NRT_THROTTLE_CFG           61
-#define SC7180_SLAVE_CAMERA_RT_THROTTLE_CFG            62
-#define SC7180_SLAVE_CLK_CTL                           63
-#define SC7180_SLAVE_NPU_CP                            64
-#define SC7180_SLAVE_RBCPR_CX_CFG                      65
-#define SC7180_SLAVE_RBCPR_MX_CFG                      66
-#define SC7180_SLAVE_CRYPTO_0_CFG                      67
-#define SC7180_SLAVE_DCC_CFG                           68
-#define SC7180_SLAVE_CNOC_DDRSS                                69
-#define SC7180_SLAVE_DISPLAY_CFG                       70
-#define SC7180_SLAVE_DISPLAY_RT_THROTTLE_CFG           71
-#define SC7180_SLAVE_DISPLAY_THROTTLE_CFG              72
-#define SC7180_SLAVE_NPU_INT_DMA_BWMON_CFG             73
-#define SC7180_SLAVE_NPU_DPM                           74
-#define SC7180_SLAVE_EMMC_CFG                          75
-#define SC7180_SLAVE_GEM_NOC_CFG                       76
-#define SC7180_SLAVE_GLM                               77
-#define SC7180_SLAVE_GFX3D_CFG                         78
-#define SC7180_SLAVE_IMEM_CFG                          79
-#define SC7180_SLAVE_IPA_CFG                           80
-#define SC7180_SLAVE_ISENSE_CFG                                81
-#define SC7180_SLAVE_LLCC_CFG                          82
-#define SC7180_SLAVE_NPU_LLM_CFG                       83
-#define SC7180_SLAVE_MSS_PROC_MS_MPU_CFG               84
-#define SC7180_SLAVE_CNOC_MNOC_CFG                     85
-#define SC7180_SLAVE_CNOC_MSS                          86
-#define SC7180_SLAVE_NPU_CFG                           87
-#define SC7180_SLAVE_NPU_DMA_BWMON_CFG                 88
-#define SC7180_SLAVE_NPU_PROC_BWMON_CFG                        89
-#define SC7180_SLAVE_PDM                               90
-#define SC7180_SLAVE_PIMEM_CFG                         91
-#define SC7180_SLAVE_PRNG                              92
-#define SC7180_SLAVE_QDSS_CFG                          93
-#define SC7180_SLAVE_QM_CFG                            94
-#define SC7180_SLAVE_QM_MPU_CFG                                95
-#define SC7180_SLAVE_QSPI_0                            96
-#define SC7180_SLAVE_QUP_0                             97
-#define SC7180_SLAVE_QUP_1                             98
-#define SC7180_SLAVE_SDCC_2                            99
-#define SC7180_SLAVE_SECURITY                          100
-#define SC7180_SLAVE_SNOC_CFG                          101
-#define SC7180_SLAVE_NPU_TCM                           102
-#define SC7180_SLAVE_TCSR                              103
-#define SC7180_SLAVE_TLMM_WEST                         104
-#define SC7180_SLAVE_TLMM_NORTH                                105
-#define SC7180_SLAVE_TLMM_SOUTH                                106
-#define SC7180_SLAVE_UFS_MEM_CFG                       107
-#define SC7180_SLAVE_USB3                              108
-#define SC7180_SLAVE_VENUS_CFG                         109
-#define SC7180_SLAVE_VENUS_THROTTLE_CFG                        110
-#define SC7180_SLAVE_VSENSE_CTRL_CFG                   111
-#define SC7180_SLAVE_A1NOC_SNOC                                112
-#define SC7180_SLAVE_A2NOC_SNOC                                113
-#define SC7180_SLAVE_CAMNOC_UNCOMP                     114
-#define SC7180_SLAVE_CDSP_GEM_NOC                      115
-#define SC7180_SLAVE_SNOC_CNOC                         116
-#define SC7180_SLAVE_GEM_NOC_SNOC                      117
-#define SC7180_SLAVE_SNOC_GEM_NOC_GC                   118
-#define SC7180_SLAVE_SNOC_GEM_NOC_SF                   119
-#define SC7180_SLAVE_LLCC                              120
-#define SC7180_SLAVE_MNOC_HF_MEM_NOC                   121
-#define SC7180_SLAVE_MNOC_SF_MEM_NOC                   122
-#define SC7180_SLAVE_NPU_COMPUTE_NOC                   123
-#define SC7180_SLAVE_QUP_CORE_0                                124
-#define SC7180_SLAVE_QUP_CORE_1                                125
-#define SC7180_SLAVE_IMEM                              126
-#define SC7180_SLAVE_PIMEM                             127
-#define SC7180_SLAVE_SERVICE_A1NOC                     128
-#define SC7180_SLAVE_SERVICE_A2NOC                     129
-#define SC7180_SLAVE_SERVICE_CNOC                      130
-#define SC7180_SLAVE_SERVICE_GEM_NOC                   131
-#define SC7180_SLAVE_SERVICE_MNOC                      132
-#define SC7180_SLAVE_SERVICE_NPU_NOC                   133
-#define SC7180_SLAVE_SERVICE_SNOC                      134
-#define SC7180_SLAVE_QDSS_STM                          135
-#define SC7180_SLAVE_TCU                               136
-
-#endif