162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Qualcomm MSM8996 interconnect IDs 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (c) 2021 Yassine Oudjana <y.oudjana@protonmail.com> 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_MSM8996_H 962306a36Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_MSM8996_H 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci/* A0NOC */ 1262306a36Sopenharmony_ci#define MASTER_PCIE_0 0 1362306a36Sopenharmony_ci#define MASTER_PCIE_1 1 1462306a36Sopenharmony_ci#define MASTER_PCIE_2 2 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci/* A1NOC */ 1762306a36Sopenharmony_ci#define MASTER_CNOC_A1NOC 0 1862306a36Sopenharmony_ci#define MASTER_CRYPTO_CORE0 1 1962306a36Sopenharmony_ci#define MASTER_PNOC_A1NOC 2 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci/* A2NOC */ 2262306a36Sopenharmony_ci#define MASTER_USB3 0 2362306a36Sopenharmony_ci#define MASTER_IPA 1 2462306a36Sopenharmony_ci#define MASTER_UFS 2 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci/* BIMC */ 2762306a36Sopenharmony_ci#define MASTER_AMPSS_M0 0 2862306a36Sopenharmony_ci#define MASTER_GRAPHICS_3D 1 2962306a36Sopenharmony_ci#define MASTER_MNOC_BIMC 2 3062306a36Sopenharmony_ci#define MASTER_SNOC_BIMC 3 3162306a36Sopenharmony_ci#define SLAVE_EBI_CH0 4 3262306a36Sopenharmony_ci#define SLAVE_HMSS_L3 5 3362306a36Sopenharmony_ci#define SLAVE_BIMC_SNOC_0 6 3462306a36Sopenharmony_ci#define SLAVE_BIMC_SNOC_1 7 3562306a36Sopenharmony_ci 3662306a36Sopenharmony_ci/* CNOC */ 3762306a36Sopenharmony_ci#define MASTER_SNOC_CNOC 0 3862306a36Sopenharmony_ci#define MASTER_QDSS_DAP 1 3962306a36Sopenharmony_ci#define SLAVE_CNOC_A1NOC 2 4062306a36Sopenharmony_ci#define SLAVE_CLK_CTL 3 4162306a36Sopenharmony_ci#define SLAVE_TCSR 4 4262306a36Sopenharmony_ci#define SLAVE_TLMM 5 4362306a36Sopenharmony_ci#define SLAVE_CRYPTO_0_CFG 6 4462306a36Sopenharmony_ci#define SLAVE_MPM 7 4562306a36Sopenharmony_ci#define SLAVE_PIMEM_CFG 8 4662306a36Sopenharmony_ci#define SLAVE_IMEM_CFG 9 4762306a36Sopenharmony_ci#define SLAVE_MESSAGE_RAM 10 4862306a36Sopenharmony_ci#define SLAVE_BIMC_CFG 11 4962306a36Sopenharmony_ci#define SLAVE_PMIC_ARB 12 5062306a36Sopenharmony_ci#define SLAVE_PRNG 13 5162306a36Sopenharmony_ci#define SLAVE_DCC_CFG 14 5262306a36Sopenharmony_ci#define SLAVE_RBCPR_MX 15 5362306a36Sopenharmony_ci#define SLAVE_QDSS_CFG 16 5462306a36Sopenharmony_ci#define SLAVE_RBCPR_CX 17 5562306a36Sopenharmony_ci#define SLAVE_QDSS_RBCPR_APU 18 5662306a36Sopenharmony_ci#define SLAVE_CNOC_MNOC_CFG 19 5762306a36Sopenharmony_ci#define SLAVE_SNOC_CFG 20 5862306a36Sopenharmony_ci#define SLAVE_SNOC_MPU_CFG 21 5962306a36Sopenharmony_ci#define SLAVE_EBI1_PHY_CFG 22 6062306a36Sopenharmony_ci#define SLAVE_A0NOC_CFG 23 6162306a36Sopenharmony_ci#define SLAVE_PCIE_1_CFG 24 6262306a36Sopenharmony_ci#define SLAVE_PCIE_2_CFG 25 6362306a36Sopenharmony_ci#define SLAVE_PCIE_0_CFG 26 6462306a36Sopenharmony_ci#define SLAVE_PCIE20_AHB2PHY 27 6562306a36Sopenharmony_ci#define SLAVE_A0NOC_MPU_CFG 28 6662306a36Sopenharmony_ci#define SLAVE_UFS_CFG 29 6762306a36Sopenharmony_ci#define SLAVE_A1NOC_CFG 30 6862306a36Sopenharmony_ci#define SLAVE_A1NOC_MPU_CFG 31 6962306a36Sopenharmony_ci#define SLAVE_A2NOC_CFG 32 7062306a36Sopenharmony_ci#define SLAVE_A2NOC_MPU_CFG 33 7162306a36Sopenharmony_ci#define SLAVE_SSC_CFG 34 7262306a36Sopenharmony_ci#define SLAVE_A0NOC_SMMU_CFG 35 7362306a36Sopenharmony_ci#define SLAVE_A1NOC_SMMU_CFG 36 7462306a36Sopenharmony_ci#define SLAVE_A2NOC_SMMU_CFG 37 7562306a36Sopenharmony_ci#define SLAVE_LPASS_SMMU_CFG 38 7662306a36Sopenharmony_ci#define SLAVE_CNOC_MNOC_MMSS_CFG 39 7762306a36Sopenharmony_ci 7862306a36Sopenharmony_ci/* MNOC */ 7962306a36Sopenharmony_ci#define MASTER_CNOC_MNOC_CFG 0 8062306a36Sopenharmony_ci#define MASTER_CPP 1 8162306a36Sopenharmony_ci#define MASTER_JPEG 2 8262306a36Sopenharmony_ci#define MASTER_MDP_PORT0 3 8362306a36Sopenharmony_ci#define MASTER_MDP_PORT1 4 8462306a36Sopenharmony_ci#define MASTER_ROTATOR 5 8562306a36Sopenharmony_ci#define MASTER_VIDEO_P0 6 8662306a36Sopenharmony_ci#define MASTER_VFE 7 8762306a36Sopenharmony_ci#define MASTER_SNOC_VMEM 8 8862306a36Sopenharmony_ci#define MASTER_VIDEO_P0_OCMEM 9 8962306a36Sopenharmony_ci#define MASTER_CNOC_MNOC_MMSS_CFG 10 9062306a36Sopenharmony_ci#define SLAVE_MNOC_BIMC 11 9162306a36Sopenharmony_ci#define SLAVE_VMEM 12 9262306a36Sopenharmony_ci#define SLAVE_SERVICE_MNOC 13 9362306a36Sopenharmony_ci#define SLAVE_MMAGIC_CFG 14 9462306a36Sopenharmony_ci#define SLAVE_CPR_CFG 15 9562306a36Sopenharmony_ci#define SLAVE_MISC_CFG 16 9662306a36Sopenharmony_ci#define SLAVE_VENUS_THROTTLE_CFG 17 9762306a36Sopenharmony_ci#define SLAVE_VENUS_CFG 18 9862306a36Sopenharmony_ci#define SLAVE_VMEM_CFG 19 9962306a36Sopenharmony_ci#define SLAVE_DSA_CFG 20 10062306a36Sopenharmony_ci#define SLAVE_MMSS_CLK_CFG 21 10162306a36Sopenharmony_ci#define SLAVE_DSA_MPU_CFG 22 10262306a36Sopenharmony_ci#define SLAVE_MNOC_MPU_CFG 23 10362306a36Sopenharmony_ci#define SLAVE_DISPLAY_CFG 24 10462306a36Sopenharmony_ci#define SLAVE_DISPLAY_THROTTLE_CFG 25 10562306a36Sopenharmony_ci#define SLAVE_CAMERA_CFG 26 10662306a36Sopenharmony_ci#define SLAVE_CAMERA_THROTTLE_CFG 27 10762306a36Sopenharmony_ci#define SLAVE_GRAPHICS_3D_CFG 28 10862306a36Sopenharmony_ci#define SLAVE_SMMU_MDP_CFG 29 10962306a36Sopenharmony_ci#define SLAVE_SMMU_ROT_CFG 30 11062306a36Sopenharmony_ci#define SLAVE_SMMU_VENUS_CFG 31 11162306a36Sopenharmony_ci#define SLAVE_SMMU_CPP_CFG 32 11262306a36Sopenharmony_ci#define SLAVE_SMMU_JPEG_CFG 33 11362306a36Sopenharmony_ci#define SLAVE_SMMU_VFE_CFG 34 11462306a36Sopenharmony_ci 11562306a36Sopenharmony_ci/* PNOC */ 11662306a36Sopenharmony_ci#define MASTER_SNOC_PNOC 0 11762306a36Sopenharmony_ci#define MASTER_SDCC_1 1 11862306a36Sopenharmony_ci#define MASTER_SDCC_2 2 11962306a36Sopenharmony_ci#define MASTER_SDCC_4 3 12062306a36Sopenharmony_ci#define MASTER_USB_HS 4 12162306a36Sopenharmony_ci#define MASTER_BLSP_1 5 12262306a36Sopenharmony_ci#define MASTER_BLSP_2 6 12362306a36Sopenharmony_ci#define MASTER_TSIF 7 12462306a36Sopenharmony_ci#define SLAVE_PNOC_A1NOC 8 12562306a36Sopenharmony_ci#define SLAVE_USB_HS 9 12662306a36Sopenharmony_ci#define SLAVE_SDCC_2 10 12762306a36Sopenharmony_ci#define SLAVE_SDCC_4 11 12862306a36Sopenharmony_ci#define SLAVE_TSIF 12 12962306a36Sopenharmony_ci#define SLAVE_BLSP_2 13 13062306a36Sopenharmony_ci#define SLAVE_SDCC_1 14 13162306a36Sopenharmony_ci#define SLAVE_BLSP_1 15 13262306a36Sopenharmony_ci#define SLAVE_PDM 16 13362306a36Sopenharmony_ci#define SLAVE_AHB2PHY 17 13462306a36Sopenharmony_ci 13562306a36Sopenharmony_ci/* SNOC */ 13662306a36Sopenharmony_ci#define MASTER_HMSS 0 13762306a36Sopenharmony_ci#define MASTER_QDSS_BAM 1 13862306a36Sopenharmony_ci#define MASTER_SNOC_CFG 2 13962306a36Sopenharmony_ci#define MASTER_BIMC_SNOC_0 3 14062306a36Sopenharmony_ci#define MASTER_BIMC_SNOC_1 4 14162306a36Sopenharmony_ci#define MASTER_A0NOC_SNOC 5 14262306a36Sopenharmony_ci#define MASTER_A1NOC_SNOC 6 14362306a36Sopenharmony_ci#define MASTER_A2NOC_SNOC 7 14462306a36Sopenharmony_ci#define MASTER_QDSS_ETR 8 14562306a36Sopenharmony_ci#define SLAVE_A0NOC_SNOC 9 14662306a36Sopenharmony_ci#define SLAVE_A1NOC_SNOC 10 14762306a36Sopenharmony_ci#define SLAVE_A2NOC_SNOC 11 14862306a36Sopenharmony_ci#define SLAVE_HMSS 12 14962306a36Sopenharmony_ci#define SLAVE_LPASS 13 15062306a36Sopenharmony_ci#define SLAVE_USB3 14 15162306a36Sopenharmony_ci#define SLAVE_SNOC_BIMC 15 15262306a36Sopenharmony_ci#define SLAVE_SNOC_CNOC 16 15362306a36Sopenharmony_ci#define SLAVE_IMEM 17 15462306a36Sopenharmony_ci#define SLAVE_PIMEM 18 15562306a36Sopenharmony_ci#define SLAVE_SNOC_VMEM 19 15662306a36Sopenharmony_ci#define SLAVE_SNOC_PNOC 20 15762306a36Sopenharmony_ci#define SLAVE_QDSS_STM 21 15862306a36Sopenharmony_ci#define SLAVE_PCIE_0 22 15962306a36Sopenharmony_ci#define SLAVE_PCIE_1 23 16062306a36Sopenharmony_ci#define SLAVE_PCIE_2 24 16162306a36Sopenharmony_ci#define SLAVE_SERVICE_SNOC 25 16262306a36Sopenharmony_ci 16362306a36Sopenharmony_ci#endif 164