1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 21ec770d9SChao Xie #ifndef __DTS_MARVELL_MMP2_CLOCK_H 31ec770d9SChao Xie #define __DTS_MARVELL_MMP2_CLOCK_H 41ec770d9SChao Xie 51ec770d9SChao Xie /* fixed clocks and plls */ 61ec770d9SChao Xie #define MMP2_CLK_CLK32 1 71ec770d9SChao Xie #define MMP2_CLK_VCTCXO 2 81ec770d9SChao Xie #define MMP2_CLK_PLL1 3 91ec770d9SChao Xie #define MMP2_CLK_PLL1_2 8 101ec770d9SChao Xie #define MMP2_CLK_PLL1_4 9 111ec770d9SChao Xie #define MMP2_CLK_PLL1_8 10 121ec770d9SChao Xie #define MMP2_CLK_PLL1_16 11 131ec770d9SChao Xie #define MMP2_CLK_PLL1_3 12 141ec770d9SChao Xie #define MMP2_CLK_PLL1_6 13 151ec770d9SChao Xie #define MMP2_CLK_PLL1_12 14 161ec770d9SChao Xie #define MMP2_CLK_PLL1_20 15 171ec770d9SChao Xie #define MMP2_CLK_PLL2 16 181ec770d9SChao Xie #define MMP2_CLK_PLL2_2 17 191ec770d9SChao Xie #define MMP2_CLK_PLL2_4 18 201ec770d9SChao Xie #define MMP2_CLK_PLL2_8 19 211ec770d9SChao Xie #define MMP2_CLK_PLL2_16 20 221ec770d9SChao Xie #define MMP2_CLK_PLL2_3 21 231ec770d9SChao Xie #define MMP2_CLK_PLL2_6 22 241ec770d9SChao Xie #define MMP2_CLK_PLL2_12 23 251ec770d9SChao Xie #define MMP2_CLK_VCTCXO_2 24 261ec770d9SChao Xie #define MMP2_CLK_VCTCXO_4 25 271ec770d9SChao Xie #define MMP2_CLK_UART_PLL 26 281ec770d9SChao Xie #define MMP2_CLK_USB_PLL 27 294d6da655SLubomir Rintel #define MMP3_CLK_PLL1_P 28 304d6da655SLubomir Rintel #define MMP3_CLK_PLL2_P 29 314d6da655SLubomir Rintel #define MMP3_CLK_PLL3 30 321ec770d9SChao Xie 331ec770d9SChao Xie /* apb periphrals */ 341ec770d9SChao Xie #define MMP2_CLK_TWSI0 60 351ec770d9SChao Xie #define MMP2_CLK_TWSI1 61 361ec770d9SChao Xie #define MMP2_CLK_TWSI2 62 371ec770d9SChao Xie #define MMP2_CLK_TWSI3 63 381ec770d9SChao Xie #define MMP2_CLK_TWSI4 64 391ec770d9SChao Xie #define MMP2_CLK_TWSI5 65 401ec770d9SChao Xie #define MMP2_CLK_GPIO 66 411ec770d9SChao Xie #define MMP2_CLK_KPC 67 421ec770d9SChao Xie #define MMP2_CLK_RTC 68 431ec770d9SChao Xie #define MMP2_CLK_PWM0 69 441ec770d9SChao Xie #define MMP2_CLK_PWM1 70 451ec770d9SChao Xie #define MMP2_CLK_PWM2 71 461ec770d9SChao Xie #define MMP2_CLK_PWM3 72 471ec770d9SChao Xie #define MMP2_CLK_UART0 73 481ec770d9SChao Xie #define MMP2_CLK_UART1 74 491ec770d9SChao Xie #define MMP2_CLK_UART2 75 501ec770d9SChao Xie #define MMP2_CLK_UART3 76 511ec770d9SChao Xie #define MMP2_CLK_SSP0 77 521ec770d9SChao Xie #define MMP2_CLK_SSP1 78 531ec770d9SChao Xie #define MMP2_CLK_SSP2 79 541ec770d9SChao Xie #define MMP2_CLK_SSP3 80 5524c65a02SChao Xie #define MMP2_CLK_TIMER 81 5641a86320SLubomir Rintel #define MMP2_CLK_THERMAL0 82 5741a86320SLubomir Rintel #define MMP3_CLK_THERMAL1 83 5841a86320SLubomir Rintel #define MMP3_CLK_THERMAL2 84 5941a86320SLubomir Rintel #define MMP3_CLK_THERMAL3 85 601ec770d9SChao Xie 611ec770d9SChao Xie /* axi periphrals */ 621ec770d9SChao Xie #define MMP2_CLK_SDH0 101 631ec770d9SChao Xie #define MMP2_CLK_SDH1 102 641ec770d9SChao Xie #define MMP2_CLK_SDH2 103 651ec770d9SChao Xie #define MMP2_CLK_SDH3 104 661ec770d9SChao Xie #define MMP2_CLK_USB 105 671ec770d9SChao Xie #define MMP2_CLK_DISP0 106 681ec770d9SChao Xie #define MMP2_CLK_DISP0_MUX 107 691ec770d9SChao Xie #define MMP2_CLK_DISP0_SPHY 108 701ec770d9SChao Xie #define MMP2_CLK_DISP1 109 711ec770d9SChao Xie #define MMP2_CLK_DISP1_MUX 110 721ec770d9SChao Xie #define MMP2_CLK_CCIC_ARBITER 111 731ec770d9SChao Xie #define MMP2_CLK_CCIC0 112 741ec770d9SChao Xie #define MMP2_CLK_CCIC0_MIX 113 751ec770d9SChao Xie #define MMP2_CLK_CCIC0_PHY 114 761ec770d9SChao Xie #define MMP2_CLK_CCIC0_SPHY 115 771ec770d9SChao Xie #define MMP2_CLK_CCIC1 116 781ec770d9SChao Xie #define MMP2_CLK_CCIC1_MIX 117 791ec770d9SChao Xie #define MMP2_CLK_CCIC1_PHY 118 801ec770d9SChao Xie #define MMP2_CLK_CCIC1_SPHY 119 81ed11aff3SLubomir Rintel #define MMP2_CLK_DISP0_LCDC 120 82247aa9e4SLubomir Rintel #define MMP2_CLK_USBHSIC0 121 83247aa9e4SLubomir Rintel #define MMP2_CLK_USBHSIC1 122 84e3142226SLubomir Rintel #define MMP2_CLK_GPU_BUS 123 85e3142226SLubomir Rintel #define MMP3_CLK_GPU_BUS MMP2_CLK_GPU_BUS 86e3142226SLubomir Rintel #define MMP2_CLK_GPU_3D 124 87e3142226SLubomir Rintel #define MMP3_CLK_GPU_3D MMP2_CLK_GPU_3D 88e3142226SLubomir Rintel #define MMP3_CLK_GPU_2D 125 89c2ca122aSLubomir Rintel #define MMP3_CLK_SDH4 126 901ec770d9SChao Xie 911ec770d9SChao Xie #define MMP2_NR_CLKS 200 921ec770d9SChao Xie #endif 93