1591020a5SDavid Virag /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2591020a5SDavid Virag /* 3591020a5SDavid Virag * Copyright (c) 2021 Dávid Virág 4591020a5SDavid Virag * 5591020a5SDavid Virag * Device Tree binding constants for Exynos7885 clock controller. 6591020a5SDavid Virag */ 7591020a5SDavid Virag 8591020a5SDavid Virag #ifndef _DT_BINDINGS_CLOCK_EXYNOS_7885_H 9591020a5SDavid Virag #define _DT_BINDINGS_CLOCK_EXYNOS_7885_H 10591020a5SDavid Virag 11591020a5SDavid Virag /* CMU_TOP */ 12591020a5SDavid Virag #define CLK_FOUT_SHARED0_PLL 1 13591020a5SDavid Virag #define CLK_FOUT_SHARED1_PLL 2 14591020a5SDavid Virag #define CLK_DOUT_SHARED0_DIV2 3 15591020a5SDavid Virag #define CLK_DOUT_SHARED0_DIV3 4 16591020a5SDavid Virag #define CLK_DOUT_SHARED0_DIV4 5 17591020a5SDavid Virag #define CLK_DOUT_SHARED0_DIV5 6 18591020a5SDavid Virag #define CLK_DOUT_SHARED1_DIV2 7 19591020a5SDavid Virag #define CLK_DOUT_SHARED1_DIV3 8 20591020a5SDavid Virag #define CLK_DOUT_SHARED1_DIV4 9 21591020a5SDavid Virag #define CLK_MOUT_CORE_BUS 10 22591020a5SDavid Virag #define CLK_MOUT_CORE_CCI 11 23591020a5SDavid Virag #define CLK_MOUT_CORE_G3D 12 24591020a5SDavid Virag #define CLK_DOUT_CORE_BUS 13 25591020a5SDavid Virag #define CLK_DOUT_CORE_CCI 14 26591020a5SDavid Virag #define CLK_DOUT_CORE_G3D 15 27591020a5SDavid Virag #define CLK_GOUT_CORE_BUS 16 28591020a5SDavid Virag #define CLK_GOUT_CORE_CCI 17 29591020a5SDavid Virag #define CLK_GOUT_CORE_G3D 18 30591020a5SDavid Virag #define CLK_MOUT_PERI_BUS 19 31591020a5SDavid Virag #define CLK_MOUT_PERI_SPI0 20 32591020a5SDavid Virag #define CLK_MOUT_PERI_SPI1 21 33591020a5SDavid Virag #define CLK_MOUT_PERI_UART0 22 34591020a5SDavid Virag #define CLK_MOUT_PERI_UART1 23 35591020a5SDavid Virag #define CLK_MOUT_PERI_UART2 24 36591020a5SDavid Virag #define CLK_MOUT_PERI_USI0 25 37591020a5SDavid Virag #define CLK_MOUT_PERI_USI1 26 38591020a5SDavid Virag #define CLK_MOUT_PERI_USI2 27 39591020a5SDavid Virag #define CLK_DOUT_PERI_BUS 28 40591020a5SDavid Virag #define CLK_DOUT_PERI_SPI0 29 41591020a5SDavid Virag #define CLK_DOUT_PERI_SPI1 30 42591020a5SDavid Virag #define CLK_DOUT_PERI_UART0 31 43591020a5SDavid Virag #define CLK_DOUT_PERI_UART1 32 44591020a5SDavid Virag #define CLK_DOUT_PERI_UART2 33 45591020a5SDavid Virag #define CLK_DOUT_PERI_USI0 34 46591020a5SDavid Virag #define CLK_DOUT_PERI_USI1 35 47591020a5SDavid Virag #define CLK_DOUT_PERI_USI2 36 48591020a5SDavid Virag #define CLK_GOUT_PERI_BUS 37 49591020a5SDavid Virag #define CLK_GOUT_PERI_SPI0 38 50591020a5SDavid Virag #define CLK_GOUT_PERI_SPI1 39 51591020a5SDavid Virag #define CLK_GOUT_PERI_UART0 40 52591020a5SDavid Virag #define CLK_GOUT_PERI_UART1 41 53591020a5SDavid Virag #define CLK_GOUT_PERI_UART2 42 54591020a5SDavid Virag #define CLK_GOUT_PERI_USI0 43 55591020a5SDavid Virag #define CLK_GOUT_PERI_USI1 44 56591020a5SDavid Virag #define CLK_GOUT_PERI_USI2 45 57cd268e30SDavid Virag #define CLK_MOUT_FSYS_BUS 46 58cd268e30SDavid Virag #define CLK_MOUT_FSYS_MMC_CARD 47 59cd268e30SDavid Virag #define CLK_MOUT_FSYS_MMC_EMBD 48 60cd268e30SDavid Virag #define CLK_MOUT_FSYS_MMC_SDIO 49 61cd268e30SDavid Virag #define CLK_MOUT_FSYS_USB30DRD 50 62cd268e30SDavid Virag #define CLK_DOUT_FSYS_BUS 51 63cd268e30SDavid Virag #define CLK_DOUT_FSYS_MMC_CARD 52 64cd268e30SDavid Virag #define CLK_DOUT_FSYS_MMC_EMBD 53 65cd268e30SDavid Virag #define CLK_DOUT_FSYS_MMC_SDIO 54 66cd268e30SDavid Virag #define CLK_DOUT_FSYS_USB30DRD 55 67cd268e30SDavid Virag #define CLK_GOUT_FSYS_BUS 56 68cd268e30SDavid Virag #define CLK_GOUT_FSYS_MMC_CARD 57 69cd268e30SDavid Virag #define CLK_GOUT_FSYS_MMC_EMBD 58 70cd268e30SDavid Virag #define CLK_GOUT_FSYS_MMC_SDIO 59 71cd268e30SDavid Virag #define CLK_GOUT_FSYS_USB30DRD 60 72591020a5SDavid Virag 73591020a5SDavid Virag /* CMU_CORE */ 74591020a5SDavid Virag #define CLK_MOUT_CORE_BUS_USER 1 75591020a5SDavid Virag #define CLK_MOUT_CORE_CCI_USER 2 76591020a5SDavid Virag #define CLK_MOUT_CORE_G3D_USER 3 77591020a5SDavid Virag #define CLK_MOUT_CORE_GIC 4 78591020a5SDavid Virag #define CLK_DOUT_CORE_BUSP 5 79591020a5SDavid Virag #define CLK_GOUT_CCI_ACLK 6 80591020a5SDavid Virag #define CLK_GOUT_GIC400_CLK 7 81e756e932SDavid Virag #define CLK_GOUT_TREX_D_CORE_ACLK 8 82e756e932SDavid Virag #define CLK_GOUT_TREX_D_CORE_GCLK 9 83e756e932SDavid Virag #define CLK_GOUT_TREX_D_CORE_PCLK 10 84e756e932SDavid Virag #define CLK_GOUT_TREX_P_CORE_ACLK_P_CORE 11 85e756e932SDavid Virag #define CLK_GOUT_TREX_P_CORE_CCLK_P_CORE 12 86e756e932SDavid Virag #define CLK_GOUT_TREX_P_CORE_PCLK 13 87e756e932SDavid Virag #define CLK_GOUT_TREX_P_CORE_PCLK_P_CORE 14 88591020a5SDavid Virag 89591020a5SDavid Virag /* CMU_PERI */ 90591020a5SDavid Virag #define CLK_MOUT_PERI_BUS_USER 1 91591020a5SDavid Virag #define CLK_MOUT_PERI_SPI0_USER 2 92591020a5SDavid Virag #define CLK_MOUT_PERI_SPI1_USER 3 93591020a5SDavid Virag #define CLK_MOUT_PERI_UART0_USER 4 94591020a5SDavid Virag #define CLK_MOUT_PERI_UART1_USER 5 95591020a5SDavid Virag #define CLK_MOUT_PERI_UART2_USER 6 96591020a5SDavid Virag #define CLK_MOUT_PERI_USI0_USER 7 97591020a5SDavid Virag #define CLK_MOUT_PERI_USI1_USER 8 98591020a5SDavid Virag #define CLK_MOUT_PERI_USI2_USER 9 99591020a5SDavid Virag #define CLK_GOUT_GPIO_TOP_PCLK 10 100591020a5SDavid Virag #define CLK_GOUT_HSI2C0_PCLK 11 101591020a5SDavid Virag #define CLK_GOUT_HSI2C1_PCLK 12 102591020a5SDavid Virag #define CLK_GOUT_HSI2C2_PCLK 13 103591020a5SDavid Virag #define CLK_GOUT_HSI2C3_PCLK 14 104591020a5SDavid Virag #define CLK_GOUT_I2C0_PCLK 15 105591020a5SDavid Virag #define CLK_GOUT_I2C1_PCLK 16 106591020a5SDavid Virag #define CLK_GOUT_I2C2_PCLK 17 107591020a5SDavid Virag #define CLK_GOUT_I2C3_PCLK 18 108591020a5SDavid Virag #define CLK_GOUT_I2C4_PCLK 19 109591020a5SDavid Virag #define CLK_GOUT_I2C5_PCLK 20 110591020a5SDavid Virag #define CLK_GOUT_I2C6_PCLK 21 111591020a5SDavid Virag #define CLK_GOUT_I2C7_PCLK 22 112591020a5SDavid Virag #define CLK_GOUT_PWM_MOTOR_PCLK 23 113591020a5SDavid Virag #define CLK_GOUT_SPI0_PCLK 24 114591020a5SDavid Virag #define CLK_GOUT_SPI0_EXT_CLK 25 115591020a5SDavid Virag #define CLK_GOUT_SPI1_PCLK 26 116591020a5SDavid Virag #define CLK_GOUT_SPI1_EXT_CLK 27 117591020a5SDavid Virag #define CLK_GOUT_UART0_EXT_UCLK 28 118591020a5SDavid Virag #define CLK_GOUT_UART0_PCLK 29 119591020a5SDavid Virag #define CLK_GOUT_UART1_EXT_UCLK 30 120591020a5SDavid Virag #define CLK_GOUT_UART1_PCLK 31 121591020a5SDavid Virag #define CLK_GOUT_UART2_EXT_UCLK 32 122591020a5SDavid Virag #define CLK_GOUT_UART2_PCLK 33 123591020a5SDavid Virag #define CLK_GOUT_USI0_PCLK 34 124591020a5SDavid Virag #define CLK_GOUT_USI0_SCLK 35 125591020a5SDavid Virag #define CLK_GOUT_USI1_PCLK 36 126591020a5SDavid Virag #define CLK_GOUT_USI1_SCLK 37 127591020a5SDavid Virag #define CLK_GOUT_USI2_PCLK 38 128591020a5SDavid Virag #define CLK_GOUT_USI2_SCLK 39 129591020a5SDavid Virag #define CLK_GOUT_MCT_PCLK 40 130591020a5SDavid Virag #define CLK_GOUT_SYSREG_PERI_PCLK 41 131591020a5SDavid Virag #define CLK_GOUT_WDT0_PCLK 42 132591020a5SDavid Virag #define CLK_GOUT_WDT1_PCLK 43 133591020a5SDavid Virag 134cd268e30SDavid Virag /* CMU_FSYS */ 135cd268e30SDavid Virag #define CLK_MOUT_FSYS_BUS_USER 1 136cd268e30SDavid Virag #define CLK_MOUT_FSYS_MMC_CARD_USER 2 137cd268e30SDavid Virag #define CLK_MOUT_FSYS_MMC_EMBD_USER 3 138cd268e30SDavid Virag #define CLK_MOUT_FSYS_MMC_SDIO_USER 4 139cd268e30SDavid Virag #define CLK_GOUT_MMC_CARD_ACLK 5 140cd268e30SDavid Virag #define CLK_GOUT_MMC_CARD_SDCLKIN 6 141cd268e30SDavid Virag #define CLK_GOUT_MMC_EMBD_ACLK 7 142cd268e30SDavid Virag #define CLK_GOUT_MMC_EMBD_SDCLKIN 8 143cd268e30SDavid Virag #define CLK_GOUT_MMC_SDIO_ACLK 9 144cd268e30SDavid Virag #define CLK_GOUT_MMC_SDIO_SDCLKIN 10 145*0a42f636SDavid Virag #define CLK_MOUT_FSYS_USB30DRD_USER 11 146cd268e30SDavid Virag 147591020a5SDavid Virag #endif /* _DT_BINDINGS_CLOCK_EXYNOS_7885_H */ 148