164 lines · c
1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */2/*3 * Qualcomm MSM8996 interconnect IDs4 *5 * Copyright (c) 2021 Yassine Oudjana <y.oudjana@protonmail.com>6 */7 8#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_MSM8996_H9#define __DT_BINDINGS_INTERCONNECT_QCOM_MSM8996_H10 11/* A0NOC */12#define MASTER_PCIE_0 013#define MASTER_PCIE_1 114#define MASTER_PCIE_2 215 16/* A1NOC */17#define MASTER_CNOC_A1NOC 018#define MASTER_CRYPTO_CORE0 119#define MASTER_PNOC_A1NOC 220 21/* A2NOC */22#define MASTER_USB3 023#define MASTER_IPA 124#define MASTER_UFS 225 26/* BIMC */27#define MASTER_AMPSS_M0 028#define MASTER_GRAPHICS_3D 129#define MASTER_MNOC_BIMC 230#define MASTER_SNOC_BIMC 331#define SLAVE_EBI_CH0 432#define SLAVE_HMSS_L3 533#define SLAVE_BIMC_SNOC_0 634#define SLAVE_BIMC_SNOC_1 735 36/* CNOC */37#define MASTER_SNOC_CNOC 038#define MASTER_QDSS_DAP 139#define SLAVE_CNOC_A1NOC 240#define SLAVE_CLK_CTL 341#define SLAVE_TCSR 442#define SLAVE_TLMM 543#define SLAVE_CRYPTO_0_CFG 644#define SLAVE_MPM 745#define SLAVE_PIMEM_CFG 846#define SLAVE_IMEM_CFG 947#define SLAVE_MESSAGE_RAM 1048#define SLAVE_BIMC_CFG 1149#define SLAVE_PMIC_ARB 1250#define SLAVE_PRNG 1351#define SLAVE_DCC_CFG 1452#define SLAVE_RBCPR_MX 1553#define SLAVE_QDSS_CFG 1654#define SLAVE_RBCPR_CX 1755#define SLAVE_QDSS_RBCPR_APU 1856#define SLAVE_CNOC_MNOC_CFG 1957#define SLAVE_SNOC_CFG 2058#define SLAVE_SNOC_MPU_CFG 2159#define SLAVE_EBI1_PHY_CFG 2260#define SLAVE_A0NOC_CFG 2361#define SLAVE_PCIE_1_CFG 2462#define SLAVE_PCIE_2_CFG 2563#define SLAVE_PCIE_0_CFG 2664#define SLAVE_PCIE20_AHB2PHY 2765#define SLAVE_A0NOC_MPU_CFG 2866#define SLAVE_UFS_CFG 2967#define SLAVE_A1NOC_CFG 3068#define SLAVE_A1NOC_MPU_CFG 3169#define SLAVE_A2NOC_CFG 3270#define SLAVE_A2NOC_MPU_CFG 3371#define SLAVE_SSC_CFG 3472#define SLAVE_A0NOC_SMMU_CFG 3573#define SLAVE_A1NOC_SMMU_CFG 3674#define SLAVE_A2NOC_SMMU_CFG 3775#define SLAVE_LPASS_SMMU_CFG 3876#define SLAVE_CNOC_MNOC_MMSS_CFG 3977 78/* MNOC */79#define MASTER_CNOC_MNOC_CFG 080#define MASTER_CPP 181#define MASTER_JPEG 282#define MASTER_MDP_PORT0 383#define MASTER_MDP_PORT1 484#define MASTER_ROTATOR 585#define MASTER_VIDEO_P0 686#define MASTER_VFE 787#define MASTER_SNOC_VMEM 888#define MASTER_VIDEO_P0_OCMEM 989#define MASTER_CNOC_MNOC_MMSS_CFG 1090#define SLAVE_MNOC_BIMC 1191#define SLAVE_VMEM 1292#define SLAVE_SERVICE_MNOC 1393#define SLAVE_MMAGIC_CFG 1494#define SLAVE_CPR_CFG 1595#define SLAVE_MISC_CFG 1696#define SLAVE_VENUS_THROTTLE_CFG 1797#define SLAVE_VENUS_CFG 1898#define SLAVE_VMEM_CFG 1999#define SLAVE_DSA_CFG 20100#define SLAVE_MMSS_CLK_CFG 21101#define SLAVE_DSA_MPU_CFG 22102#define SLAVE_MNOC_MPU_CFG 23103#define SLAVE_DISPLAY_CFG 24104#define SLAVE_DISPLAY_THROTTLE_CFG 25105#define SLAVE_CAMERA_CFG 26106#define SLAVE_CAMERA_THROTTLE_CFG 27107#define SLAVE_GRAPHICS_3D_CFG 28108#define SLAVE_SMMU_MDP_CFG 29109#define SLAVE_SMMU_ROT_CFG 30110#define SLAVE_SMMU_VENUS_CFG 31111#define SLAVE_SMMU_CPP_CFG 32112#define SLAVE_SMMU_JPEG_CFG 33113#define SLAVE_SMMU_VFE_CFG 34114 115/* PNOC */116#define MASTER_SNOC_PNOC 0117#define MASTER_SDCC_1 1118#define MASTER_SDCC_2 2119#define MASTER_SDCC_4 3120#define MASTER_USB_HS 4121#define MASTER_BLSP_1 5122#define MASTER_BLSP_2 6123#define MASTER_TSIF 7124#define SLAVE_PNOC_A1NOC 8125#define SLAVE_USB_HS 9126#define SLAVE_SDCC_2 10127#define SLAVE_SDCC_4 11128#define SLAVE_TSIF 12129#define SLAVE_BLSP_2 13130#define SLAVE_SDCC_1 14131#define SLAVE_BLSP_1 15132#define SLAVE_PDM 16133#define SLAVE_AHB2PHY 17134 135/* SNOC */136#define MASTER_HMSS 0137#define MASTER_QDSS_BAM 1138#define MASTER_SNOC_CFG 2139#define MASTER_BIMC_SNOC_0 3140#define MASTER_BIMC_SNOC_1 4141#define MASTER_A0NOC_SNOC 5142#define MASTER_A1NOC_SNOC 6143#define MASTER_A2NOC_SNOC 7144#define MASTER_QDSS_ETR 8145#define SLAVE_A0NOC_SNOC 9146#define SLAVE_A1NOC_SNOC 10147#define SLAVE_A2NOC_SNOC 11148#define SLAVE_HMSS 12149#define SLAVE_LPASS 13150#define SLAVE_USB3 14151#define SLAVE_SNOC_BIMC 15152#define SLAVE_SNOC_CNOC 16153#define SLAVE_IMEM 17154#define SLAVE_PIMEM 18155#define SLAVE_SNOC_VMEM 19156#define SLAVE_SNOC_PNOC 20157#define SLAVE_QDSS_STM 21158#define SLAVE_PCIE_0 22159#define SLAVE_PCIE_1 23160#define SLAVE_PCIE_2 24161#define SLAVE_SERVICE_SNOC 25162 163#endif164