11.1Sjmcneill/*	$NetBSD: qcom,sc7280.h,v 1.1.1.1 2021/11/07 16:49:57 jmcneill Exp $	*/
21.1Sjmcneill
31.1Sjmcneill/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
41.1Sjmcneill/*
51.1Sjmcneill * Qualcomm SC7280 interconnect IDs
61.1Sjmcneill *
71.1Sjmcneill * Copyright (c) 2021, The Linux Foundation. All rights reserved.
81.1Sjmcneill */
91.1Sjmcneill
101.1Sjmcneill#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SC7280_H
111.1Sjmcneill#define __DT_BINDINGS_INTERCONNECT_QCOM_SC7280_H
121.1Sjmcneill
131.1Sjmcneill#define MASTER_QSPI_0			0
141.1Sjmcneill#define MASTER_QUP_0			1
151.1Sjmcneill#define MASTER_QUP_1			2
161.1Sjmcneill#define MASTER_A1NOC_CFG			3
171.1Sjmcneill#define MASTER_PCIE_0			4
181.1Sjmcneill#define MASTER_PCIE_1			5
191.1Sjmcneill#define MASTER_SDCC_1			6
201.1Sjmcneill#define MASTER_SDCC_2			7
211.1Sjmcneill#define MASTER_SDCC_4			8
221.1Sjmcneill#define MASTER_UFS_MEM			9
231.1Sjmcneill#define MASTER_USB2			10
241.1Sjmcneill#define MASTER_USB3_0			11
251.1Sjmcneill#define SLAVE_A1NOC_SNOC			12
261.1Sjmcneill#define SLAVE_ANOC_PCIE_GEM_NOC			13
271.1Sjmcneill#define SLAVE_SERVICE_A1NOC			14
281.1Sjmcneill
291.1Sjmcneill#define MASTER_QDSS_BAM			0
301.1Sjmcneill#define MASTER_A2NOC_CFG			1
311.1Sjmcneill#define MASTER_CNOC_A2NOC			2
321.1Sjmcneill#define MASTER_CRYPTO			3
331.1Sjmcneill#define MASTER_IPA			4
341.1Sjmcneill#define MASTER_QDSS_ETR			5
351.1Sjmcneill#define SLAVE_A2NOC_SNOC			6
361.1Sjmcneill#define SLAVE_SERVICE_A2NOC			7
371.1Sjmcneill
381.1Sjmcneill#define MASTER_QUP_CORE_0			0
391.1Sjmcneill#define MASTER_QUP_CORE_1		1
401.1Sjmcneill#define SLAVE_QUP_CORE_0			2
411.1Sjmcneill#define SLAVE_QUP_CORE_1			3
421.1Sjmcneill
431.1Sjmcneill#define MASTER_CNOC3_CNOC2			0
441.1Sjmcneill#define MASTER_QDSS_DAP			1
451.1Sjmcneill#define SLAVE_AHB2PHY_SOUTH			2
461.1Sjmcneill#define SLAVE_AHB2PHY_NORTH			3
471.1Sjmcneill#define SLAVE_CAMERA_CFG			4
481.1Sjmcneill#define SLAVE_CLK_CTL			5
491.1Sjmcneill#define SLAVE_CDSP_CFG			6
501.1Sjmcneill#define SLAVE_RBCPR_CX_CFG			7
511.1Sjmcneill#define SLAVE_RBCPR_MX_CFG			8
521.1Sjmcneill#define SLAVE_CRYPTO_0_CFG			9
531.1Sjmcneill#define SLAVE_CX_RDPM			10
541.1Sjmcneill#define SLAVE_DCC_CFG			11
551.1Sjmcneill#define SLAVE_DISPLAY_CFG			12
561.1Sjmcneill#define SLAVE_GFX3D_CFG			13
571.1Sjmcneill#define SLAVE_HWKM			14
581.1Sjmcneill#define SLAVE_IMEM_CFG			15
591.1Sjmcneill#define SLAVE_IPA_CFG			16
601.1Sjmcneill#define SLAVE_IPC_ROUTER_CFG			17
611.1Sjmcneill#define SLAVE_LPASS			18
621.1Sjmcneill#define SLAVE_CNOC_MSS			19
631.1Sjmcneill#define SLAVE_MX_RDPM			20
641.1Sjmcneill#define SLAVE_PCIE_0_CFG			21
651.1Sjmcneill#define SLAVE_PCIE_1_CFG			22
661.1Sjmcneill#define SLAVE_PDM			23
671.1Sjmcneill#define SLAVE_PIMEM_CFG			24
681.1Sjmcneill#define SLAVE_PKA_WRAPPER_CFG			25
691.1Sjmcneill#define SLAVE_PMU_WRAPPER_CFG			26
701.1Sjmcneill#define SLAVE_QDSS_CFG			27
711.1Sjmcneill#define SLAVE_QSPI_0			28
721.1Sjmcneill#define SLAVE_QUP_0			29
731.1Sjmcneill#define SLAVE_QUP_1			30
741.1Sjmcneill#define SLAVE_SDCC_1			31
751.1Sjmcneill#define SLAVE_SDCC_2			32
761.1Sjmcneill#define SLAVE_SDCC_4			33
771.1Sjmcneill#define SLAVE_SECURITY			34
781.1Sjmcneill#define SLAVE_TCSR			35
791.1Sjmcneill#define SLAVE_TLMM			36
801.1Sjmcneill#define SLAVE_UFS_MEM_CFG			37
811.1Sjmcneill#define SLAVE_USB2			38
821.1Sjmcneill#define SLAVE_USB3_0			39
831.1Sjmcneill#define SLAVE_VENUS_CFG			40
841.1Sjmcneill#define SLAVE_VSENSE_CTRL_CFG			41
851.1Sjmcneill#define SLAVE_A1NOC_CFG			42
861.1Sjmcneill#define SLAVE_A2NOC_CFG			43
871.1Sjmcneill#define SLAVE_CNOC2_CNOC3			44
881.1Sjmcneill#define SLAVE_CNOC_MNOC_CFG			45
891.1Sjmcneill#define SLAVE_SNOC_CFG			46
901.1Sjmcneill
911.1Sjmcneill#define MASTER_CNOC2_CNOC3			0
921.1Sjmcneill#define MASTER_GEM_NOC_CNOC			1
931.1Sjmcneill#define MASTER_GEM_NOC_PCIE_SNOC			2
941.1Sjmcneill#define SLAVE_AOSS			3
951.1Sjmcneill#define SLAVE_APPSS			4
961.1Sjmcneill#define SLAVE_CNOC3_CNOC2			5
971.1Sjmcneill#define SLAVE_CNOC_A2NOC			6
981.1Sjmcneill#define SLAVE_DDRSS_CFG			7
991.1Sjmcneill#define SLAVE_BOOT_IMEM			8
1001.1Sjmcneill#define SLAVE_IMEM			9
1011.1Sjmcneill#define SLAVE_PIMEM			10
1021.1Sjmcneill#define SLAVE_PCIE_0			11
1031.1Sjmcneill#define SLAVE_PCIE_1			12
1041.1Sjmcneill#define SLAVE_QDSS_STM			13
1051.1Sjmcneill#define SLAVE_TCU			14
1061.1Sjmcneill
1071.1Sjmcneill#define MASTER_CNOC_DC_NOC			0
1081.1Sjmcneill#define SLAVE_LLCC_CFG			1
1091.1Sjmcneill#define SLAVE_GEM_NOC_CFG			2
1101.1Sjmcneill
1111.1Sjmcneill#define MASTER_GPU_TCU			0
1121.1Sjmcneill#define MASTER_SYS_TCU			1
1131.1Sjmcneill#define MASTER_APPSS_PROC			2
1141.1Sjmcneill#define MASTER_COMPUTE_NOC			3
1151.1Sjmcneill#define MASTER_GEM_NOC_CFG			4
1161.1Sjmcneill#define MASTER_GFX3D			5
1171.1Sjmcneill#define MASTER_MNOC_HF_MEM_NOC			6
1181.1Sjmcneill#define MASTER_MNOC_SF_MEM_NOC			7
1191.1Sjmcneill#define MASTER_ANOC_PCIE_GEM_NOC			8
1201.1Sjmcneill#define MASTER_SNOC_GC_MEM_NOC			9
1211.1Sjmcneill#define MASTER_SNOC_SF_MEM_NOC			10
1221.1Sjmcneill#define SLAVE_MSS_PROC_MS_MPU_CFG			11
1231.1Sjmcneill#define SLAVE_MCDMA_MS_MPU_CFG			12
1241.1Sjmcneill#define SLAVE_GEM_NOC_CNOC			13
1251.1Sjmcneill#define SLAVE_LLCC			14
1261.1Sjmcneill#define SLAVE_MEM_NOC_PCIE_SNOC			15
1271.1Sjmcneill#define SLAVE_SERVICE_GEM_NOC_1			16
1281.1Sjmcneill#define SLAVE_SERVICE_GEM_NOC_2			17
1291.1Sjmcneill#define SLAVE_SERVICE_GEM_NOC			18
1301.1Sjmcneill
1311.1Sjmcneill#define MASTER_CNOC_LPASS_AG_NOC			0
1321.1Sjmcneill#define SLAVE_LPASS_CORE_CFG			1
1331.1Sjmcneill#define SLAVE_LPASS_LPI_CFG			2
1341.1Sjmcneill#define SLAVE_LPASS_MPU_CFG			3
1351.1Sjmcneill#define SLAVE_LPASS_TOP_CFG			4
1361.1Sjmcneill#define SLAVE_SERVICES_LPASS_AML_NOC			5
1371.1Sjmcneill#define SLAVE_SERVICE_LPASS_AG_NOC			6
1381.1Sjmcneill
1391.1Sjmcneill#define MASTER_LLCC			0
1401.1Sjmcneill#define SLAVE_EBI1			1
1411.1Sjmcneill
1421.1Sjmcneill#define MASTER_CNOC_MNOC_CFG			0
1431.1Sjmcneill#define MASTER_VIDEO_P0			1
1441.1Sjmcneill#define MASTER_VIDEO_PROC			2
1451.1Sjmcneill#define MASTER_CAMNOC_HF			3
1461.1Sjmcneill#define MASTER_CAMNOC_ICP			4
1471.1Sjmcneill#define MASTER_CAMNOC_SF			5
1481.1Sjmcneill#define MASTER_MDP0			6
1491.1Sjmcneill#define SLAVE_MNOC_HF_MEM_NOC			7
1501.1Sjmcneill#define SLAVE_MNOC_SF_MEM_NOC			8
1511.1Sjmcneill#define SLAVE_SERVICE_MNOC			9
1521.1Sjmcneill
1531.1Sjmcneill#define MASTER_CDSP_NOC_CFG			0
1541.1Sjmcneill#define MASTER_CDSP_PROC			1
1551.1Sjmcneill#define SLAVE_CDSP_MEM_NOC			2
1561.1Sjmcneill#define SLAVE_SERVICE_NSP_NOC			3
1571.1Sjmcneill
1581.1Sjmcneill#define MASTER_A1NOC_SNOC			0
1591.1Sjmcneill#define MASTER_A2NOC_SNOC			1
1601.1Sjmcneill#define MASTER_SNOC_CFG			2
1611.1Sjmcneill#define MASTER_PIMEM			3
1621.1Sjmcneill#define MASTER_GIC			4
1631.1Sjmcneill#define SLAVE_SNOC_GEM_NOC_GC			5
1641.1Sjmcneill#define SLAVE_SNOC_GEM_NOC_SF			6
1651.1Sjmcneill#define SLAVE_SERVICE_SNOC			7
1661.1Sjmcneill
1671.1Sjmcneill#endif
168