162306a36Sopenharmony_ci/* Copyright (c) 2015 The Linux Foundation. All rights reserved.
262306a36Sopenharmony_ci *
362306a36Sopenharmony_ci * Permission to use, copy, modify, and/or distribute this software for any
462306a36Sopenharmony_ci * purpose with or without fee is hereby granted, provided that the above
562306a36Sopenharmony_ci * copyright notice and this permission notice appear in all copies.
662306a36Sopenharmony_ci *
762306a36Sopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
862306a36Sopenharmony_ci * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
962306a36Sopenharmony_ci * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1062306a36Sopenharmony_ci * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1162306a36Sopenharmony_ci * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1262306a36Sopenharmony_ci * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1362306a36Sopenharmony_ci * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1462306a36Sopenharmony_ci *
1562306a36Sopenharmony_ci */
1662306a36Sopenharmony_ci#ifndef __QCOM_CLK_IPQ4019_H__
1762306a36Sopenharmony_ci#define __QCOM_CLK_IPQ4019_H__
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci#define GCC_DUMMY_CLK					0
2062306a36Sopenharmony_ci#define AUDIO_CLK_SRC					1
2162306a36Sopenharmony_ci#define BLSP1_QUP1_I2C_APPS_CLK_SRC			2
2262306a36Sopenharmony_ci#define BLSP1_QUP1_SPI_APPS_CLK_SRC			3
2362306a36Sopenharmony_ci#define BLSP1_QUP2_I2C_APPS_CLK_SRC			4
2462306a36Sopenharmony_ci#define BLSP1_QUP2_SPI_APPS_CLK_SRC			5
2562306a36Sopenharmony_ci#define BLSP1_UART1_APPS_CLK_SRC			6
2662306a36Sopenharmony_ci#define BLSP1_UART2_APPS_CLK_SRC			7
2762306a36Sopenharmony_ci#define GCC_USB3_MOCK_UTMI_CLK_SRC			8
2862306a36Sopenharmony_ci#define GCC_APPS_CLK_SRC				9
2962306a36Sopenharmony_ci#define GCC_APPS_AHB_CLK_SRC				10
3062306a36Sopenharmony_ci#define GP1_CLK_SRC					11
3162306a36Sopenharmony_ci#define GP2_CLK_SRC					12
3262306a36Sopenharmony_ci#define GP3_CLK_SRC					13
3362306a36Sopenharmony_ci#define SDCC1_APPS_CLK_SRC				14
3462306a36Sopenharmony_ci#define FEPHY_125M_DLY_CLK_SRC				15
3562306a36Sopenharmony_ci#define WCSS2G_CLK_SRC					16
3662306a36Sopenharmony_ci#define WCSS5G_CLK_SRC					17
3762306a36Sopenharmony_ci#define GCC_APSS_AHB_CLK				18
3862306a36Sopenharmony_ci#define GCC_AUDIO_AHB_CLK				19
3962306a36Sopenharmony_ci#define GCC_AUDIO_PWM_CLK				20
4062306a36Sopenharmony_ci#define GCC_BLSP1_AHB_CLK				21
4162306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_I2C_APPS_CLK			22
4262306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_SPI_APPS_CLK			23
4362306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_I2C_APPS_CLK			24
4462306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_SPI_APPS_CLK			25
4562306a36Sopenharmony_ci#define GCC_BLSP1_UART1_APPS_CLK			26
4662306a36Sopenharmony_ci#define GCC_BLSP1_UART2_APPS_CLK			27
4762306a36Sopenharmony_ci#define GCC_DCD_XO_CLK					28
4862306a36Sopenharmony_ci#define GCC_GP1_CLK					29
4962306a36Sopenharmony_ci#define GCC_GP2_CLK					30
5062306a36Sopenharmony_ci#define GCC_GP3_CLK					31
5162306a36Sopenharmony_ci#define GCC_BOOT_ROM_AHB_CLK				32
5262306a36Sopenharmony_ci#define GCC_CRYPTO_AHB_CLK				33
5362306a36Sopenharmony_ci#define GCC_CRYPTO_AXI_CLK				34
5462306a36Sopenharmony_ci#define GCC_CRYPTO_CLK					35
5562306a36Sopenharmony_ci#define GCC_ESS_CLK					36
5662306a36Sopenharmony_ci#define GCC_IMEM_AXI_CLK				37
5762306a36Sopenharmony_ci#define GCC_IMEM_CFG_AHB_CLK				38
5862306a36Sopenharmony_ci#define GCC_PCIE_AHB_CLK				39
5962306a36Sopenharmony_ci#define GCC_PCIE_AXI_M_CLK				40
6062306a36Sopenharmony_ci#define GCC_PCIE_AXI_S_CLK				41
6162306a36Sopenharmony_ci#define GCC_PCNOC_AHB_CLK				42
6262306a36Sopenharmony_ci#define GCC_PRNG_AHB_CLK				43
6362306a36Sopenharmony_ci#define GCC_QPIC_AHB_CLK				44
6462306a36Sopenharmony_ci#define GCC_QPIC_CLK					45
6562306a36Sopenharmony_ci#define GCC_SDCC1_AHB_CLK				46
6662306a36Sopenharmony_ci#define GCC_SDCC1_APPS_CLK				47
6762306a36Sopenharmony_ci#define GCC_SNOC_PCNOC_AHB_CLK				48
6862306a36Sopenharmony_ci#define GCC_SYS_NOC_125M_CLK				49
6962306a36Sopenharmony_ci#define GCC_SYS_NOC_AXI_CLK				50
7062306a36Sopenharmony_ci#define GCC_TCSR_AHB_CLK				51
7162306a36Sopenharmony_ci#define GCC_TLMM_AHB_CLK				52
7262306a36Sopenharmony_ci#define GCC_USB2_MASTER_CLK				53
7362306a36Sopenharmony_ci#define GCC_USB2_SLEEP_CLK				54
7462306a36Sopenharmony_ci#define GCC_USB2_MOCK_UTMI_CLK				55
7562306a36Sopenharmony_ci#define GCC_USB3_MASTER_CLK				56
7662306a36Sopenharmony_ci#define GCC_USB3_SLEEP_CLK				57
7762306a36Sopenharmony_ci#define GCC_USB3_MOCK_UTMI_CLK				58
7862306a36Sopenharmony_ci#define GCC_WCSS2G_CLK					59
7962306a36Sopenharmony_ci#define GCC_WCSS2G_REF_CLK				60
8062306a36Sopenharmony_ci#define GCC_WCSS2G_RTC_CLK				61
8162306a36Sopenharmony_ci#define GCC_WCSS5G_CLK					62
8262306a36Sopenharmony_ci#define GCC_WCSS5G_REF_CLK				63
8362306a36Sopenharmony_ci#define GCC_WCSS5G_RTC_CLK				64
8462306a36Sopenharmony_ci#define GCC_APSS_DDRPLL_VCO				65
8562306a36Sopenharmony_ci#define GCC_SDCC_PLLDIV_CLK				66
8662306a36Sopenharmony_ci#define GCC_FEPLL_VCO					67
8762306a36Sopenharmony_ci#define GCC_FEPLL125_CLK				68
8862306a36Sopenharmony_ci#define GCC_FEPLL125DLY_CLK				69
8962306a36Sopenharmony_ci#define GCC_FEPLL200_CLK				70
9062306a36Sopenharmony_ci#define GCC_FEPLL500_CLK				71
9162306a36Sopenharmony_ci#define GCC_FEPLL_WCSS2G_CLK				72
9262306a36Sopenharmony_ci#define GCC_FEPLL_WCSS5G_CLK				73
9362306a36Sopenharmony_ci#define GCC_APSS_CPU_PLLDIV_CLK				74
9462306a36Sopenharmony_ci#define GCC_PCNOC_AHB_CLK_SRC				75
9562306a36Sopenharmony_ci
9662306a36Sopenharmony_ci#define WIFI0_CPU_INIT_RESET				0
9762306a36Sopenharmony_ci#define WIFI0_RADIO_SRIF_RESET				1
9862306a36Sopenharmony_ci#define WIFI0_RADIO_WARM_RESET				2
9962306a36Sopenharmony_ci#define WIFI0_RADIO_COLD_RESET				3
10062306a36Sopenharmony_ci#define WIFI0_CORE_WARM_RESET				4
10162306a36Sopenharmony_ci#define WIFI0_CORE_COLD_RESET				5
10262306a36Sopenharmony_ci#define WIFI1_CPU_INIT_RESET				6
10362306a36Sopenharmony_ci#define WIFI1_RADIO_SRIF_RESET				7
10462306a36Sopenharmony_ci#define WIFI1_RADIO_WARM_RESET				8
10562306a36Sopenharmony_ci#define WIFI1_RADIO_COLD_RESET				9
10662306a36Sopenharmony_ci#define WIFI1_CORE_WARM_RESET				10
10762306a36Sopenharmony_ci#define WIFI1_CORE_COLD_RESET				11
10862306a36Sopenharmony_ci#define USB3_UNIPHY_PHY_ARES				12
10962306a36Sopenharmony_ci#define USB3_HSPHY_POR_ARES				13
11062306a36Sopenharmony_ci#define USB3_HSPHY_S_ARES				14
11162306a36Sopenharmony_ci#define USB2_HSPHY_POR_ARES				15
11262306a36Sopenharmony_ci#define USB2_HSPHY_S_ARES				16
11362306a36Sopenharmony_ci#define PCIE_PHY_AHB_ARES				17
11462306a36Sopenharmony_ci#define PCIE_AHB_ARES					18
11562306a36Sopenharmony_ci#define PCIE_PWR_ARES					19
11662306a36Sopenharmony_ci#define PCIE_PIPE_STICKY_ARES				20
11762306a36Sopenharmony_ci#define PCIE_AXI_M_STICKY_ARES				21
11862306a36Sopenharmony_ci#define PCIE_PHY_ARES					22
11962306a36Sopenharmony_ci#define PCIE_PARF_XPU_ARES				23
12062306a36Sopenharmony_ci#define PCIE_AXI_S_XPU_ARES				24
12162306a36Sopenharmony_ci#define PCIE_AXI_M_VMIDMT_ARES				25
12262306a36Sopenharmony_ci#define PCIE_PIPE_ARES					26
12362306a36Sopenharmony_ci#define PCIE_AXI_S_ARES					27
12462306a36Sopenharmony_ci#define PCIE_AXI_M_ARES					28
12562306a36Sopenharmony_ci#define ESS_RESET					29
12662306a36Sopenharmony_ci#define GCC_BLSP1_BCR					30
12762306a36Sopenharmony_ci#define GCC_BLSP1_QUP1_BCR				31
12862306a36Sopenharmony_ci#define GCC_BLSP1_UART1_BCR				32
12962306a36Sopenharmony_ci#define GCC_BLSP1_QUP2_BCR				33
13062306a36Sopenharmony_ci#define GCC_BLSP1_UART2_BCR				34
13162306a36Sopenharmony_ci#define GCC_BIMC_BCR					35
13262306a36Sopenharmony_ci#define GCC_TLMM_BCR					36
13362306a36Sopenharmony_ci#define GCC_IMEM_BCR					37
13462306a36Sopenharmony_ci#define GCC_ESS_BCR					38
13562306a36Sopenharmony_ci#define GCC_PRNG_BCR					39
13662306a36Sopenharmony_ci#define GCC_BOOT_ROM_BCR				40
13762306a36Sopenharmony_ci#define GCC_CRYPTO_BCR					41
13862306a36Sopenharmony_ci#define GCC_SDCC1_BCR					42
13962306a36Sopenharmony_ci#define GCC_SEC_CTRL_BCR				43
14062306a36Sopenharmony_ci#define GCC_AUDIO_BCR					44
14162306a36Sopenharmony_ci#define GCC_QPIC_BCR					45
14262306a36Sopenharmony_ci#define GCC_PCIE_BCR					46
14362306a36Sopenharmony_ci#define GCC_USB2_BCR					47
14462306a36Sopenharmony_ci#define GCC_USB2_PHY_BCR				48
14562306a36Sopenharmony_ci#define GCC_USB3_BCR					49
14662306a36Sopenharmony_ci#define GCC_USB3_PHY_BCR				50
14762306a36Sopenharmony_ci#define GCC_SYSTEM_NOC_BCR				51
14862306a36Sopenharmony_ci#define GCC_PCNOC_BCR					52
14962306a36Sopenharmony_ci#define GCC_DCD_BCR					53
15062306a36Sopenharmony_ci#define GCC_SNOC_BUS_TIMEOUT0_BCR			54
15162306a36Sopenharmony_ci#define GCC_SNOC_BUS_TIMEOUT1_BCR			55
15262306a36Sopenharmony_ci#define GCC_SNOC_BUS_TIMEOUT2_BCR			56
15362306a36Sopenharmony_ci#define GCC_SNOC_BUS_TIMEOUT3_BCR			57
15462306a36Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT0_BCR			58
15562306a36Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT1_BCR			59
15662306a36Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT2_BCR			60
15762306a36Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT3_BCR			61
15862306a36Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT4_BCR			62
15962306a36Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT5_BCR			63
16062306a36Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT6_BCR			64
16162306a36Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT7_BCR			65
16262306a36Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT8_BCR			66
16362306a36Sopenharmony_ci#define GCC_PCNOC_BUS_TIMEOUT9_BCR			67
16462306a36Sopenharmony_ci#define GCC_TCSR_BCR					68
16562306a36Sopenharmony_ci#define GCC_QDSS_BCR					69
16662306a36Sopenharmony_ci#define GCC_MPM_BCR					70
16762306a36Sopenharmony_ci#define GCC_SPDM_BCR					71
16862306a36Sopenharmony_ci#define ESS_MAC1_ARES					72
16962306a36Sopenharmony_ci#define ESS_MAC2_ARES					73
17062306a36Sopenharmony_ci#define ESS_MAC3_ARES					74
17162306a36Sopenharmony_ci#define ESS_MAC4_ARES					75
17262306a36Sopenharmony_ci#define ESS_MAC5_ARES					76
17362306a36Sopenharmony_ci#define ESS_PSGMII_ARES					77
17462306a36Sopenharmony_ci
17562306a36Sopenharmony_ci#endif
176