1*8d13bc63SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2*8d13bc63SEmmanuel Vadot /* 3*8d13bc63SEmmanuel Vadot * Copyright (c) 2023 MediaTek Inc. 4*8d13bc63SEmmanuel Vadot * Author: Sam Shih <sam.shih@mediatek.com> 5*8d13bc63SEmmanuel Vadot * Author: Xiufeng Li <Xiufeng.Li@mediatek.com> 6*8d13bc63SEmmanuel Vadot */ 7*8d13bc63SEmmanuel Vadot 8*8d13bc63SEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_MT7988_H 9*8d13bc63SEmmanuel Vadot #define _DT_BINDINGS_CLK_MT7988_H 10*8d13bc63SEmmanuel Vadot 11*8d13bc63SEmmanuel Vadot /* APMIXEDSYS */ 12*8d13bc63SEmmanuel Vadot 13*8d13bc63SEmmanuel Vadot #define CLK_APMIXED_NETSYSPLL 0 14*8d13bc63SEmmanuel Vadot #define CLK_APMIXED_MPLL 1 15*8d13bc63SEmmanuel Vadot #define CLK_APMIXED_MMPLL 2 16*8d13bc63SEmmanuel Vadot #define CLK_APMIXED_APLL2 3 17*8d13bc63SEmmanuel Vadot #define CLK_APMIXED_NET1PLL 4 18*8d13bc63SEmmanuel Vadot #define CLK_APMIXED_NET2PLL 5 19*8d13bc63SEmmanuel Vadot #define CLK_APMIXED_WEDMCUPLL 6 20*8d13bc63SEmmanuel Vadot #define CLK_APMIXED_SGMPLL 7 21*8d13bc63SEmmanuel Vadot #define CLK_APMIXED_ARM_B 8 22*8d13bc63SEmmanuel Vadot #define CLK_APMIXED_CCIPLL2_B 9 23*8d13bc63SEmmanuel Vadot #define CLK_APMIXED_USXGMIIPLL 10 24*8d13bc63SEmmanuel Vadot #define CLK_APMIXED_MSDCPLL 11 25*8d13bc63SEmmanuel Vadot 26*8d13bc63SEmmanuel Vadot /* TOPCKGEN */ 27*8d13bc63SEmmanuel Vadot 28*8d13bc63SEmmanuel Vadot #define CLK_TOP_XTAL 0 29*8d13bc63SEmmanuel Vadot #define CLK_TOP_XTAL_D2 1 30*8d13bc63SEmmanuel Vadot #define CLK_TOP_RTC_32K 2 31*8d13bc63SEmmanuel Vadot #define CLK_TOP_RTC_32P7K 3 32*8d13bc63SEmmanuel Vadot #define CLK_TOP_MPLL_D2 4 33*8d13bc63SEmmanuel Vadot #define CLK_TOP_MPLL_D3_D2 5 34*8d13bc63SEmmanuel Vadot #define CLK_TOP_MPLL_D4 6 35*8d13bc63SEmmanuel Vadot #define CLK_TOP_MPLL_D8 7 36*8d13bc63SEmmanuel Vadot #define CLK_TOP_MPLL_D8_D2 8 37*8d13bc63SEmmanuel Vadot #define CLK_TOP_MMPLL_D2 9 38*8d13bc63SEmmanuel Vadot #define CLK_TOP_MMPLL_D3_D5 10 39*8d13bc63SEmmanuel Vadot #define CLK_TOP_MMPLL_D4 11 40*8d13bc63SEmmanuel Vadot #define CLK_TOP_MMPLL_D6_D2 12 41*8d13bc63SEmmanuel Vadot #define CLK_TOP_MMPLL_D8 13 42*8d13bc63SEmmanuel Vadot #define CLK_TOP_APLL2_D4 14 43*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET1PLL_D4 15 44*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET1PLL_D5 16 45*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET1PLL_D5_D2 17 46*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET1PLL_D5_D4 18 47*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET1PLL_D8 19 48*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET1PLL_D8_D2 20 49*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET1PLL_D8_D4 21 50*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET1PLL_D8_D8 22 51*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET1PLL_D8_D16 23 52*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET2PLL_D2 24 53*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET2PLL_D4 25 54*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET2PLL_D4_D4 26 55*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET2PLL_D4_D8 27 56*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET2PLL_D6 28 57*8d13bc63SEmmanuel Vadot #define CLK_TOP_NET2PLL_D8 29 58*8d13bc63SEmmanuel Vadot #define CLK_TOP_NETSYS_SEL 30 59*8d13bc63SEmmanuel Vadot #define CLK_TOP_NETSYS_500M_SEL 31 60*8d13bc63SEmmanuel Vadot #define CLK_TOP_NETSYS_2X_SEL 32 61*8d13bc63SEmmanuel Vadot #define CLK_TOP_NETSYS_GSW_SEL 33 62*8d13bc63SEmmanuel Vadot #define CLK_TOP_ETH_GMII_SEL 34 63*8d13bc63SEmmanuel Vadot #define CLK_TOP_NETSYS_MCU_SEL 35 64*8d13bc63SEmmanuel Vadot #define CLK_TOP_NETSYS_PAO_2X_SEL 36 65*8d13bc63SEmmanuel Vadot #define CLK_TOP_EIP197_SEL 37 66*8d13bc63SEmmanuel Vadot #define CLK_TOP_AXI_INFRA_SEL 38 67*8d13bc63SEmmanuel Vadot #define CLK_TOP_UART_SEL 39 68*8d13bc63SEmmanuel Vadot #define CLK_TOP_EMMC_250M_SEL 40 69*8d13bc63SEmmanuel Vadot #define CLK_TOP_EMMC_400M_SEL 41 70*8d13bc63SEmmanuel Vadot #define CLK_TOP_SPI_SEL 42 71*8d13bc63SEmmanuel Vadot #define CLK_TOP_SPIM_MST_SEL 43 72*8d13bc63SEmmanuel Vadot #define CLK_TOP_NFI1X_SEL 44 73*8d13bc63SEmmanuel Vadot #define CLK_TOP_SPINFI_SEL 45 74*8d13bc63SEmmanuel Vadot #define CLK_TOP_PWM_SEL 46 75*8d13bc63SEmmanuel Vadot #define CLK_TOP_I2C_SEL 47 76*8d13bc63SEmmanuel Vadot #define CLK_TOP_PCIE_MBIST_250M_SEL 48 77*8d13bc63SEmmanuel Vadot #define CLK_TOP_PEXTP_TL_SEL 49 78*8d13bc63SEmmanuel Vadot #define CLK_TOP_PEXTP_TL_P1_SEL 50 79*8d13bc63SEmmanuel Vadot #define CLK_TOP_PEXTP_TL_P2_SEL 51 80*8d13bc63SEmmanuel Vadot #define CLK_TOP_PEXTP_TL_P3_SEL 52 81*8d13bc63SEmmanuel Vadot #define CLK_TOP_USB_SYS_SEL 53 82*8d13bc63SEmmanuel Vadot #define CLK_TOP_USB_SYS_P1_SEL 54 83*8d13bc63SEmmanuel Vadot #define CLK_TOP_USB_XHCI_SEL 55 84*8d13bc63SEmmanuel Vadot #define CLK_TOP_USB_XHCI_P1_SEL 56 85*8d13bc63SEmmanuel Vadot #define CLK_TOP_USB_FRMCNT_SEL 57 86*8d13bc63SEmmanuel Vadot #define CLK_TOP_USB_FRMCNT_P1_SEL 58 87*8d13bc63SEmmanuel Vadot #define CLK_TOP_AUD_SEL 59 88*8d13bc63SEmmanuel Vadot #define CLK_TOP_A1SYS_SEL 60 89*8d13bc63SEmmanuel Vadot #define CLK_TOP_AUD_L_SEL 61 90*8d13bc63SEmmanuel Vadot #define CLK_TOP_A_TUNER_SEL 62 91*8d13bc63SEmmanuel Vadot #define CLK_TOP_SSPXTP_SEL 63 92*8d13bc63SEmmanuel Vadot #define CLK_TOP_USB_PHY_SEL 64 93*8d13bc63SEmmanuel Vadot #define CLK_TOP_USXGMII_SBUS_0_SEL 65 94*8d13bc63SEmmanuel Vadot #define CLK_TOP_USXGMII_SBUS_1_SEL 66 95*8d13bc63SEmmanuel Vadot #define CLK_TOP_SGM_0_SEL 67 96*8d13bc63SEmmanuel Vadot #define CLK_TOP_SGM_SBUS_0_SEL 68 97*8d13bc63SEmmanuel Vadot #define CLK_TOP_SGM_1_SEL 69 98*8d13bc63SEmmanuel Vadot #define CLK_TOP_SGM_SBUS_1_SEL 70 99*8d13bc63SEmmanuel Vadot #define CLK_TOP_XFI_PHY_0_XTAL_SEL 71 100*8d13bc63SEmmanuel Vadot #define CLK_TOP_XFI_PHY_1_XTAL_SEL 72 101*8d13bc63SEmmanuel Vadot #define CLK_TOP_SYSAXI_SEL 73 102*8d13bc63SEmmanuel Vadot #define CLK_TOP_SYSAPB_SEL 74 103*8d13bc63SEmmanuel Vadot #define CLK_TOP_ETH_REFCK_50M_SEL 75 104*8d13bc63SEmmanuel Vadot #define CLK_TOP_ETH_SYS_200M_SEL 76 105*8d13bc63SEmmanuel Vadot #define CLK_TOP_ETH_SYS_SEL 77 106*8d13bc63SEmmanuel Vadot #define CLK_TOP_ETH_XGMII_SEL 78 107*8d13bc63SEmmanuel Vadot #define CLK_TOP_BUS_TOPS_SEL 79 108*8d13bc63SEmmanuel Vadot #define CLK_TOP_NPU_TOPS_SEL 80 109*8d13bc63SEmmanuel Vadot #define CLK_TOP_DRAMC_SEL 81 110*8d13bc63SEmmanuel Vadot #define CLK_TOP_DRAMC_MD32_SEL 82 111*8d13bc63SEmmanuel Vadot #define CLK_TOP_INFRA_F26M_SEL 83 112*8d13bc63SEmmanuel Vadot #define CLK_TOP_PEXTP_P0_SEL 84 113*8d13bc63SEmmanuel Vadot #define CLK_TOP_PEXTP_P1_SEL 85 114*8d13bc63SEmmanuel Vadot #define CLK_TOP_PEXTP_P2_SEL 86 115*8d13bc63SEmmanuel Vadot #define CLK_TOP_PEXTP_P3_SEL 87 116*8d13bc63SEmmanuel Vadot #define CLK_TOP_DA_XTP_GLB_P0_SEL 88 117*8d13bc63SEmmanuel Vadot #define CLK_TOP_DA_XTP_GLB_P1_SEL 89 118*8d13bc63SEmmanuel Vadot #define CLK_TOP_DA_XTP_GLB_P2_SEL 90 119*8d13bc63SEmmanuel Vadot #define CLK_TOP_DA_XTP_GLB_P3_SEL 91 120*8d13bc63SEmmanuel Vadot #define CLK_TOP_CKM_SEL 92 121*8d13bc63SEmmanuel Vadot #define CLK_TOP_DA_SEL 93 122*8d13bc63SEmmanuel Vadot #define CLK_TOP_PEXTP_SEL 94 123*8d13bc63SEmmanuel Vadot #define CLK_TOP_TOPS_P2_26M_SEL 95 124*8d13bc63SEmmanuel Vadot #define CLK_TOP_MCUSYS_BACKUP_625M_SEL 96 125*8d13bc63SEmmanuel Vadot #define CLK_TOP_NETSYS_SYNC_250M_SEL 97 126*8d13bc63SEmmanuel Vadot #define CLK_TOP_MACSEC_SEL 98 127*8d13bc63SEmmanuel Vadot #define CLK_TOP_NETSYS_TOPS_400M_SEL 99 128*8d13bc63SEmmanuel Vadot #define CLK_TOP_NETSYS_PPEFB_250M_SEL 100 129*8d13bc63SEmmanuel Vadot #define CLK_TOP_NETSYS_WARP_SEL 101 130*8d13bc63SEmmanuel Vadot #define CLK_TOP_ETH_MII_SEL 102 131*8d13bc63SEmmanuel Vadot #define CLK_TOP_NPU_SEL 103 132*8d13bc63SEmmanuel Vadot #define CLK_TOP_AUD_I2S_M 104 133*8d13bc63SEmmanuel Vadot 134*8d13bc63SEmmanuel Vadot /* MCUSYS */ 135*8d13bc63SEmmanuel Vadot 136*8d13bc63SEmmanuel Vadot #define CLK_MCU_BUS_DIV_SEL 0 137*8d13bc63SEmmanuel Vadot #define CLK_MCU_ARM_DIV_SEL 1 138*8d13bc63SEmmanuel Vadot 139*8d13bc63SEmmanuel Vadot /* INFRACFG_AO */ 140*8d13bc63SEmmanuel Vadot 141*8d13bc63SEmmanuel Vadot #define CLK_INFRA_MUX_UART0_SEL 0 142*8d13bc63SEmmanuel Vadot #define CLK_INFRA_MUX_UART1_SEL 1 143*8d13bc63SEmmanuel Vadot #define CLK_INFRA_MUX_UART2_SEL 2 144*8d13bc63SEmmanuel Vadot #define CLK_INFRA_MUX_SPI0_SEL 3 145*8d13bc63SEmmanuel Vadot #define CLK_INFRA_MUX_SPI1_SEL 4 146*8d13bc63SEmmanuel Vadot #define CLK_INFRA_MUX_SPI2_SEL 5 147*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PWM_SEL 6 148*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PWM_CK1_SEL 7 149*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PWM_CK2_SEL 8 150*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PWM_CK3_SEL 9 151*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PWM_CK4_SEL 10 152*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PWM_CK5_SEL 11 153*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PWM_CK6_SEL 12 154*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PWM_CK7_SEL 13 155*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PWM_CK8_SEL 14 156*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_GFMUX_TL_O_P0_SEL 15 157*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_GFMUX_TL_O_P1_SEL 16 158*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_GFMUX_TL_O_P2_SEL 17 159*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_GFMUX_TL_O_P3_SEL 18 160*8d13bc63SEmmanuel Vadot 161*8d13bc63SEmmanuel Vadot /* INFRACFG */ 162*8d13bc63SEmmanuel Vadot 163*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_PERI_26M_CK_P0 19 164*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_PERI_26M_CK_P1 20 165*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_PERI_26M_CK_P2 21 166*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_PERI_26M_CK_P3 22 167*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_GPT_BCK 23 168*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_PWM_HCK 24 169*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_PWM_BCK 25 170*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_PWM_CK1 26 171*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_PWM_CK2 27 172*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_PWM_CK3 28 173*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_PWM_CK4 29 174*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_PWM_CK5 30 175*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_PWM_CK6 31 176*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_PWM_CK7 32 177*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_PWM_CK8 33 178*8d13bc63SEmmanuel Vadot #define CLK_INFRA_133M_CQDMA_BCK 34 179*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_AUD_SLV_BCK 35 180*8d13bc63SEmmanuel Vadot #define CLK_INFRA_AUD_26M 36 181*8d13bc63SEmmanuel Vadot #define CLK_INFRA_AUD_L 37 182*8d13bc63SEmmanuel Vadot #define CLK_INFRA_AUD_AUD 38 183*8d13bc63SEmmanuel Vadot #define CLK_INFRA_AUD_EG2 39 184*8d13bc63SEmmanuel Vadot #define CLK_INFRA_DRAMC_F26M 40 185*8d13bc63SEmmanuel Vadot #define CLK_INFRA_133M_DBG_ACKM 41 186*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_AP_DMA_BCK 42 187*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_SEJ_BCK 43 188*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PRE_CK_SEJ_F13M 44 189*8d13bc63SEmmanuel Vadot #define CLK_INFRA_26M_THERM_SYSTEM 45 190*8d13bc63SEmmanuel Vadot #define CLK_INFRA_I2C_BCK 46 191*8d13bc63SEmmanuel Vadot #define CLK_INFRA_52M_UART0_CK 47 192*8d13bc63SEmmanuel Vadot #define CLK_INFRA_52M_UART1_CK 48 193*8d13bc63SEmmanuel Vadot #define CLK_INFRA_52M_UART2_CK 49 194*8d13bc63SEmmanuel Vadot #define CLK_INFRA_NFI 50 195*8d13bc63SEmmanuel Vadot #define CLK_INFRA_SPINFI 51 196*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_NFI_HCK 52 197*8d13bc63SEmmanuel Vadot #define CLK_INFRA_104M_SPI0 53 198*8d13bc63SEmmanuel Vadot #define CLK_INFRA_104M_SPI1 54 199*8d13bc63SEmmanuel Vadot #define CLK_INFRA_104M_SPI2_BCK 55 200*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_SPI0_HCK 56 201*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_SPI1_HCK 57 202*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_SPI2_HCK 58 203*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_FLASHIF_AXI 59 204*8d13bc63SEmmanuel Vadot #define CLK_INFRA_RTC 60 205*8d13bc63SEmmanuel Vadot #define CLK_INFRA_26M_ADC_BCK 61 206*8d13bc63SEmmanuel Vadot #define CLK_INFRA_RC_ADC 62 207*8d13bc63SEmmanuel Vadot #define CLK_INFRA_MSDC400 63 208*8d13bc63SEmmanuel Vadot #define CLK_INFRA_MSDC2_HCK 64 209*8d13bc63SEmmanuel Vadot #define CLK_INFRA_133M_MSDC_0_HCK 65 210*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_MSDC_0_HCK 66 211*8d13bc63SEmmanuel Vadot #define CLK_INFRA_133M_CPUM_BCK 67 212*8d13bc63SEmmanuel Vadot #define CLK_INFRA_BIST2FPC 68 213*8d13bc63SEmmanuel Vadot #define CLK_INFRA_I2C_X16W_MCK_CK_P1 69 214*8d13bc63SEmmanuel Vadot #define CLK_INFRA_I2C_X16W_PCK_CK_P1 70 215*8d13bc63SEmmanuel Vadot #define CLK_INFRA_133M_USB_HCK 71 216*8d13bc63SEmmanuel Vadot #define CLK_INFRA_133M_USB_HCK_CK_P1 72 217*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_USB_HCK 73 218*8d13bc63SEmmanuel Vadot #define CLK_INFRA_66M_USB_HCK_CK_P1 74 219*8d13bc63SEmmanuel Vadot #define CLK_INFRA_USB_SYS 75 220*8d13bc63SEmmanuel Vadot #define CLK_INFRA_USB_SYS_CK_P1 76 221*8d13bc63SEmmanuel Vadot #define CLK_INFRA_USB_REF 77 222*8d13bc63SEmmanuel Vadot #define CLK_INFRA_USB_CK_P1 78 223*8d13bc63SEmmanuel Vadot #define CLK_INFRA_USB_FRMCNT 79 224*8d13bc63SEmmanuel Vadot #define CLK_INFRA_USB_FRMCNT_CK_P1 80 225*8d13bc63SEmmanuel Vadot #define CLK_INFRA_USB_PIPE 81 226*8d13bc63SEmmanuel Vadot #define CLK_INFRA_USB_PIPE_CK_P1 82 227*8d13bc63SEmmanuel Vadot #define CLK_INFRA_USB_UTMI 83 228*8d13bc63SEmmanuel Vadot #define CLK_INFRA_USB_UTMI_CK_P1 84 229*8d13bc63SEmmanuel Vadot #define CLK_INFRA_USB_XHCI 85 230*8d13bc63SEmmanuel Vadot #define CLK_INFRA_USB_XHCI_CK_P1 86 231*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_GFMUX_TL_P0 87 232*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_GFMUX_TL_P1 88 233*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_GFMUX_TL_P2 89 234*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_GFMUX_TL_P3 90 235*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_PIPE_P0 91 236*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_PIPE_P1 92 237*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_PIPE_P2 93 238*8d13bc63SEmmanuel Vadot #define CLK_INFRA_PCIE_PIPE_P3 94 239*8d13bc63SEmmanuel Vadot #define CLK_INFRA_133M_PCIE_CK_P0 95 240*8d13bc63SEmmanuel Vadot #define CLK_INFRA_133M_PCIE_CK_P1 96 241*8d13bc63SEmmanuel Vadot #define CLK_INFRA_133M_PCIE_CK_P2 97 242*8d13bc63SEmmanuel Vadot #define CLK_INFRA_133M_PCIE_CK_P3 98 243*8d13bc63SEmmanuel Vadot 244*8d13bc63SEmmanuel Vadot /* ETHDMA */ 245*8d13bc63SEmmanuel Vadot 246*8d13bc63SEmmanuel Vadot #define CLK_ETHDMA_XGP1_EN 0 247*8d13bc63SEmmanuel Vadot #define CLK_ETHDMA_XGP2_EN 1 248*8d13bc63SEmmanuel Vadot #define CLK_ETHDMA_XGP3_EN 2 249*8d13bc63SEmmanuel Vadot #define CLK_ETHDMA_FE_EN 3 250*8d13bc63SEmmanuel Vadot #define CLK_ETHDMA_GP2_EN 4 251*8d13bc63SEmmanuel Vadot #define CLK_ETHDMA_GP1_EN 5 252*8d13bc63SEmmanuel Vadot #define CLK_ETHDMA_GP3_EN 6 253*8d13bc63SEmmanuel Vadot #define CLK_ETHDMA_ESW_EN 7 254*8d13bc63SEmmanuel Vadot #define CLK_ETHDMA_CRYPT0_EN 8 255*8d13bc63SEmmanuel Vadot #define CLK_ETHDMA_NR_CLK 9 256*8d13bc63SEmmanuel Vadot 257*8d13bc63SEmmanuel Vadot /* SGMIISYS_0 */ 258*8d13bc63SEmmanuel Vadot 259*8d13bc63SEmmanuel Vadot #define CLK_SGM0_TX_EN 0 260*8d13bc63SEmmanuel Vadot #define CLK_SGM0_RX_EN 1 261*8d13bc63SEmmanuel Vadot #define CLK_SGMII0_NR_CLK 2 262*8d13bc63SEmmanuel Vadot 263*8d13bc63SEmmanuel Vadot /* SGMIISYS_1 */ 264*8d13bc63SEmmanuel Vadot 265*8d13bc63SEmmanuel Vadot #define CLK_SGM1_TX_EN 0 266*8d13bc63SEmmanuel Vadot #define CLK_SGM1_RX_EN 1 267*8d13bc63SEmmanuel Vadot #define CLK_SGMII1_NR_CLK 2 268*8d13bc63SEmmanuel Vadot 269*8d13bc63SEmmanuel Vadot /* ETHWARP */ 270*8d13bc63SEmmanuel Vadot 271*8d13bc63SEmmanuel Vadot #define CLK_ETHWARP_WOCPU2_EN 0 272*8d13bc63SEmmanuel Vadot #define CLK_ETHWARP_WOCPU1_EN 1 273*8d13bc63SEmmanuel Vadot #define CLK_ETHWARP_WOCPU0_EN 2 274*8d13bc63SEmmanuel Vadot #define CLK_ETHWARP_NR_CLK 3 275*8d13bc63SEmmanuel Vadot 276*8d13bc63SEmmanuel Vadot /* XFIPLL */ 277*8d13bc63SEmmanuel Vadot #define CLK_XFIPLL_PLL 0 278*8d13bc63SEmmanuel Vadot #define CLK_XFIPLL_PLL_EN 1 279*8d13bc63SEmmanuel Vadot 280*8d13bc63SEmmanuel Vadot #endif /* _DT_BINDINGS_CLK_MT7988_H */ 281