162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2018, The Linux Foundation. All rights reserved.
462306a36Sopenharmony_ci * Copyright (c) 2020, Linaro Ltd.
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_QCOM_GCC_SDX55_H
862306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_QCOM_GCC_SDX55_H
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#define GPLL0							3
1162306a36Sopenharmony_ci#define GPLL0_OUT_EVEN						4
1262306a36Sopenharmony_ci#define GPLL4							5
1362306a36Sopenharmony_ci#define GPLL4_OUT_EVEN						6
1462306a36Sopenharmony_ci#define GPLL5							7
1562306a36Sopenharmony_ci#define GCC_AHB_PCIE_LINK_CLK					8
1662306a36Sopenharmony_ci#define GCC_BLSP1_AHB_CLK					9
1762306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_I2C_APPS_CLK				10
1862306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_I2C_APPS_CLK_SRC				11
1962306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_SPI_APPS_CLK				12
2062306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_SPI_APPS_CLK_SRC				13
2162306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_I2C_APPS_CLK				14
2262306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_I2C_APPS_CLK_SRC				15
2362306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_SPI_APPS_CLK				16
2462306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_SPI_APPS_CLK_SRC				17
2562306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_I2C_APPS_CLK				18
2662306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_I2C_APPS_CLK_SRC				19
2762306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_SPI_APPS_CLK				20
2862306a36Sopenharmony_ci#define GCC_BLSP1_QUP3_SPI_APPS_CLK_SRC				21
2962306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_I2C_APPS_CLK				22
3062306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_I2C_APPS_CLK_SRC				23
3162306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_SPI_APPS_CLK				24
3262306a36Sopenharmony_ci#define GCC_BLSP1_QUP4_SPI_APPS_CLK_SRC				25
3362306a36Sopenharmony_ci#define GCC_BLSP1_UART1_APPS_CLK				26
3462306a36Sopenharmony_ci#define GCC_BLSP1_UART1_APPS_CLK_SRC				27
3562306a36Sopenharmony_ci#define GCC_BLSP1_UART2_APPS_CLK				28
3662306a36Sopenharmony_ci#define GCC_BLSP1_UART2_APPS_CLK_SRC				29
3762306a36Sopenharmony_ci#define GCC_BLSP1_UART3_APPS_CLK				30
3862306a36Sopenharmony_ci#define GCC_BLSP1_UART3_APPS_CLK_SRC				31
3962306a36Sopenharmony_ci#define GCC_BLSP1_UART4_APPS_CLK				32
4062306a36Sopenharmony_ci#define GCC_BLSP1_UART4_APPS_CLK_SRC				33
4162306a36Sopenharmony_ci#define GCC_BOOT_ROM_AHB_CLK					34
4262306a36Sopenharmony_ci#define GCC_CE1_AHB_CLK						35
4362306a36Sopenharmony_ci#define GCC_CE1_AXI_CLK						36
4462306a36Sopenharmony_ci#define GCC_CE1_CLK						37
4562306a36Sopenharmony_ci#define GCC_CPUSS_AHB_CLK					38
4662306a36Sopenharmony_ci#define GCC_CPUSS_AHB_CLK_SRC					39
4762306a36Sopenharmony_ci#define GCC_CPUSS_GNOC_CLK					40
4862306a36Sopenharmony_ci#define GCC_CPUSS_RBCPR_CLK					41
4962306a36Sopenharmony_ci#define GCC_CPUSS_RBCPR_CLK_SRC					42
5062306a36Sopenharmony_ci#define GCC_EMAC_CLK_SRC					43
5162306a36Sopenharmony_ci#define GCC_EMAC_PTP_CLK_SRC					44
5262306a36Sopenharmony_ci#define GCC_ETH_AXI_CLK						45
5362306a36Sopenharmony_ci#define GCC_ETH_PTP_CLK						46
5462306a36Sopenharmony_ci#define GCC_ETH_RGMII_CLK					47
5562306a36Sopenharmony_ci#define GCC_ETH_SLAVE_AHB_CLK					48
5662306a36Sopenharmony_ci#define GCC_GP1_CLK						49
5762306a36Sopenharmony_ci#define GCC_GP1_CLK_SRC						50
5862306a36Sopenharmony_ci#define GCC_GP2_CLK						51
5962306a36Sopenharmony_ci#define GCC_GP2_CLK_SRC						52
6062306a36Sopenharmony_ci#define GCC_GP3_CLK						53
6162306a36Sopenharmony_ci#define GCC_GP3_CLK_SRC						54
6262306a36Sopenharmony_ci#define GCC_PCIE_0_CLKREF_CLK					55
6362306a36Sopenharmony_ci#define GCC_PCIE_AUX_CLK					56
6462306a36Sopenharmony_ci#define GCC_PCIE_AUX_PHY_CLK_SRC				57
6562306a36Sopenharmony_ci#define GCC_PCIE_CFG_AHB_CLK					58
6662306a36Sopenharmony_ci#define GCC_PCIE_MSTR_AXI_CLK					59
6762306a36Sopenharmony_ci#define GCC_PCIE_PIPE_CLK					60
6862306a36Sopenharmony_ci#define GCC_PCIE_RCHNG_PHY_CLK					61
6962306a36Sopenharmony_ci#define GCC_PCIE_RCHNG_PHY_CLK_SRC				62
7062306a36Sopenharmony_ci#define GCC_PCIE_SLEEP_CLK					63
7162306a36Sopenharmony_ci#define GCC_PCIE_SLV_AXI_CLK					64
7262306a36Sopenharmony_ci#define GCC_PCIE_SLV_Q2A_AXI_CLK				65
7362306a36Sopenharmony_ci#define GCC_PDM2_CLK						66
7462306a36Sopenharmony_ci#define GCC_PDM2_CLK_SRC					67
7562306a36Sopenharmony_ci#define GCC_PDM_AHB_CLK						68
7662306a36Sopenharmony_ci#define GCC_PDM_XO4_CLK						69
7762306a36Sopenharmony_ci#define GCC_SDCC1_AHB_CLK					70
7862306a36Sopenharmony_ci#define GCC_SDCC1_APPS_CLK					71
7962306a36Sopenharmony_ci#define GCC_SDCC1_APPS_CLK_SRC					72
8062306a36Sopenharmony_ci#define GCC_SYS_NOC_CPUSS_AHB_CLK				73
8162306a36Sopenharmony_ci#define GCC_USB30_MASTER_CLK					74
8262306a36Sopenharmony_ci#define GCC_USB30_MASTER_CLK_SRC				75
8362306a36Sopenharmony_ci#define GCC_USB30_MOCK_UTMI_CLK					76
8462306a36Sopenharmony_ci#define GCC_USB30_MOCK_UTMI_CLK_SRC				77
8562306a36Sopenharmony_ci#define GCC_USB30_MSTR_AXI_CLK					78
8662306a36Sopenharmony_ci#define GCC_USB30_SLEEP_CLK					79
8762306a36Sopenharmony_ci#define GCC_USB30_SLV_AHB_CLK					80
8862306a36Sopenharmony_ci#define GCC_USB3_PHY_AUX_CLK					81
8962306a36Sopenharmony_ci#define GCC_USB3_PHY_AUX_CLK_SRC				82
9062306a36Sopenharmony_ci#define GCC_USB3_PHY_PIPE_CLK					83
9162306a36Sopenharmony_ci#define GCC_USB3_PRIM_CLKREF_CLK				84
9262306a36Sopenharmony_ci#define GCC_USB_PHY_CFG_AHB2PHY_CLK				85
9362306a36Sopenharmony_ci#define GCC_XO_DIV4_CLK						86
9462306a36Sopenharmony_ci#define GCC_XO_PCIE_LINK_CLK					87
9562306a36Sopenharmony_ci
9662306a36Sopenharmony_ci#define GCC_EMAC_BCR						0
9762306a36Sopenharmony_ci#define GCC_PCIE_BCR						1
9862306a36Sopenharmony_ci#define GCC_PCIE_LINK_DOWN_BCR					2
9962306a36Sopenharmony_ci#define GCC_PCIE_NOCSR_COM_PHY_BCR				3
10062306a36Sopenharmony_ci#define GCC_PCIE_PHY_BCR					4
10162306a36Sopenharmony_ci#define GCC_PCIE_PHY_CFG_AHB_BCR				5
10262306a36Sopenharmony_ci#define GCC_PCIE_PHY_COM_BCR					6
10362306a36Sopenharmony_ci#define GCC_PCIE_PHY_NOCSR_COM_PHY_BCR				7
10462306a36Sopenharmony_ci#define GCC_PDM_BCR						8
10562306a36Sopenharmony_ci#define GCC_QUSB2PHY_BCR					9
10662306a36Sopenharmony_ci#define GCC_TCSR_PCIE_BCR					10
10762306a36Sopenharmony_ci#define GCC_USB30_BCR						11
10862306a36Sopenharmony_ci#define GCC_USB3_PHY_BCR					12
10962306a36Sopenharmony_ci#define GCC_USB3PHY_PHY_BCR					13
11062306a36Sopenharmony_ci#define GCC_USB_PHY_CFG_AHB2PHY_BCR				14
11162306a36Sopenharmony_ci
11262306a36Sopenharmony_ci/* GCC power domains */
11362306a36Sopenharmony_ci#define USB30_GDSC						0
11462306a36Sopenharmony_ci#define PCIE_GDSC						1
11562306a36Sopenharmony_ci#define EMAC_GDSC						2
11662306a36Sopenharmony_ci
11762306a36Sopenharmony_ci#endif
118