11.1Sjmcneill/*	$NetBSD: qcom,sdm660.h,v 1.1.1.1 2021/11/07 16:49:57 jmcneill Exp $	*/
21.1Sjmcneill
31.1Sjmcneill/* SPDX-License-Identifier: GPL-2.0 */
41.1Sjmcneill/* SDM660 interconnect IDs */
51.1Sjmcneill
61.1Sjmcneill#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SDM660_H
71.1Sjmcneill#define __DT_BINDINGS_INTERCONNECT_QCOM_SDM660_H
81.1Sjmcneill
91.1Sjmcneill/* A2NOC */
101.1Sjmcneill#define MASTER_IPA			0
111.1Sjmcneill#define MASTER_CNOC_A2NOC		1
121.1Sjmcneill#define MASTER_SDCC_1			2
131.1Sjmcneill#define MASTER_SDCC_2			3
141.1Sjmcneill#define MASTER_BLSP_1			4
151.1Sjmcneill#define MASTER_BLSP_2			5
161.1Sjmcneill#define MASTER_UFS			6
171.1Sjmcneill#define MASTER_USB_HS			7
181.1Sjmcneill#define MASTER_USB3			8
191.1Sjmcneill#define MASTER_CRYPTO_C0		9
201.1Sjmcneill#define SLAVE_A2NOC_SNOC		10
211.1Sjmcneill
221.1Sjmcneill/* BIMC */
231.1Sjmcneill#define MASTER_GNOC_BIMC		0
241.1Sjmcneill#define MASTER_OXILI			1
251.1Sjmcneill#define MASTER_MNOC_BIMC		2
261.1Sjmcneill#define MASTER_SNOC_BIMC		3
271.1Sjmcneill#define MASTER_PIMEM			4
281.1Sjmcneill#define SLAVE_EBI			5
291.1Sjmcneill#define SLAVE_HMSS_L3			6
301.1Sjmcneill#define SLAVE_BIMC_SNOC			7
311.1Sjmcneill
321.1Sjmcneill/* CNOC */
331.1Sjmcneill#define MASTER_SNOC_CNOC		0
341.1Sjmcneill#define MASTER_QDSS_DAP			1
351.1Sjmcneill#define SLAVE_CNOC_A2NOC		2
361.1Sjmcneill#define SLAVE_MPM			3
371.1Sjmcneill#define SLAVE_PMIC_ARB			4
381.1Sjmcneill#define SLAVE_TLMM_NORTH		5
391.1Sjmcneill#define SLAVE_TCSR			6
401.1Sjmcneill#define SLAVE_PIMEM_CFG			7
411.1Sjmcneill#define SLAVE_IMEM_CFG			8
421.1Sjmcneill#define SLAVE_MESSAGE_RAM		9
431.1Sjmcneill#define SLAVE_GLM			10
441.1Sjmcneill#define SLAVE_BIMC_CFG			11
451.1Sjmcneill#define SLAVE_PRNG			12
461.1Sjmcneill#define SLAVE_SPDM			13
471.1Sjmcneill#define SLAVE_QDSS_CFG			14
481.1Sjmcneill#define SLAVE_CNOC_MNOC_CFG		15
491.1Sjmcneill#define SLAVE_SNOC_CFG			16
501.1Sjmcneill#define SLAVE_QM_CFG			17
511.1Sjmcneill#define SLAVE_CLK_CTL			18
521.1Sjmcneill#define SLAVE_MSS_CFG			19
531.1Sjmcneill#define SLAVE_TLMM_SOUTH		20
541.1Sjmcneill#define SLAVE_UFS_CFG			21
551.1Sjmcneill#define SLAVE_A2NOC_CFG			22
561.1Sjmcneill#define SLAVE_A2NOC_SMMU_CFG		23
571.1Sjmcneill#define SLAVE_GPUSS_CFG			24
581.1Sjmcneill#define SLAVE_AHB2PHY			25
591.1Sjmcneill#define SLAVE_BLSP_1			26
601.1Sjmcneill#define SLAVE_SDCC_1			27
611.1Sjmcneill#define SLAVE_SDCC_2			28
621.1Sjmcneill#define SLAVE_TLMM_CENTER		29
631.1Sjmcneill#define SLAVE_BLSP_2			30
641.1Sjmcneill#define SLAVE_PDM			31
651.1Sjmcneill#define SLAVE_CNOC_MNOC_MMSS_CFG	32
661.1Sjmcneill#define SLAVE_USB_HS			33
671.1Sjmcneill#define SLAVE_USB3_0			34
681.1Sjmcneill#define SLAVE_SRVC_CNOC			35
691.1Sjmcneill
701.1Sjmcneill/* GNOC */
711.1Sjmcneill#define MASTER_APSS_PROC		0
721.1Sjmcneill#define SLAVE_GNOC_BIMC			1
731.1Sjmcneill#define SLAVE_GNOC_SNOC			2
741.1Sjmcneill
751.1Sjmcneill/* MNOC */
761.1Sjmcneill#define MASTER_CPP			0
771.1Sjmcneill#define MASTER_JPEG			1
781.1Sjmcneill#define MASTER_MDP_P0			2
791.1Sjmcneill#define MASTER_MDP_P1			3
801.1Sjmcneill#define MASTER_VENUS			4
811.1Sjmcneill#define MASTER_VFE			5
821.1Sjmcneill#define SLAVE_MNOC_BIMC			6
831.1Sjmcneill#define MASTER_CNOC_MNOC_MMSS_CFG	7
841.1Sjmcneill#define MASTER_CNOC_MNOC_CFG		8
851.1Sjmcneill#define SLAVE_CAMERA_CFG		9
861.1Sjmcneill#define SLAVE_CAMERA_THROTTLE_CFG	10
871.1Sjmcneill#define SLAVE_MISC_CFG			11
881.1Sjmcneill#define SLAVE_VENUS_THROTTLE_CFG	12
891.1Sjmcneill#define SLAVE_VENUS_CFG			13
901.1Sjmcneill#define SLAVE_MMSS_CLK_XPU_CFG		14
911.1Sjmcneill#define SLAVE_MMSS_CLK_CFG		15
921.1Sjmcneill#define SLAVE_MNOC_MPU_CFG		16
931.1Sjmcneill#define SLAVE_DISPLAY_CFG		17
941.1Sjmcneill#define SLAVE_CSI_PHY_CFG		18
951.1Sjmcneill#define SLAVE_DISPLAY_THROTTLE_CFG	19
961.1Sjmcneill#define SLAVE_SMMU_CFG			20
971.1Sjmcneill#define SLAVE_SRVC_MNOC			21
981.1Sjmcneill
991.1Sjmcneill/* SNOC */
1001.1Sjmcneill#define MASTER_QDSS_ETR			0
1011.1Sjmcneill#define MASTER_QDSS_BAM			1
1021.1Sjmcneill#define MASTER_SNOC_CFG			2
1031.1Sjmcneill#define MASTER_BIMC_SNOC		3
1041.1Sjmcneill#define MASTER_A2NOC_SNOC		4
1051.1Sjmcneill#define MASTER_GNOC_SNOC		5
1061.1Sjmcneill#define SLAVE_HMSS			6
1071.1Sjmcneill#define SLAVE_LPASS			7
1081.1Sjmcneill#define SLAVE_WLAN			8
1091.1Sjmcneill#define SLAVE_CDSP			9
1101.1Sjmcneill#define SLAVE_IPA			10
1111.1Sjmcneill#define SLAVE_SNOC_BIMC			11
1121.1Sjmcneill#define SLAVE_SNOC_CNOC			12
1131.1Sjmcneill#define SLAVE_IMEM			13
1141.1Sjmcneill#define SLAVE_PIMEM			14
1151.1Sjmcneill#define SLAVE_QDSS_STM			15
1161.1Sjmcneill#define SLAVE_SRVC_SNOC			16
1171.1Sjmcneill
1181.1Sjmcneill#endif
119