18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Qualcomm msm8974 interconnect IDs
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (c) 2019 Brian Masney <masneyb@onstation.org>
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_MSM8974_H
98c2ecf20Sopenharmony_ci#define __DT_BINDINGS_INTERCONNECT_QCOM_MSM8974_H
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#define BIMC_MAS_AMPSS_M0		0
128c2ecf20Sopenharmony_ci#define BIMC_MAS_AMPSS_M1		1
138c2ecf20Sopenharmony_ci#define BIMC_MAS_MSS_PROC		2
148c2ecf20Sopenharmony_ci#define BIMC_TO_MNOC			3
158c2ecf20Sopenharmony_ci#define BIMC_TO_SNOC			4
168c2ecf20Sopenharmony_ci#define BIMC_SLV_EBI_CH0		5
178c2ecf20Sopenharmony_ci#define BIMC_SLV_AMPSS_L2		6
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#define CNOC_MAS_RPM_INST		0
208c2ecf20Sopenharmony_ci#define CNOC_MAS_RPM_DATA		1
218c2ecf20Sopenharmony_ci#define CNOC_MAS_RPM_SYS		2
228c2ecf20Sopenharmony_ci#define CNOC_MAS_DEHR			3
238c2ecf20Sopenharmony_ci#define CNOC_MAS_QDSS_DAP		4
248c2ecf20Sopenharmony_ci#define CNOC_MAS_SPDM			5
258c2ecf20Sopenharmony_ci#define CNOC_MAS_TIC			6
268c2ecf20Sopenharmony_ci#define CNOC_SLV_CLK_CTL		7
278c2ecf20Sopenharmony_ci#define CNOC_SLV_CNOC_MSS		8
288c2ecf20Sopenharmony_ci#define CNOC_SLV_SECURITY		9
298c2ecf20Sopenharmony_ci#define CNOC_SLV_TCSR			10
308c2ecf20Sopenharmony_ci#define CNOC_SLV_TLMM			11
318c2ecf20Sopenharmony_ci#define CNOC_SLV_CRYPTO_0_CFG		12
328c2ecf20Sopenharmony_ci#define CNOC_SLV_CRYPTO_1_CFG		13
338c2ecf20Sopenharmony_ci#define CNOC_SLV_IMEM_CFG		14
348c2ecf20Sopenharmony_ci#define CNOC_SLV_MESSAGE_RAM		15
358c2ecf20Sopenharmony_ci#define CNOC_SLV_BIMC_CFG		16
368c2ecf20Sopenharmony_ci#define CNOC_SLV_BOOT_ROM		17
378c2ecf20Sopenharmony_ci#define CNOC_SLV_PMIC_ARB		18
388c2ecf20Sopenharmony_ci#define CNOC_SLV_SPDM_WRAPPER		19
398c2ecf20Sopenharmony_ci#define CNOC_SLV_DEHR_CFG		20
408c2ecf20Sopenharmony_ci#define CNOC_SLV_MPM			21
418c2ecf20Sopenharmony_ci#define CNOC_SLV_QDSS_CFG		22
428c2ecf20Sopenharmony_ci#define CNOC_SLV_RBCPR_CFG		23
438c2ecf20Sopenharmony_ci#define CNOC_SLV_RBCPR_QDSS_APU_CFG	24
448c2ecf20Sopenharmony_ci#define CNOC_TO_SNOC			25
458c2ecf20Sopenharmony_ci#define CNOC_SLV_CNOC_ONOC_CFG		26
468c2ecf20Sopenharmony_ci#define CNOC_SLV_CNOC_MNOC_MMSS_CFG	27
478c2ecf20Sopenharmony_ci#define CNOC_SLV_CNOC_MNOC_CFG		28
488c2ecf20Sopenharmony_ci#define CNOC_SLV_PNOC_CFG		29
498c2ecf20Sopenharmony_ci#define CNOC_SLV_SNOC_MPU_CFG		30
508c2ecf20Sopenharmony_ci#define CNOC_SLV_SNOC_CFG		31
518c2ecf20Sopenharmony_ci#define CNOC_SLV_EBI1_DLL_CFG		32
528c2ecf20Sopenharmony_ci#define CNOC_SLV_PHY_APU_CFG		33
538c2ecf20Sopenharmony_ci#define CNOC_SLV_EBI1_PHY_CFG		34
548c2ecf20Sopenharmony_ci#define CNOC_SLV_RPM			35
558c2ecf20Sopenharmony_ci#define CNOC_SLV_SERVICE_CNOC		36
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ci#define MNOC_MAS_GRAPHICS_3D		0
588c2ecf20Sopenharmony_ci#define MNOC_MAS_JPEG			1
598c2ecf20Sopenharmony_ci#define MNOC_MAS_MDP_PORT0		2
608c2ecf20Sopenharmony_ci#define MNOC_MAS_VIDEO_P0		3
618c2ecf20Sopenharmony_ci#define MNOC_MAS_VIDEO_P1		4
628c2ecf20Sopenharmony_ci#define MNOC_MAS_VFE			5
638c2ecf20Sopenharmony_ci#define MNOC_TO_CNOC			6
648c2ecf20Sopenharmony_ci#define MNOC_TO_BIMC			7
658c2ecf20Sopenharmony_ci#define MNOC_SLV_CAMERA_CFG		8
668c2ecf20Sopenharmony_ci#define MNOC_SLV_DISPLAY_CFG		9
678c2ecf20Sopenharmony_ci#define MNOC_SLV_OCMEM_CFG		10
688c2ecf20Sopenharmony_ci#define MNOC_SLV_CPR_CFG		11
698c2ecf20Sopenharmony_ci#define MNOC_SLV_CPR_XPU_CFG		12
708c2ecf20Sopenharmony_ci#define MNOC_SLV_MISC_CFG		13
718c2ecf20Sopenharmony_ci#define MNOC_SLV_MISC_XPU_CFG		14
728c2ecf20Sopenharmony_ci#define MNOC_SLV_VENUS_CFG		15
738c2ecf20Sopenharmony_ci#define MNOC_SLV_GRAPHICS_3D_CFG	16
748c2ecf20Sopenharmony_ci#define MNOC_SLV_MMSS_CLK_CFG		17
758c2ecf20Sopenharmony_ci#define MNOC_SLV_MMSS_CLK_XPU_CFG	18
768c2ecf20Sopenharmony_ci#define MNOC_SLV_MNOC_MPU_CFG		19
778c2ecf20Sopenharmony_ci#define MNOC_SLV_ONOC_MPU_CFG		20
788c2ecf20Sopenharmony_ci#define MNOC_SLV_SERVICE_MNOC		21
798c2ecf20Sopenharmony_ci
808c2ecf20Sopenharmony_ci#define OCMEM_NOC_TO_OCMEM_VNOC		0
818c2ecf20Sopenharmony_ci#define OCMEM_MAS_JPEG_OCMEM		1
828c2ecf20Sopenharmony_ci#define OCMEM_MAS_MDP_OCMEM		2
838c2ecf20Sopenharmony_ci#define OCMEM_MAS_VIDEO_P0_OCMEM	3
848c2ecf20Sopenharmony_ci#define OCMEM_MAS_VIDEO_P1_OCMEM	4
858c2ecf20Sopenharmony_ci#define OCMEM_MAS_VFE_OCMEM		5
868c2ecf20Sopenharmony_ci#define OCMEM_MAS_CNOC_ONOC_CFG		6
878c2ecf20Sopenharmony_ci#define OCMEM_SLV_SERVICE_ONOC		7
888c2ecf20Sopenharmony_ci#define OCMEM_VNOC_TO_SNOC		8
898c2ecf20Sopenharmony_ci#define OCMEM_VNOC_TO_OCMEM_NOC		9
908c2ecf20Sopenharmony_ci#define OCMEM_VNOC_MAS_GFX3D		10
918c2ecf20Sopenharmony_ci#define OCMEM_SLV_OCMEM			11
928c2ecf20Sopenharmony_ci
938c2ecf20Sopenharmony_ci#define PNOC_MAS_PNOC_CFG		0
948c2ecf20Sopenharmony_ci#define PNOC_MAS_SDCC_1			1
958c2ecf20Sopenharmony_ci#define PNOC_MAS_SDCC_3			2
968c2ecf20Sopenharmony_ci#define PNOC_MAS_SDCC_4			3
978c2ecf20Sopenharmony_ci#define PNOC_MAS_SDCC_2			4
988c2ecf20Sopenharmony_ci#define PNOC_MAS_TSIF			5
998c2ecf20Sopenharmony_ci#define PNOC_MAS_BAM_DMA		6
1008c2ecf20Sopenharmony_ci#define PNOC_MAS_BLSP_2			7
1018c2ecf20Sopenharmony_ci#define PNOC_MAS_USB_HSIC		8
1028c2ecf20Sopenharmony_ci#define PNOC_MAS_BLSP_1			9
1038c2ecf20Sopenharmony_ci#define PNOC_MAS_USB_HS			10
1048c2ecf20Sopenharmony_ci#define PNOC_TO_SNOC			11
1058c2ecf20Sopenharmony_ci#define PNOC_SLV_SDCC_1			12
1068c2ecf20Sopenharmony_ci#define PNOC_SLV_SDCC_3			13
1078c2ecf20Sopenharmony_ci#define PNOC_SLV_SDCC_2			14
1088c2ecf20Sopenharmony_ci#define PNOC_SLV_SDCC_4			15
1098c2ecf20Sopenharmony_ci#define PNOC_SLV_TSIF			16
1108c2ecf20Sopenharmony_ci#define PNOC_SLV_BAM_DMA		17
1118c2ecf20Sopenharmony_ci#define PNOC_SLV_BLSP_2			18
1128c2ecf20Sopenharmony_ci#define PNOC_SLV_USB_HSIC		19
1138c2ecf20Sopenharmony_ci#define PNOC_SLV_BLSP_1			20
1148c2ecf20Sopenharmony_ci#define PNOC_SLV_USB_HS			21
1158c2ecf20Sopenharmony_ci#define PNOC_SLV_PDM			22
1168c2ecf20Sopenharmony_ci#define PNOC_SLV_PERIPH_APU_CFG		23
1178c2ecf20Sopenharmony_ci#define PNOC_SLV_PNOC_MPU_CFG		24
1188c2ecf20Sopenharmony_ci#define PNOC_SLV_PRNG			25
1198c2ecf20Sopenharmony_ci#define PNOC_SLV_SERVICE_PNOC		26
1208c2ecf20Sopenharmony_ci
1218c2ecf20Sopenharmony_ci#define SNOC_MAS_LPASS_AHB		0
1228c2ecf20Sopenharmony_ci#define SNOC_MAS_QDSS_BAM		1
1238c2ecf20Sopenharmony_ci#define SNOC_MAS_SNOC_CFG		2
1248c2ecf20Sopenharmony_ci#define SNOC_TO_BIMC			3
1258c2ecf20Sopenharmony_ci#define SNOC_TO_CNOC			4
1268c2ecf20Sopenharmony_ci#define SNOC_TO_PNOC			5
1278c2ecf20Sopenharmony_ci#define SNOC_TO_OCMEM_VNOC		6
1288c2ecf20Sopenharmony_ci#define SNOC_MAS_CRYPTO_CORE0		7
1298c2ecf20Sopenharmony_ci#define SNOC_MAS_CRYPTO_CORE1		8
1308c2ecf20Sopenharmony_ci#define SNOC_MAS_LPASS_PROC		9
1318c2ecf20Sopenharmony_ci#define SNOC_MAS_MSS			10
1328c2ecf20Sopenharmony_ci#define SNOC_MAS_MSS_NAV		11
1338c2ecf20Sopenharmony_ci#define SNOC_MAS_OCMEM_DMA		12
1348c2ecf20Sopenharmony_ci#define SNOC_MAS_WCSS			13
1358c2ecf20Sopenharmony_ci#define SNOC_MAS_QDSS_ETR		14
1368c2ecf20Sopenharmony_ci#define SNOC_MAS_USB3			15
1378c2ecf20Sopenharmony_ci#define SNOC_SLV_AMPSS			16
1388c2ecf20Sopenharmony_ci#define SNOC_SLV_LPASS			17
1398c2ecf20Sopenharmony_ci#define SNOC_SLV_USB3			18
1408c2ecf20Sopenharmony_ci#define SNOC_SLV_WCSS			19
1418c2ecf20Sopenharmony_ci#define SNOC_SLV_OCIMEM			20
1428c2ecf20Sopenharmony_ci#define SNOC_SLV_SNOC_OCMEM		21
1438c2ecf20Sopenharmony_ci#define SNOC_SLV_SERVICE_SNOC		22
1448c2ecf20Sopenharmony_ci#define SNOC_SLV_QDSS_STM		23
1458c2ecf20Sopenharmony_ci
1468c2ecf20Sopenharmony_ci#endif
147