11.1Sjmcneill/*	$NetBSD: qcom,sm8350.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 SM8350 interconnect IDs
61.1Sjmcneill *
71.1Sjmcneill * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
81.1Sjmcneill * Copyright (c) 2021, Linaro Limited
91.1Sjmcneill */
101.1Sjmcneill
111.1Sjmcneill#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_SM8350_H
121.1Sjmcneill#define __DT_BINDINGS_INTERCONNECT_QCOM_SM8350_H
131.1Sjmcneill
141.1Sjmcneill#define MASTER_QSPI_0			0
151.1Sjmcneill#define MASTER_QUP_1			1
161.1Sjmcneill#define MASTER_A1NOC_CFG		2
171.1Sjmcneill#define MASTER_SDCC_4			3
181.1Sjmcneill#define MASTER_UFS_MEM			4
191.1Sjmcneill#define MASTER_USB3_0			5
201.1Sjmcneill#define MASTER_USB3_1			6
211.1Sjmcneill#define SLAVE_A1NOC_SNOC		7
221.1Sjmcneill#define SLAVE_SERVICE_A1NOC		8
231.1Sjmcneill
241.1Sjmcneill#define MASTER_QDSS_BAM			0
251.1Sjmcneill#define MASTER_QUP_0			1
261.1Sjmcneill#define MASTER_QUP_2			2
271.1Sjmcneill#define MASTER_A2NOC_CFG		3
281.1Sjmcneill#define MASTER_CRYPTO			4
291.1Sjmcneill#define MASTER_IPA			5
301.1Sjmcneill#define MASTER_PCIE_0			6
311.1Sjmcneill#define MASTER_PCIE_1			7
321.1Sjmcneill#define MASTER_QDSS_ETR			8
331.1Sjmcneill#define MASTER_SDCC_2			9
341.1Sjmcneill#define MASTER_UFS_CARD			10
351.1Sjmcneill#define SLAVE_A2NOC_SNOC		11
361.1Sjmcneill#define SLAVE_ANOC_PCIE_GEM_NOC		12
371.1Sjmcneill#define SLAVE_SERVICE_A2NOC		13
381.1Sjmcneill
391.1Sjmcneill#define MASTER_GEM_NOC_CNOC		0
401.1Sjmcneill#define MASTER_GEM_NOC_PCIE_SNOC	1
411.1Sjmcneill#define MASTER_QDSS_DAP			2
421.1Sjmcneill#define SLAVE_AHB2PHY_SOUTH		3
431.1Sjmcneill#define SLAVE_AHB2PHY_NORTH		4
441.1Sjmcneill#define SLAVE_AOSS			5
451.1Sjmcneill#define SLAVE_APPSS			6
461.1Sjmcneill#define SLAVE_CAMERA_CFG		7
471.1Sjmcneill#define SLAVE_CLK_CTL			8
481.1Sjmcneill#define SLAVE_CDSP_CFG			9
491.1Sjmcneill#define SLAVE_RBCPR_CX_CFG		10
501.1Sjmcneill#define SLAVE_RBCPR_MMCX_CFG		11
511.1Sjmcneill#define SLAVE_RBCPR_MX_CFG		12
521.1Sjmcneill#define SLAVE_CRYPTO_0_CFG		13
531.1Sjmcneill#define SLAVE_CX_RDPM			14
541.1Sjmcneill#define SLAVE_DCC_CFG			15
551.1Sjmcneill#define SLAVE_DISPLAY_CFG		16
561.1Sjmcneill#define SLAVE_GFX3D_CFG			17
571.1Sjmcneill#define SLAVE_HWKM			18
581.1Sjmcneill#define SLAVE_IMEM_CFG			19
591.1Sjmcneill#define SLAVE_IPA_CFG			20
601.1Sjmcneill#define SLAVE_IPC_ROUTER_CFG		21
611.1Sjmcneill#define SLAVE_LPASS			22
621.1Sjmcneill#define SLAVE_CNOC_MSS			23
631.1Sjmcneill#define SLAVE_MX_RDPM			24
641.1Sjmcneill#define SLAVE_PCIE_0_CFG		25
651.1Sjmcneill#define SLAVE_PCIE_1_CFG		26
661.1Sjmcneill#define SLAVE_PDM			27
671.1Sjmcneill#define SLAVE_PIMEM_CFG			28
681.1Sjmcneill#define SLAVE_PKA_WRAPPER_CFG		29
691.1Sjmcneill#define SLAVE_PMU_WRAPPER_CFG		30
701.1Sjmcneill#define SLAVE_QDSS_CFG			31
711.1Sjmcneill#define SLAVE_QSPI_0			32
721.1Sjmcneill#define SLAVE_QUP_0			33
731.1Sjmcneill#define SLAVE_QUP_1			34
741.1Sjmcneill#define SLAVE_QUP_2			35
751.1Sjmcneill#define SLAVE_SDCC_2			36
761.1Sjmcneill#define SLAVE_SDCC_4			37
771.1Sjmcneill#define SLAVE_SECURITY			38
781.1Sjmcneill#define SLAVE_SPSS_CFG			39
791.1Sjmcneill#define SLAVE_TCSR			40
801.1Sjmcneill#define SLAVE_TLMM			41
811.1Sjmcneill#define SLAVE_UFS_CARD_CFG		42
821.1Sjmcneill#define SLAVE_UFS_MEM_CFG		43
831.1Sjmcneill#define SLAVE_USB3_0			44
841.1Sjmcneill#define SLAVE_USB3_1			45
851.1Sjmcneill#define SLAVE_VENUS_CFG			46
861.1Sjmcneill#define SLAVE_VSENSE_CTRL_CFG		47
871.1Sjmcneill#define SLAVE_A1NOC_CFG			48
881.1Sjmcneill#define SLAVE_A2NOC_CFG			49
891.1Sjmcneill#define SLAVE_DDRSS_CFG			50
901.1Sjmcneill#define SLAVE_CNOC_MNOC_CFG		51
911.1Sjmcneill#define SLAVE_SNOC_CFG			52
921.1Sjmcneill#define SLAVE_BOOT_IMEM			53
931.1Sjmcneill#define SLAVE_IMEM			54
941.1Sjmcneill#define SLAVE_PIMEM			55
951.1Sjmcneill#define SLAVE_SERVICE_CNOC		56
961.1Sjmcneill#define SLAVE_PCIE_0			57
971.1Sjmcneill#define SLAVE_PCIE_1			58
981.1Sjmcneill#define SLAVE_QDSS_STM			59
991.1Sjmcneill#define SLAVE_TCU			60
1001.1Sjmcneill
1011.1Sjmcneill#define MASTER_CNOC_DC_NOC		0
1021.1Sjmcneill#define SLAVE_LLCC_CFG			1
1031.1Sjmcneill#define SLAVE_GEM_NOC_CFG		2
1041.1Sjmcneill
1051.1Sjmcneill#define MASTER_GPU_TCU			0
1061.1Sjmcneill#define MASTER_SYS_TCU			1
1071.1Sjmcneill#define MASTER_APPSS_PROC		2
1081.1Sjmcneill#define MASTER_COMPUTE_NOC		3
1091.1Sjmcneill#define MASTER_GEM_NOC_CFG		4
1101.1Sjmcneill#define MASTER_GFX3D			5
1111.1Sjmcneill#define MASTER_MNOC_HF_MEM_NOC		6
1121.1Sjmcneill#define MASTER_MNOC_SF_MEM_NOC		7
1131.1Sjmcneill#define MASTER_ANOC_PCIE_GEM_NOC	8
1141.1Sjmcneill#define MASTER_SNOC_GC_MEM_NOC		9
1151.1Sjmcneill#define MASTER_SNOC_SF_MEM_NOC		10
1161.1Sjmcneill#define SLAVE_MSS_PROC_MS_MPU_CFG	11
1171.1Sjmcneill#define SLAVE_MCDMA_MS_MPU_CFG		12
1181.1Sjmcneill#define SLAVE_GEM_NOC_CNOC		13
1191.1Sjmcneill#define SLAVE_LLCC			14
1201.1Sjmcneill#define SLAVE_MEM_NOC_PCIE_SNOC		15
1211.1Sjmcneill#define SLAVE_SERVICE_GEM_NOC_1		16
1221.1Sjmcneill#define SLAVE_SERVICE_GEM_NOC_2		17
1231.1Sjmcneill#define SLAVE_SERVICE_GEM_NOC		18
1241.1Sjmcneill#define MASTER_MNOC_HF_MEM_NOC_DISP	19
1251.1Sjmcneill#define MASTER_MNOC_SF_MEM_NOC_DISP	20
1261.1Sjmcneill#define SLAVE_LLCC_DISP			21
1271.1Sjmcneill
1281.1Sjmcneill#define MASTER_CNOC_LPASS_AG_NOC	0
1291.1Sjmcneill#define SLAVE_LPASS_CORE_CFG		1
1301.1Sjmcneill#define SLAVE_LPASS_LPI_CFG		2
1311.1Sjmcneill#define SLAVE_LPASS_MPU_CFG		3
1321.1Sjmcneill#define SLAVE_LPASS_TOP_CFG		4
1331.1Sjmcneill#define SLAVE_SERVICES_LPASS_AML_NOC	5
1341.1Sjmcneill#define SLAVE_SERVICE_LPASS_AG_NOC	6
1351.1Sjmcneill
1361.1Sjmcneill#define MASTER_LLCC			0
1371.1Sjmcneill#define SLAVE_EBI1			1
1381.1Sjmcneill#define MASTER_LLCC_DISP		2
1391.1Sjmcneill#define SLAVE_EBI1_DISP			3
1401.1Sjmcneill
1411.1Sjmcneill#define MASTER_CAMNOC_HF		0
1421.1Sjmcneill#define MASTER_CAMNOC_ICP		1
1431.1Sjmcneill#define MASTER_CAMNOC_SF		2
1441.1Sjmcneill#define MASTER_CNOC_MNOC_CFG		3
1451.1Sjmcneill#define MASTER_VIDEO_P0			4
1461.1Sjmcneill#define MASTER_VIDEO_P1			5
1471.1Sjmcneill#define MASTER_VIDEO_PROC		6
1481.1Sjmcneill#define MASTER_MDP0			7
1491.1Sjmcneill#define MASTER_MDP1			8
1501.1Sjmcneill#define MASTER_ROTATOR			9
1511.1Sjmcneill#define SLAVE_MNOC_HF_MEM_NOC		10
1521.1Sjmcneill#define SLAVE_MNOC_SF_MEM_NOC		11
1531.1Sjmcneill#define SLAVE_SERVICE_MNOC		12
1541.1Sjmcneill#define MASTER_MDP0_DISP		13
1551.1Sjmcneill#define MASTER_MDP1_DISP		14
1561.1Sjmcneill#define MASTER_ROTATOR_DISP		15
1571.1Sjmcneill#define SLAVE_MNOC_HF_MEM_NOC_DISP	16
1581.1Sjmcneill#define SLAVE_MNOC_SF_MEM_NOC_DISP	17
1591.1Sjmcneill
1601.1Sjmcneill#define MASTER_CDSP_NOC_CFG		0
1611.1Sjmcneill#define MASTER_CDSP_PROC		1
1621.1Sjmcneill#define SLAVE_CDSP_MEM_NOC		2
1631.1Sjmcneill#define SLAVE_SERVICE_NSP_NOC		3
1641.1Sjmcneill
1651.1Sjmcneill#define MASTER_A1NOC_SNOC		0
1661.1Sjmcneill#define MASTER_A2NOC_SNOC		1
1671.1Sjmcneill#define MASTER_SNOC_CFG			2
1681.1Sjmcneill#define MASTER_PIMEM			3
1691.1Sjmcneill#define MASTER_GIC			4
1701.1Sjmcneill#define SLAVE_SNOC_GEM_NOC_GC		5
1711.1Sjmcneill#define SLAVE_SNOC_GEM_NOC_SF		6
1721.1Sjmcneill#define SLAVE_SERVICE_SNOC		7
1731.1Sjmcneill
1741.1Sjmcneill#endif
175