233 lines · c
1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */2/*3 * Copyright (c) 2021, The Linux Foundation. All rights reserved.4 * Copyright (c) 2022, Linaro Ltd.5 */6 7#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SC8280XP_H8#define __DT_BINDINGS_INTERCONNECT_QCOM_SC8280XP_H9 10/* aggre1_noc */11#define MASTER_QSPI_0 012#define MASTER_QUP_1 113#define MASTER_QUP_2 214#define MASTER_A1NOC_CFG 315#define MASTER_IPA 416#define MASTER_EMAC_1 517#define MASTER_SDCC_4 618#define MASTER_UFS_MEM 719#define MASTER_USB3_0 820#define MASTER_USB3_1 921#define MASTER_USB3_MP 1022#define MASTER_USB4_0 1123#define MASTER_USB4_1 1224#define SLAVE_A1NOC_SNOC 1325#define SLAVE_USB_NOC_SNOC 1426#define SLAVE_SERVICE_A1NOC 1527 28/* aggre2_noc */29#define MASTER_QDSS_BAM 030#define MASTER_QUP_0 131#define MASTER_A2NOC_CFG 232#define MASTER_CRYPTO 333#define MASTER_SENSORS_PROC 434#define MASTER_SP 535#define MASTER_EMAC 636#define MASTER_PCIE_0 737#define MASTER_PCIE_1 838#define MASTER_PCIE_2A 939#define MASTER_PCIE_2B 1040#define MASTER_PCIE_3A 1141#define MASTER_PCIE_3B 1242#define MASTER_PCIE_4 1343#define MASTER_QDSS_ETR 1444#define MASTER_SDCC_2 1545#define MASTER_UFS_CARD 1646#define SLAVE_A2NOC_SNOC 1747#define SLAVE_ANOC_PCIE_GEM_NOC 1848#define SLAVE_SERVICE_A2NOC 1949 50/* clk_virt */51/* 0 was used by MASTER_IPA_CORE, now represented as RPMh clock */52#define MASTER_QUP_CORE_0 153#define MASTER_QUP_CORE_1 254#define MASTER_QUP_CORE_2 355/* 4 was used by SLAVE_IPA_CORE, now represented as RPMh clock */56#define SLAVE_QUP_CORE_0 557#define SLAVE_QUP_CORE_1 658#define SLAVE_QUP_CORE_2 759 60/* config_noc */61#define MASTER_GEM_NOC_CNOC 062#define MASTER_GEM_NOC_PCIE_SNOC 163#define SLAVE_AHB2PHY_0 264#define SLAVE_AHB2PHY_1 365#define SLAVE_AHB2PHY_2 466#define SLAVE_AOSS 567#define SLAVE_APPSS 668#define SLAVE_CAMERA_CFG 769#define SLAVE_CLK_CTL 870#define SLAVE_CDSP_CFG 971#define SLAVE_CDSP1_CFG 1072#define SLAVE_RBCPR_CX_CFG 1173#define SLAVE_RBCPR_MMCX_CFG 1274#define SLAVE_RBCPR_MX_CFG 1375#define SLAVE_CPR_NSPCX 1476#define SLAVE_CRYPTO_0_CFG 1577#define SLAVE_CX_RDPM 1678#define SLAVE_DCC_CFG 1779#define SLAVE_DISPLAY_CFG 1880#define SLAVE_DISPLAY1_CFG 1981#define SLAVE_EMAC_CFG 2082#define SLAVE_EMAC1_CFG 2183#define SLAVE_GFX3D_CFG 2284#define SLAVE_HWKM 2385#define SLAVE_IMEM_CFG 2486#define SLAVE_IPA_CFG 2587#define SLAVE_IPC_ROUTER_CFG 2688#define SLAVE_LPASS 2789#define SLAVE_MX_RDPM 2890#define SLAVE_MXC_RDPM 2991#define SLAVE_PCIE_0_CFG 3092#define SLAVE_PCIE_1_CFG 3193#define SLAVE_PCIE_2A_CFG 3294#define SLAVE_PCIE_2B_CFG 3395#define SLAVE_PCIE_3A_CFG 3496#define SLAVE_PCIE_3B_CFG 3597#define SLAVE_PCIE_4_CFG 3698#define SLAVE_PCIE_RSC_CFG 3799#define SLAVE_PDM 38100#define SLAVE_PIMEM_CFG 39101#define SLAVE_PKA_WRAPPER_CFG 40102#define SLAVE_PMU_WRAPPER_CFG 41103#define SLAVE_QDSS_CFG 42104#define SLAVE_QSPI_0 43105#define SLAVE_QUP_0 44106#define SLAVE_QUP_1 45107#define SLAVE_QUP_2 46108#define SLAVE_SDCC_2 47109#define SLAVE_SDCC_4 48110#define SLAVE_SECURITY 49111#define SLAVE_SMMUV3_CFG 50112#define SLAVE_SMSS_CFG 51113#define SLAVE_SPSS_CFG 52114#define SLAVE_TCSR 53115#define SLAVE_TLMM 54116#define SLAVE_UFS_CARD_CFG 55117#define SLAVE_UFS_MEM_CFG 56118#define SLAVE_USB3_0 57119#define SLAVE_USB3_1 58120#define SLAVE_USB3_MP 59121#define SLAVE_USB4_0 60122#define SLAVE_USB4_1 61123#define SLAVE_VENUS_CFG 62124#define SLAVE_VSENSE_CTRL_CFG 63125#define SLAVE_VSENSE_CTRL_R_CFG 64126#define SLAVE_A1NOC_CFG 65127#define SLAVE_A2NOC_CFG 66128#define SLAVE_ANOC_PCIE_BRIDGE_CFG 67129#define SLAVE_DDRSS_CFG 68130#define SLAVE_CNOC_MNOC_CFG 69131#define SLAVE_SNOC_CFG 70132#define SLAVE_SNOC_SF_BRIDGE_CFG 71133#define SLAVE_IMEM 72134#define SLAVE_PIMEM 73135#define SLAVE_SERVICE_CNOC 74136#define SLAVE_PCIE_0 75137#define SLAVE_PCIE_1 76138#define SLAVE_PCIE_2A 77139#define SLAVE_PCIE_2B 78140#define SLAVE_PCIE_3A 79141#define SLAVE_PCIE_3B 80142#define SLAVE_PCIE_4 81143#define SLAVE_QDSS_STM 82144#define SLAVE_SMSS 83145#define SLAVE_TCU 84146 147/* dc_noc */148#define MASTER_CNOC_DC_NOC 0149#define SLAVE_LLCC_CFG 1150#define SLAVE_GEM_NOC_CFG 2151 152/* gem_noc */153#define MASTER_GPU_TCU 0154#define MASTER_PCIE_TCU 1155#define MASTER_SYS_TCU 2156#define MASTER_APPSS_PROC 3157#define MASTER_COMPUTE_NOC 4158#define MASTER_COMPUTE_NOC_1 5159#define MASTER_GEM_NOC_CFG 6160#define MASTER_GFX3D 7161#define MASTER_MNOC_HF_MEM_NOC 8162#define MASTER_MNOC_SF_MEM_NOC 9163#define MASTER_ANOC_PCIE_GEM_NOC 10164#define MASTER_SNOC_GC_MEM_NOC 11165#define MASTER_SNOC_SF_MEM_NOC 12166#define SLAVE_GEM_NOC_CNOC 13167#define SLAVE_LLCC 14168#define SLAVE_GEM_NOC_PCIE_CNOC 15169#define SLAVE_SERVICE_GEM_NOC_1 16170#define SLAVE_SERVICE_GEM_NOC_2 17171#define SLAVE_SERVICE_GEM_NOC 18172 173/* lpass_ag_noc */174#define MASTER_CNOC_LPASS_AG_NOC 0175#define MASTER_LPASS_PROC 1176#define SLAVE_LPASS_CORE_CFG 2177#define SLAVE_LPASS_LPI_CFG 3178#define SLAVE_LPASS_MPU_CFG 4179#define SLAVE_LPASS_TOP_CFG 5180#define SLAVE_LPASS_SNOC 6181#define SLAVE_SERVICES_LPASS_AML_NOC 7182#define SLAVE_SERVICE_LPASS_AG_NOC 8183 184/* mc_virt */185#define MASTER_LLCC 0186#define SLAVE_EBI1 1187 188/*mmss_noc */189#define MASTER_CAMNOC_HF 0190#define MASTER_MDP0 1191#define MASTER_MDP1 2192#define MASTER_MDP_CORE1_0 3193#define MASTER_MDP_CORE1_1 4194#define MASTER_CNOC_MNOC_CFG 5195#define MASTER_ROTATOR 6196#define MASTER_ROTATOR_1 7197#define MASTER_VIDEO_P0 8198#define MASTER_VIDEO_P1 9199#define MASTER_VIDEO_PROC 10200#define MASTER_CAMNOC_ICP 11201#define MASTER_CAMNOC_SF 12202#define SLAVE_MNOC_HF_MEM_NOC 13203#define SLAVE_MNOC_SF_MEM_NOC 14204#define SLAVE_SERVICE_MNOC 15205 206/* nspa_noc */207#define MASTER_CDSP_NOC_CFG 0208#define MASTER_CDSP_PROC 1209#define SLAVE_CDSP_MEM_NOC 2210#define SLAVE_NSP_XFR 3211#define SLAVE_SERVICE_NSP_NOC 4212 213/* nspb_noc */214#define MASTER_CDSPB_NOC_CFG 0215#define MASTER_CDSP_PROC_B 1216#define SLAVE_CDSPB_MEM_NOC 2217#define SLAVE_NSPB_XFR 3218#define SLAVE_SERVICE_NSPB_NOC 4219 220/* system_noc */221#define MASTER_A1NOC_SNOC 0222#define MASTER_A2NOC_SNOC 1223#define MASTER_USB_NOC_SNOC 2224#define MASTER_LPASS_ANOC 3225#define MASTER_SNOC_CFG 4226#define MASTER_PIMEM 5227#define MASTER_GIC 6228#define SLAVE_SNOC_GEM_NOC_GC 7229#define SLAVE_SNOC_GEM_NOC_SF 8230#define SLAVE_SERVICE_SNOC 9231 232#endif233