162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright 2015 Linaro Limited 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_MSM_RPMCC_H 762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_MSM_RPMCC_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci/* RPM clocks */ 1062306a36Sopenharmony_ci#define RPM_PXO_CLK 0 1162306a36Sopenharmony_ci#define RPM_PXO_A_CLK 1 1262306a36Sopenharmony_ci#define RPM_CXO_CLK 2 1362306a36Sopenharmony_ci#define RPM_CXO_A_CLK 3 1462306a36Sopenharmony_ci#define RPM_APPS_FABRIC_CLK 4 1562306a36Sopenharmony_ci#define RPM_APPS_FABRIC_A_CLK 5 1662306a36Sopenharmony_ci#define RPM_CFPB_CLK 6 1762306a36Sopenharmony_ci#define RPM_CFPB_A_CLK 7 1862306a36Sopenharmony_ci#define RPM_QDSS_CLK 8 1962306a36Sopenharmony_ci#define RPM_QDSS_A_CLK 9 2062306a36Sopenharmony_ci#define RPM_DAYTONA_FABRIC_CLK 10 2162306a36Sopenharmony_ci#define RPM_DAYTONA_FABRIC_A_CLK 11 2262306a36Sopenharmony_ci#define RPM_EBI1_CLK 12 2362306a36Sopenharmony_ci#define RPM_EBI1_A_CLK 13 2462306a36Sopenharmony_ci#define RPM_MM_FABRIC_CLK 14 2562306a36Sopenharmony_ci#define RPM_MM_FABRIC_A_CLK 15 2662306a36Sopenharmony_ci#define RPM_MMFPB_CLK 16 2762306a36Sopenharmony_ci#define RPM_MMFPB_A_CLK 17 2862306a36Sopenharmony_ci#define RPM_SYS_FABRIC_CLK 18 2962306a36Sopenharmony_ci#define RPM_SYS_FABRIC_A_CLK 19 3062306a36Sopenharmony_ci#define RPM_SFPB_CLK 20 3162306a36Sopenharmony_ci#define RPM_SFPB_A_CLK 21 3262306a36Sopenharmony_ci#define RPM_SMI_CLK 22 3362306a36Sopenharmony_ci#define RPM_SMI_A_CLK 23 3462306a36Sopenharmony_ci#define RPM_PLL4_CLK 24 3562306a36Sopenharmony_ci#define RPM_XO_D0 25 3662306a36Sopenharmony_ci#define RPM_XO_D1 26 3762306a36Sopenharmony_ci#define RPM_XO_A0 27 3862306a36Sopenharmony_ci#define RPM_XO_A1 28 3962306a36Sopenharmony_ci#define RPM_XO_A2 29 4062306a36Sopenharmony_ci#define RPM_NSS_FABRIC_0_CLK 30 4162306a36Sopenharmony_ci#define RPM_NSS_FABRIC_0_A_CLK 31 4262306a36Sopenharmony_ci#define RPM_NSS_FABRIC_1_CLK 32 4362306a36Sopenharmony_ci#define RPM_NSS_FABRIC_1_A_CLK 33 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ci/* SMD RPM clocks */ 4662306a36Sopenharmony_ci#define RPM_SMD_XO_CLK_SRC 0 4762306a36Sopenharmony_ci#define RPM_SMD_XO_A_CLK_SRC 1 4862306a36Sopenharmony_ci#define RPM_SMD_PCNOC_CLK 2 4962306a36Sopenharmony_ci#define RPM_SMD_PCNOC_A_CLK 3 5062306a36Sopenharmony_ci#define RPM_SMD_SNOC_CLK 4 5162306a36Sopenharmony_ci#define RPM_SMD_SNOC_A_CLK 5 5262306a36Sopenharmony_ci#define RPM_SMD_BIMC_CLK 6 5362306a36Sopenharmony_ci#define RPM_SMD_BIMC_A_CLK 7 5462306a36Sopenharmony_ci#define RPM_SMD_QDSS_CLK 8 5562306a36Sopenharmony_ci#define RPM_SMD_QDSS_A_CLK 9 5662306a36Sopenharmony_ci#define RPM_SMD_BB_CLK1 10 5762306a36Sopenharmony_ci#define RPM_SMD_BB_CLK1_A 11 5862306a36Sopenharmony_ci#define RPM_SMD_BB_CLK2 12 5962306a36Sopenharmony_ci#define RPM_SMD_BB_CLK2_A 13 6062306a36Sopenharmony_ci#define RPM_SMD_RF_CLK1 14 6162306a36Sopenharmony_ci#define RPM_SMD_RF_CLK1_A 15 6262306a36Sopenharmony_ci#define RPM_SMD_RF_CLK2 16 6362306a36Sopenharmony_ci#define RPM_SMD_RF_CLK2_A 17 6462306a36Sopenharmony_ci#define RPM_SMD_BB_CLK1_PIN 18 6562306a36Sopenharmony_ci#define RPM_SMD_BB_CLK1_A_PIN 19 6662306a36Sopenharmony_ci#define RPM_SMD_BB_CLK2_PIN 20 6762306a36Sopenharmony_ci#define RPM_SMD_BB_CLK2_A_PIN 21 6862306a36Sopenharmony_ci#define RPM_SMD_RF_CLK1_PIN 22 6962306a36Sopenharmony_ci#define RPM_SMD_RF_CLK1_A_PIN 23 7062306a36Sopenharmony_ci#define RPM_SMD_RF_CLK2_PIN 24 7162306a36Sopenharmony_ci#define RPM_SMD_RF_CLK2_A_PIN 25 7262306a36Sopenharmony_ci#define RPM_SMD_PNOC_CLK 26 7362306a36Sopenharmony_ci#define RPM_SMD_PNOC_A_CLK 27 7462306a36Sopenharmony_ci#define RPM_SMD_CNOC_CLK 28 7562306a36Sopenharmony_ci#define RPM_SMD_CNOC_A_CLK 29 7662306a36Sopenharmony_ci#define RPM_SMD_MMSSNOC_AHB_CLK 30 7762306a36Sopenharmony_ci#define RPM_SMD_MMSSNOC_AHB_A_CLK 31 7862306a36Sopenharmony_ci#define RPM_SMD_GFX3D_CLK_SRC 32 7962306a36Sopenharmony_ci#define RPM_SMD_GFX3D_A_CLK_SRC 33 8062306a36Sopenharmony_ci#define RPM_SMD_OCMEMGX_CLK 34 8162306a36Sopenharmony_ci#define RPM_SMD_OCMEMGX_A_CLK 35 8262306a36Sopenharmony_ci#define RPM_SMD_CXO_D0 36 8362306a36Sopenharmony_ci#define RPM_SMD_CXO_D0_A 37 8462306a36Sopenharmony_ci#define RPM_SMD_CXO_D1 38 8562306a36Sopenharmony_ci#define RPM_SMD_CXO_D1_A 39 8662306a36Sopenharmony_ci#define RPM_SMD_CXO_A0 40 8762306a36Sopenharmony_ci#define RPM_SMD_CXO_A0_A 41 8862306a36Sopenharmony_ci#define RPM_SMD_CXO_A1 42 8962306a36Sopenharmony_ci#define RPM_SMD_CXO_A1_A 43 9062306a36Sopenharmony_ci#define RPM_SMD_CXO_A2 44 9162306a36Sopenharmony_ci#define RPM_SMD_CXO_A2_A 45 9262306a36Sopenharmony_ci#define RPM_SMD_DIV_CLK1 46 9362306a36Sopenharmony_ci#define RPM_SMD_DIV_A_CLK1 47 9462306a36Sopenharmony_ci#define RPM_SMD_DIV_CLK2 48 9562306a36Sopenharmony_ci#define RPM_SMD_DIV_A_CLK2 49 9662306a36Sopenharmony_ci#define RPM_SMD_DIFF_CLK 50 9762306a36Sopenharmony_ci#define RPM_SMD_DIFF_A_CLK 51 9862306a36Sopenharmony_ci#define RPM_SMD_CXO_D0_PIN 52 9962306a36Sopenharmony_ci#define RPM_SMD_CXO_D0_A_PIN 53 10062306a36Sopenharmony_ci#define RPM_SMD_CXO_D1_PIN 54 10162306a36Sopenharmony_ci#define RPM_SMD_CXO_D1_A_PIN 55 10262306a36Sopenharmony_ci#define RPM_SMD_CXO_A0_PIN 56 10362306a36Sopenharmony_ci#define RPM_SMD_CXO_A0_A_PIN 57 10462306a36Sopenharmony_ci#define RPM_SMD_CXO_A1_PIN 58 10562306a36Sopenharmony_ci#define RPM_SMD_CXO_A1_A_PIN 59 10662306a36Sopenharmony_ci#define RPM_SMD_CXO_A2_PIN 60 10762306a36Sopenharmony_ci#define RPM_SMD_CXO_A2_A_PIN 61 10862306a36Sopenharmony_ci#define RPM_SMD_AGGR1_NOC_CLK 62 10962306a36Sopenharmony_ci#define RPM_SMD_AGGR1_NOC_A_CLK 63 11062306a36Sopenharmony_ci#define RPM_SMD_AGGR2_NOC_CLK 64 11162306a36Sopenharmony_ci#define RPM_SMD_AGGR2_NOC_A_CLK 65 11262306a36Sopenharmony_ci#define RPM_SMD_MMAXI_CLK 66 11362306a36Sopenharmony_ci#define RPM_SMD_MMAXI_A_CLK 67 11462306a36Sopenharmony_ci#define RPM_SMD_IPA_CLK 68 11562306a36Sopenharmony_ci#define RPM_SMD_IPA_A_CLK 69 11662306a36Sopenharmony_ci#define RPM_SMD_CE1_CLK 70 11762306a36Sopenharmony_ci#define RPM_SMD_CE1_A_CLK 71 11862306a36Sopenharmony_ci#define RPM_SMD_DIV_CLK3 72 11962306a36Sopenharmony_ci#define RPM_SMD_DIV_A_CLK3 73 12062306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK 74 12162306a36Sopenharmony_ci#define RPM_SMD_LN_BB_A_CLK 75 12262306a36Sopenharmony_ci#define RPM_SMD_BIMC_GPU_CLK 76 12362306a36Sopenharmony_ci#define RPM_SMD_BIMC_GPU_A_CLK 77 12462306a36Sopenharmony_ci#define RPM_SMD_QPIC_CLK 78 12562306a36Sopenharmony_ci#define RPM_SMD_QPIC_CLK_A 79 12662306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK1 80 12762306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK1_A 81 12862306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK2 82 12962306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK2_A 83 13062306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK3_PIN 84 13162306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK3_A_PIN 85 13262306a36Sopenharmony_ci#define RPM_SMD_RF_CLK3 86 13362306a36Sopenharmony_ci#define RPM_SMD_RF_CLK3_A 87 13462306a36Sopenharmony_ci#define RPM_SMD_RF_CLK3_PIN 88 13562306a36Sopenharmony_ci#define RPM_SMD_RF_CLK3_A_PIN 89 13662306a36Sopenharmony_ci#define RPM_SMD_MMSSNOC_AXI_CLK 90 13762306a36Sopenharmony_ci#define RPM_SMD_MMSSNOC_AXI_CLK_A 91 13862306a36Sopenharmony_ci#define RPM_SMD_CNOC_PERIPH_CLK 92 13962306a36Sopenharmony_ci#define RPM_SMD_CNOC_PERIPH_A_CLK 93 14062306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK3 94 14162306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK3_A 95 14262306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK1_PIN 96 14362306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK1_A_PIN 97 14462306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK2_PIN 98 14562306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK2_A_PIN 99 14662306a36Sopenharmony_ci#define RPM_SMD_SYSMMNOC_CLK 100 14762306a36Sopenharmony_ci#define RPM_SMD_SYSMMNOC_A_CLK 101 14862306a36Sopenharmony_ci#define RPM_SMD_CE2_CLK 102 14962306a36Sopenharmony_ci#define RPM_SMD_CE2_A_CLK 103 15062306a36Sopenharmony_ci#define RPM_SMD_CE3_CLK 104 15162306a36Sopenharmony_ci#define RPM_SMD_CE3_A_CLK 105 15262306a36Sopenharmony_ci#define RPM_SMD_QUP_CLK 106 15362306a36Sopenharmony_ci#define RPM_SMD_QUP_A_CLK 107 15462306a36Sopenharmony_ci#define RPM_SMD_MMRT_CLK 108 15562306a36Sopenharmony_ci#define RPM_SMD_MMRT_A_CLK 109 15662306a36Sopenharmony_ci#define RPM_SMD_MMNRT_CLK 110 15762306a36Sopenharmony_ci#define RPM_SMD_MMNRT_A_CLK 111 15862306a36Sopenharmony_ci#define RPM_SMD_SNOC_PERIPH_CLK 112 15962306a36Sopenharmony_ci#define RPM_SMD_SNOC_PERIPH_A_CLK 113 16062306a36Sopenharmony_ci#define RPM_SMD_SNOC_LPASS_CLK 114 16162306a36Sopenharmony_ci#define RPM_SMD_SNOC_LPASS_A_CLK 115 16262306a36Sopenharmony_ci#define RPM_SMD_HWKM_CLK 116 16362306a36Sopenharmony_ci#define RPM_SMD_HWKM_A_CLK 117 16462306a36Sopenharmony_ci#define RPM_SMD_PKA_CLK 118 16562306a36Sopenharmony_ci#define RPM_SMD_PKA_A_CLK 119 16662306a36Sopenharmony_ci#define RPM_SMD_CPUSS_GNOC_CLK 120 16762306a36Sopenharmony_ci#define RPM_SMD_CPUSS_GNOC_A_CLK 121 16862306a36Sopenharmony_ci#define RPM_SMD_MSS_CFG_AHB_CLK 122 16962306a36Sopenharmony_ci#define RPM_SMD_MSS_CFG_AHB_A_CLK 123 17062306a36Sopenharmony_ci#define RPM_SMD_BIMC_FREQ_LOG 124 17162306a36Sopenharmony_ci#define RPM_SMD_LN_BB_CLK_PIN 125 17262306a36Sopenharmony_ci#define RPM_SMD_LN_BB_A_CLK_PIN 126 17362306a36Sopenharmony_ci 17462306a36Sopenharmony_ci#endif 175