1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */ 2*c66ec88fSEmmanuel Vadot #ifndef __DTS_MARVELL_MMP2_CLOCK_H 3*c66ec88fSEmmanuel Vadot #define __DTS_MARVELL_MMP2_CLOCK_H 4*c66ec88fSEmmanuel Vadot 5*c66ec88fSEmmanuel Vadot /* fixed clocks and plls */ 6*c66ec88fSEmmanuel Vadot #define MMP2_CLK_CLK32 1 7*c66ec88fSEmmanuel Vadot #define MMP2_CLK_VCTCXO 2 8*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1 3 9*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_2 8 10*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_4 9 11*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_8 10 12*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_16 11 13*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_3 12 14*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_6 13 15*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_12 14 16*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL1_20 15 17*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2 16 18*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_2 17 19*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_4 18 20*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_8 19 21*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_16 20 22*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_3 21 23*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_6 22 24*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PLL2_12 23 25*c66ec88fSEmmanuel Vadot #define MMP2_CLK_VCTCXO_2 24 26*c66ec88fSEmmanuel Vadot #define MMP2_CLK_VCTCXO_4 25 27*c66ec88fSEmmanuel Vadot #define MMP2_CLK_UART_PLL 26 28*c66ec88fSEmmanuel Vadot #define MMP2_CLK_USB_PLL 27 29*c66ec88fSEmmanuel Vadot #define MMP3_CLK_PLL1_P 28 30*c66ec88fSEmmanuel Vadot #define MMP3_CLK_PLL2_P 29 31*c66ec88fSEmmanuel Vadot #define MMP3_CLK_PLL3 30 32*c66ec88fSEmmanuel Vadot #define MMP2_CLK_I2S0 31 33*c66ec88fSEmmanuel Vadot #define MMP2_CLK_I2S1 32 34*c66ec88fSEmmanuel Vadot 35*c66ec88fSEmmanuel Vadot /* apb periphrals */ 36*c66ec88fSEmmanuel Vadot #define MMP2_CLK_TWSI0 60 37*c66ec88fSEmmanuel Vadot #define MMP2_CLK_TWSI1 61 38*c66ec88fSEmmanuel Vadot #define MMP2_CLK_TWSI2 62 39*c66ec88fSEmmanuel Vadot #define MMP2_CLK_TWSI3 63 40*c66ec88fSEmmanuel Vadot #define MMP2_CLK_TWSI4 64 41*c66ec88fSEmmanuel Vadot #define MMP2_CLK_TWSI5 65 42*c66ec88fSEmmanuel Vadot #define MMP2_CLK_GPIO 66 43*c66ec88fSEmmanuel Vadot #define MMP2_CLK_KPC 67 44*c66ec88fSEmmanuel Vadot #define MMP2_CLK_RTC 68 45*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PWM0 69 46*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PWM1 70 47*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PWM2 71 48*c66ec88fSEmmanuel Vadot #define MMP2_CLK_PWM3 72 49*c66ec88fSEmmanuel Vadot #define MMP2_CLK_UART0 73 50*c66ec88fSEmmanuel Vadot #define MMP2_CLK_UART1 74 51*c66ec88fSEmmanuel Vadot #define MMP2_CLK_UART2 75 52*c66ec88fSEmmanuel Vadot #define MMP2_CLK_UART3 76 53*c66ec88fSEmmanuel Vadot #define MMP2_CLK_SSP0 77 54*c66ec88fSEmmanuel Vadot #define MMP2_CLK_SSP1 78 55*c66ec88fSEmmanuel Vadot #define MMP2_CLK_SSP2 79 56*c66ec88fSEmmanuel Vadot #define MMP2_CLK_SSP3 80 57*c66ec88fSEmmanuel Vadot #define MMP2_CLK_TIMER 81 58*c66ec88fSEmmanuel Vadot #define MMP2_CLK_THERMAL0 82 59*c66ec88fSEmmanuel Vadot #define MMP3_CLK_THERMAL1 83 60*c66ec88fSEmmanuel Vadot #define MMP3_CLK_THERMAL2 84 61*c66ec88fSEmmanuel Vadot #define MMP3_CLK_THERMAL3 85 62*c66ec88fSEmmanuel Vadot 63*c66ec88fSEmmanuel Vadot /* axi periphrals */ 64*c66ec88fSEmmanuel Vadot #define MMP2_CLK_SDH0 101 65*c66ec88fSEmmanuel Vadot #define MMP2_CLK_SDH1 102 66*c66ec88fSEmmanuel Vadot #define MMP2_CLK_SDH2 103 67*c66ec88fSEmmanuel Vadot #define MMP2_CLK_SDH3 104 68*c66ec88fSEmmanuel Vadot #define MMP2_CLK_USB 105 69*c66ec88fSEmmanuel Vadot #define MMP2_CLK_DISP0 106 70*c66ec88fSEmmanuel Vadot #define MMP2_CLK_DISP0_MUX 107 71*c66ec88fSEmmanuel Vadot #define MMP2_CLK_DISP0_SPHY 108 72*c66ec88fSEmmanuel Vadot #define MMP2_CLK_DISP1 109 73*c66ec88fSEmmanuel Vadot #define MMP2_CLK_DISP1_MUX 110 74*c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC_ARBITER 111 75*c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC0 112 76*c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC0_MIX 113 77*c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC0_PHY 114 78*c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC0_SPHY 115 79*c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC1 116 80*c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC1_MIX 117 81*c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC1_PHY 118 82*c66ec88fSEmmanuel Vadot #define MMP2_CLK_CCIC1_SPHY 119 83*c66ec88fSEmmanuel Vadot #define MMP2_CLK_DISP0_LCDC 120 84*c66ec88fSEmmanuel Vadot #define MMP2_CLK_USBHSIC0 121 85*c66ec88fSEmmanuel Vadot #define MMP2_CLK_USBHSIC1 122 86*c66ec88fSEmmanuel Vadot #define MMP2_CLK_GPU_BUS 123 87*c66ec88fSEmmanuel Vadot #define MMP3_CLK_GPU_BUS MMP2_CLK_GPU_BUS 88*c66ec88fSEmmanuel Vadot #define MMP2_CLK_GPU_3D 124 89*c66ec88fSEmmanuel Vadot #define MMP3_CLK_GPU_3D MMP2_CLK_GPU_3D 90*c66ec88fSEmmanuel Vadot #define MMP3_CLK_GPU_2D 125 91*c66ec88fSEmmanuel Vadot #define MMP3_CLK_SDH4 126 92*c66ec88fSEmmanuel Vadot #define MMP2_CLK_AUDIO 127 93*c66ec88fSEmmanuel Vadot 94*c66ec88fSEmmanuel Vadot #define MMP2_NR_CLKS 200 95*c66ec88fSEmmanuel Vadot #endif 96