1*5e3cbb8eSPeng Fan /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ 2*5e3cbb8eSPeng Fan /* 3*5e3cbb8eSPeng Fan * Copyright 2024 NXP 4*5e3cbb8eSPeng Fan */ 5*5e3cbb8eSPeng Fan 6*5e3cbb8eSPeng Fan #ifndef __CLOCK_IMX95_H 7*5e3cbb8eSPeng Fan #define __CLOCK_IMX95_H 8*5e3cbb8eSPeng Fan 9*5e3cbb8eSPeng Fan /* The index should match i.MX95 SCMI Firmware */ 10*5e3cbb8eSPeng Fan #define IMX95_CLK_32K 1 11*5e3cbb8eSPeng Fan #define IMX95_CLK_24M 2 12*5e3cbb8eSPeng Fan #define IMX95_CLK_FRO 3 13*5e3cbb8eSPeng Fan #define IMX95_CLK_SYSPLL1_VCO 4 14*5e3cbb8eSPeng Fan #define IMX95_CLK_SYSPLL1_PFD0_UNGATED 5 15*5e3cbb8eSPeng Fan #define IMX95_CLK_SYSPLL1_PFD0 6 16*5e3cbb8eSPeng Fan #define IMX95_CLK_SYSPLL1_PFD0_DIV2 7 17*5e3cbb8eSPeng Fan #define IMX95_CLK_SYSPLL1_PFD1_UNGATED 8 18*5e3cbb8eSPeng Fan #define IMX95_CLK_SYSPLL1_PFD1 9 19*5e3cbb8eSPeng Fan #define IMX95_CLK_SYSPLL1_PFD1_DIV2 10 20*5e3cbb8eSPeng Fan #define IMX95_CLK_SYSPLL1_PFD2_UNGATED 11 21*5e3cbb8eSPeng Fan #define IMX95_CLK_SYSPLL1_PFD2 12 22*5e3cbb8eSPeng Fan #define IMX95_CLK_SYSPLL1_PFD2_DIV2 13 23*5e3cbb8eSPeng Fan #define IMX95_CLK_AUDIOPLL1_VCO 14 24*5e3cbb8eSPeng Fan #define IMX95_CLK_AUDIOPLL1 15 25*5e3cbb8eSPeng Fan #define IMX95_CLK_AUDIOPLL2_VCO 16 26*5e3cbb8eSPeng Fan #define IMX95_CLK_AUDIOPLL2 17 27*5e3cbb8eSPeng Fan #define IMX95_CLK_VIDEOPLL1_VCO 18 28*5e3cbb8eSPeng Fan #define IMX95_CLK_VIDEOPLL1 19 29*5e3cbb8eSPeng Fan #define IMX95_CLK_RESERVED20 20 30*5e3cbb8eSPeng Fan #define IMX95_CLK_RESERVED21 21 31*5e3cbb8eSPeng Fan #define IMX95_CLK_RESERVED22 22 32*5e3cbb8eSPeng Fan #define IMX95_CLK_RESERVED23 23 33*5e3cbb8eSPeng Fan #define IMX95_CLK_ARMPLL_VCO 24 34*5e3cbb8eSPeng Fan #define IMX95_CLK_ARMPLL_PFD0_UNGATED 25 35*5e3cbb8eSPeng Fan #define IMX95_CLK_ARMPLL_PFD0 26 36*5e3cbb8eSPeng Fan #define IMX95_CLK_ARMPLL_PFD1_UNGATED 27 37*5e3cbb8eSPeng Fan #define IMX95_CLK_ARMPLL_PFD1 28 38*5e3cbb8eSPeng Fan #define IMX95_CLK_ARMPLL_PFD2_UNGATED 29 39*5e3cbb8eSPeng Fan #define IMX95_CLK_ARMPLL_PFD2 30 40*5e3cbb8eSPeng Fan #define IMX95_CLK_ARMPLL_PFD3_UNGATED 31 41*5e3cbb8eSPeng Fan #define IMX95_CLK_ARMPLL_PFD3 32 42*5e3cbb8eSPeng Fan #define IMX95_CLK_DRAMPLL_VCO 33 43*5e3cbb8eSPeng Fan #define IMX95_CLK_DRAMPLL 34 44*5e3cbb8eSPeng Fan #define IMX95_CLK_HSIOPLL_VCO 35 45*5e3cbb8eSPeng Fan #define IMX95_CLK_HSIOPLL 36 46*5e3cbb8eSPeng Fan #define IMX95_CLK_LDBPLL_VCO 37 47*5e3cbb8eSPeng Fan #define IMX95_CLK_LDBPLL 38 48*5e3cbb8eSPeng Fan #define IMX95_CLK_EXT1 39 49*5e3cbb8eSPeng Fan #define IMX95_CLK_EXT2 40 50*5e3cbb8eSPeng Fan 51*5e3cbb8eSPeng Fan #define IMX95_CCM_NUM_CLK_SRC 41 52*5e3cbb8eSPeng Fan 53*5e3cbb8eSPeng Fan #define IMX95_CLK_ADC (IMX95_CCM_NUM_CLK_SRC + 0) 54*5e3cbb8eSPeng Fan #define IMX95_CLK_TMU (IMX95_CCM_NUM_CLK_SRC + 1) 55*5e3cbb8eSPeng Fan #define IMX95_CLK_BUSAON (IMX95_CCM_NUM_CLK_SRC + 2) 56*5e3cbb8eSPeng Fan #define IMX95_CLK_CAN1 (IMX95_CCM_NUM_CLK_SRC + 3) 57*5e3cbb8eSPeng Fan #define IMX95_CLK_I3C1 (IMX95_CCM_NUM_CLK_SRC + 4) 58*5e3cbb8eSPeng Fan #define IMX95_CLK_I3C1SLOW (IMX95_CCM_NUM_CLK_SRC + 5) 59*5e3cbb8eSPeng Fan #define IMX95_CLK_LPI2C1 (IMX95_CCM_NUM_CLK_SRC + 6) 60*5e3cbb8eSPeng Fan #define IMX95_CLK_LPI2C2 (IMX95_CCM_NUM_CLK_SRC + 7) 61*5e3cbb8eSPeng Fan #define IMX95_CLK_LPSPI1 (IMX95_CCM_NUM_CLK_SRC + 8) 62*5e3cbb8eSPeng Fan #define IMX95_CLK_LPSPI2 (IMX95_CCM_NUM_CLK_SRC + 9) 63*5e3cbb8eSPeng Fan #define IMX95_CLK_LPTMR1 (IMX95_CCM_NUM_CLK_SRC + 10) 64*5e3cbb8eSPeng Fan #define IMX95_CLK_LPUART1 (IMX95_CCM_NUM_CLK_SRC + 11) 65*5e3cbb8eSPeng Fan #define IMX95_CLK_LPUART2 (IMX95_CCM_NUM_CLK_SRC + 12) 66*5e3cbb8eSPeng Fan #define IMX95_CLK_M33 (IMX95_CCM_NUM_CLK_SRC + 13) 67*5e3cbb8eSPeng Fan #define IMX95_CLK_M33SYSTICK (IMX95_CCM_NUM_CLK_SRC + 14) 68*5e3cbb8eSPeng Fan #define IMX95_CLK_MQS1 (IMX95_CCM_NUM_CLK_SRC + 15) 69*5e3cbb8eSPeng Fan #define IMX95_CLK_PDM (IMX95_CCM_NUM_CLK_SRC + 16) 70*5e3cbb8eSPeng Fan #define IMX95_CLK_SAI1 (IMX95_CCM_NUM_CLK_SRC + 17) 71*5e3cbb8eSPeng Fan #define IMX95_CLK_SENTINEL (IMX95_CCM_NUM_CLK_SRC + 18) 72*5e3cbb8eSPeng Fan #define IMX95_CLK_TPM2 (IMX95_CCM_NUM_CLK_SRC + 19) 73*5e3cbb8eSPeng Fan #define IMX95_CLK_TSTMR1 (IMX95_CCM_NUM_CLK_SRC + 20) 74*5e3cbb8eSPeng Fan #define IMX95_CLK_CAMAPB (IMX95_CCM_NUM_CLK_SRC + 21) 75*5e3cbb8eSPeng Fan #define IMX95_CLK_CAMAXI (IMX95_CCM_NUM_CLK_SRC + 22) 76*5e3cbb8eSPeng Fan #define IMX95_CLK_CAMCM0 (IMX95_CCM_NUM_CLK_SRC + 23) 77*5e3cbb8eSPeng Fan #define IMX95_CLK_CAMISI (IMX95_CCM_NUM_CLK_SRC + 24) 78*5e3cbb8eSPeng Fan #define IMX95_CLK_MIPIPHYCFG (IMX95_CCM_NUM_CLK_SRC + 25) 79*5e3cbb8eSPeng Fan #define IMX95_CLK_MIPIPHYPLLBYPASS (IMX95_CCM_NUM_CLK_SRC + 26) 80*5e3cbb8eSPeng Fan #define IMX95_CLK_MIPIPHYPLLREF (IMX95_CCM_NUM_CLK_SRC + 27) 81*5e3cbb8eSPeng Fan #define IMX95_CLK_MIPITESTBYTE (IMX95_CCM_NUM_CLK_SRC + 28) 82*5e3cbb8eSPeng Fan #define IMX95_CLK_A55 (IMX95_CCM_NUM_CLK_SRC + 29) 83*5e3cbb8eSPeng Fan #define IMX95_CLK_A55MTRBUS (IMX95_CCM_NUM_CLK_SRC + 30) 84*5e3cbb8eSPeng Fan #define IMX95_CLK_A55PERIPH (IMX95_CCM_NUM_CLK_SRC + 31) 85*5e3cbb8eSPeng Fan #define IMX95_CLK_DRAMALT (IMX95_CCM_NUM_CLK_SRC + 32) 86*5e3cbb8eSPeng Fan #define IMX95_CLK_DRAMAPB (IMX95_CCM_NUM_CLK_SRC + 33) 87*5e3cbb8eSPeng Fan #define IMX95_CLK_DISPAPB (IMX95_CCM_NUM_CLK_SRC + 34) 88*5e3cbb8eSPeng Fan #define IMX95_CLK_DISPAXI (IMX95_CCM_NUM_CLK_SRC + 35) 89*5e3cbb8eSPeng Fan #define IMX95_CLK_DISPDP (IMX95_CCM_NUM_CLK_SRC + 36) 90*5e3cbb8eSPeng Fan #define IMX95_CLK_DISPOCRAM (IMX95_CCM_NUM_CLK_SRC + 37) 91*5e3cbb8eSPeng Fan #define IMX95_CLK_DISPUSB31 (IMX95_CCM_NUM_CLK_SRC + 38) 92*5e3cbb8eSPeng Fan #define IMX95_CLK_DISP1PIX (IMX95_CCM_NUM_CLK_SRC + 39) 93*5e3cbb8eSPeng Fan #define IMX95_CLK_DISP2PIX (IMX95_CCM_NUM_CLK_SRC + 40) 94*5e3cbb8eSPeng Fan #define IMX95_CLK_DISP3PIX (IMX95_CCM_NUM_CLK_SRC + 41) 95*5e3cbb8eSPeng Fan #define IMX95_CLK_GPUAPB (IMX95_CCM_NUM_CLK_SRC + 42) 96*5e3cbb8eSPeng Fan #define IMX95_CLK_GPU (IMX95_CCM_NUM_CLK_SRC + 43) 97*5e3cbb8eSPeng Fan #define IMX95_CLK_HSIOACSCAN480M (IMX95_CCM_NUM_CLK_SRC + 44) 98*5e3cbb8eSPeng Fan #define IMX95_CLK_HSIOACSCAN80M (IMX95_CCM_NUM_CLK_SRC + 45) 99*5e3cbb8eSPeng Fan #define IMX95_CLK_HSIO (IMX95_CCM_NUM_CLK_SRC + 46) 100*5e3cbb8eSPeng Fan #define IMX95_CLK_HSIOPCIEAUX (IMX95_CCM_NUM_CLK_SRC + 47) 101*5e3cbb8eSPeng Fan #define IMX95_CLK_HSIOPCIETEST160M (IMX95_CCM_NUM_CLK_SRC + 48) 102*5e3cbb8eSPeng Fan #define IMX95_CLK_HSIOPCIETEST400M (IMX95_CCM_NUM_CLK_SRC + 49) 103*5e3cbb8eSPeng Fan #define IMX95_CLK_HSIOPCIETEST500M (IMX95_CCM_NUM_CLK_SRC + 50) 104*5e3cbb8eSPeng Fan #define IMX95_CLK_HSIOUSBTEST50M (IMX95_CCM_NUM_CLK_SRC + 51) 105*5e3cbb8eSPeng Fan #define IMX95_CLK_HSIOUSBTEST60M (IMX95_CCM_NUM_CLK_SRC + 52) 106*5e3cbb8eSPeng Fan #define IMX95_CLK_BUSM7 (IMX95_CCM_NUM_CLK_SRC + 53) 107*5e3cbb8eSPeng Fan #define IMX95_CLK_M7 (IMX95_CCM_NUM_CLK_SRC + 54) 108*5e3cbb8eSPeng Fan #define IMX95_CLK_M7SYSTICK (IMX95_CCM_NUM_CLK_SRC + 55) 109*5e3cbb8eSPeng Fan #define IMX95_CLK_BUSNETCMIX (IMX95_CCM_NUM_CLK_SRC + 56) 110*5e3cbb8eSPeng Fan #define IMX95_CLK_ENET (IMX95_CCM_NUM_CLK_SRC + 57) 111*5e3cbb8eSPeng Fan #define IMX95_CLK_ENETPHYTEST200M (IMX95_CCM_NUM_CLK_SRC + 58) 112*5e3cbb8eSPeng Fan #define IMX95_CLK_ENETPHYTEST500M (IMX95_CCM_NUM_CLK_SRC + 59) 113*5e3cbb8eSPeng Fan #define IMX95_CLK_ENETPHYTEST667M (IMX95_CCM_NUM_CLK_SRC + 60) 114*5e3cbb8eSPeng Fan #define IMX95_CLK_ENETREF (IMX95_CCM_NUM_CLK_SRC + 61) 115*5e3cbb8eSPeng Fan #define IMX95_CLK_ENETTIMER1 (IMX95_CCM_NUM_CLK_SRC + 62) 116*5e3cbb8eSPeng Fan #define IMX95_CLK_MQS2 (IMX95_CCM_NUM_CLK_SRC + 63) 117*5e3cbb8eSPeng Fan #define IMX95_CLK_SAI2 (IMX95_CCM_NUM_CLK_SRC + 64) 118*5e3cbb8eSPeng Fan #define IMX95_CLK_NOCAPB (IMX95_CCM_NUM_CLK_SRC + 65) 119*5e3cbb8eSPeng Fan #define IMX95_CLK_NOC (IMX95_CCM_NUM_CLK_SRC + 66) 120*5e3cbb8eSPeng Fan #define IMX95_CLK_NPUAPB (IMX95_CCM_NUM_CLK_SRC + 67) 121*5e3cbb8eSPeng Fan #define IMX95_CLK_NPU (IMX95_CCM_NUM_CLK_SRC + 68) 122*5e3cbb8eSPeng Fan #define IMX95_CLK_CCMCKO1 (IMX95_CCM_NUM_CLK_SRC + 69) 123*5e3cbb8eSPeng Fan #define IMX95_CLK_CCMCKO2 (IMX95_CCM_NUM_CLK_SRC + 70) 124*5e3cbb8eSPeng Fan #define IMX95_CLK_CCMCKO3 (IMX95_CCM_NUM_CLK_SRC + 71) 125*5e3cbb8eSPeng Fan #define IMX95_CLK_CCMCKO4 (IMX95_CCM_NUM_CLK_SRC + 72) 126*5e3cbb8eSPeng Fan #define IMX95_CLK_VPUAPB (IMX95_CCM_NUM_CLK_SRC + 73) 127*5e3cbb8eSPeng Fan #define IMX95_CLK_VPU (IMX95_CCM_NUM_CLK_SRC + 74) 128*5e3cbb8eSPeng Fan #define IMX95_CLK_VPUDSP (IMX95_CCM_NUM_CLK_SRC + 75) 129*5e3cbb8eSPeng Fan #define IMX95_CLK_VPUJPEG (IMX95_CCM_NUM_CLK_SRC + 76) 130*5e3cbb8eSPeng Fan #define IMX95_CLK_AUDIOXCVR (IMX95_CCM_NUM_CLK_SRC + 77) 131*5e3cbb8eSPeng Fan #define IMX95_CLK_BUSWAKEUP (IMX95_CCM_NUM_CLK_SRC + 78) 132*5e3cbb8eSPeng Fan #define IMX95_CLK_CAN2 (IMX95_CCM_NUM_CLK_SRC + 79) 133*5e3cbb8eSPeng Fan #define IMX95_CLK_CAN3 (IMX95_CCM_NUM_CLK_SRC + 80) 134*5e3cbb8eSPeng Fan #define IMX95_CLK_CAN4 (IMX95_CCM_NUM_CLK_SRC + 81) 135*5e3cbb8eSPeng Fan #define IMX95_CLK_CAN5 (IMX95_CCM_NUM_CLK_SRC + 82) 136*5e3cbb8eSPeng Fan #define IMX95_CLK_FLEXIO1 (IMX95_CCM_NUM_CLK_SRC + 83) 137*5e3cbb8eSPeng Fan #define IMX95_CLK_FLEXIO2 (IMX95_CCM_NUM_CLK_SRC + 84) 138*5e3cbb8eSPeng Fan #define IMX95_CLK_FLEXSPI1 (IMX95_CCM_NUM_CLK_SRC + 85) 139*5e3cbb8eSPeng Fan #define IMX95_CLK_I3C2 (IMX95_CCM_NUM_CLK_SRC + 86) 140*5e3cbb8eSPeng Fan #define IMX95_CLK_I3C2SLOW (IMX95_CCM_NUM_CLK_SRC + 87) 141*5e3cbb8eSPeng Fan #define IMX95_CLK_LPI2C3 (IMX95_CCM_NUM_CLK_SRC + 88) 142*5e3cbb8eSPeng Fan #define IMX95_CLK_LPI2C4 (IMX95_CCM_NUM_CLK_SRC + 89) 143*5e3cbb8eSPeng Fan #define IMX95_CLK_LPI2C5 (IMX95_CCM_NUM_CLK_SRC + 90) 144*5e3cbb8eSPeng Fan #define IMX95_CLK_LPI2C6 (IMX95_CCM_NUM_CLK_SRC + 91) 145*5e3cbb8eSPeng Fan #define IMX95_CLK_LPI2C7 (IMX95_CCM_NUM_CLK_SRC + 92) 146*5e3cbb8eSPeng Fan #define IMX95_CLK_LPI2C8 (IMX95_CCM_NUM_CLK_SRC + 93) 147*5e3cbb8eSPeng Fan #define IMX95_CLK_LPSPI3 (IMX95_CCM_NUM_CLK_SRC + 94) 148*5e3cbb8eSPeng Fan #define IMX95_CLK_LPSPI4 (IMX95_CCM_NUM_CLK_SRC + 95) 149*5e3cbb8eSPeng Fan #define IMX95_CLK_LPSPI5 (IMX95_CCM_NUM_CLK_SRC + 96) 150*5e3cbb8eSPeng Fan #define IMX95_CLK_LPSPI6 (IMX95_CCM_NUM_CLK_SRC + 97) 151*5e3cbb8eSPeng Fan #define IMX95_CLK_LPSPI7 (IMX95_CCM_NUM_CLK_SRC + 98) 152*5e3cbb8eSPeng Fan #define IMX95_CLK_LPSPI8 (IMX95_CCM_NUM_CLK_SRC + 99) 153*5e3cbb8eSPeng Fan #define IMX95_CLK_LPTMR2 (IMX95_CCM_NUM_CLK_SRC + 100) 154*5e3cbb8eSPeng Fan #define IMX95_CLK_LPUART3 (IMX95_CCM_NUM_CLK_SRC + 101) 155*5e3cbb8eSPeng Fan #define IMX95_CLK_LPUART4 (IMX95_CCM_NUM_CLK_SRC + 102) 156*5e3cbb8eSPeng Fan #define IMX95_CLK_LPUART5 (IMX95_CCM_NUM_CLK_SRC + 103) 157*5e3cbb8eSPeng Fan #define IMX95_CLK_LPUART6 (IMX95_CCM_NUM_CLK_SRC + 104) 158*5e3cbb8eSPeng Fan #define IMX95_CLK_LPUART7 (IMX95_CCM_NUM_CLK_SRC + 105) 159*5e3cbb8eSPeng Fan #define IMX95_CLK_LPUART8 (IMX95_CCM_NUM_CLK_SRC + 106) 160*5e3cbb8eSPeng Fan #define IMX95_CLK_SAI3 (IMX95_CCM_NUM_CLK_SRC + 107) 161*5e3cbb8eSPeng Fan #define IMX95_CLK_SAI4 (IMX95_CCM_NUM_CLK_SRC + 108) 162*5e3cbb8eSPeng Fan #define IMX95_CLK_SAI5 (IMX95_CCM_NUM_CLK_SRC + 109) 163*5e3cbb8eSPeng Fan #define IMX95_CLK_SPDIF (IMX95_CCM_NUM_CLK_SRC + 110) 164*5e3cbb8eSPeng Fan #define IMX95_CLK_SWOTRACE (IMX95_CCM_NUM_CLK_SRC + 111) 165*5e3cbb8eSPeng Fan #define IMX95_CLK_TPM4 (IMX95_CCM_NUM_CLK_SRC + 112) 166*5e3cbb8eSPeng Fan #define IMX95_CLK_TPM5 (IMX95_CCM_NUM_CLK_SRC + 113) 167*5e3cbb8eSPeng Fan #define IMX95_CLK_TPM6 (IMX95_CCM_NUM_CLK_SRC + 114) 168*5e3cbb8eSPeng Fan #define IMX95_CLK_TSTMR2 (IMX95_CCM_NUM_CLK_SRC + 115) 169*5e3cbb8eSPeng Fan #define IMX95_CLK_USBPHYBURUNIN (IMX95_CCM_NUM_CLK_SRC + 116) 170*5e3cbb8eSPeng Fan #define IMX95_CLK_USDHC1 (IMX95_CCM_NUM_CLK_SRC + 117) 171*5e3cbb8eSPeng Fan #define IMX95_CLK_USDHC2 (IMX95_CCM_NUM_CLK_SRC + 118) 172*5e3cbb8eSPeng Fan #define IMX95_CLK_USDHC3 (IMX95_CCM_NUM_CLK_SRC + 119) 173*5e3cbb8eSPeng Fan #define IMX95_CLK_V2XPK (IMX95_CCM_NUM_CLK_SRC + 120) 174*5e3cbb8eSPeng Fan #define IMX95_CLK_WAKEUPAXI (IMX95_CCM_NUM_CLK_SRC + 121) 175*5e3cbb8eSPeng Fan #define IMX95_CLK_XSPISLVROOT (IMX95_CCM_NUM_CLK_SRC + 122) 176*5e3cbb8eSPeng Fan #define IMX95_CLK_SEL_EXT (IMX95_CCM_NUM_CLK_SRC + 123 + 0) 177*5e3cbb8eSPeng Fan #define IMX95_CLK_SEL_A55C0 (IMX95_CCM_NUM_CLK_SRC + 123 + 1) 178*5e3cbb8eSPeng Fan #define IMX95_CLK_SEL_A55C1 (IMX95_CCM_NUM_CLK_SRC + 123 + 2) 179*5e3cbb8eSPeng Fan #define IMX95_CLK_SEL_A55C2 (IMX95_CCM_NUM_CLK_SRC + 123 + 3) 180*5e3cbb8eSPeng Fan #define IMX95_CLK_SEL_A55C3 (IMX95_CCM_NUM_CLK_SRC + 123 + 4) 181*5e3cbb8eSPeng Fan #define IMX95_CLK_SEL_A55C4 (IMX95_CCM_NUM_CLK_SRC + 123 + 5) 182*5e3cbb8eSPeng Fan #define IMX95_CLK_SEL_A55C5 (IMX95_CCM_NUM_CLK_SRC + 123 + 6) 183*5e3cbb8eSPeng Fan #define IMX95_CLK_SEL_A55P (IMX95_CCM_NUM_CLK_SRC + 123 + 7) 184*5e3cbb8eSPeng Fan #define IMX95_CLK_SEL_DRAM (IMX95_CCM_NUM_CLK_SRC + 123 + 8) 185*5e3cbb8eSPeng Fan #define IMX95_CLK_SEL_TEMPSENSE (IMX95_CCM_NUM_CLK_SRC + 123 + 9) 186*5e3cbb8eSPeng Fan 187*5e3cbb8eSPeng Fan #endif /* __CLOCK_IMX95_H */ 188