11.1Sjmcneill/*	$NetBSD: qcom,sm8150.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/*
51.1Sjmcneill * Qualcomm SM8150 interconnect IDs
61.1Sjmcneill *
71.1Sjmcneill * Copyright (c) 2020, The Linux Foundation. All rights reserved.
81.1Sjmcneill */
91.1Sjmcneill
101.1Sjmcneill#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM8150_H
111.1Sjmcneill#define __DT_BINDINGS_INTERCONNECT_QCOM_SM8150_H
121.1Sjmcneill
131.1Sjmcneill#define MASTER_A1NOC_CFG		0
141.1Sjmcneill#define MASTER_QUP_0			1
151.1Sjmcneill#define MASTER_EMAC			2
161.1Sjmcneill#define MASTER_UFS_MEM			3
171.1Sjmcneill#define MASTER_USB3			4
181.1Sjmcneill#define MASTER_USB3_1			5
191.1Sjmcneill#define A1NOC_SNOC_SLV			6
201.1Sjmcneill#define SLAVE_SERVICE_A1NOC		7
211.1Sjmcneill
221.1Sjmcneill#define MASTER_A2NOC_CFG		0
231.1Sjmcneill#define MASTER_QDSS_BAM			1
241.1Sjmcneill#define MASTER_QSPI			2
251.1Sjmcneill#define MASTER_QUP_1			3
261.1Sjmcneill#define MASTER_QUP_2			4
271.1Sjmcneill#define MASTER_SENSORS_AHB		5
281.1Sjmcneill#define MASTER_TSIF			6
291.1Sjmcneill#define MASTER_CNOC_A2NOC		7
301.1Sjmcneill#define MASTER_CRYPTO_CORE_0		8
311.1Sjmcneill#define MASTER_IPA			9
321.1Sjmcneill#define MASTER_PCIE			10
331.1Sjmcneill#define MASTER_PCIE_1			11
341.1Sjmcneill#define MASTER_QDSS_ETR			12
351.1Sjmcneill#define MASTER_SDCC_2			13
361.1Sjmcneill#define MASTER_SDCC_4			14
371.1Sjmcneill#define A2NOC_SNOC_SLV			15
381.1Sjmcneill#define SLAVE_ANOC_PCIE_GEM_NOC		16
391.1Sjmcneill#define SLAVE_SERVICE_A2NOC		17
401.1Sjmcneill
411.1Sjmcneill#define MASTER_CAMNOC_HF0_UNCOMP	0
421.1Sjmcneill#define MASTER_CAMNOC_HF1_UNCOMP	1
431.1Sjmcneill#define MASTER_CAMNOC_SF_UNCOMP		2
441.1Sjmcneill#define SLAVE_CAMNOC_UNCOMP		3
451.1Sjmcneill
461.1Sjmcneill#define MASTER_NPU			0
471.1Sjmcneill#define SLAVE_CDSP_MEM_NOC		1
481.1Sjmcneill
491.1Sjmcneill#define MASTER_SPDM			0
501.1Sjmcneill#define SNOC_CNOC_MAS			1
511.1Sjmcneill#define MASTER_QDSS_DAP			2
521.1Sjmcneill#define SLAVE_A1NOC_CFG			3
531.1Sjmcneill#define SLAVE_A2NOC_CFG			4
541.1Sjmcneill#define SLAVE_AHB2PHY_SOUTH		5
551.1Sjmcneill#define SLAVE_AOP			6
561.1Sjmcneill#define SLAVE_AOSS			7
571.1Sjmcneill#define SLAVE_CAMERA_CFG		8
581.1Sjmcneill#define SLAVE_CLK_CTL			9
591.1Sjmcneill#define SLAVE_CDSP_CFG			10
601.1Sjmcneill#define SLAVE_RBCPR_CX_CFG		11
611.1Sjmcneill#define SLAVE_RBCPR_MMCX_CFG		12
621.1Sjmcneill#define SLAVE_RBCPR_MX_CFG		13
631.1Sjmcneill#define SLAVE_CRYPTO_0_CFG		14
641.1Sjmcneill#define SLAVE_CNOC_DDRSS		15
651.1Sjmcneill#define SLAVE_DISPLAY_CFG		16
661.1Sjmcneill#define SLAVE_EMAC_CFG			17
671.1Sjmcneill#define SLAVE_GLM			18
681.1Sjmcneill#define SLAVE_GRAPHICS_3D_CFG		19
691.1Sjmcneill#define SLAVE_IMEM_CFG			20
701.1Sjmcneill#define SLAVE_IPA_CFG			21
711.1Sjmcneill#define SLAVE_CNOC_MNOC_CFG		22
721.1Sjmcneill#define SLAVE_NPU_CFG			23
731.1Sjmcneill#define SLAVE_PCIE_0_CFG		24
741.1Sjmcneill#define SLAVE_PCIE_1_CFG		25
751.1Sjmcneill#define SLAVE_NORTH_PHY_CFG		26
761.1Sjmcneill#define SLAVE_PIMEM_CFG			27
771.1Sjmcneill#define SLAVE_PRNG			28
781.1Sjmcneill#define SLAVE_QDSS_CFG			29
791.1Sjmcneill#define SLAVE_QSPI			30
801.1Sjmcneill#define SLAVE_QUP_2			31
811.1Sjmcneill#define SLAVE_QUP_1			32
821.1Sjmcneill#define SLAVE_QUP_0			33
831.1Sjmcneill#define SLAVE_SDCC_2			34
841.1Sjmcneill#define SLAVE_SDCC_4			35
851.1Sjmcneill#define SLAVE_SNOC_CFG			36
861.1Sjmcneill#define SLAVE_SPDM_WRAPPER		37
871.1Sjmcneill#define SLAVE_SPSS_CFG			38
881.1Sjmcneill#define SLAVE_SSC_CFG			39
891.1Sjmcneill#define SLAVE_TCSR			40
901.1Sjmcneill#define SLAVE_TLMM_EAST			41
911.1Sjmcneill#define SLAVE_TLMM_NORTH		42
921.1Sjmcneill#define SLAVE_TLMM_SOUTH		43
931.1Sjmcneill#define SLAVE_TLMM_WEST			44
941.1Sjmcneill#define SLAVE_TSIF			45
951.1Sjmcneill#define SLAVE_UFS_CARD_CFG		46
961.1Sjmcneill#define SLAVE_UFS_MEM_CFG		47
971.1Sjmcneill#define SLAVE_USB3			48
981.1Sjmcneill#define SLAVE_USB3_1			49
991.1Sjmcneill#define SLAVE_VENUS_CFG			50
1001.1Sjmcneill#define SLAVE_VSENSE_CTRL_CFG		51
1011.1Sjmcneill#define SLAVE_CNOC_A2NOC		52
1021.1Sjmcneill#define SLAVE_SERVICE_CNOC		53
1031.1Sjmcneill
1041.1Sjmcneill#define MASTER_CNOC_DC_NOC		0
1051.1Sjmcneill#define SLAVE_LLCC_CFG			1
1061.1Sjmcneill#define SLAVE_GEM_NOC_CFG		2
1071.1Sjmcneill
1081.1Sjmcneill#define MASTER_AMPSS_M0			0
1091.1Sjmcneill#define MASTER_GPU_TCU			1
1101.1Sjmcneill#define MASTER_SYS_TCU			2
1111.1Sjmcneill#define MASTER_GEM_NOC_CFG		3
1121.1Sjmcneill#define MASTER_COMPUTE_NOC		4
1131.1Sjmcneill#define MASTER_GRAPHICS_3D		5
1141.1Sjmcneill#define MASTER_MNOC_HF_MEM_NOC		6
1151.1Sjmcneill#define MASTER_MNOC_SF_MEM_NOC		7
1161.1Sjmcneill#define MASTER_GEM_NOC_PCIE_SNOC	8
1171.1Sjmcneill#define MASTER_SNOC_GC_MEM_NOC		9
1181.1Sjmcneill#define MASTER_SNOC_SF_MEM_NOC		10
1191.1Sjmcneill#define MASTER_ECC			11
1201.1Sjmcneill#define SLAVE_MSS_PROC_MS_MPU_CFG	12
1211.1Sjmcneill#define SLAVE_ECC			13
1221.1Sjmcneill#define SLAVE_GEM_NOC_SNOC		14
1231.1Sjmcneill#define SLAVE_LLCC			15
1241.1Sjmcneill#define SLAVE_SERVICE_GEM_NOC		16
1251.1Sjmcneill
1261.1Sjmcneill#define MASTER_IPA_CORE			0
1271.1Sjmcneill#define SLAVE_IPA_CORE			1
1281.1Sjmcneill
1291.1Sjmcneill#define MASTER_LLCC			0
1301.1Sjmcneill#define SLAVE_EBI_CH0			1
1311.1Sjmcneill
1321.1Sjmcneill#define MASTER_CNOC_MNOC_CFG		0
1331.1Sjmcneill#define MASTER_CAMNOC_HF0		1
1341.1Sjmcneill#define MASTER_CAMNOC_HF1		2
1351.1Sjmcneill#define MASTER_CAMNOC_SF		3
1361.1Sjmcneill#define MASTER_MDP_PORT0		4
1371.1Sjmcneill#define MASTER_MDP_PORT1		5
1381.1Sjmcneill#define MASTER_ROTATOR			6
1391.1Sjmcneill#define MASTER_VIDEO_P0			7
1401.1Sjmcneill#define MASTER_VIDEO_P1			8
1411.1Sjmcneill#define MASTER_VIDEO_PROC		9
1421.1Sjmcneill#define SLAVE_MNOC_SF_MEM_NOC		10
1431.1Sjmcneill#define SLAVE_MNOC_HF_MEM_NOC		11
1441.1Sjmcneill#define SLAVE_SERVICE_MNOC		12
1451.1Sjmcneill
1461.1Sjmcneill#define MASTER_SNOC_CFG			0
1471.1Sjmcneill#define A1NOC_SNOC_MAS			1
1481.1Sjmcneill#define A2NOC_SNOC_MAS			2
1491.1Sjmcneill#define MASTER_GEM_NOC_SNOC		3
1501.1Sjmcneill#define MASTER_PIMEM			4
1511.1Sjmcneill#define MASTER_GIC			5
1521.1Sjmcneill#define SLAVE_APPSS			6
1531.1Sjmcneill#define SNOC_CNOC_SLV			7
1541.1Sjmcneill#define SLAVE_SNOC_GEM_NOC_GC		8
1551.1Sjmcneill#define SLAVE_SNOC_GEM_NOC_SF		9
1561.1Sjmcneill#define SLAVE_OCIMEM			10
1571.1Sjmcneill#define SLAVE_PIMEM			11
1581.1Sjmcneill#define SLAVE_SERVICE_SNOC		12
1591.1Sjmcneill#define SLAVE_PCIE_0			13
1601.1Sjmcneill#define SLAVE_PCIE_1			14
1611.1Sjmcneill#define SLAVE_QDSS_STM			15
1621.1Sjmcneill#define SLAVE_TCU			16
1631.1Sjmcneill
1641.1Sjmcneill#endif
165