Linux 5.6.13
[linux/fpc-iii.git] / include / dt-bindings / clock / s3c2410.h
blob0fb65c3f2f598bb825f3f664f1ced5dfc19af74c
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
5 * Device Tree binding constants clock controllers of Samsung S3C2410 and later.
6 */
8 #ifndef _DT_BINDINGS_CLOCK_SAMSUNG_S3C2410_CLOCK_H
9 #define _DT_BINDINGS_CLOCK_SAMSUNG_S3C2410_CLOCK_H
12 * Let each exported clock get a unique index, which is used on DT-enabled
13 * platforms to lookup the clock from a clock specifier. These indices are
14 * therefore considered an ABI and so must not be changed. This implies
15 * that new clocks should be added either in free spaces between clock groups
16 * or at the end.
19 /* Core clocks. */
21 /* id 1 is reserved */
22 #define MPLL 2
23 #define UPLL 3
24 #define FCLK 4
25 #define HCLK 5
26 #define PCLK 6
27 #define UCLK 7
28 #define ARMCLK 8
30 /* pclk-gates */
31 #define PCLK_UART0 16
32 #define PCLK_UART1 17
33 #define PCLK_UART2 18
34 #define PCLK_I2C 19
35 #define PCLK_SDI 20
36 #define PCLK_SPI 21
37 #define PCLK_ADC 22
38 #define PCLK_AC97 23
39 #define PCLK_I2S 24
40 #define PCLK_PWM 25
41 #define PCLK_RTC 26
42 #define PCLK_GPIO 27
45 /* hclk-gates */
46 #define HCLK_LCD 32
47 #define HCLK_USBH 33
48 #define HCLK_USBD 34
49 #define HCLK_NAND 35
50 #define HCLK_CAM 36
53 #define CAMIF 40
56 /* Total number of clocks. */
57 #define NR_CLKS (CAMIF + 1)
59 #endif /* _DT_BINDINGS_CLOCK_SAMSUNG_S3C2443_CLOCK_H */