1*8d13bc63SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2*8d13bc63SEmmanuel Vadot /* 3*8d13bc63SEmmanuel Vadot * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved. 4*8d13bc63SEmmanuel Vadot */ 5*8d13bc63SEmmanuel Vadot 6*8d13bc63SEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_QCOM_ECPRI_CC_QDU1000_H 7*8d13bc63SEmmanuel Vadot #define _DT_BINDINGS_CLK_QCOM_ECPRI_CC_QDU1000_H 8*8d13bc63SEmmanuel Vadot 9*8d13bc63SEmmanuel Vadot /* ECPRI_CC clocks */ 10*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PLL0 0 11*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PLL1 1 12*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_CG_CLK 2 13*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_CLK_SRC 3 14*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_DMA_CLK 4 15*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_DMA_CLK_SRC 5 16*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_DMA_NOC_CLK 6 17*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_FAST_CLK 7 18*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_FAST_CLK_SRC 8 19*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_FAST_DIV2_CLK 9 20*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_FAST_DIV2_CLK_SRC 10 21*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_FAST_DIV2_NOC_CLK 11 22*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_FR_CLK 12 23*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_ORAN_CLK_SRC 13 24*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ECPRI_ORAN_DIV2_CLK 14 25*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_C2C0_HM_FF_CLK_SRC 15 26*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_C2C0_UDP_FIFO_CLK 16 27*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_C2C1_UDP_FIFO_CLK 17 28*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_C2C_0_HM_FF_0_CLK 18 29*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_C2C_0_HM_FF_1_CLK 19 30*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_C2C_HM_FF_0_DIV_CLK_SRC 20 31*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_C2C_HM_FF_1_DIV_CLK_SRC 21 32*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_C2C_HM_MACSEC_CLK 22 33*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_C2C_HM_MACSEC_CLK_SRC 23 34*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_DBG_C2C_HM_FF_0_CLK 24 35*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_DBG_C2C_HM_FF_0_DIV_CLK_SRC 25 36*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_DBG_C2C_HM_FF_1_CLK 26 37*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_DBG_C2C_HM_FF_1_DIV_CLK_SRC 27 38*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_DBG_C2C_HM_FF_CLK_SRC 28 39*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_DBG_C2C_UDP_FIFO_CLK 29 40*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH0_HM_FF_CLK_SRC 30 41*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH0_MACSEC_CLK_SRC 31 42*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH1_HM_FF_CLK_SRC 32 43*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH1_MACSEC_CLK_SRC 33 44*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH2_HM_FF_CLK_SRC 34 45*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH2_MACSEC_CLK_SRC 35 46*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_0_HM_FF_0_CLK 36 47*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_0_HM_FF_0_DIV_CLK_SRC 37 48*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_0_HM_FF_1_CLK 38 49*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_0_HM_FF_1_DIV_CLK_SRC 39 50*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_0_HM_FF_2_CLK 40 51*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_0_HM_FF_2_DIV_CLK_SRC 41 52*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_0_HM_FF_3_CLK 42 53*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_0_HM_FF_3_DIV_CLK_SRC 43 54*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_0_UDP_FIFO_CLK 44 55*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_1_HM_FF_0_CLK 45 56*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_1_HM_FF_0_DIV_CLK_SRC 46 57*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_1_HM_FF_1_CLK 47 58*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_1_HM_FF_1_DIV_CLK_SRC 48 59*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_1_HM_FF_2_CLK 49 60*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_1_HM_FF_2_DIV_CLK_SRC 50 61*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_1_HM_FF_3_CLK 51 62*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_1_HM_FF_3_DIV_CLK_SRC 52 63*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_1_UDP_FIFO_CLK 53 64*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_2_HM_FF_0_CLK 54 65*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_2_HM_FF_0_DIV_CLK_SRC 55 66*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_2_HM_FF_1_CLK 56 67*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_2_HM_FF_1_DIV_CLK_SRC 57 68*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_2_HM_FF_2_CLK 58 69*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_2_HM_FF_2_DIV_CLK_SRC 59 70*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_2_HM_FF_3_CLK 60 71*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_2_HM_FF_3_DIV_CLK_SRC 61 72*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_2_UDP_FIFO_CLK 62 73*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_MACSEC_0_CLK 63 74*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_MACSEC_1_CLK 64 75*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_FH_MACSEC_2_CLK 65 76*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_MAC_C2C_HM_REF_CLK 66 77*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_MAC_C2C_HM_REF_CLK_SRC 67 78*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_MAC_DBG_C2C_HM_REF_CLK 68 79*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_MAC_DBG_C2C_HM_REF_CLK_SRC 69 80*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_MAC_FH0_HM_REF_CLK 70 81*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_MAC_FH0_HM_REF_CLK_SRC 71 82*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_MAC_FH1_HM_REF_CLK 72 83*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_MAC_FH1_HM_REF_CLK_SRC 73 84*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_MAC_FH2_HM_REF_CLK 74 85*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_100G_MAC_FH2_HM_REF_CLK_SRC 75 86*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_DBG_NFAPI_AXI_CLK 76 87*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_DBG_NOC_AXI_CLK 77 88*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_PHY_0_OCK_SRAM_CLK 78 89*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_PHY_1_OCK_SRAM_CLK 79 90*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_PHY_2_OCK_SRAM_CLK 80 91*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_PHY_3_OCK_SRAM_CLK 81 92*8d13bc63SEmmanuel Vadot #define ECPRI_CC_ETH_PHY_4_OCK_SRAM_CLK 82 93*8d13bc63SEmmanuel Vadot #define ECPRI_CC_MSS_EMAC_CLK 83 94*8d13bc63SEmmanuel Vadot #define ECPRI_CC_MSS_EMAC_CLK_SRC 84 95*8d13bc63SEmmanuel Vadot #define ECPRI_CC_MSS_ORAN_CLK 85 96*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY0_LANE0_RX_CLK 86 97*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY0_LANE0_TX_CLK 87 98*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY0_LANE1_RX_CLK 88 99*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY0_LANE1_TX_CLK 89 100*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY0_LANE2_RX_CLK 90 101*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY0_LANE2_TX_CLK 91 102*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY0_LANE3_RX_CLK 92 103*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY0_LANE3_TX_CLK 93 104*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY1_LANE0_RX_CLK 94 105*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY1_LANE0_TX_CLK 95 106*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY1_LANE1_RX_CLK 96 107*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY1_LANE1_TX_CLK 97 108*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY1_LANE2_RX_CLK 98 109*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY1_LANE2_TX_CLK 99 110*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY1_LANE3_RX_CLK 100 111*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY1_LANE3_TX_CLK 101 112*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY2_LANE0_RX_CLK 102 113*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY2_LANE0_TX_CLK 103 114*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY2_LANE1_RX_CLK 104 115*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY2_LANE1_TX_CLK 105 116*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY2_LANE2_RX_CLK 106 117*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY2_LANE2_TX_CLK 107 118*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY2_LANE3_RX_CLK 108 119*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY2_LANE3_TX_CLK 109 120*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY3_LANE0_RX_CLK 110 121*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY3_LANE0_TX_CLK 111 122*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY3_LANE1_RX_CLK 112 123*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY3_LANE1_TX_CLK 113 124*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY3_LANE2_RX_CLK 114 125*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY3_LANE2_TX_CLK 115 126*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY3_LANE3_RX_CLK 116 127*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY3_LANE3_TX_CLK 117 128*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY4_LANE0_RX_CLK 118 129*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY4_LANE0_TX_CLK 119 130*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY4_LANE1_RX_CLK 120 131*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY4_LANE1_TX_CLK 121 132*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY4_LANE2_RX_CLK 122 133*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY4_LANE2_TX_CLK 123 134*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY4_LANE3_RX_CLK 124 135*8d13bc63SEmmanuel Vadot #define ECPRI_CC_PHY4_LANE3_TX_CLK 125 136*8d13bc63SEmmanuel Vadot 137*8d13bc63SEmmanuel Vadot /* ECPRI_CC resets */ 138*8d13bc63SEmmanuel Vadot #define ECPRI_CC_CLK_CTL_TOP_ECPRI_CC_ECPRI_SS_BCR 0 139*8d13bc63SEmmanuel Vadot #define ECPRI_CC_CLK_CTL_TOP_ECPRI_CC_ETH_C2C_BCR 1 140*8d13bc63SEmmanuel Vadot #define ECPRI_CC_CLK_CTL_TOP_ECPRI_CC_ETH_FH0_BCR 2 141*8d13bc63SEmmanuel Vadot #define ECPRI_CC_CLK_CTL_TOP_ECPRI_CC_ETH_FH1_BCR 3 142*8d13bc63SEmmanuel Vadot #define ECPRI_CC_CLK_CTL_TOP_ECPRI_CC_ETH_FH2_BCR 4 143*8d13bc63SEmmanuel Vadot #define ECPRI_CC_CLK_CTL_TOP_ECPRI_CC_ETH_WRAPPER_TOP_BCR 5 144*8d13bc63SEmmanuel Vadot #define ECPRI_CC_CLK_CTL_TOP_ECPRI_CC_MODEM_BCR 6 145*8d13bc63SEmmanuel Vadot #define ECPRI_CC_CLK_CTL_TOP_ECPRI_CC_NOC_BCR 7 146*8d13bc63SEmmanuel Vadot 147*8d13bc63SEmmanuel Vadot #endif 148