1*c66ec88fSEmmanuel Vadot // SPDX-License-Identifier: GPL-2.0+ 2*c66ec88fSEmmanuel Vadot // 3*c66ec88fSEmmanuel Vadot // Device Tree binding constants for Actions Semi S900 Clock Management Unit 4*c66ec88fSEmmanuel Vadot // 5*c66ec88fSEmmanuel Vadot // Copyright (c) 2014 Actions Semi Inc. 6*c66ec88fSEmmanuel Vadot // Copyright (c) 2018 Linaro Ltd. 7*c66ec88fSEmmanuel Vadot 8*c66ec88fSEmmanuel Vadot #ifndef __DT_BINDINGS_CLOCK_S900_CMU_H 9*c66ec88fSEmmanuel Vadot #define __DT_BINDINGS_CLOCK_S900_CMU_H 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot #define CLK_NONE 0 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadot /* fixed rate clocks */ 14*c66ec88fSEmmanuel Vadot #define CLK_LOSC 1 15*c66ec88fSEmmanuel Vadot #define CLK_HOSC 2 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot /* pll clocks */ 18*c66ec88fSEmmanuel Vadot #define CLK_CORE_PLL 3 19*c66ec88fSEmmanuel Vadot #define CLK_DEV_PLL 4 20*c66ec88fSEmmanuel Vadot #define CLK_DDR_PLL 5 21*c66ec88fSEmmanuel Vadot #define CLK_NAND_PLL 6 22*c66ec88fSEmmanuel Vadot #define CLK_DISPLAY_PLL 7 23*c66ec88fSEmmanuel Vadot #define CLK_DSI_PLL 8 24*c66ec88fSEmmanuel Vadot #define CLK_ASSIST_PLL 9 25*c66ec88fSEmmanuel Vadot #define CLK_AUDIO_PLL 10 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadot /* system clock */ 28*c66ec88fSEmmanuel Vadot #define CLK_CPU 15 29*c66ec88fSEmmanuel Vadot #define CLK_DEV 16 30*c66ec88fSEmmanuel Vadot #define CLK_NOC 17 31*c66ec88fSEmmanuel Vadot #define CLK_NOC_MUX 18 32*c66ec88fSEmmanuel Vadot #define CLK_NOC_DIV 19 33*c66ec88fSEmmanuel Vadot #define CLK_AHB 20 34*c66ec88fSEmmanuel Vadot #define CLK_APB 21 35*c66ec88fSEmmanuel Vadot #define CLK_DMAC 22 36*c66ec88fSEmmanuel Vadot 37*c66ec88fSEmmanuel Vadot /* peripheral device clock */ 38*c66ec88fSEmmanuel Vadot #define CLK_GPIO 23 39*c66ec88fSEmmanuel Vadot 40*c66ec88fSEmmanuel Vadot #define CLK_BISP 24 41*c66ec88fSEmmanuel Vadot #define CLK_CSI0 25 42*c66ec88fSEmmanuel Vadot #define CLK_CSI1 26 43*c66ec88fSEmmanuel Vadot 44*c66ec88fSEmmanuel Vadot #define CLK_DE0 27 45*c66ec88fSEmmanuel Vadot #define CLK_DE1 28 46*c66ec88fSEmmanuel Vadot #define CLK_DE2 29 47*c66ec88fSEmmanuel Vadot #define CLK_DE3 30 48*c66ec88fSEmmanuel Vadot #define CLK_DSI 32 49*c66ec88fSEmmanuel Vadot 50*c66ec88fSEmmanuel Vadot #define CLK_GPU 33 51*c66ec88fSEmmanuel Vadot #define CLK_GPU_CORE 34 52*c66ec88fSEmmanuel Vadot #define CLK_GPU_MEM 35 53*c66ec88fSEmmanuel Vadot #define CLK_GPU_SYS 36 54*c66ec88fSEmmanuel Vadot 55*c66ec88fSEmmanuel Vadot #define CLK_HDE 37 56*c66ec88fSEmmanuel Vadot #define CLK_I2C0 38 57*c66ec88fSEmmanuel Vadot #define CLK_I2C1 39 58*c66ec88fSEmmanuel Vadot #define CLK_I2C2 40 59*c66ec88fSEmmanuel Vadot #define CLK_I2C3 41 60*c66ec88fSEmmanuel Vadot #define CLK_I2C4 42 61*c66ec88fSEmmanuel Vadot #define CLK_I2C5 43 62*c66ec88fSEmmanuel Vadot #define CLK_I2SRX 44 63*c66ec88fSEmmanuel Vadot #define CLK_I2STX 45 64*c66ec88fSEmmanuel Vadot #define CLK_IMX 46 65*c66ec88fSEmmanuel Vadot #define CLK_LCD 47 66*c66ec88fSEmmanuel Vadot #define CLK_NAND0 48 67*c66ec88fSEmmanuel Vadot #define CLK_NAND1 49 68*c66ec88fSEmmanuel Vadot #define CLK_PWM0 50 69*c66ec88fSEmmanuel Vadot #define CLK_PWM1 51 70*c66ec88fSEmmanuel Vadot #define CLK_PWM2 52 71*c66ec88fSEmmanuel Vadot #define CLK_PWM3 53 72*c66ec88fSEmmanuel Vadot #define CLK_PWM4 54 73*c66ec88fSEmmanuel Vadot #define CLK_PWM5 55 74*c66ec88fSEmmanuel Vadot #define CLK_SD0 56 75*c66ec88fSEmmanuel Vadot #define CLK_SD1 57 76*c66ec88fSEmmanuel Vadot #define CLK_SD2 58 77*c66ec88fSEmmanuel Vadot #define CLK_SD3 59 78*c66ec88fSEmmanuel Vadot #define CLK_SENSOR 60 79*c66ec88fSEmmanuel Vadot #define CLK_SPEED_SENSOR 61 80*c66ec88fSEmmanuel Vadot #define CLK_SPI0 62 81*c66ec88fSEmmanuel Vadot #define CLK_SPI1 63 82*c66ec88fSEmmanuel Vadot #define CLK_SPI2 64 83*c66ec88fSEmmanuel Vadot #define CLK_SPI3 65 84*c66ec88fSEmmanuel Vadot #define CLK_THERMAL_SENSOR 66 85*c66ec88fSEmmanuel Vadot #define CLK_UART0 67 86*c66ec88fSEmmanuel Vadot #define CLK_UART1 68 87*c66ec88fSEmmanuel Vadot #define CLK_UART2 69 88*c66ec88fSEmmanuel Vadot #define CLK_UART3 70 89*c66ec88fSEmmanuel Vadot #define CLK_UART4 71 90*c66ec88fSEmmanuel Vadot #define CLK_UART5 72 91*c66ec88fSEmmanuel Vadot #define CLK_UART6 73 92*c66ec88fSEmmanuel Vadot #define CLK_VCE 74 93*c66ec88fSEmmanuel Vadot #define CLK_VDE 75 94*c66ec88fSEmmanuel Vadot 95*c66ec88fSEmmanuel Vadot #define CLK_USB3_480MPLL0 76 96*c66ec88fSEmmanuel Vadot #define CLK_USB3_480MPHY0 77 97*c66ec88fSEmmanuel Vadot #define CLK_USB3_5GPHY 78 98*c66ec88fSEmmanuel Vadot #define CLK_USB3_CCE 79 99*c66ec88fSEmmanuel Vadot #define CLK_USB3_MAC 80 100*c66ec88fSEmmanuel Vadot 101*c66ec88fSEmmanuel Vadot #define CLK_TIMER 83 102*c66ec88fSEmmanuel Vadot 103*c66ec88fSEmmanuel Vadot #define CLK_HDMI_AUDIO 84 104*c66ec88fSEmmanuel Vadot 105*c66ec88fSEmmanuel Vadot #define CLK_24M 85 106*c66ec88fSEmmanuel Vadot 107*c66ec88fSEmmanuel Vadot #define CLK_EDP 86 108*c66ec88fSEmmanuel Vadot 109*c66ec88fSEmmanuel Vadot #define CLK_24M_EDP 87 110*c66ec88fSEmmanuel Vadot #define CLK_EDP_PLL 88 111*c66ec88fSEmmanuel Vadot #define CLK_EDP_LINK 89 112*c66ec88fSEmmanuel Vadot 113*c66ec88fSEmmanuel Vadot #define CLK_USB2H0_PLLEN 90 114*c66ec88fSEmmanuel Vadot #define CLK_USB2H0_PHY 91 115*c66ec88fSEmmanuel Vadot #define CLK_USB2H0_CCE 92 116*c66ec88fSEmmanuel Vadot #define CLK_USB2H1_PLLEN 93 117*c66ec88fSEmmanuel Vadot #define CLK_USB2H1_PHY 94 118*c66ec88fSEmmanuel Vadot #define CLK_USB2H1_CCE 95 119*c66ec88fSEmmanuel Vadot 120*c66ec88fSEmmanuel Vadot #define CLK_DDR0 96 121*c66ec88fSEmmanuel Vadot #define CLK_DDR1 97 122*c66ec88fSEmmanuel Vadot #define CLK_DMM 98 123*c66ec88fSEmmanuel Vadot 124*c66ec88fSEmmanuel Vadot #define CLK_ETH_MAC 99 125*c66ec88fSEmmanuel Vadot #define CLK_RMII_REF 100 126*c66ec88fSEmmanuel Vadot 127*c66ec88fSEmmanuel Vadot #define CLK_NR_CLKS (CLK_RMII_REF + 1) 128*c66ec88fSEmmanuel Vadot 129*c66ec88fSEmmanuel Vadot #endif /* __DT_BINDINGS_CLOCK_S900_CMU_H */ 130