11.1Sjmcneill/*	$NetBSD: qcom,sc8180x.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 SC8180x 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_SC8180X_H
111.1Sjmcneill#define __DT_BINDINGS_INTERCONNECT_QCOM_SC8180X_H
121.1Sjmcneill
131.1Sjmcneill#define MASTER_A1NOC_CFG			0
141.1Sjmcneill#define MASTER_UFS_CARD				1
151.1Sjmcneill#define MASTER_UFS_GEN4				2
161.1Sjmcneill#define MASTER_UFS_MEM				3
171.1Sjmcneill#define MASTER_USB3				4
181.1Sjmcneill#define MASTER_USB3_1				5
191.1Sjmcneill#define MASTER_USB3_2				6
201.1Sjmcneill#define A1NOC_SNOC_SLV				7
211.1Sjmcneill#define SLAVE_SERVICE_A1NOC			8
221.1Sjmcneill
231.1Sjmcneill#define MASTER_A2NOC_CFG			0
241.1Sjmcneill#define MASTER_QDSS_BAM				1
251.1Sjmcneill#define MASTER_QSPI_0				2
261.1Sjmcneill#define MASTER_QSPI_1				3
271.1Sjmcneill#define MASTER_QUP_0				4
281.1Sjmcneill#define MASTER_QUP_1				5
291.1Sjmcneill#define MASTER_QUP_2				6
301.1Sjmcneill#define MASTER_SENSORS_AHB			7
311.1Sjmcneill#define MASTER_CRYPTO_CORE_0			8
321.1Sjmcneill#define MASTER_IPA				9
331.1Sjmcneill#define MASTER_EMAC				10
341.1Sjmcneill#define MASTER_PCIE				11
351.1Sjmcneill#define MASTER_PCIE_1				12
361.1Sjmcneill#define MASTER_PCIE_2				13
371.1Sjmcneill#define MASTER_PCIE_3				14
381.1Sjmcneill#define MASTER_QDSS_ETR				15
391.1Sjmcneill#define MASTER_SDCC_2				16
401.1Sjmcneill#define MASTER_SDCC_4				17
411.1Sjmcneill#define A2NOC_SNOC_SLV				18
421.1Sjmcneill#define SLAVE_ANOC_PCIE_GEM_NOC			19
431.1Sjmcneill#define SLAVE_SERVICE_A2NOC			20
441.1Sjmcneill
451.1Sjmcneill#define MASTER_CAMNOC_HF0_UNCOMP		0
461.1Sjmcneill#define MASTER_CAMNOC_HF1_UNCOMP		1
471.1Sjmcneill#define MASTER_CAMNOC_SF_UNCOMP			2
481.1Sjmcneill#define SLAVE_CAMNOC_UNCOMP			3
491.1Sjmcneill
501.1Sjmcneill#define MASTER_NPU				0
511.1Sjmcneill#define SLAVE_CDSP_MEM_NOC			1
521.1Sjmcneill
531.1Sjmcneill#define SNOC_CNOC_MAS				0
541.1Sjmcneill#define SLAVE_A1NOC_CFG				1
551.1Sjmcneill#define SLAVE_A2NOC_CFG				2
561.1Sjmcneill#define SLAVE_AHB2PHY_CENTER			3
571.1Sjmcneill#define SLAVE_AHB2PHY_EAST			4
581.1Sjmcneill#define SLAVE_AHB2PHY_WEST			5
591.1Sjmcneill#define SLAVE_AHB2PHY_SOUTH			6
601.1Sjmcneill#define SLAVE_AOP				7
611.1Sjmcneill#define SLAVE_AOSS				8
621.1Sjmcneill#define SLAVE_CAMERA_CFG			9
631.1Sjmcneill#define SLAVE_CLK_CTL				10
641.1Sjmcneill#define SLAVE_CDSP_CFG				11
651.1Sjmcneill#define SLAVE_RBCPR_CX_CFG			12
661.1Sjmcneill#define SLAVE_RBCPR_MMCX_CFG			13
671.1Sjmcneill#define SLAVE_RBCPR_MX_CFG			14
681.1Sjmcneill#define SLAVE_CRYPTO_0_CFG			15
691.1Sjmcneill#define SLAVE_CNOC_DDRSS			16
701.1Sjmcneill#define SLAVE_DISPLAY_CFG			17
711.1Sjmcneill#define SLAVE_EMAC_CFG				18
721.1Sjmcneill#define SLAVE_GLM				19
731.1Sjmcneill#define SLAVE_GRAPHICS_3D_CFG			20
741.1Sjmcneill#define SLAVE_IMEM_CFG				21
751.1Sjmcneill#define SLAVE_IPA_CFG				22
761.1Sjmcneill#define SLAVE_CNOC_MNOC_CFG			23
771.1Sjmcneill#define SLAVE_NPU_CFG				24
781.1Sjmcneill#define SLAVE_PCIE_0_CFG			25
791.1Sjmcneill#define SLAVE_PCIE_1_CFG			26
801.1Sjmcneill#define SLAVE_PCIE_2_CFG			27
811.1Sjmcneill#define SLAVE_PCIE_3_CFG			28
821.1Sjmcneill#define SLAVE_PDM				29
831.1Sjmcneill#define SLAVE_PIMEM_CFG				30
841.1Sjmcneill#define SLAVE_PRNG				31
851.1Sjmcneill#define SLAVE_QDSS_CFG				32
861.1Sjmcneill#define SLAVE_QSPI_0				33
871.1Sjmcneill#define SLAVE_QSPI_1				34
881.1Sjmcneill#define SLAVE_QUP_1				35
891.1Sjmcneill#define SLAVE_QUP_2				36
901.1Sjmcneill#define SLAVE_QUP_0				37
911.1Sjmcneill#define SLAVE_SDCC_2				38
921.1Sjmcneill#define SLAVE_SDCC_4				39
931.1Sjmcneill#define SLAVE_SECURITY				40
941.1Sjmcneill#define SLAVE_SNOC_CFG				41
951.1Sjmcneill#define SLAVE_SPSS_CFG				42
961.1Sjmcneill#define SLAVE_TCSR				43
971.1Sjmcneill#define SLAVE_TLMM_EAST				44
981.1Sjmcneill#define SLAVE_TLMM_SOUTH			45
991.1Sjmcneill#define SLAVE_TLMM_WEST				46
1001.1Sjmcneill#define SLAVE_TSIF				47
1011.1Sjmcneill#define SLAVE_UFS_CARD_CFG			48
1021.1Sjmcneill#define SLAVE_UFS_MEM_0_CFG			49
1031.1Sjmcneill#define SLAVE_UFS_MEM_1_CFG			50
1041.1Sjmcneill#define SLAVE_USB3				51
1051.1Sjmcneill#define SLAVE_USB3_1				52
1061.1Sjmcneill#define SLAVE_USB3_2				53
1071.1Sjmcneill#define SLAVE_VENUS_CFG				54
1081.1Sjmcneill#define SLAVE_VSENSE_CTRL_CFG			55
1091.1Sjmcneill#define SLAVE_SERVICE_CNOC			56
1101.1Sjmcneill
1111.1Sjmcneill#define MASTER_CNOC_DC_NOC			0
1121.1Sjmcneill#define SLAVE_GEM_NOC_CFG			1
1131.1Sjmcneill#define SLAVE_LLCC_CFG				2
1141.1Sjmcneill
1151.1Sjmcneill#define MASTER_AMPSS_M0				0
1161.1Sjmcneill#define MASTER_GPU_TCU				1
1171.1Sjmcneill#define MASTER_SYS_TCU				2
1181.1Sjmcneill#define MASTER_GEM_NOC_CFG			3
1191.1Sjmcneill#define MASTER_COMPUTE_NOC			4
1201.1Sjmcneill#define MASTER_GRAPHICS_3D			5
1211.1Sjmcneill#define MASTER_MNOC_HF_MEM_NOC			6
1221.1Sjmcneill#define MASTER_MNOC_SF_MEM_NOC			7
1231.1Sjmcneill#define MASTER_GEM_NOC_PCIE_SNOC		8
1241.1Sjmcneill#define MASTER_SNOC_GC_MEM_NOC			9
1251.1Sjmcneill#define MASTER_SNOC_SF_MEM_NOC			10
1261.1Sjmcneill#define MASTER_ECC				11
1271.1Sjmcneill#define SLAVE_MSS_PROC_MS_MPU_CFG		12
1281.1Sjmcneill#define SLAVE_ECC				13
1291.1Sjmcneill#define SLAVE_GEM_NOC_SNOC			14
1301.1Sjmcneill#define SLAVE_LLCC				15
1311.1Sjmcneill#define SLAVE_SERVICE_GEM_NOC			16
1321.1Sjmcneill#define SLAVE_SERVICE_GEM_NOC_1			17
1331.1Sjmcneill
1341.1Sjmcneill#define MASTER_IPA_CORE				0
1351.1Sjmcneill#define SLAVE_IPA_CORE				1
1361.1Sjmcneill
1371.1Sjmcneill#define MASTER_LLCC				0
1381.1Sjmcneill#define SLAVE_EBI_CH0				1
1391.1Sjmcneill
1401.1Sjmcneill#define MASTER_CNOC_MNOC_CFG			0
1411.1Sjmcneill#define MASTER_CAMNOC_HF0			1
1421.1Sjmcneill#define MASTER_CAMNOC_HF1			2
1431.1Sjmcneill#define MASTER_CAMNOC_SF			3
1441.1Sjmcneill#define MASTER_MDP_PORT0			4
1451.1Sjmcneill#define MASTER_MDP_PORT1			5
1461.1Sjmcneill#define MASTER_ROTATOR				6
1471.1Sjmcneill#define MASTER_VIDEO_P0				7
1481.1Sjmcneill#define MASTER_VIDEO_P1				8
1491.1Sjmcneill#define MASTER_VIDEO_PROC			9
1501.1Sjmcneill#define SLAVE_MNOC_SF_MEM_NOC			10
1511.1Sjmcneill#define SLAVE_MNOC_HF_MEM_NOC			11
1521.1Sjmcneill#define SLAVE_SERVICE_MNOC			12
1531.1Sjmcneill
1541.1Sjmcneill#define MASTER_SNOC_CFG				0
1551.1Sjmcneill#define A1NOC_SNOC_MAS				1
1561.1Sjmcneill#define A2NOC_SNOC_MAS				2
1571.1Sjmcneill#define MASTER_GEM_NOC_SNOC			3
1581.1Sjmcneill#define MASTER_PIMEM				4
1591.1Sjmcneill#define MASTER_GIC				5
1601.1Sjmcneill#define SLAVE_APPSS				6
1611.1Sjmcneill#define SNOC_CNOC_SLV				7
1621.1Sjmcneill#define SLAVE_SNOC_GEM_NOC_GC			8
1631.1Sjmcneill#define SLAVE_SNOC_GEM_NOC_SF			9
1641.1Sjmcneill#define SLAVE_OCIMEM				10
1651.1Sjmcneill#define SLAVE_PIMEM				11
1661.1Sjmcneill#define SLAVE_SERVICE_SNOC			12
1671.1Sjmcneill#define SLAVE_PCIE_0				13
1681.1Sjmcneill#define SLAVE_PCIE_1				14
1691.1Sjmcneill#define SLAVE_PCIE_2				15
1701.1Sjmcneill#define SLAVE_PCIE_3				16
1711.1Sjmcneill#define SLAVE_QDSS_STM				17
1721.1Sjmcneill#define SLAVE_TCU				18
1731.1Sjmcneill
1741.1Sjmcneill#define MASTER_MNOC_HF_MEM_NOC_DISPLAY		0
1751.1Sjmcneill#define MASTER_MNOC_SF_MEM_NOC_DISPLAY		1
1761.1Sjmcneill#define SLAVE_LLCC_DISPLAY			2
1771.1Sjmcneill
1781.1Sjmcneill#define MASTER_LLCC_DISPLAY			0
1791.1Sjmcneill#define SLAVE_EBI_CH0_DISPLAY			1
1801.1Sjmcneill
1811.1Sjmcneill#define MASTER_MDP_PORT0_DISPLAY		0
1821.1Sjmcneill#define MASTER_MDP_PORT1_DISPLAY		1
1831.1Sjmcneill#define MASTER_ROTATOR_DISPLAY			2
1841.1Sjmcneill#define SLAVE_MNOC_SF_MEM_NOC_DISPLAY		3
1851.1Sjmcneill#define SLAVE_MNOC_HF_MEM_NOC_DISPLAY		4
1861.1Sjmcneill
1871.1Sjmcneill#endif
188