2016-05-28 09:54:12 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
|
2016-05-28 09:54:13 +00:00
|
|
|
* Copyright (c) 2016 Krzysztof Kozlowski
|
2016-05-28 09:54:12 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* Device Tree binding constants for Exynos5421 clock controller.
|
|
|
|
*/
|
|
|
|
|
2014-05-26 21:54:12 +00:00
|
|
|
#ifndef _DT_BINDINGS_CLOCK_EXYNOS_5410_H
|
|
|
|
#define _DT_BINDINGS_CLOCK_EXYNOS_5410_H
|
|
|
|
|
|
|
|
/* core clocks */
|
2016-05-28 09:54:12 +00:00
|
|
|
#define CLK_FIN_PLL 1
|
|
|
|
#define CLK_FOUT_APLL 2
|
|
|
|
#define CLK_FOUT_CPLL 3
|
|
|
|
#define CLK_FOUT_MPLL 4
|
|
|
|
#define CLK_FOUT_BPLL 5
|
|
|
|
#define CLK_FOUT_KPLL 6
|
2016-08-22 09:15:39 +00:00
|
|
|
#define CLK_FOUT_EPLL 7
|
2014-05-26 21:54:12 +00:00
|
|
|
|
|
|
|
/* gate for special clocks (sclk) */
|
2016-05-28 09:54:12 +00:00
|
|
|
#define CLK_SCLK_UART0 128
|
|
|
|
#define CLK_SCLK_UART1 129
|
|
|
|
#define CLK_SCLK_UART2 130
|
|
|
|
#define CLK_SCLK_UART3 131
|
|
|
|
#define CLK_SCLK_MMC0 132
|
|
|
|
#define CLK_SCLK_MMC1 133
|
|
|
|
#define CLK_SCLK_MMC2 134
|
2016-05-28 09:54:13 +00:00
|
|
|
#define CLK_SCLK_USBD300 150
|
|
|
|
#define CLK_SCLK_USBD301 151
|
|
|
|
#define CLK_SCLK_USBPHY300 152
|
|
|
|
#define CLK_SCLK_USBPHY301 153
|
|
|
|
#define CLK_SCLK_PWM 155
|
2014-05-26 21:54:12 +00:00
|
|
|
|
|
|
|
/* gate clocks */
|
2016-05-28 09:54:12 +00:00
|
|
|
#define CLK_UART0 257
|
|
|
|
#define CLK_UART1 258
|
|
|
|
#define CLK_UART2 259
|
2016-05-28 09:54:29 +00:00
|
|
|
#define CLK_I2C0 261
|
|
|
|
#define CLK_I2C1 262
|
|
|
|
#define CLK_I2C2 263
|
|
|
|
#define CLK_I2C3 264
|
|
|
|
#define CLK_USI0 265
|
|
|
|
#define CLK_USI1 266
|
|
|
|
#define CLK_USI2 267
|
|
|
|
#define CLK_USI3 268
|
2016-05-28 09:54:12 +00:00
|
|
|
#define CLK_UART3 260
|
2016-05-28 09:54:13 +00:00
|
|
|
#define CLK_PWM 279
|
2016-05-28 09:54:12 +00:00
|
|
|
#define CLK_MCT 315
|
2016-06-01 09:45:49 +00:00
|
|
|
#define CLK_WDT 316
|
2016-05-28 09:54:29 +00:00
|
|
|
#define CLK_RTC 317
|
2016-05-31 18:39:00 +00:00
|
|
|
#define CLK_TMU 318
|
2016-05-28 09:54:12 +00:00
|
|
|
#define CLK_MMC0 351
|
|
|
|
#define CLK_MMC1 352
|
|
|
|
#define CLK_MMC2 353
|
2016-08-22 09:15:39 +00:00
|
|
|
#define CLK_PDMA0 362
|
|
|
|
#define CLK_PDMA1 363
|
2016-05-28 09:54:13 +00:00
|
|
|
#define CLK_USBH20 365
|
|
|
|
#define CLK_USBD300 366
|
|
|
|
#define CLK_USBD301 367
|
2016-06-01 09:45:49 +00:00
|
|
|
#define CLK_SSS 471
|
2014-05-26 21:54:12 +00:00
|
|
|
|
2016-05-28 09:54:12 +00:00
|
|
|
#define CLK_NR_CLKS 512
|
2014-05-26 21:54:12 +00:00
|
|
|
|
|
|
|
#endif /* _DT_BINDINGS_CLOCK_EXYNOS_5410_H */
|