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 291ec770d9SChao Xie 301ec770d9SChao Xie /* apb periphrals */ 311ec770d9SChao Xie #define MMP2_CLK_TWSI0 60 321ec770d9SChao Xie #define MMP2_CLK_TWSI1 61 331ec770d9SChao Xie #define MMP2_CLK_TWSI2 62 341ec770d9SChao Xie #define MMP2_CLK_TWSI3 63 351ec770d9SChao Xie #define MMP2_CLK_TWSI4 64 361ec770d9SChao Xie #define MMP2_CLK_TWSI5 65 371ec770d9SChao Xie #define MMP2_CLK_GPIO 66 381ec770d9SChao Xie #define MMP2_CLK_KPC 67 391ec770d9SChao Xie #define MMP2_CLK_RTC 68 401ec770d9SChao Xie #define MMP2_CLK_PWM0 69 411ec770d9SChao Xie #define MMP2_CLK_PWM1 70 421ec770d9SChao Xie #define MMP2_CLK_PWM2 71 431ec770d9SChao Xie #define MMP2_CLK_PWM3 72 441ec770d9SChao Xie #define MMP2_CLK_UART0 73 451ec770d9SChao Xie #define MMP2_CLK_UART1 74 461ec770d9SChao Xie #define MMP2_CLK_UART2 75 471ec770d9SChao Xie #define MMP2_CLK_UART3 76 481ec770d9SChao Xie #define MMP2_CLK_SSP0 77 491ec770d9SChao Xie #define MMP2_CLK_SSP1 78 501ec770d9SChao Xie #define MMP2_CLK_SSP2 79 511ec770d9SChao Xie #define MMP2_CLK_SSP3 80 5224c65a02SChao Xie #define MMP2_CLK_TIMER 81 531ec770d9SChao Xie 541ec770d9SChao Xie /* axi periphrals */ 551ec770d9SChao Xie #define MMP2_CLK_SDH0 101 561ec770d9SChao Xie #define MMP2_CLK_SDH1 102 571ec770d9SChao Xie #define MMP2_CLK_SDH2 103 581ec770d9SChao Xie #define MMP2_CLK_SDH3 104 591ec770d9SChao Xie #define MMP2_CLK_USB 105 601ec770d9SChao Xie #define MMP2_CLK_DISP0 106 611ec770d9SChao Xie #define MMP2_CLK_DISP0_MUX 107 621ec770d9SChao Xie #define MMP2_CLK_DISP0_SPHY 108 631ec770d9SChao Xie #define MMP2_CLK_DISP1 109 641ec770d9SChao Xie #define MMP2_CLK_DISP1_MUX 110 651ec770d9SChao Xie #define MMP2_CLK_CCIC_ARBITER 111 661ec770d9SChao Xie #define MMP2_CLK_CCIC0 112 671ec770d9SChao Xie #define MMP2_CLK_CCIC0_MIX 113 681ec770d9SChao Xie #define MMP2_CLK_CCIC0_PHY 114 691ec770d9SChao Xie #define MMP2_CLK_CCIC0_SPHY 115 701ec770d9SChao Xie #define MMP2_CLK_CCIC1 116 711ec770d9SChao Xie #define MMP2_CLK_CCIC1_MIX 117 721ec770d9SChao Xie #define MMP2_CLK_CCIC1_PHY 118 731ec770d9SChao Xie #define MMP2_CLK_CCIC1_SPHY 119 74ed11aff3SLubomir Rintel #define MMP2_CLK_DISP0_LCDC 120 751ec770d9SChao Xie 761ec770d9SChao Xie #define MMP2_NR_CLKS 200 771ec770d9SChao Xie #endif 78