162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Qualcomm msm8974 interconnect IDs
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (c) 2019 Brian Masney <masneyb@onstation.org>
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_MSM8974_H
962306a36Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_MSM8974_H
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#define BIMC_MAS_AMPSS_M0		0
1262306a36Sopenharmony_ci#define BIMC_MAS_AMPSS_M1		1
1362306a36Sopenharmony_ci#define BIMC_MAS_MSS_PROC		2
1462306a36Sopenharmony_ci#define BIMC_TO_MNOC			3
1562306a36Sopenharmony_ci#define BIMC_TO_SNOC			4
1662306a36Sopenharmony_ci#define BIMC_SLV_EBI_CH0		5
1762306a36Sopenharmony_ci#define BIMC_SLV_AMPSS_L2		6
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci#define CNOC_MAS_RPM_INST		0
2062306a36Sopenharmony_ci#define CNOC_MAS_RPM_DATA		1
2162306a36Sopenharmony_ci#define CNOC_MAS_RPM_SYS		2
2262306a36Sopenharmony_ci#define CNOC_MAS_DEHR			3
2362306a36Sopenharmony_ci#define CNOC_MAS_QDSS_DAP		4
2462306a36Sopenharmony_ci#define CNOC_MAS_SPDM			5
2562306a36Sopenharmony_ci#define CNOC_MAS_TIC			6
2662306a36Sopenharmony_ci#define CNOC_SLV_CLK_CTL		7
2762306a36Sopenharmony_ci#define CNOC_SLV_CNOC_MSS		8
2862306a36Sopenharmony_ci#define CNOC_SLV_SECURITY		9
2962306a36Sopenharmony_ci#define CNOC_SLV_TCSR			10
3062306a36Sopenharmony_ci#define CNOC_SLV_TLMM			11
3162306a36Sopenharmony_ci#define CNOC_SLV_CRYPTO_0_CFG		12
3262306a36Sopenharmony_ci#define CNOC_SLV_CRYPTO_1_CFG		13
3362306a36Sopenharmony_ci#define CNOC_SLV_IMEM_CFG		14
3462306a36Sopenharmony_ci#define CNOC_SLV_MESSAGE_RAM		15
3562306a36Sopenharmony_ci#define CNOC_SLV_BIMC_CFG		16
3662306a36Sopenharmony_ci#define CNOC_SLV_BOOT_ROM		17
3762306a36Sopenharmony_ci#define CNOC_SLV_PMIC_ARB		18
3862306a36Sopenharmony_ci#define CNOC_SLV_SPDM_WRAPPER		19
3962306a36Sopenharmony_ci#define CNOC_SLV_DEHR_CFG		20
4062306a36Sopenharmony_ci#define CNOC_SLV_MPM			21
4162306a36Sopenharmony_ci#define CNOC_SLV_QDSS_CFG		22
4262306a36Sopenharmony_ci#define CNOC_SLV_RBCPR_CFG		23
4362306a36Sopenharmony_ci#define CNOC_SLV_RBCPR_QDSS_APU_CFG	24
4462306a36Sopenharmony_ci#define CNOC_TO_SNOC			25
4562306a36Sopenharmony_ci#define CNOC_SLV_CNOC_ONOC_CFG		26
4662306a36Sopenharmony_ci#define CNOC_SLV_CNOC_MNOC_MMSS_CFG	27
4762306a36Sopenharmony_ci#define CNOC_SLV_CNOC_MNOC_CFG		28
4862306a36Sopenharmony_ci#define CNOC_SLV_PNOC_CFG		29
4962306a36Sopenharmony_ci#define CNOC_SLV_SNOC_MPU_CFG		30
5062306a36Sopenharmony_ci#define CNOC_SLV_SNOC_CFG		31
5162306a36Sopenharmony_ci#define CNOC_SLV_EBI1_DLL_CFG		32
5262306a36Sopenharmony_ci#define CNOC_SLV_PHY_APU_CFG		33
5362306a36Sopenharmony_ci#define CNOC_SLV_EBI1_PHY_CFG		34
5462306a36Sopenharmony_ci#define CNOC_SLV_RPM			35
5562306a36Sopenharmony_ci#define CNOC_SLV_SERVICE_CNOC		36
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ci#define MNOC_MAS_GRAPHICS_3D		0
5862306a36Sopenharmony_ci#define MNOC_MAS_JPEG			1
5962306a36Sopenharmony_ci#define MNOC_MAS_MDP_PORT0		2
6062306a36Sopenharmony_ci#define MNOC_MAS_VIDEO_P0		3
6162306a36Sopenharmony_ci#define MNOC_MAS_VIDEO_P1		4
6262306a36Sopenharmony_ci#define MNOC_MAS_VFE			5
6362306a36Sopenharmony_ci#define MNOC_TO_CNOC			6
6462306a36Sopenharmony_ci#define MNOC_TO_BIMC			7
6562306a36Sopenharmony_ci#define MNOC_SLV_CAMERA_CFG		8
6662306a36Sopenharmony_ci#define MNOC_SLV_DISPLAY_CFG		9
6762306a36Sopenharmony_ci#define MNOC_SLV_OCMEM_CFG		10
6862306a36Sopenharmony_ci#define MNOC_SLV_CPR_CFG		11
6962306a36Sopenharmony_ci#define MNOC_SLV_CPR_XPU_CFG		12
7062306a36Sopenharmony_ci#define MNOC_SLV_MISC_CFG		13
7162306a36Sopenharmony_ci#define MNOC_SLV_MISC_XPU_CFG		14
7262306a36Sopenharmony_ci#define MNOC_SLV_VENUS_CFG		15
7362306a36Sopenharmony_ci#define MNOC_SLV_GRAPHICS_3D_CFG	16
7462306a36Sopenharmony_ci#define MNOC_SLV_MMSS_CLK_CFG		17
7562306a36Sopenharmony_ci#define MNOC_SLV_MMSS_CLK_XPU_CFG	18
7662306a36Sopenharmony_ci#define MNOC_SLV_MNOC_MPU_CFG		19
7762306a36Sopenharmony_ci#define MNOC_SLV_ONOC_MPU_CFG		20
7862306a36Sopenharmony_ci#define MNOC_SLV_SERVICE_MNOC		21
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ci#define OCMEM_NOC_TO_OCMEM_VNOC		0
8162306a36Sopenharmony_ci#define OCMEM_MAS_JPEG_OCMEM		1
8262306a36Sopenharmony_ci#define OCMEM_MAS_MDP_OCMEM		2
8362306a36Sopenharmony_ci#define OCMEM_MAS_VIDEO_P0_OCMEM	3
8462306a36Sopenharmony_ci#define OCMEM_MAS_VIDEO_P1_OCMEM	4
8562306a36Sopenharmony_ci#define OCMEM_MAS_VFE_OCMEM		5
8662306a36Sopenharmony_ci#define OCMEM_MAS_CNOC_ONOC_CFG		6
8762306a36Sopenharmony_ci#define OCMEM_SLV_SERVICE_ONOC		7
8862306a36Sopenharmony_ci#define OCMEM_VNOC_TO_SNOC		8
8962306a36Sopenharmony_ci#define OCMEM_VNOC_TO_OCMEM_NOC		9
9062306a36Sopenharmony_ci#define OCMEM_VNOC_MAS_GFX3D		10
9162306a36Sopenharmony_ci#define OCMEM_SLV_OCMEM			11
9262306a36Sopenharmony_ci
9362306a36Sopenharmony_ci#define PNOC_MAS_PNOC_CFG		0
9462306a36Sopenharmony_ci#define PNOC_MAS_SDCC_1			1
9562306a36Sopenharmony_ci#define PNOC_MAS_SDCC_3			2
9662306a36Sopenharmony_ci#define PNOC_MAS_SDCC_4			3
9762306a36Sopenharmony_ci#define PNOC_MAS_SDCC_2			4
9862306a36Sopenharmony_ci#define PNOC_MAS_TSIF			5
9962306a36Sopenharmony_ci#define PNOC_MAS_BAM_DMA		6
10062306a36Sopenharmony_ci#define PNOC_MAS_BLSP_2			7
10162306a36Sopenharmony_ci#define PNOC_MAS_USB_HSIC		8
10262306a36Sopenharmony_ci#define PNOC_MAS_BLSP_1			9
10362306a36Sopenharmony_ci#define PNOC_MAS_USB_HS			10
10462306a36Sopenharmony_ci#define PNOC_TO_SNOC			11
10562306a36Sopenharmony_ci#define PNOC_SLV_SDCC_1			12
10662306a36Sopenharmony_ci#define PNOC_SLV_SDCC_3			13
10762306a36Sopenharmony_ci#define PNOC_SLV_SDCC_2			14
10862306a36Sopenharmony_ci#define PNOC_SLV_SDCC_4			15
10962306a36Sopenharmony_ci#define PNOC_SLV_TSIF			16
11062306a36Sopenharmony_ci#define PNOC_SLV_BAM_DMA		17
11162306a36Sopenharmony_ci#define PNOC_SLV_BLSP_2			18
11262306a36Sopenharmony_ci#define PNOC_SLV_USB_HSIC		19
11362306a36Sopenharmony_ci#define PNOC_SLV_BLSP_1			20
11462306a36Sopenharmony_ci#define PNOC_SLV_USB_HS			21
11562306a36Sopenharmony_ci#define PNOC_SLV_PDM			22
11662306a36Sopenharmony_ci#define PNOC_SLV_PERIPH_APU_CFG		23
11762306a36Sopenharmony_ci#define PNOC_SLV_PNOC_MPU_CFG		24
11862306a36Sopenharmony_ci#define PNOC_SLV_PRNG			25
11962306a36Sopenharmony_ci#define PNOC_SLV_SERVICE_PNOC		26
12062306a36Sopenharmony_ci
12162306a36Sopenharmony_ci#define SNOC_MAS_LPASS_AHB		0
12262306a36Sopenharmony_ci#define SNOC_MAS_QDSS_BAM		1
12362306a36Sopenharmony_ci#define SNOC_MAS_SNOC_CFG		2
12462306a36Sopenharmony_ci#define SNOC_TO_BIMC			3
12562306a36Sopenharmony_ci#define SNOC_TO_CNOC			4
12662306a36Sopenharmony_ci#define SNOC_TO_PNOC			5
12762306a36Sopenharmony_ci#define SNOC_TO_OCMEM_VNOC		6
12862306a36Sopenharmony_ci#define SNOC_MAS_CRYPTO_CORE0		7
12962306a36Sopenharmony_ci#define SNOC_MAS_CRYPTO_CORE1		8
13062306a36Sopenharmony_ci#define SNOC_MAS_LPASS_PROC		9
13162306a36Sopenharmony_ci#define SNOC_MAS_MSS			10
13262306a36Sopenharmony_ci#define SNOC_MAS_MSS_NAV		11
13362306a36Sopenharmony_ci#define SNOC_MAS_OCMEM_DMA		12
13462306a36Sopenharmony_ci#define SNOC_MAS_WCSS			13
13562306a36Sopenharmony_ci#define SNOC_MAS_QDSS_ETR		14
13662306a36Sopenharmony_ci#define SNOC_MAS_USB3			15
13762306a36Sopenharmony_ci#define SNOC_SLV_AMPSS			16
13862306a36Sopenharmony_ci#define SNOC_SLV_LPASS			17
13962306a36Sopenharmony_ci#define SNOC_SLV_USB3			18
14062306a36Sopenharmony_ci#define SNOC_SLV_WCSS			19
14162306a36Sopenharmony_ci#define SNOC_SLV_OCIMEM			20
14262306a36Sopenharmony_ci#define SNOC_SLV_SNOC_OCMEM		21
14362306a36Sopenharmony_ci#define SNOC_SLV_SERVICE_SNOC		22
14462306a36Sopenharmony_ci#define SNOC_SLV_QDSS_STM		23
14562306a36Sopenharmony_ci
14662306a36Sopenharmony_ci#endif
147