162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Qualcomm SC8180x interconnect IDs 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (c) 2021, The Linux Foundation. All rights reserved. 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SC8180X_H 962306a36Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_SC8180X_H 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci#define MASTER_A1NOC_CFG 0 1262306a36Sopenharmony_ci#define MASTER_UFS_CARD 1 1362306a36Sopenharmony_ci#define MASTER_UFS_GEN4 2 1462306a36Sopenharmony_ci#define MASTER_UFS_MEM 3 1562306a36Sopenharmony_ci#define MASTER_USB3 4 1662306a36Sopenharmony_ci#define MASTER_USB3_1 5 1762306a36Sopenharmony_ci#define MASTER_USB3_2 6 1862306a36Sopenharmony_ci#define A1NOC_SNOC_SLV 7 1962306a36Sopenharmony_ci#define SLAVE_SERVICE_A1NOC 8 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci#define MASTER_A2NOC_CFG 0 2262306a36Sopenharmony_ci#define MASTER_QDSS_BAM 1 2362306a36Sopenharmony_ci#define MASTER_QSPI_0 2 2462306a36Sopenharmony_ci#define MASTER_QSPI_1 3 2562306a36Sopenharmony_ci#define MASTER_QUP_0 4 2662306a36Sopenharmony_ci#define MASTER_QUP_1 5 2762306a36Sopenharmony_ci#define MASTER_QUP_2 6 2862306a36Sopenharmony_ci#define MASTER_SENSORS_AHB 7 2962306a36Sopenharmony_ci#define MASTER_CRYPTO_CORE_0 8 3062306a36Sopenharmony_ci#define MASTER_IPA 9 3162306a36Sopenharmony_ci#define MASTER_EMAC 10 3262306a36Sopenharmony_ci#define MASTER_PCIE 11 3362306a36Sopenharmony_ci#define MASTER_PCIE_1 12 3462306a36Sopenharmony_ci#define MASTER_PCIE_2 13 3562306a36Sopenharmony_ci#define MASTER_PCIE_3 14 3662306a36Sopenharmony_ci#define MASTER_QDSS_ETR 15 3762306a36Sopenharmony_ci#define MASTER_SDCC_2 16 3862306a36Sopenharmony_ci#define MASTER_SDCC_4 17 3962306a36Sopenharmony_ci#define A2NOC_SNOC_SLV 18 4062306a36Sopenharmony_ci#define SLAVE_ANOC_PCIE_GEM_NOC 19 4162306a36Sopenharmony_ci#define SLAVE_SERVICE_A2NOC 20 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci#define MASTER_CAMNOC_HF0_UNCOMP 0 4462306a36Sopenharmony_ci#define MASTER_CAMNOC_HF1_UNCOMP 1 4562306a36Sopenharmony_ci#define MASTER_CAMNOC_SF_UNCOMP 2 4662306a36Sopenharmony_ci#define SLAVE_CAMNOC_UNCOMP 3 4762306a36Sopenharmony_ci 4862306a36Sopenharmony_ci#define MASTER_NPU 0 4962306a36Sopenharmony_ci#define SLAVE_CDSP_MEM_NOC 1 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ci#define SNOC_CNOC_MAS 0 5262306a36Sopenharmony_ci#define SLAVE_A1NOC_CFG 1 5362306a36Sopenharmony_ci#define SLAVE_A2NOC_CFG 2 5462306a36Sopenharmony_ci#define SLAVE_AHB2PHY_CENTER 3 5562306a36Sopenharmony_ci#define SLAVE_AHB2PHY_EAST 4 5662306a36Sopenharmony_ci#define SLAVE_AHB2PHY_WEST 5 5762306a36Sopenharmony_ci#define SLAVE_AHB2PHY_SOUTH 6 5862306a36Sopenharmony_ci#define SLAVE_AOP 7 5962306a36Sopenharmony_ci#define SLAVE_AOSS 8 6062306a36Sopenharmony_ci#define SLAVE_CAMERA_CFG 9 6162306a36Sopenharmony_ci#define SLAVE_CLK_CTL 10 6262306a36Sopenharmony_ci#define SLAVE_CDSP_CFG 11 6362306a36Sopenharmony_ci#define SLAVE_RBCPR_CX_CFG 12 6462306a36Sopenharmony_ci#define SLAVE_RBCPR_MMCX_CFG 13 6562306a36Sopenharmony_ci#define SLAVE_RBCPR_MX_CFG 14 6662306a36Sopenharmony_ci#define SLAVE_CRYPTO_0_CFG 15 6762306a36Sopenharmony_ci#define SLAVE_CNOC_DDRSS 16 6862306a36Sopenharmony_ci#define SLAVE_DISPLAY_CFG 17 6962306a36Sopenharmony_ci#define SLAVE_EMAC_CFG 18 7062306a36Sopenharmony_ci#define SLAVE_GLM 19 7162306a36Sopenharmony_ci#define SLAVE_GRAPHICS_3D_CFG 20 7262306a36Sopenharmony_ci#define SLAVE_IMEM_CFG 21 7362306a36Sopenharmony_ci#define SLAVE_IPA_CFG 22 7462306a36Sopenharmony_ci#define SLAVE_CNOC_MNOC_CFG 23 7562306a36Sopenharmony_ci#define SLAVE_NPU_CFG 24 7662306a36Sopenharmony_ci#define SLAVE_PCIE_0_CFG 25 7762306a36Sopenharmony_ci#define SLAVE_PCIE_1_CFG 26 7862306a36Sopenharmony_ci#define SLAVE_PCIE_2_CFG 27 7962306a36Sopenharmony_ci#define SLAVE_PCIE_3_CFG 28 8062306a36Sopenharmony_ci#define SLAVE_PDM 29 8162306a36Sopenharmony_ci#define SLAVE_PIMEM_CFG 30 8262306a36Sopenharmony_ci#define SLAVE_PRNG 31 8362306a36Sopenharmony_ci#define SLAVE_QDSS_CFG 32 8462306a36Sopenharmony_ci#define SLAVE_QSPI_0 33 8562306a36Sopenharmony_ci#define SLAVE_QSPI_1 34 8662306a36Sopenharmony_ci#define SLAVE_QUP_1 35 8762306a36Sopenharmony_ci#define SLAVE_QUP_2 36 8862306a36Sopenharmony_ci#define SLAVE_QUP_0 37 8962306a36Sopenharmony_ci#define SLAVE_SDCC_2 38 9062306a36Sopenharmony_ci#define SLAVE_SDCC_4 39 9162306a36Sopenharmony_ci#define SLAVE_SECURITY 40 9262306a36Sopenharmony_ci#define SLAVE_SNOC_CFG 41 9362306a36Sopenharmony_ci#define SLAVE_SPSS_CFG 42 9462306a36Sopenharmony_ci#define SLAVE_TCSR 43 9562306a36Sopenharmony_ci#define SLAVE_TLMM_EAST 44 9662306a36Sopenharmony_ci#define SLAVE_TLMM_SOUTH 45 9762306a36Sopenharmony_ci#define SLAVE_TLMM_WEST 46 9862306a36Sopenharmony_ci#define SLAVE_TSIF 47 9962306a36Sopenharmony_ci#define SLAVE_UFS_CARD_CFG 48 10062306a36Sopenharmony_ci#define SLAVE_UFS_MEM_0_CFG 49 10162306a36Sopenharmony_ci#define SLAVE_UFS_MEM_1_CFG 50 10262306a36Sopenharmony_ci#define SLAVE_USB3 51 10362306a36Sopenharmony_ci#define SLAVE_USB3_1 52 10462306a36Sopenharmony_ci#define SLAVE_USB3_2 53 10562306a36Sopenharmony_ci#define SLAVE_VENUS_CFG 54 10662306a36Sopenharmony_ci#define SLAVE_VSENSE_CTRL_CFG 55 10762306a36Sopenharmony_ci#define SLAVE_SERVICE_CNOC 56 10862306a36Sopenharmony_ci 10962306a36Sopenharmony_ci#define MASTER_CNOC_DC_NOC 0 11062306a36Sopenharmony_ci#define SLAVE_GEM_NOC_CFG 1 11162306a36Sopenharmony_ci#define SLAVE_LLCC_CFG 2 11262306a36Sopenharmony_ci 11362306a36Sopenharmony_ci#define MASTER_AMPSS_M0 0 11462306a36Sopenharmony_ci#define MASTER_GPU_TCU 1 11562306a36Sopenharmony_ci#define MASTER_SYS_TCU 2 11662306a36Sopenharmony_ci#define MASTER_GEM_NOC_CFG 3 11762306a36Sopenharmony_ci#define MASTER_COMPUTE_NOC 4 11862306a36Sopenharmony_ci#define MASTER_GRAPHICS_3D 5 11962306a36Sopenharmony_ci#define MASTER_MNOC_HF_MEM_NOC 6 12062306a36Sopenharmony_ci#define MASTER_MNOC_SF_MEM_NOC 7 12162306a36Sopenharmony_ci#define MASTER_GEM_NOC_PCIE_SNOC 8 12262306a36Sopenharmony_ci#define MASTER_SNOC_GC_MEM_NOC 9 12362306a36Sopenharmony_ci#define MASTER_SNOC_SF_MEM_NOC 10 12462306a36Sopenharmony_ci#define MASTER_ECC 11 12562306a36Sopenharmony_ci#define SLAVE_MSS_PROC_MS_MPU_CFG 12 12662306a36Sopenharmony_ci#define SLAVE_ECC 13 12762306a36Sopenharmony_ci#define SLAVE_GEM_NOC_SNOC 14 12862306a36Sopenharmony_ci#define SLAVE_LLCC 15 12962306a36Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC 16 13062306a36Sopenharmony_ci#define SLAVE_SERVICE_GEM_NOC_1 17 13162306a36Sopenharmony_ci 13262306a36Sopenharmony_ci#define MASTER_LLCC 0 13362306a36Sopenharmony_ci#define SLAVE_EBI_CH0 1 13462306a36Sopenharmony_ci 13562306a36Sopenharmony_ci#define MASTER_CNOC_MNOC_CFG 0 13662306a36Sopenharmony_ci#define MASTER_CAMNOC_HF0 1 13762306a36Sopenharmony_ci#define MASTER_CAMNOC_HF1 2 13862306a36Sopenharmony_ci#define MASTER_CAMNOC_SF 3 13962306a36Sopenharmony_ci#define MASTER_MDP_PORT0 4 14062306a36Sopenharmony_ci#define MASTER_MDP_PORT1 5 14162306a36Sopenharmony_ci#define MASTER_ROTATOR 6 14262306a36Sopenharmony_ci#define MASTER_VIDEO_P0 7 14362306a36Sopenharmony_ci#define MASTER_VIDEO_P1 8 14462306a36Sopenharmony_ci#define MASTER_VIDEO_PROC 9 14562306a36Sopenharmony_ci#define SLAVE_MNOC_SF_MEM_NOC 10 14662306a36Sopenharmony_ci#define SLAVE_MNOC_HF_MEM_NOC 11 14762306a36Sopenharmony_ci#define SLAVE_SERVICE_MNOC 12 14862306a36Sopenharmony_ci 14962306a36Sopenharmony_ci#define MASTER_SNOC_CFG 0 15062306a36Sopenharmony_ci#define A1NOC_SNOC_MAS 1 15162306a36Sopenharmony_ci#define A2NOC_SNOC_MAS 2 15262306a36Sopenharmony_ci#define MASTER_GEM_NOC_SNOC 3 15362306a36Sopenharmony_ci#define MASTER_PIMEM 4 15462306a36Sopenharmony_ci#define MASTER_GIC 5 15562306a36Sopenharmony_ci#define SLAVE_APPSS 6 15662306a36Sopenharmony_ci#define SNOC_CNOC_SLV 7 15762306a36Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_GC 8 15862306a36Sopenharmony_ci#define SLAVE_SNOC_GEM_NOC_SF 9 15962306a36Sopenharmony_ci#define SLAVE_OCIMEM 10 16062306a36Sopenharmony_ci#define SLAVE_PIMEM 11 16162306a36Sopenharmony_ci#define SLAVE_SERVICE_SNOC 12 16262306a36Sopenharmony_ci#define SLAVE_PCIE_0 13 16362306a36Sopenharmony_ci#define SLAVE_PCIE_1 14 16462306a36Sopenharmony_ci#define SLAVE_PCIE_2 15 16562306a36Sopenharmony_ci#define SLAVE_PCIE_3 16 16662306a36Sopenharmony_ci#define SLAVE_QDSS_STM 17 16762306a36Sopenharmony_ci#define SLAVE_TCU 18 16862306a36Sopenharmony_ci 16962306a36Sopenharmony_ci#define MASTER_MNOC_HF_MEM_NOC_DISPLAY 0 17062306a36Sopenharmony_ci#define MASTER_MNOC_SF_MEM_NOC_DISPLAY 1 17162306a36Sopenharmony_ci#define SLAVE_LLCC_DISPLAY 2 17262306a36Sopenharmony_ci 17362306a36Sopenharmony_ci#define MASTER_LLCC_DISPLAY 0 17462306a36Sopenharmony_ci#define SLAVE_EBI_CH0_DISPLAY 1 17562306a36Sopenharmony_ci 17662306a36Sopenharmony_ci#define MASTER_MDP_PORT0_DISPLAY 0 17762306a36Sopenharmony_ci#define MASTER_MDP_PORT1_DISPLAY 1 17862306a36Sopenharmony_ci#define MASTER_ROTATOR_DISPLAY 2 17962306a36Sopenharmony_ci#define SLAVE_MNOC_SF_MEM_NOC_DISPLAY 3 18062306a36Sopenharmony_ci#define SLAVE_MNOC_HF_MEM_NOC_DISPLAY 4 18162306a36Sopenharmony_ci 18262306a36Sopenharmony_ci#define MASTER_QUP_CORE_0 0 18362306a36Sopenharmony_ci#define MASTER_QUP_CORE_1 1 18462306a36Sopenharmony_ci#define MASTER_QUP_CORE_2 2 18562306a36Sopenharmony_ci#define SLAVE_QUP_CORE_0 3 18662306a36Sopenharmony_ci#define SLAVE_QUP_CORE_1 4 18762306a36Sopenharmony_ci#define SLAVE_QUP_CORE_2 5 18862306a36Sopenharmony_ci 18962306a36Sopenharmony_ci#endif 190