162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2021, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci * Copyright (c) 2022, Linaro Ltd. 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SC8280XP_H 862306a36Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_SC8280XP_H 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci/* aggre1_noc */ 1162306a36Sopenharmony_ci#define MASTER_QSPI_0 0 1262306a36Sopenharmony_ci#define MASTER_QUP_1 1 1362306a36Sopenharmony_ci#define MASTER_QUP_2 2 1462306a36Sopenharmony_ci#define MASTER_A1NOC_CFG 3 1562306a36Sopenharmony_ci#define MASTER_IPA 4 1662306a36Sopenharmony_ci#define MASTER_EMAC_1 5 1762306a36Sopenharmony_ci#define MASTER_SDCC_4 6 1862306a36Sopenharmony_ci#define MASTER_UFS_MEM 7 1962306a36Sopenharmony_ci#define MASTER_USB3_0 8 2062306a36Sopenharmony_ci#define MASTER_USB3_1 9 2162306a36Sopenharmony_ci#define MASTER_USB3_MP 10 2262306a36Sopenharmony_ci#define MASTER_USB4_0 11 2362306a36Sopenharmony_ci#define MASTER_USB4_1 12 2462306a36Sopenharmony_ci#define SLAVE_A1NOC_SNOC 13 2562306a36Sopenharmony_ci#define SLAVE_USB_NOC_SNOC 14 2662306a36Sopenharmony_ci#define SLAVE_SERVICE_A1NOC 15 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci/* aggre2_noc */ 2962306a36Sopenharmony_ci#define MASTER_QDSS_BAM 0 3062306a36Sopenharmony_ci#define MASTER_QUP_0 1 3162306a36Sopenharmony_ci#define MASTER_A2NOC_CFG 2 3262306a36Sopenharmony_ci#define MASTER_CRYPTO 3 3362306a36Sopenharmony_ci#define MASTER_SENSORS_PROC 4 3462306a36Sopenharmony_ci#define MASTER_SP 5 3562306a36Sopenharmony_ci#define MASTER_EMAC 6 3662306a36Sopenharmony_ci#define MASTER_PCIE_0 7 3762306a36Sopenharmony_ci#define MASTER_PCIE_1 8 3862306a36Sopenharmony_ci#define MASTER_PCIE_2A 9 3962306a36Sopenharmony_ci#define MASTER_PCIE_2B 10 4062306a36Sopenharmony_ci#define MASTER_PCIE_3A 11 4162306a36Sopenharmony_ci#define MASTER_PCIE_3B 12 4262306a36Sopenharmony_ci#define MASTER_PCIE_4 13 4362306a36Sopenharmony_ci#define MASTER_QDSS_ETR 14 4462306a36Sopenharmony_ci#define MASTER_SDCC_2 15 4562306a36Sopenharmony_ci#define MASTER_UFS_CARD 16 4662306a36Sopenharmony_ci#define SLAVE_A2NOC_SNOC 17 4762306a36Sopenharmony_ci#define SLAVE_ANOC_PCIE_GEM_NOC 18 4862306a36Sopenharmony_ci#define SLAVE_SERVICE_A2NOC 19 4962306a36Sopenharmony_ci 5062306a36Sopenharmony_ci/* clk_virt */ 5162306a36Sopenharmony_ci/* 0 was used by MASTER_IPA_CORE, now represented as RPMh clock */ 5262306a36Sopenharmony_ci#define MASTER_QUP_CORE_0 1 5362306a36Sopenharmony_ci#define MASTER_QUP_CORE_1 2 5462306a36Sopenharmony_ci#define MASTER_QUP_CORE_2 3 5562306a36Sopenharmony_ci/* 4 was used by SLAVE_IPA_CORE, now represented as RPMh clock */ 5662306a36Sopenharmony_ci#define SLAVE_QUP_CORE_0 5 5762306a36Sopenharmony_ci#define SLAVE_QUP_CORE_1 6 5862306a36Sopenharmony_ci#define SLAVE_QUP_CORE_2 7 5962306a36Sopenharmony_ci 6062306a36Sopenharmony_ci/* config_noc */ 6162306a36Sopenharmony_ci#define MASTER_GEM_NOC_CNOC 0 6262306a36Sopenharmony_ci#define MASTER_GEM_NOC_PCIE_SNOC 1 6362306a36Sopenharmony_ci#define SLAVE_AHB2PHY_0 2 6462306a36Sopenharmony_ci#define SLAVE_AHB2PHY_1 3 6562306a36Sopenharmony_ci#define SLAVE_AHB2PHY_2 4 6662306a36Sopenharmony_ci#define SLAVE_AOSS 5 6762306a36Sopenharmony_ci#define SLAVE_APPSS 6 6862306a36Sopenharmony_ci#define SLAVE_CAMERA_CFG 7 6962306a36Sopenharmony_ci#define SLAVE_CLK_CTL 8 7062306a36Sopenharmony_ci#define SLAVE_CDSP_CFG 9 7162306a36Sopenharmony_ci#define SLAVE_CDSP1_CFG 10 7262306a36Sopenharmony_ci#define SLAVE_RBCPR_CX_CFG 11 7362306a36Sopenharmony_ci#define SLAVE_RBCPR_MMCX_CFG 12 7462306a36Sopenharmony_ci#define SLAVE_RBCPR_MX_CFG 13 7562306a36Sopenharmony_ci#define SLAVE_CPR_NSPCX 14 7662306a36Sopenharmony_ci#define SLAVE_CRYPTO_0_CFG 15 7762306a36Sopenharmony_ci#define SLAVE_CX_RDPM 16 7862306a36Sopenharmony_ci#define SLAVE_DCC_CFG 17 7962306a36Sopenharmony_ci#define SLAVE_DISPLAY_CFG 18 8062306a36Sopenharmony_ci#define SLAVE_DISPLAY1_CFG 19 8162306a36Sopenharmony_ci#define SLAVE_EMAC_CFG 20 8262306a36Sopenharmony_ci#define SLAVE_EMAC1_CFG 21 8362306a36Sopenharmony_ci#define SLAVE_GFX3D_CFG 22 8462306a36Sopenharmony_ci#define SLAVE_HWKM 23 8562306a36Sopenharmony_ci#define SLAVE_IMEM_CFG 24 8662306a36Sopenharmony_ci#define SLAVE_IPA_CFG 25 8762306a36Sopenharmony_ci#define SLAVE_IPC_ROUTER_CFG 26 8862306a36Sopenharmony_ci#define SLAVE_LPASS 27 8962306a36Sopenharmony_ci#define SLAVE_MX_RDPM 28 9062306a36Sopenharmony_ci#define SLAVE_MXC_RDPM 29 9162306a36Sopenharmony_ci#define SLAVE_PCIE_0_CFG 30 9262306a36Sopenharmony_ci#define SLAVE_PCIE_1_CFG 31 9362306a36Sopenharmony_ci#define SLAVE_PCIE_2A_CFG 32 9462306a36Sopenharmony_ci#define SLAVE_PCIE_2B_CFG 33 9562306a36Sopenharmony_ci#define SLAVE_PCIE_3A_CFG 34 9662306a36Sopenharmony_ci#define SLAVE_PCIE_3B_CFG 35 9762306a36Sopenharmony_ci#define SLAVE_PCIE_4_CFG 36 9862306a36Sopenharmony_ci#define SLAVE_PCIE_RSC_CFG 37 9962306a36Sopenharmony_ci#define SLAVE_PDM 38 10062306a36Sopenharmony_ci#define SLAVE_PIMEM_CFG 39 10162306a36Sopenharmony_ci#define SLAVE_PKA_WRAPPER_CFG 40 10262306a36Sopenharmony_ci#define SLAVE_PMU_WRAPPER_CFG 41 10362306a36Sopenharmony_ci#define SLAVE_QDSS_CFG 42 10462306a36Sopenharmony_ci#define SLAVE_QSPI_0 43 10562306a36Sopenharmony_ci#define SLAVE_QUP_0 44 10662306a36Sopenharmony_ci#define SLAVE_QUP_1 45 10762306a36Sopenharmony_ci#define SLAVE_QUP_2 46 10862306a36Sopenharmony_ci#define SLAVE_SDCC_2 47 10962306a36Sopenharmony_ci#define SLAVE_SDCC_4 48 11062306a36Sopenharmony_ci#define SLAVE_SECURITY 49 11162306a36Sopenharmony_ci#define SLAVE_SMMUV3_CFG 50 11262306a36Sopenharmony_ci#define SLAVE_SMSS_CFG 51 11362306a36Sopenharmony_ci#define SLAVE_SPSS_CFG 52 11462306a36Sopenharmony_ci#define SLAVE_TCSR 53 11562306a36Sopenharmony_ci#define SLAVE_TLMM 54 11662306a36Sopenharmony_ci#define SLAVE_UFS_CARD_CFG 55 11762306a36Sopenharmony_ci#define SLAVE_UFS_MEM_CFG 56 11862306a36Sopenharmony_ci#define SLAVE_USB3_0 57 11962306a36Sopenharmony_ci#define SLAVE_USB3_1 58 12062306a36Sopenharmony_ci#define SLAVE_USB3_MP 59 12162306a36Sopenharmony_ci#define SLAVE_USB4_0 60 12262306a36Sopenharmony_ci#define SLAVE_USB4_1 61 12362306a36Sopenharmony_ci#define SLAVE_VENUS_CFG 62 12462306a36Sopenharmony_ci#define SLAVE_VSENSE_CTRL_CFG 63 12562306a36Sopenharmony_ci#define SLAVE_VSENSE_CTRL_R_CFG 64 12662306a36Sopenharmony_ci#define SLAVE_A1NOC_CFG 65 12762306a36Sopenharmony_ci#define SLAVE_A2NOC_CFG 66 12862306a36Sopenharmony_ci#define SLAVE_ANOC_PCIE_BRIDGE_CFG 67 12962306a36Sopenharmony_ci#define SLAVE_DDRSS_CFG 68 13062306a36Sopenharmony_ci#define SLAVE_CNOC_MNOC_CFG 69 13162306a36Sopenharmony_ci#define SLAVE_SNOC_CFG 70 13262306a36Sopenharmony_ci#define SLAVE_SNOC_SF_BRIDGE_CFG 71 13362306a36Sopenharmony_ci#define SLAVE_IMEM 72 13462306a36Sopenharmony_ci#define SLAVE_PIMEM 73 13562306a36Sopenharmony_ci#define SLAVE_SERVICE_CNOC 74 13662306a36Sopenharmony_ci#define SLAVE_PCIE_0 75 13762306a36Sopenharmony_ci#define SLAVE_PCIE_1 76 13862306a36Sopenharmony_ci#define SLAVE_PCIE_2A 77 13962306a36Sopenharmony_ci#define SLAVE_PCIE_2B 78 14062306a36Sopenharmony_ci#define SLAVE_PCIE_3A 79 14162306a36Sopenharmony_ci#define SLAVE_PCIE_3B 80 14262306a36Sopenharmony_ci#define SLAVE_PCIE_4 81 14362306a36Sopenharmony_ci#define SLAVE_QDSS_STM 82 14462306a36Sopenharmony_ci#define SLAVE_SMSS 83 14562306a36Sopenharmony_ci#define SLAVE_TCU 84 14662306a36Sopenharmony_ci 14762306a36Sopenharmony_ci/* dc_noc */ 14862306a36Sopenharmony_ci#define MASTER_CNOC_DC_NOC 0 14962306a36Sopenharmony_ci#define SLAVE_LLCC_CFG 1 15062306a36Sopenharmony_ci#define SLAVE_GEM_NOC_CFG 2 15162306a36Sopenharmony_ci 15262306a36Sopenharmony_ci/* gem_noc */ 15362306a36Sopenharmony_ci#define MASTER_GPU_TCU 0 15462306a36Sopenharmony_ci#define MASTER_PCIE_TCU 1 15562306a36Sopenharmony_ci#define MASTER_SYS_TCU 2 15662306a36Sopenharmony_ci#define MASTER_APPSS_PROC 3 15762306a36Sopenharmony_ci#define MASTER_COMPUTE_NOC 4 15862306a36Sopenharmony_ci#define MASTER_COMPUTE_NOC_1 5 15962306a36Sopenharmony_ci#define MASTER_GEM_NOC_CFG 6 16062306a36Sopenharmony_ci#define MASTER_GFX3D 7 16162306a36Sopenharmony_ci#define MASTER_MNOC_HF_MEM_NOC 8 16262306a36Sopenharmony_ci#define MASTER_MNOC_SF_MEM_NOC 9 16362306a36Sopenharmony_ci#define MASTER_ANOC_PCIE_GEM_NOC 10 16462306a36Sopenharmony_ci#define MASTER_SNOC_GC_MEM_NOC 11 16562306a36Sopenharmony_ci#define MASTER_SNOC_SF_MEM_NOC 12 16662306a36Sopenharmony_ci#define SLAVE_GEM_NOC_CNOC 13 16762306a36Sopenharmony_ci#define SLAVE_LLCC 14 16862306a36Sopenharmony_ci#define SLAVE_GEM_NOC_PCIE_CNOC 15 16962306a36Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC_1 16 17062306a36Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC_2 17 17162306a36Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC 18 17262306a36Sopenharmony_ci 17362306a36Sopenharmony_ci/* lpass_ag_noc */ 17462306a36Sopenharmony_ci#define MASTER_CNOC_LPASS_AG_NOC 0 17562306a36Sopenharmony_ci#define MASTER_LPASS_PROC 1 17662306a36Sopenharmony_ci#define SLAVE_LPASS_CORE_CFG 2 17762306a36Sopenharmony_ci#define SLAVE_LPASS_LPI_CFG 3 17862306a36Sopenharmony_ci#define SLAVE_LPASS_MPU_CFG 4 17962306a36Sopenharmony_ci#define SLAVE_LPASS_TOP_CFG 5 18062306a36Sopenharmony_ci#define SLAVE_LPASS_SNOC 6 18162306a36Sopenharmony_ci#define SLAVE_SERVICES_LPASS_AML_NOC 7 18262306a36Sopenharmony_ci#define SLAVE_SERVICE_LPASS_AG_NOC 8 18362306a36Sopenharmony_ci 18462306a36Sopenharmony_ci/* mc_virt */ 18562306a36Sopenharmony_ci#define MASTER_LLCC 0 18662306a36Sopenharmony_ci#define SLAVE_EBI1 1 18762306a36Sopenharmony_ci 18862306a36Sopenharmony_ci/*mmss_noc */ 18962306a36Sopenharmony_ci#define MASTER_CAMNOC_HF 0 19062306a36Sopenharmony_ci#define MASTER_MDP0 1 19162306a36Sopenharmony_ci#define MASTER_MDP1 2 19262306a36Sopenharmony_ci#define MASTER_MDP_CORE1_0 3 19362306a36Sopenharmony_ci#define MASTER_MDP_CORE1_1 4 19462306a36Sopenharmony_ci#define MASTER_CNOC_MNOC_CFG 5 19562306a36Sopenharmony_ci#define MASTER_ROTATOR 6 19662306a36Sopenharmony_ci#define MASTER_ROTATOR_1 7 19762306a36Sopenharmony_ci#define MASTER_VIDEO_P0 8 19862306a36Sopenharmony_ci#define MASTER_VIDEO_P1 9 19962306a36Sopenharmony_ci#define MASTER_VIDEO_PROC 10 20062306a36Sopenharmony_ci#define MASTER_CAMNOC_ICP 11 20162306a36Sopenharmony_ci#define MASTER_CAMNOC_SF 12 20262306a36Sopenharmony_ci#define SLAVE_MNOC_HF_MEM_NOC 13 20362306a36Sopenharmony_ci#define SLAVE_MNOC_SF_MEM_NOC 14 20462306a36Sopenharmony_ci#define SLAVE_SERVICE_MNOC 15 20562306a36Sopenharmony_ci 20662306a36Sopenharmony_ci/* nspa_noc */ 20762306a36Sopenharmony_ci#define MASTER_CDSP_NOC_CFG 0 20862306a36Sopenharmony_ci#define MASTER_CDSP_PROC 1 20962306a36Sopenharmony_ci#define SLAVE_CDSP_MEM_NOC 2 21062306a36Sopenharmony_ci#define SLAVE_NSP_XFR 3 21162306a36Sopenharmony_ci#define SLAVE_SERVICE_NSP_NOC 4 21262306a36Sopenharmony_ci 21362306a36Sopenharmony_ci/* nspb_noc */ 21462306a36Sopenharmony_ci#define MASTER_CDSPB_NOC_CFG 0 21562306a36Sopenharmony_ci#define MASTER_CDSP_PROC_B 1 21662306a36Sopenharmony_ci#define SLAVE_CDSPB_MEM_NOC 2 21762306a36Sopenharmony_ci#define SLAVE_NSPB_XFR 3 21862306a36Sopenharmony_ci#define SLAVE_SERVICE_NSPB_NOC 4 21962306a36Sopenharmony_ci 22062306a36Sopenharmony_ci/* system_noc */ 22162306a36Sopenharmony_ci#define MASTER_A1NOC_SNOC 0 22262306a36Sopenharmony_ci#define MASTER_A2NOC_SNOC 1 22362306a36Sopenharmony_ci#define MASTER_USB_NOC_SNOC 2 22462306a36Sopenharmony_ci#define MASTER_LPASS_ANOC 3 22562306a36Sopenharmony_ci#define MASTER_SNOC_CFG 4 22662306a36Sopenharmony_ci#define MASTER_PIMEM 5 22762306a36Sopenharmony_ci#define MASTER_GIC 6 22862306a36Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_GC 7 22962306a36Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_SF 8 23062306a36Sopenharmony_ci#define SLAVE_SERVICE_SNOC 9 23162306a36Sopenharmony_ci 23262306a36Sopenharmony_ci#endif 233