diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-09-03 19:01:36 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-09-03 19:01:36 -0400 |
commit | 516d5f8b04ce2bcd24f03323fc743ae25b81373d (patch) | |
tree | ff37e84692dbef5063bbf22672eb8bfad0f25dd8 /include/dt-bindings | |
parent | 6ba694560caeb3531dbedd5b3a37af037ef2a833 (diff) | |
parent | 69e273c0b0a3c337a521d083374c918dc52c666f (diff) |
Merge tag 'v3.17-rc3' into next
Sync with mainline to bring in Chrome EC changes.
Diffstat (limited to 'include/dt-bindings')
34 files changed, 2688 insertions, 9 deletions
diff --git a/include/dt-bindings/clock/clps711x-clock.h b/include/dt-bindings/clock/clps711x-clock.h new file mode 100644 index 000000000000..0c4c80b63242 --- /dev/null +++ b/include/dt-bindings/clock/clps711x-clock.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | #ifndef __DT_BINDINGS_CLOCK_CLPS711X_H | ||
11 | #define __DT_BINDINGS_CLOCK_CLPS711X_H | ||
12 | |||
13 | #define CLPS711X_CLK_DUMMY 0 | ||
14 | #define CLPS711X_CLK_CPU 1 | ||
15 | #define CLPS711X_CLK_BUS 2 | ||
16 | #define CLPS711X_CLK_PLL 3 | ||
17 | #define CLPS711X_CLK_TIMERREF 4 | ||
18 | #define CLPS711X_CLK_TIMER1 5 | ||
19 | #define CLPS711X_CLK_TIMER2 6 | ||
20 | #define CLPS711X_CLK_PWM 7 | ||
21 | #define CLPS711X_CLK_SPIREF 8 | ||
22 | #define CLPS711X_CLK_SPI 9 | ||
23 | #define CLPS711X_CLK_UART 10 | ||
24 | #define CLPS711X_CLK_TICK 11 | ||
25 | #define CLPS711X_CLK_MAX 12 | ||
26 | |||
27 | #endif | ||
diff --git a/include/dt-bindings/clock/exynos4.h b/include/dt-bindings/clock/exynos4.h index 1106ca540a96..459bd2bd411f 100644 --- a/include/dt-bindings/clock/exynos4.h +++ b/include/dt-bindings/clock/exynos4.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. |
3 | * Author: Andrzej Haja <a.hajda@samsung.com> | 3 | * Author: Andrzej Hajda <a.hajda@samsung.com> |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License version 2 as | 6 | * it under the terms of the GNU General Public License version 2 as |
@@ -34,6 +34,11 @@ | |||
34 | #define CLK_MOUT_CORE 19 | 34 | #define CLK_MOUT_CORE 19 |
35 | #define CLK_MOUT_APLL 20 | 35 | #define CLK_MOUT_APLL 20 |
36 | #define CLK_SCLK_HDMIPHY 22 | 36 | #define CLK_SCLK_HDMIPHY 22 |
37 | #define CLK_OUT_DMC 23 | ||
38 | #define CLK_OUT_TOP 24 | ||
39 | #define CLK_OUT_LEFTBUS 25 | ||
40 | #define CLK_OUT_RIGHTBUS 26 | ||
41 | #define CLK_OUT_CPU 27 | ||
37 | 42 | ||
38 | /* gate for special clocks (sclk) */ | 43 | /* gate for special clocks (sclk) */ |
39 | #define CLK_SCLK_FIMC0 128 | 44 | #define CLK_SCLK_FIMC0 128 |
@@ -230,6 +235,24 @@ | |||
230 | #define CLK_MOUT_G3D 394 | 235 | #define CLK_MOUT_G3D 394 |
231 | #define CLK_ACLK400_MCUISP 395 /* Exynos4x12 only */ | 236 | #define CLK_ACLK400_MCUISP 395 /* Exynos4x12 only */ |
232 | 237 | ||
238 | /* gate clocks - ppmu */ | ||
239 | #define CLK_PPMULEFT 400 | ||
240 | #define CLK_PPMURIGHT 401 | ||
241 | #define CLK_PPMUCAMIF 402 | ||
242 | #define CLK_PPMUTV 403 | ||
243 | #define CLK_PPMUMFC_L 404 | ||
244 | #define CLK_PPMUMFC_R 405 | ||
245 | #define CLK_PPMUG3D 406 | ||
246 | #define CLK_PPMUIMAGE 407 | ||
247 | #define CLK_PPMULCD0 408 | ||
248 | #define CLK_PPMULCD1 409 /* Exynos4210 only */ | ||
249 | #define CLK_PPMUFILE 410 | ||
250 | #define CLK_PPMUGPS 411 | ||
251 | #define CLK_PPMUDMC0 412 | ||
252 | #define CLK_PPMUDMC1 413 | ||
253 | #define CLK_PPMUCPU 414 | ||
254 | #define CLK_PPMUACP 415 | ||
255 | |||
233 | /* div clocks */ | 256 | /* div clocks */ |
234 | #define CLK_DIV_ISP0 450 /* Exynos4x12 only */ | 257 | #define CLK_DIV_ISP0 450 /* Exynos4x12 only */ |
235 | #define CLK_DIV_ISP1 451 /* Exynos4x12 only */ | 258 | #define CLK_DIV_ISP1 451 /* Exynos4x12 only */ |
diff --git a/include/dt-bindings/clock/exynos5250.h b/include/dt-bindings/clock/exynos5250.h index be6e97c54f54..4273891dc78e 100644 --- a/include/dt-bindings/clock/exynos5250.h +++ b/include/dt-bindings/clock/exynos5250.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. |
3 | * Author: Andrzej Haja <a.hajda@samsung.com> | 3 | * Author: Andrzej Hajda <a.hajda@samsung.com> |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License version 2 as | 6 | * it under the terms of the GNU General Public License version 2 as |
diff --git a/include/dt-bindings/clock/exynos5420.h b/include/dt-bindings/clock/exynos5420.h index 21d51ae1d242..8dc0913f1775 100644 --- a/include/dt-bindings/clock/exynos5420.h +++ b/include/dt-bindings/clock/exynos5420.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. |
3 | * Author: Andrzej Haja <a.hajda@samsung.com> | 3 | * Author: Andrzej Hajda <a.hajda@samsung.com> |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License version 2 as | 6 | * it under the terms of the GNU General Public License version 2 as |
diff --git a/include/dt-bindings/clock/exynos5440.h b/include/dt-bindings/clock/exynos5440.h index 70cd85077fa9..c66fc405a79a 100644 --- a/include/dt-bindings/clock/exynos5440.h +++ b/include/dt-bindings/clock/exynos5440.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. |
3 | * Author: Andrzej Haja <a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> | 3 | * Author: Andrzej Hajda <a.hajda@samsung.com> |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify | 5 | * This program is free software; you can redistribute it and/or modify |
6 | * it under the terms of the GNU General Public License version 2 as | 6 | * it under the terms of the GNU General Public License version 2 as |
diff --git a/include/dt-bindings/clock/imx1-clock.h b/include/dt-bindings/clock/imx1-clock.h new file mode 100644 index 000000000000..607bf01a31dd --- /dev/null +++ b/include/dt-bindings/clock/imx1-clock.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | #ifndef __DT_BINDINGS_CLOCK_IMX1_H | ||
11 | #define __DT_BINDINGS_CLOCK_IMX1_H | ||
12 | |||
13 | #define IMX1_CLK_DUMMY 0 | ||
14 | #define IMX1_CLK_CLK32 1 | ||
15 | #define IMX1_CLK_CLK16M_EXT 2 | ||
16 | #define IMX1_CLK_CLK16M 3 | ||
17 | #define IMX1_CLK_CLK32_PREMULT 4 | ||
18 | #define IMX1_CLK_PREM 5 | ||
19 | #define IMX1_CLK_MPLL 6 | ||
20 | #define IMX1_CLK_MPLL_GATE 7 | ||
21 | #define IMX1_CLK_SPLL 8 | ||
22 | #define IMX1_CLK_SPLL_GATE 9 | ||
23 | #define IMX1_CLK_MCU 10 | ||
24 | #define IMX1_CLK_FCLK 11 | ||
25 | #define IMX1_CLK_HCLK 12 | ||
26 | #define IMX1_CLK_CLK48M 13 | ||
27 | #define IMX1_CLK_PER1 14 | ||
28 | #define IMX1_CLK_PER2 15 | ||
29 | #define IMX1_CLK_PER3 16 | ||
30 | #define IMX1_CLK_CLKO 17 | ||
31 | #define IMX1_CLK_UART3_GATE 18 | ||
32 | #define IMX1_CLK_SSI2_GATE 19 | ||
33 | #define IMX1_CLK_BROM_GATE 20 | ||
34 | #define IMX1_CLK_DMA_GATE 21 | ||
35 | #define IMX1_CLK_CSI_GATE 22 | ||
36 | #define IMX1_CLK_MMA_GATE 23 | ||
37 | #define IMX1_CLK_USBD_GATE 24 | ||
38 | #define IMX1_CLK_MAX 25 | ||
39 | |||
40 | #endif | ||
diff --git a/include/dt-bindings/clock/imx21-clock.h b/include/dt-bindings/clock/imx21-clock.h new file mode 100644 index 000000000000..b13596cf51b2 --- /dev/null +++ b/include/dt-bindings/clock/imx21-clock.h | |||
@@ -0,0 +1,80 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | #ifndef __DT_BINDINGS_CLOCK_IMX21_H | ||
11 | #define __DT_BINDINGS_CLOCK_IMX21_H | ||
12 | |||
13 | #define IMX21_CLK_DUMMY 0 | ||
14 | #define IMX21_CLK_CKIL 1 | ||
15 | #define IMX21_CLK_CKIH 2 | ||
16 | #define IMX21_CLK_FPM 3 | ||
17 | #define IMX21_CLK_CKIH_DIV1P5 4 | ||
18 | #define IMX21_CLK_MPLL_GATE 5 | ||
19 | #define IMX21_CLK_SPLL_GATE 6 | ||
20 | #define IMX21_CLK_FPM_GATE 7 | ||
21 | #define IMX21_CLK_CKIH_GATE 8 | ||
22 | #define IMX21_CLK_MPLL_OSC_SEL 9 | ||
23 | #define IMX21_CLK_IPG 10 | ||
24 | #define IMX21_CLK_HCLK 11 | ||
25 | #define IMX21_CLK_MPLL_SEL 12 | ||
26 | #define IMX21_CLK_SPLL_SEL 13 | ||
27 | #define IMX21_CLK_SSI1_SEL 14 | ||
28 | #define IMX21_CLK_SSI2_SEL 15 | ||
29 | #define IMX21_CLK_USB_DIV 16 | ||
30 | #define IMX21_CLK_FCLK 17 | ||
31 | #define IMX21_CLK_MPLL 18 | ||
32 | #define IMX21_CLK_SPLL 19 | ||
33 | #define IMX21_CLK_NFC_DIV 20 | ||
34 | #define IMX21_CLK_SSI1_DIV 21 | ||
35 | #define IMX21_CLK_SSI2_DIV 22 | ||
36 | #define IMX21_CLK_PER1 23 | ||
37 | #define IMX21_CLK_PER2 24 | ||
38 | #define IMX21_CLK_PER3 25 | ||
39 | #define IMX21_CLK_PER4 26 | ||
40 | #define IMX21_CLK_UART1_IPG_GATE 27 | ||
41 | #define IMX21_CLK_UART2_IPG_GATE 28 | ||
42 | #define IMX21_CLK_UART3_IPG_GATE 29 | ||
43 | #define IMX21_CLK_UART4_IPG_GATE 30 | ||
44 | #define IMX21_CLK_CSPI1_IPG_GATE 31 | ||
45 | #define IMX21_CLK_CSPI2_IPG_GATE 32 | ||
46 | #define IMX21_CLK_SSI1_GATE 33 | ||
47 | #define IMX21_CLK_SSI2_GATE 34 | ||
48 | #define IMX21_CLK_SDHC1_IPG_GATE 35 | ||
49 | #define IMX21_CLK_SDHC2_IPG_GATE 36 | ||
50 | #define IMX21_CLK_GPIO_GATE 37 | ||
51 | #define IMX21_CLK_I2C_GATE 38 | ||
52 | #define IMX21_CLK_DMA_GATE 39 | ||
53 | #define IMX21_CLK_USB_GATE 40 | ||
54 | #define IMX21_CLK_EMMA_GATE 41 | ||
55 | #define IMX21_CLK_SSI2_BAUD_GATE 42 | ||
56 | #define IMX21_CLK_SSI1_BAUD_GATE 43 | ||
57 | #define IMX21_CLK_LCDC_IPG_GATE 44 | ||
58 | #define IMX21_CLK_NFC_GATE 45 | ||
59 | #define IMX21_CLK_LCDC_HCLK_GATE 46 | ||
60 | #define IMX21_CLK_PER4_GATE 47 | ||
61 | #define IMX21_CLK_BMI_GATE 48 | ||
62 | #define IMX21_CLK_USB_HCLK_GATE 49 | ||
63 | #define IMX21_CLK_SLCDC_GATE 50 | ||
64 | #define IMX21_CLK_SLCDC_HCLK_GATE 51 | ||
65 | #define IMX21_CLK_EMMA_HCLK_GATE 52 | ||
66 | #define IMX21_CLK_BROM_GATE 53 | ||
67 | #define IMX21_CLK_DMA_HCLK_GATE 54 | ||
68 | #define IMX21_CLK_CSI_HCLK_GATE 55 | ||
69 | #define IMX21_CLK_CSPI3_IPG_GATE 56 | ||
70 | #define IMX21_CLK_WDOG_GATE 57 | ||
71 | #define IMX21_CLK_GPT1_IPG_GATE 58 | ||
72 | #define IMX21_CLK_GPT2_IPG_GATE 59 | ||
73 | #define IMX21_CLK_GPT3_IPG_GATE 60 | ||
74 | #define IMX21_CLK_PWM_IPG_GATE 61 | ||
75 | #define IMX21_CLK_RTC_GATE 62 | ||
76 | #define IMX21_CLK_KPP_GATE 63 | ||
77 | #define IMX21_CLK_OWIRE_GATE 64 | ||
78 | #define IMX21_CLK_MAX 65 | ||
79 | |||
80 | #endif | ||
diff --git a/include/dt-bindings/clock/imx27-clock.h b/include/dt-bindings/clock/imx27-clock.h new file mode 100644 index 000000000000..148b053e54ec --- /dev/null +++ b/include/dt-bindings/clock/imx27-clock.h | |||
@@ -0,0 +1,108 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | #ifndef __DT_BINDINGS_CLOCK_IMX27_H | ||
11 | #define __DT_BINDINGS_CLOCK_IMX27_H | ||
12 | |||
13 | #define IMX27_CLK_DUMMY 0 | ||
14 | #define IMX27_CLK_CKIH 1 | ||
15 | #define IMX27_CLK_CKIL 2 | ||
16 | #define IMX27_CLK_MPLL 3 | ||
17 | #define IMX27_CLK_SPLL 4 | ||
18 | #define IMX27_CLK_MPLL_MAIN2 5 | ||
19 | #define IMX27_CLK_AHB 6 | ||
20 | #define IMX27_CLK_IPG 7 | ||
21 | #define IMX27_CLK_NFC_DIV 8 | ||
22 | #define IMX27_CLK_PER1_DIV 9 | ||
23 | #define IMX27_CLK_PER2_DIV 10 | ||
24 | #define IMX27_CLK_PER3_DIV 11 | ||
25 | #define IMX27_CLK_PER4_DIV 12 | ||
26 | #define IMX27_CLK_VPU_SEL 13 | ||
27 | #define IMX27_CLK_VPU_DIV 14 | ||
28 | #define IMX27_CLK_USB_DIV 15 | ||
29 | #define IMX27_CLK_CPU_SEL 16 | ||
30 | #define IMX27_CLK_CLKO_SEL 17 | ||
31 | #define IMX27_CLK_CPU_DIV 18 | ||
32 | #define IMX27_CLK_CLKO_DIV 19 | ||
33 | #define IMX27_CLK_SSI1_SEL 20 | ||
34 | #define IMX27_CLK_SSI2_SEL 21 | ||
35 | #define IMX27_CLK_SSI1_DIV 22 | ||
36 | #define IMX27_CLK_SSI2_DIV 23 | ||
37 | #define IMX27_CLK_CLKO_EN 24 | ||
38 | #define IMX27_CLK_SSI2_IPG_GATE 25 | ||
39 | #define IMX27_CLK_SSI1_IPG_GATE 26 | ||
40 | #define IMX27_CLK_SLCDC_IPG_GATE 27 | ||
41 | #define IMX27_CLK_SDHC3_IPG_GATE 28 | ||
42 | #define IMX27_CLK_SDHC2_IPG_GATE 29 | ||
43 | #define IMX27_CLK_SDHC1_IPG_GATE 30 | ||
44 | #define IMX27_CLK_SCC_IPG_GATE 31 | ||
45 | #define IMX27_CLK_SAHARA_IPG_GATE 32 | ||
46 | #define IMX27_CLK_RTC_IPG_GATE 33 | ||
47 | #define IMX27_CLK_PWM_IPG_GATE 34 | ||
48 | #define IMX27_CLK_OWIRE_IPG_GATE 35 | ||
49 | #define IMX27_CLK_LCDC_IPG_GATE 36 | ||
50 | #define IMX27_CLK_KPP_IPG_GATE 37 | ||
51 | #define IMX27_CLK_IIM_IPG_GATE 38 | ||
52 | #define IMX27_CLK_I2C2_IPG_GATE 39 | ||
53 | #define IMX27_CLK_I2C1_IPG_GATE 40 | ||
54 | #define IMX27_CLK_GPT6_IPG_GATE 41 | ||
55 | #define IMX27_CLK_GPT5_IPG_GATE 42 | ||
56 | #define IMX27_CLK_GPT4_IPG_GATE 43 | ||
57 | #define IMX27_CLK_GPT3_IPG_GATE 44 | ||
58 | #define IMX27_CLK_GPT2_IPG_GATE 45 | ||
59 | #define IMX27_CLK_GPT1_IPG_GATE 46 | ||
60 | #define IMX27_CLK_GPIO_IPG_GATE 47 | ||
61 | #define IMX27_CLK_FEC_IPG_GATE 48 | ||
62 | #define IMX27_CLK_EMMA_IPG_GATE 49 | ||
63 | #define IMX27_CLK_DMA_IPG_GATE 50 | ||
64 | #define IMX27_CLK_CSPI3_IPG_GATE 51 | ||
65 | #define IMX27_CLK_CSPI2_IPG_GATE 52 | ||
66 | #define IMX27_CLK_CSPI1_IPG_GATE 53 | ||
67 | #define IMX27_CLK_NFC_BAUD_GATE 54 | ||
68 | #define IMX27_CLK_SSI2_BAUD_GATE 55 | ||
69 | #define IMX27_CLK_SSI1_BAUD_GATE 56 | ||
70 | #define IMX27_CLK_VPU_BAUD_GATE 57 | ||
71 | #define IMX27_CLK_PER4_GATE 58 | ||
72 | #define IMX27_CLK_PER3_GATE 59 | ||
73 | #define IMX27_CLK_PER2_GATE 60 | ||
74 | #define IMX27_CLK_PER1_GATE 61 | ||
75 | #define IMX27_CLK_USB_AHB_GATE 62 | ||
76 | #define IMX27_CLK_SLCDC_AHB_GATE 63 | ||
77 | #define IMX27_CLK_SAHARA_AHB_GATE 64 | ||
78 | #define IMX27_CLK_LCDC_AHB_GATE 65 | ||
79 | #define IMX27_CLK_VPU_AHB_GATE 66 | ||
80 | #define IMX27_CLK_FEC_AHB_GATE 67 | ||
81 | #define IMX27_CLK_EMMA_AHB_GATE 68 | ||
82 | #define IMX27_CLK_EMI_AHB_GATE 69 | ||
83 | #define IMX27_CLK_DMA_AHB_GATE 70 | ||
84 | #define IMX27_CLK_CSI_AHB_GATE 71 | ||
85 | #define IMX27_CLK_BROM_AHB_GATE 72 | ||
86 | #define IMX27_CLK_ATA_AHB_GATE 73 | ||
87 | #define IMX27_CLK_WDOG_IPG_GATE 74 | ||
88 | #define IMX27_CLK_USB_IPG_GATE 75 | ||
89 | #define IMX27_CLK_UART6_IPG_GATE 76 | ||
90 | #define IMX27_CLK_UART5_IPG_GATE 77 | ||
91 | #define IMX27_CLK_UART4_IPG_GATE 78 | ||
92 | #define IMX27_CLK_UART3_IPG_GATE 79 | ||
93 | #define IMX27_CLK_UART2_IPG_GATE 80 | ||
94 | #define IMX27_CLK_UART1_IPG_GATE 81 | ||
95 | #define IMX27_CLK_CKIH_DIV1P5 82 | ||
96 | #define IMX27_CLK_FPM 83 | ||
97 | #define IMX27_CLK_MPLL_OSC_SEL 84 | ||
98 | #define IMX27_CLK_MPLL_SEL 85 | ||
99 | #define IMX27_CLK_SPLL_GATE 86 | ||
100 | #define IMX27_CLK_MSHC_DIV 87 | ||
101 | #define IMX27_CLK_RTIC_IPG_GATE 88 | ||
102 | #define IMX27_CLK_MSHC_IPG_GATE 89 | ||
103 | #define IMX27_CLK_RTIC_AHB_GATE 90 | ||
104 | #define IMX27_CLK_MSHC_BAUD_GATE 91 | ||
105 | #define IMX27_CLK_CKIH_GATE 92 | ||
106 | #define IMX27_CLK_MAX 93 | ||
107 | |||
108 | #endif | ||
diff --git a/include/dt-bindings/clock/imx6qdl-clock.h b/include/dt-bindings/clock/imx6qdl-clock.h new file mode 100644 index 000000000000..654151e24288 --- /dev/null +++ b/include/dt-bindings/clock/imx6qdl-clock.h | |||
@@ -0,0 +1,224 @@ | |||
1 | /* | ||
2 | * Copyright 2014 Freescale Semiconductor, Inc. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | ||
8 | |||
9 | #ifndef __DT_BINDINGS_CLOCK_IMX6QDL_H | ||
10 | #define __DT_BINDINGS_CLOCK_IMX6QDL_H | ||
11 | |||
12 | #define IMX6QDL_CLK_DUMMY 0 | ||
13 | #define IMX6QDL_CLK_CKIL 1 | ||
14 | #define IMX6QDL_CLK_CKIH 2 | ||
15 | #define IMX6QDL_CLK_OSC 3 | ||
16 | #define IMX6QDL_CLK_PLL2_PFD0_352M 4 | ||
17 | #define IMX6QDL_CLK_PLL2_PFD1_594M 5 | ||
18 | #define IMX6QDL_CLK_PLL2_PFD2_396M 6 | ||
19 | #define IMX6QDL_CLK_PLL3_PFD0_720M 7 | ||
20 | #define IMX6QDL_CLK_PLL3_PFD1_540M 8 | ||
21 | #define IMX6QDL_CLK_PLL3_PFD2_508M 9 | ||
22 | #define IMX6QDL_CLK_PLL3_PFD3_454M 10 | ||
23 | #define IMX6QDL_CLK_PLL2_198M 11 | ||
24 | #define IMX6QDL_CLK_PLL3_120M 12 | ||
25 | #define IMX6QDL_CLK_PLL3_80M 13 | ||
26 | #define IMX6QDL_CLK_PLL3_60M 14 | ||
27 | #define IMX6QDL_CLK_TWD 15 | ||
28 | #define IMX6QDL_CLK_STEP 16 | ||
29 | #define IMX6QDL_CLK_PLL1_SW 17 | ||
30 | #define IMX6QDL_CLK_PERIPH_PRE 18 | ||
31 | #define IMX6QDL_CLK_PERIPH2_PRE 19 | ||
32 | #define IMX6QDL_CLK_PERIPH_CLK2_SEL 20 | ||
33 | #define IMX6QDL_CLK_PERIPH2_CLK2_SEL 21 | ||
34 | #define IMX6QDL_CLK_AXI_SEL 22 | ||
35 | #define IMX6QDL_CLK_ESAI_SEL 23 | ||
36 | #define IMX6QDL_CLK_ASRC_SEL 24 | ||
37 | #define IMX6QDL_CLK_SPDIF_SEL 25 | ||
38 | #define IMX6QDL_CLK_GPU2D_AXI 26 | ||
39 | #define IMX6QDL_CLK_GPU3D_AXI 27 | ||
40 | #define IMX6QDL_CLK_GPU2D_CORE_SEL 28 | ||
41 | #define IMX6QDL_CLK_GPU3D_CORE_SEL 29 | ||
42 | #define IMX6QDL_CLK_GPU3D_SHADER_SEL 30 | ||
43 | #define IMX6QDL_CLK_IPU1_SEL 31 | ||
44 | #define IMX6QDL_CLK_IPU2_SEL 32 | ||
45 | #define IMX6QDL_CLK_LDB_DI0_SEL 33 | ||
46 | #define IMX6QDL_CLK_LDB_DI1_SEL 34 | ||
47 | #define IMX6QDL_CLK_IPU1_DI0_PRE_SEL 35 | ||
48 | #define IMX6QDL_CLK_IPU1_DI1_PRE_SEL 36 | ||
49 | #define IMX6QDL_CLK_IPU2_DI0_PRE_SEL 37 | ||
50 | #define IMX6QDL_CLK_IPU2_DI1_PRE_SEL 38 | ||
51 | #define IMX6QDL_CLK_IPU1_DI0_SEL 39 | ||
52 | #define IMX6QDL_CLK_IPU1_DI1_SEL 40 | ||
53 | #define IMX6QDL_CLK_IPU2_DI0_SEL 41 | ||
54 | #define IMX6QDL_CLK_IPU2_DI1_SEL 42 | ||
55 | #define IMX6QDL_CLK_HSI_TX_SEL 43 | ||
56 | #define IMX6QDL_CLK_PCIE_AXI_SEL 44 | ||
57 | #define IMX6QDL_CLK_SSI1_SEL 45 | ||
58 | #define IMX6QDL_CLK_SSI2_SEL 46 | ||
59 | #define IMX6QDL_CLK_SSI3_SEL 47 | ||
60 | #define IMX6QDL_CLK_USDHC1_SEL 48 | ||
61 | #define IMX6QDL_CLK_USDHC2_SEL 49 | ||
62 | #define IMX6QDL_CLK_USDHC3_SEL 50 | ||
63 | #define IMX6QDL_CLK_USDHC4_SEL 51 | ||
64 | #define IMX6QDL_CLK_ENFC_SEL 52 | ||
65 | #define IMX6QDL_CLK_EMI_SEL 53 | ||
66 | #define IMX6QDL_CLK_EMI_SLOW_SEL 54 | ||
67 | #define IMX6QDL_CLK_VDO_AXI_SEL 55 | ||
68 | #define IMX6QDL_CLK_VPU_AXI_SEL 56 | ||
69 | #define IMX6QDL_CLK_CKO1_SEL 57 | ||
70 | #define IMX6QDL_CLK_PERIPH 58 | ||
71 | #define IMX6QDL_CLK_PERIPH2 59 | ||
72 | #define IMX6QDL_CLK_PERIPH_CLK2 60 | ||
73 | #define IMX6QDL_CLK_PERIPH2_CLK2 61 | ||
74 | #define IMX6QDL_CLK_IPG 62 | ||
75 | #define IMX6QDL_CLK_IPG_PER 63 | ||
76 | #define IMX6QDL_CLK_ESAI_PRED 64 | ||
77 | #define IMX6QDL_CLK_ESAI_PODF 65 | ||
78 | #define IMX6QDL_CLK_ASRC_PRED 66 | ||
79 | #define IMX6QDL_CLK_ASRC_PODF 67 | ||
80 | #define IMX6QDL_CLK_SPDIF_PRED 68 | ||
81 | #define IMX6QDL_CLK_SPDIF_PODF 69 | ||
82 | #define IMX6QDL_CLK_CAN_ROOT 70 | ||
83 | #define IMX6QDL_CLK_ECSPI_ROOT 71 | ||
84 | #define IMX6QDL_CLK_GPU2D_CORE_PODF 72 | ||
85 | #define IMX6QDL_CLK_GPU3D_CORE_PODF 73 | ||
86 | #define IMX6QDL_CLK_GPU3D_SHADER 74 | ||
87 | #define IMX6QDL_CLK_IPU1_PODF 75 | ||
88 | #define IMX6QDL_CLK_IPU2_PODF 76 | ||
89 | #define IMX6QDL_CLK_LDB_DI0_PODF 77 | ||
90 | #define IMX6QDL_CLK_LDB_DI1_PODF 78 | ||
91 | #define IMX6QDL_CLK_IPU1_DI0_PRE 79 | ||
92 | #define IMX6QDL_CLK_IPU1_DI1_PRE 80 | ||
93 | #define IMX6QDL_CLK_IPU2_DI0_PRE 81 | ||
94 | #define IMX6QDL_CLK_IPU2_DI1_PRE 82 | ||
95 | #define IMX6QDL_CLK_HSI_TX_PODF 83 | ||
96 | #define IMX6QDL_CLK_SSI1_PRED 84 | ||
97 | #define IMX6QDL_CLK_SSI1_PODF 85 | ||
98 | #define IMX6QDL_CLK_SSI2_PRED 86 | ||
99 | #define IMX6QDL_CLK_SSI2_PODF 87 | ||
100 | #define IMX6QDL_CLK_SSI3_PRED 88 | ||
101 | #define IMX6QDL_CLK_SSI3_PODF 89 | ||
102 | #define IMX6QDL_CLK_UART_SERIAL_PODF 90 | ||
103 | #define IMX6QDL_CLK_USDHC1_PODF 91 | ||
104 | #define IMX6QDL_CLK_USDHC2_PODF 92 | ||
105 | #define IMX6QDL_CLK_USDHC3_PODF 93 | ||
106 | #define IMX6QDL_CLK_USDHC4_PODF 94 | ||
107 | #define IMX6QDL_CLK_ENFC_PRED 95 | ||
108 | #define IMX6QDL_CLK_ENFC_PODF 96 | ||
109 | #define IMX6QDL_CLK_EMI_PODF 97 | ||
110 | #define IMX6QDL_CLK_EMI_SLOW_PODF 98 | ||
111 | #define IMX6QDL_CLK_VPU_AXI_PODF 99 | ||
112 | #define IMX6QDL_CLK_CKO1_PODF 100 | ||
113 | #define IMX6QDL_CLK_AXI 101 | ||
114 | #define IMX6QDL_CLK_MMDC_CH0_AXI_PODF 102 | ||
115 | #define IMX6QDL_CLK_MMDC_CH1_AXI_PODF 103 | ||
116 | #define IMX6QDL_CLK_ARM 104 | ||
117 | #define IMX6QDL_CLK_AHB 105 | ||
118 | #define IMX6QDL_CLK_APBH_DMA 106 | ||
119 | #define IMX6QDL_CLK_ASRC 107 | ||
120 | #define IMX6QDL_CLK_CAN1_IPG 108 | ||
121 | #define IMX6QDL_CLK_CAN1_SERIAL 109 | ||
122 | #define IMX6QDL_CLK_CAN2_IPG 110 | ||
123 | #define IMX6QDL_CLK_CAN2_SERIAL 111 | ||
124 | #define IMX6QDL_CLK_ECSPI1 112 | ||
125 | #define IMX6QDL_CLK_ECSPI2 113 | ||
126 | #define IMX6QDL_CLK_ECSPI3 114 | ||
127 | #define IMX6QDL_CLK_ECSPI4 115 | ||
128 | #define IMX6Q_CLK_ECSPI5 116 | ||
129 | #define IMX6DL_CLK_I2C4 116 | ||
130 | #define IMX6QDL_CLK_ENET 117 | ||
131 | #define IMX6QDL_CLK_ESAI 118 | ||
132 | #define IMX6QDL_CLK_GPT_IPG 119 | ||
133 | #define IMX6QDL_CLK_GPT_IPG_PER 120 | ||
134 | #define IMX6QDL_CLK_GPU2D_CORE 121 | ||
135 | #define IMX6QDL_CLK_GPU3D_CORE 122 | ||
136 | #define IMX6QDL_CLK_HDMI_IAHB 123 | ||
137 | #define IMX6QDL_CLK_HDMI_ISFR 124 | ||
138 | #define IMX6QDL_CLK_I2C1 125 | ||
139 | #define IMX6QDL_CLK_I2C2 126 | ||
140 | #define IMX6QDL_CLK_I2C3 127 | ||
141 | #define IMX6QDL_CLK_IIM 128 | ||
142 | #define IMX6QDL_CLK_ENFC 129 | ||
143 | #define IMX6QDL_CLK_IPU1 130 | ||
144 | #define IMX6QDL_CLK_IPU1_DI0 131 | ||
145 | #define IMX6QDL_CLK_IPU1_DI1 132 | ||
146 | #define IMX6QDL_CLK_IPU2 133 | ||
147 | #define IMX6QDL_CLK_IPU2_DI0 134 | ||
148 | #define IMX6QDL_CLK_LDB_DI0 135 | ||
149 | #define IMX6QDL_CLK_LDB_DI1 136 | ||
150 | #define IMX6QDL_CLK_IPU2_DI1 137 | ||
151 | #define IMX6QDL_CLK_HSI_TX 138 | ||
152 | #define IMX6QDL_CLK_MLB 139 | ||
153 | #define IMX6QDL_CLK_MMDC_CH0_AXI 140 | ||
154 | #define IMX6QDL_CLK_MMDC_CH1_AXI 141 | ||
155 | #define IMX6QDL_CLK_OCRAM 142 | ||
156 | #define IMX6QDL_CLK_OPENVG_AXI 143 | ||
157 | #define IMX6QDL_CLK_PCIE_AXI 144 | ||
158 | #define IMX6QDL_CLK_PWM1 145 | ||
159 | #define IMX6QDL_CLK_PWM2 146 | ||
160 | #define IMX6QDL_CLK_PWM3 147 | ||
161 | #define IMX6QDL_CLK_PWM4 148 | ||
162 | #define IMX6QDL_CLK_PER1_BCH 149 | ||
163 | #define IMX6QDL_CLK_GPMI_BCH_APB 150 | ||
164 | #define IMX6QDL_CLK_GPMI_BCH 151 | ||
165 | #define IMX6QDL_CLK_GPMI_IO 152 | ||
166 | #define IMX6QDL_CLK_GPMI_APB 153 | ||
167 | #define IMX6QDL_CLK_SATA 154 | ||
168 | #define IMX6QDL_CLK_SDMA 155 | ||
169 | #define IMX6QDL_CLK_SPBA 156 | ||
170 | #define IMX6QDL_CLK_SSI1 157 | ||
171 | #define IMX6QDL_CLK_SSI2 158 | ||
172 | #define IMX6QDL_CLK_SSI3 159 | ||
173 | #define IMX6QDL_CLK_UART_IPG 160 | ||
174 | #define IMX6QDL_CLK_UART_SERIAL 161 | ||
175 | #define IMX6QDL_CLK_USBOH3 162 | ||
176 | #define IMX6QDL_CLK_USDHC1 163 | ||
177 | #define IMX6QDL_CLK_USDHC2 164 | ||
178 | #define IMX6QDL_CLK_USDHC3 165 | ||
179 | #define IMX6QDL_CLK_USDHC4 166 | ||
180 | #define IMX6QDL_CLK_VDO_AXI 167 | ||
181 | #define IMX6QDL_CLK_VPU_AXI 168 | ||
182 | #define IMX6QDL_CLK_CKO1 169 | ||
183 | #define IMX6QDL_CLK_PLL1_SYS 170 | ||
184 | #define IMX6QDL_CLK_PLL2_BUS 171 | ||
185 | #define IMX6QDL_CLK_PLL3_USB_OTG 172 | ||
186 | #define IMX6QDL_CLK_PLL4_AUDIO 173 | ||
187 | #define IMX6QDL_CLK_PLL5_VIDEO 174 | ||
188 | #define IMX6QDL_CLK_PLL8_MLB 175 | ||
189 | #define IMX6QDL_CLK_PLL7_USB_HOST 176 | ||
190 | #define IMX6QDL_CLK_PLL6_ENET 177 | ||
191 | #define IMX6QDL_CLK_SSI1_IPG 178 | ||
192 | #define IMX6QDL_CLK_SSI2_IPG 179 | ||
193 | #define IMX6QDL_CLK_SSI3_IPG 180 | ||
194 | #define IMX6QDL_CLK_ROM 181 | ||
195 | #define IMX6QDL_CLK_USBPHY1 182 | ||
196 | #define IMX6QDL_CLK_USBPHY2 183 | ||
197 | #define IMX6QDL_CLK_LDB_DI0_DIV_3_5 184 | ||
198 | #define IMX6QDL_CLK_LDB_DI1_DIV_3_5 185 | ||
199 | #define IMX6QDL_CLK_SATA_REF 186 | ||
200 | #define IMX6QDL_CLK_SATA_REF_100M 187 | ||
201 | #define IMX6QDL_CLK_PCIE_REF 188 | ||
202 | #define IMX6QDL_CLK_PCIE_REF_125M 189 | ||
203 | #define IMX6QDL_CLK_ENET_REF 190 | ||
204 | #define IMX6QDL_CLK_USBPHY1_GATE 191 | ||
205 | #define IMX6QDL_CLK_USBPHY2_GATE 192 | ||
206 | #define IMX6QDL_CLK_PLL4_POST_DIV 193 | ||
207 | #define IMX6QDL_CLK_PLL5_POST_DIV 194 | ||
208 | #define IMX6QDL_CLK_PLL5_VIDEO_DIV 195 | ||
209 | #define IMX6QDL_CLK_EIM_SLOW 196 | ||
210 | #define IMX6QDL_CLK_SPDIF 197 | ||
211 | #define IMX6QDL_CLK_CKO2_SEL 198 | ||
212 | #define IMX6QDL_CLK_CKO2_PODF 199 | ||
213 | #define IMX6QDL_CLK_CKO2 200 | ||
214 | #define IMX6QDL_CLK_CKO 201 | ||
215 | #define IMX6QDL_CLK_VDOA 202 | ||
216 | #define IMX6QDL_CLK_PLL4_AUDIO_DIV 203 | ||
217 | #define IMX6QDL_CLK_LVDS1_SEL 204 | ||
218 | #define IMX6QDL_CLK_LVDS2_SEL 205 | ||
219 | #define IMX6QDL_CLK_LVDS1_GATE 206 | ||
220 | #define IMX6QDL_CLK_LVDS2_GATE 207 | ||
221 | #define IMX6QDL_CLK_ESAI_AHB 208 | ||
222 | #define IMX6QDL_CLK_END 209 | ||
223 | |||
224 | #endif /* __DT_BINDINGS_CLOCK_IMX6QDL_H */ | ||
diff --git a/include/dt-bindings/clock/qcom,gcc-apq8084.h b/include/dt-bindings/clock/qcom,gcc-apq8084.h new file mode 100644 index 000000000000..2c0da566c46a --- /dev/null +++ b/include/dt-bindings/clock/qcom,gcc-apq8084.h | |||
@@ -0,0 +1,351 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014, The Linux Foundation. All rights reserved. | ||
3 | * | ||
4 | * This software is licensed under the terms of the GNU General Public | ||
5 | * License version 2, as published by the Free Software Foundation, and | ||
6 | * may be copied, distributed, and modified under those terms. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | */ | ||
13 | |||
14 | #ifndef _DT_BINDINGS_CLK_APQ_GCC_8084_H | ||
15 | #define _DT_BINDINGS_CLK_APQ_GCC_8084_H | ||
16 | |||
17 | #define GPLL0 0 | ||
18 | #define GPLL0_VOTE 1 | ||
19 | #define GPLL1 2 | ||
20 | #define GPLL1_VOTE 3 | ||
21 | #define GPLL2 4 | ||
22 | #define GPLL2_VOTE 5 | ||
23 | #define GPLL3 6 | ||
24 | #define GPLL3_VOTE 7 | ||
25 | #define GPLL4 8 | ||
26 | #define GPLL4_VOTE 9 | ||
27 | #define CONFIG_NOC_CLK_SRC 10 | ||
28 | #define PERIPH_NOC_CLK_SRC 11 | ||
29 | #define SYSTEM_NOC_CLK_SRC 12 | ||
30 | #define BLSP_UART_SIM_CLK_SRC 13 | ||
31 | #define QDSS_TSCTR_CLK_SRC 14 | ||
32 | #define UFS_AXI_CLK_SRC 15 | ||
33 | #define RPM_CLK_SRC 16 | ||
34 | #define KPSS_AHB_CLK_SRC 17 | ||
35 | #define QDSS_AT_CLK_SRC 18 | ||
36 | #define BIMC_DDR_CLK_SRC 19 | ||
37 | #define USB30_MASTER_CLK_SRC 20 | ||
38 | #define USB30_SEC_MASTER_CLK_SRC 21 | ||
39 | #define USB_HSIC_AHB_CLK_SRC 22 | ||
40 | #define MMSS_BIMC_GFX_CLK_SRC 23 | ||
41 | #define QDSS_STM_CLK_SRC 24 | ||
42 | #define ACC_CLK_SRC 25 | ||
43 | #define SEC_CTRL_CLK_SRC 26 | ||
44 | #define BLSP1_QUP1_I2C_APPS_CLK_SRC 27 | ||
45 | #define BLSP1_QUP1_SPI_APPS_CLK_SRC 28 | ||
46 | #define BLSP1_QUP2_I2C_APPS_CLK_SRC 29 | ||
47 | #define BLSP1_QUP2_SPI_APPS_CLK_SRC 30 | ||
48 | #define BLSP1_QUP3_I2C_APPS_CLK_SRC 31 | ||
49 | #define BLSP1_QUP3_SPI_APPS_CLK_SRC 32 | ||
50 | #define BLSP1_QUP4_I2C_APPS_CLK_SRC 33 | ||
51 | #define BLSP1_QUP4_SPI_APPS_CLK_SRC 34 | ||
52 | #define BLSP1_QUP5_I2C_APPS_CLK_SRC 35 | ||
53 | #define BLSP1_QUP5_SPI_APPS_CLK_SRC 36 | ||
54 | #define BLSP1_QUP6_I2C_APPS_CLK_SRC 37 | ||
55 | #define BLSP1_QUP6_SPI_APPS_CLK_SRC 38 | ||
56 | #define BLSP1_UART1_APPS_CLK_SRC 39 | ||
57 | #define BLSP1_UART2_APPS_CLK_SRC 40 | ||
58 | #define BLSP1_UART3_APPS_CLK_SRC 41 | ||
59 | #define BLSP1_UART4_APPS_CLK_SRC 42 | ||
60 | #define BLSP1_UART5_APPS_CLK_SRC 43 | ||
61 | #define BLSP1_UART6_APPS_CLK_SRC 44 | ||
62 | #define BLSP2_QUP1_I2C_APPS_CLK_SRC 45 | ||
63 | #define BLSP2_QUP1_SPI_APPS_CLK_SRC 46 | ||
64 | #define BLSP2_QUP2_I2C_APPS_CLK_SRC 47 | ||
65 | #define BLSP2_QUP2_SPI_APPS_CLK_SRC 48 | ||
66 | #define BLSP2_QUP3_I2C_APPS_CLK_SRC 49 | ||
67 | #define BLSP2_QUP3_SPI_APPS_CLK_SRC 50 | ||
68 | #define BLSP2_QUP4_I2C_APPS_CLK_SRC 51 | ||
69 | #define BLSP2_QUP4_SPI_APPS_CLK_SRC 52 | ||
70 | #define BLSP2_QUP5_I2C_APPS_CLK_SRC 53 | ||
71 | #define BLSP2_QUP5_SPI_APPS_CLK_SRC 54 | ||
72 | #define BLSP2_QUP6_I2C_APPS_CLK_SRC 55 | ||
73 | #define BLSP2_QUP6_SPI_APPS_CLK_SRC 56 | ||
74 | #define BLSP2_UART1_APPS_CLK_SRC 57 | ||
75 | #define BLSP2_UART2_APPS_CLK_SRC 58 | ||
76 | #define BLSP2_UART3_APPS_CLK_SRC 59 | ||
77 | #define BLSP2_UART4_APPS_CLK_SRC 60 | ||
78 | #define BLSP2_UART5_APPS_CLK_SRC 61 | ||
79 | #define BLSP2_UART6_APPS_CLK_SRC 62 | ||
80 | #define CE1_CLK_SRC 63 | ||
81 | #define CE2_CLK_SRC 64 | ||
82 | #define CE3_CLK_SRC 65 | ||
83 | #define GP1_CLK_SRC 66 | ||
84 | #define GP2_CLK_SRC 67 | ||
85 | #define GP3_CLK_SRC 68 | ||
86 | #define PDM2_CLK_SRC 69 | ||
87 | #define QDSS_TRACECLKIN_CLK_SRC 70 | ||
88 | #define RBCPR_CLK_SRC 71 | ||
89 | #define SATA_ASIC0_CLK_SRC 72 | ||
90 | #define SATA_PMALIVE_CLK_SRC 73 | ||
91 | #define SATA_RX_CLK_SRC 74 | ||
92 | #define SATA_RX_OOB_CLK_SRC 75 | ||
93 | #define SDCC1_APPS_CLK_SRC 76 | ||
94 | #define SDCC2_APPS_CLK_SRC 77 | ||
95 | #define SDCC3_APPS_CLK_SRC 78 | ||
96 | #define SDCC4_APPS_CLK_SRC 79 | ||
97 | #define GCC_SNOC_BUS_TIMEOUT0_AHB_CLK 80 | ||
98 | #define SPMI_AHB_CLK_SRC 81 | ||
99 | #define SPMI_SER_CLK_SRC 82 | ||
100 | #define TSIF_REF_CLK_SRC 83 | ||
101 | #define USB30_MOCK_UTMI_CLK_SRC 84 | ||
102 | #define USB30_SEC_MOCK_UTMI_CLK_SRC 85 | ||
103 | #define USB_HS_SYSTEM_CLK_SRC 86 | ||
104 | #define USB_HSIC_CLK_SRC 87 | ||
105 | #define USB_HSIC_IO_CAL_CLK_SRC 88 | ||
106 | #define USB_HSIC_MOCK_UTMI_CLK_SRC 89 | ||
107 | #define USB_HSIC_SYSTEM_CLK_SRC 90 | ||
108 | #define GCC_BAM_DMA_AHB_CLK 91 | ||
109 | #define GCC_BAM_DMA_INACTIVITY_TIMERS_CLK 92 | ||
110 | #define DDR_CLK_SRC 93 | ||
111 | #define GCC_BIMC_CFG_AHB_CLK 94 | ||
112 | #define GCC_BIMC_CLK 95 | ||
113 | #define GCC_BIMC_KPSS_AXI_CLK 96 | ||
114 | #define GCC_BIMC_SLEEP_CLK 97 | ||
115 | #define GCC_BIMC_SYSNOC_AXI_CLK 98 | ||
116 | #define GCC_BIMC_XO_CLK 99 | ||
117 | #define GCC_BLSP1_AHB_CLK 100 | ||
118 | #define GCC_BLSP1_SLEEP_CLK 101 | ||
119 | #define GCC_BLSP1_QUP1_I2C_APPS_CLK 102 | ||
120 | #define GCC_BLSP1_QUP1_SPI_APPS_CLK 103 | ||
121 | #define GCC_BLSP1_QUP2_I2C_APPS_CLK 104 | ||
122 | #define GCC_BLSP1_QUP2_SPI_APPS_CLK 105 | ||
123 | #define GCC_BLSP1_QUP3_I2C_APPS_CLK 106 | ||
124 | #define GCC_BLSP1_QUP3_SPI_APPS_CLK 107 | ||
125 | #define GCC_BLSP1_QUP4_I2C_APPS_CLK 108 | ||
126 | #define GCC_BLSP1_QUP4_SPI_APPS_CLK 109 | ||
127 | #define GCC_BLSP1_QUP5_I2C_APPS_CLK 110 | ||
128 | #define GCC_BLSP1_QUP5_SPI_APPS_CLK 111 | ||
129 | #define GCC_BLSP1_QUP6_I2C_APPS_CLK 112 | ||
130 | #define GCC_BLSP1_QUP6_SPI_APPS_CLK 113 | ||
131 | #define GCC_BLSP1_UART1_APPS_CLK 114 | ||
132 | #define GCC_BLSP1_UART1_SIM_CLK 115 | ||
133 | #define GCC_BLSP1_UART2_APPS_CLK 116 | ||
134 | #define GCC_BLSP1_UART2_SIM_CLK 117 | ||
135 | #define GCC_BLSP1_UART3_APPS_CLK 118 | ||
136 | #define GCC_BLSP1_UART3_SIM_CLK 119 | ||
137 | #define GCC_BLSP1_UART4_APPS_CLK 120 | ||
138 | #define GCC_BLSP1_UART4_SIM_CLK 121 | ||
139 | #define GCC_BLSP1_UART5_APPS_CLK 122 | ||
140 | #define GCC_BLSP1_UART5_SIM_CLK 123 | ||
141 | #define GCC_BLSP1_UART6_APPS_CLK 124 | ||
142 | #define GCC_BLSP1_UART6_SIM_CLK 125 | ||
143 | #define GCC_BLSP2_AHB_CLK 126 | ||
144 | #define GCC_BLSP2_SLEEP_CLK 127 | ||
145 | #define GCC_BLSP2_QUP1_I2C_APPS_CLK 128 | ||
146 | #define GCC_BLSP2_QUP1_SPI_APPS_CLK 129 | ||
147 | #define GCC_BLSP2_QUP2_I2C_APPS_CLK 130 | ||
148 | #define GCC_BLSP2_QUP2_SPI_APPS_CLK 131 | ||
149 | #define GCC_BLSP2_QUP3_I2C_APPS_CLK 132 | ||
150 | #define GCC_BLSP2_QUP3_SPI_APPS_CLK 133 | ||
151 | #define GCC_BLSP2_QUP4_I2C_APPS_CLK 134 | ||
152 | #define GCC_BLSP2_QUP4_SPI_APPS_CLK 135 | ||
153 | #define GCC_BLSP2_QUP5_I2C_APPS_CLK 136 | ||
154 | #define GCC_BLSP2_QUP5_SPI_APPS_CLK 137 | ||
155 | #define GCC_BLSP2_QUP6_I2C_APPS_CLK 138 | ||
156 | #define GCC_BLSP2_QUP6_SPI_APPS_CLK 139 | ||
157 | #define GCC_BLSP2_UART1_APPS_CLK 140 | ||
158 | #define GCC_BLSP2_UART1_SIM_CLK 141 | ||
159 | #define GCC_BLSP2_UART2_APPS_CLK 142 | ||
160 | #define GCC_BLSP2_UART2_SIM_CLK 143 | ||
161 | #define GCC_BLSP2_UART3_APPS_CLK 144 | ||
162 | #define GCC_BLSP2_UART3_SIM_CLK 145 | ||
163 | #define GCC_BLSP2_UART4_APPS_CLK 146 | ||
164 | #define GCC_BLSP2_UART4_SIM_CLK 147 | ||
165 | #define GCC_BLSP2_UART5_APPS_CLK 148 | ||
166 | #define GCC_BLSP2_UART5_SIM_CLK 149 | ||
167 | #define GCC_BLSP2_UART6_APPS_CLK 150 | ||
168 | #define GCC_BLSP2_UART6_SIM_CLK 151 | ||
169 | #define GCC_BOOT_ROM_AHB_CLK 152 | ||
170 | #define GCC_CE1_AHB_CLK 153 | ||
171 | #define GCC_CE1_AXI_CLK 154 | ||
172 | #define GCC_CE1_CLK 155 | ||
173 | #define GCC_CE2_AHB_CLK 156 | ||
174 | #define GCC_CE2_AXI_CLK 157 | ||
175 | #define GCC_CE2_CLK 158 | ||
176 | #define GCC_CE3_AHB_CLK 159 | ||
177 | #define GCC_CE3_AXI_CLK 160 | ||
178 | #define GCC_CE3_CLK 161 | ||
179 | #define GCC_CNOC_BUS_TIMEOUT0_AHB_CLK 162 | ||
180 | #define GCC_CNOC_BUS_TIMEOUT1_AHB_CLK 163 | ||
181 | #define GCC_CNOC_BUS_TIMEOUT2_AHB_CLK 164 | ||
182 | #define GCC_CNOC_BUS_TIMEOUT3_AHB_CLK 165 | ||
183 | #define GCC_CNOC_BUS_TIMEOUT4_AHB_CLK 166 | ||
184 | #define GCC_CNOC_BUS_TIMEOUT5_AHB_CLK 167 | ||
185 | #define GCC_CNOC_BUS_TIMEOUT6_AHB_CLK 168 | ||
186 | #define GCC_CNOC_BUS_TIMEOUT7_AHB_CLK 169 | ||
187 | #define GCC_CFG_NOC_AHB_CLK 170 | ||
188 | #define GCC_CFG_NOC_DDR_CFG_CLK 171 | ||
189 | #define GCC_CFG_NOC_RPM_AHB_CLK 172 | ||
190 | #define GCC_COPSS_SMMU_AHB_CLK 173 | ||
191 | #define GCC_COPSS_SMMU_AXI_CLK 174 | ||
192 | #define GCC_DCD_XO_CLK 175 | ||
193 | #define GCC_BIMC_DDR_CH0_CLK 176 | ||
194 | #define GCC_BIMC_DDR_CH1_CLK 177 | ||
195 | #define GCC_BIMC_DDR_CPLL0_CLK 178 | ||
196 | #define GCC_BIMC_DDR_CPLL1_CLK 179 | ||
197 | #define GCC_BIMC_GFX_CLK 180 | ||
198 | #define GCC_DDR_DIM_CFG_CLK 181 | ||
199 | #define GCC_DDR_DIM_SLEEP_CLK 182 | ||
200 | #define GCC_DEHR_CLK 183 | ||
201 | #define GCC_AHB_CLK 184 | ||
202 | #define GCC_IM_SLEEP_CLK 185 | ||
203 | #define GCC_XO_CLK 186 | ||
204 | #define GCC_XO_DIV4_CLK 187 | ||
205 | #define GCC_GP1_CLK 188 | ||
206 | #define GCC_GP2_CLK 189 | ||
207 | #define GCC_GP3_CLK 190 | ||
208 | #define GCC_IMEM_AXI_CLK 191 | ||
209 | #define GCC_IMEM_CFG_AHB_CLK 192 | ||
210 | #define GCC_KPSS_AHB_CLK 193 | ||
211 | #define GCC_KPSS_AXI_CLK 194 | ||
212 | #define GCC_LPASS_MPORT_AXI_CLK 195 | ||
213 | #define GCC_LPASS_Q6_AXI_CLK 196 | ||
214 | #define GCC_LPASS_SWAY_CLK 197 | ||
215 | #define GCC_MMSS_BIMC_GFX_CLK 198 | ||
216 | #define GCC_MMSS_NOC_AT_CLK 199 | ||
217 | #define GCC_MMSS_NOC_CFG_AHB_CLK 200 | ||
218 | #define GCC_MMSS_VPU_MAPLE_SYS_NOC_AXI_CLK 201 | ||
219 | #define GCC_OCMEM_NOC_CFG_AHB_CLK 202 | ||
220 | #define GCC_OCMEM_SYS_NOC_AXI_CLK 203 | ||
221 | #define GCC_MPM_AHB_CLK 204 | ||
222 | #define GCC_MSG_RAM_AHB_CLK 205 | ||
223 | #define GCC_NOC_CONF_XPU_AHB_CLK 206 | ||
224 | #define GCC_PDM2_CLK 207 | ||
225 | #define GCC_PDM_AHB_CLK 208 | ||
226 | #define GCC_PDM_XO4_CLK 209 | ||
227 | #define GCC_PERIPH_NOC_AHB_CLK 210 | ||
228 | #define GCC_PERIPH_NOC_AT_CLK 211 | ||
229 | #define GCC_PERIPH_NOC_CFG_AHB_CLK 212 | ||
230 | #define GCC_PERIPH_NOC_USB_HSIC_AHB_CLK 213 | ||
231 | #define GCC_PERIPH_NOC_MPU_CFG_AHB_CLK 214 | ||
232 | #define GCC_PERIPH_XPU_AHB_CLK 215 | ||
233 | #define GCC_PNOC_BUS_TIMEOUT0_AHB_CLK 216 | ||
234 | #define GCC_PNOC_BUS_TIMEOUT1_AHB_CLK 217 | ||
235 | #define GCC_PNOC_BUS_TIMEOUT2_AHB_CLK 218 | ||
236 | #define GCC_PNOC_BUS_TIMEOUT3_AHB_CLK 219 | ||
237 | #define GCC_PNOC_BUS_TIMEOUT4_AHB_CLK 220 | ||
238 | #define GCC_PRNG_AHB_CLK 221 | ||
239 | #define GCC_QDSS_AT_CLK 222 | ||
240 | #define GCC_QDSS_CFG_AHB_CLK 223 | ||
241 | #define GCC_QDSS_DAP_AHB_CLK 224 | ||
242 | #define GCC_QDSS_DAP_CLK 225 | ||
243 | #define GCC_QDSS_ETR_USB_CLK 226 | ||
244 | #define GCC_QDSS_STM_CLK 227 | ||
245 | #define GCC_QDSS_TRACECLKIN_CLK 228 | ||
246 | #define GCC_QDSS_TSCTR_DIV16_CLK 229 | ||
247 | #define GCC_QDSS_TSCTR_DIV2_CLK 230 | ||
248 | #define GCC_QDSS_TSCTR_DIV3_CLK 231 | ||
249 | #define GCC_QDSS_TSCTR_DIV4_CLK 232 | ||
250 | #define GCC_QDSS_TSCTR_DIV8_CLK 233 | ||
251 | #define GCC_QDSS_RBCPR_XPU_AHB_CLK 234 | ||
252 | #define GCC_RBCPR_AHB_CLK 235 | ||
253 | #define GCC_RBCPR_CLK 236 | ||
254 | #define GCC_RPM_BUS_AHB_CLK 237 | ||
255 | #define GCC_RPM_PROC_HCLK 238 | ||
256 | #define GCC_RPM_SLEEP_CLK 239 | ||
257 | #define GCC_RPM_TIMER_CLK 240 | ||
258 | #define GCC_SATA_ASIC0_CLK 241 | ||
259 | #define GCC_SATA_AXI_CLK 242 | ||
260 | #define GCC_SATA_CFG_AHB_CLK 243 | ||
261 | #define GCC_SATA_PMALIVE_CLK 244 | ||
262 | #define GCC_SATA_RX_CLK 245 | ||
263 | #define GCC_SATA_RX_OOB_CLK 246 | ||
264 | #define GCC_SDCC1_AHB_CLK 247 | ||
265 | #define GCC_SDCC1_APPS_CLK 248 | ||
266 | #define GCC_SDCC1_CDCCAL_FF_CLK 249 | ||
267 | #define GCC_SDCC1_CDCCAL_SLEEP_CLK 250 | ||
268 | #define GCC_SDCC2_AHB_CLK 251 | ||
269 | #define GCC_SDCC2_APPS_CLK 252 | ||
270 | #define GCC_SDCC2_INACTIVITY_TIMERS_CLK 253 | ||
271 | #define GCC_SDCC3_AHB_CLK 254 | ||
272 | #define GCC_SDCC3_APPS_CLK 255 | ||
273 | #define GCC_SDCC3_INACTIVITY_TIMERS_CLK 256 | ||
274 | #define GCC_SDCC4_AHB_CLK 257 | ||
275 | #define GCC_SDCC4_APPS_CLK 258 | ||
276 | #define GCC_SDCC4_INACTIVITY_TIMERS_CLK 259 | ||
277 | #define GCC_SEC_CTRL_ACC_CLK 260 | ||
278 | #define GCC_SEC_CTRL_AHB_CLK 261 | ||
279 | #define GCC_SEC_CTRL_BOOT_ROM_PATCH_CLK 262 | ||
280 | #define GCC_SEC_CTRL_CLK 263 | ||
281 | #define GCC_SEC_CTRL_SENSE_CLK 264 | ||
282 | #define GCC_SNOC_BUS_TIMEOUT2_AHB_CLK 265 | ||
283 | #define GCC_SNOC_BUS_TIMEOUT3_AHB_CLK 266 | ||
284 | #define GCC_SPDM_BIMC_CY_CLK 267 | ||
285 | #define GCC_SPDM_CFG_AHB_CLK 268 | ||
286 | #define GCC_SPDM_DEBUG_CY_CLK 269 | ||
287 | #define GCC_SPDM_FF_CLK 270 | ||
288 | #define GCC_SPDM_MSTR_AHB_CLK 271 | ||
289 | #define GCC_SPDM_PNOC_CY_CLK 272 | ||
290 | #define GCC_SPDM_RPM_CY_CLK 273 | ||
291 | #define GCC_SPDM_SNOC_CY_CLK 274 | ||
292 | #define GCC_SPMI_AHB_CLK 275 | ||
293 | #define GCC_SPMI_CNOC_AHB_CLK 276 | ||
294 | #define GCC_SPMI_SER_CLK 277 | ||
295 | #define GCC_SPSS_AHB_CLK 278 | ||
296 | #define GCC_SNOC_CNOC_AHB_CLK 279 | ||
297 | #define GCC_SNOC_PNOC_AHB_CLK 280 | ||
298 | #define GCC_SYS_NOC_AT_CLK 281 | ||
299 | #define GCC_SYS_NOC_AXI_CLK 282 | ||
300 | #define GCC_SYS_NOC_KPSS_AHB_CLK 283 | ||
301 | #define GCC_SYS_NOC_QDSS_STM_AXI_CLK 284 | ||
302 | #define GCC_SYS_NOC_UFS_AXI_CLK 285 | ||
303 | #define GCC_SYS_NOC_USB3_AXI_CLK 286 | ||
304 | #define GCC_SYS_NOC_USB3_SEC_AXI_CLK 287 | ||
305 | #define GCC_TCSR_AHB_CLK 288 | ||
306 | #define GCC_TLMM_AHB_CLK 289 | ||
307 | #define GCC_TLMM_CLK 290 | ||
308 | #define GCC_TSIF_AHB_CLK 291 | ||
309 | #define GCC_TSIF_INACTIVITY_TIMERS_CLK 292 | ||
310 | #define GCC_TSIF_REF_CLK 293 | ||
311 | #define GCC_UFS_AHB_CLK 294 | ||
312 | #define GCC_UFS_AXI_CLK 295 | ||
313 | #define GCC_UFS_RX_CFG_CLK 296 | ||
314 | #define GCC_UFS_RX_SYMBOL_0_CLK 297 | ||
315 | #define GCC_UFS_RX_SYMBOL_1_CLK 298 | ||
316 | #define GCC_UFS_TX_CFG_CLK 299 | ||
317 | #define GCC_UFS_TX_SYMBOL_0_CLK 300 | ||
318 | #define GCC_UFS_TX_SYMBOL_1_CLK 301 | ||
319 | #define GCC_USB2A_PHY_SLEEP_CLK 302 | ||
320 | #define GCC_USB2B_PHY_SLEEP_CLK 303 | ||
321 | #define GCC_USB30_MASTER_CLK 304 | ||
322 | #define GCC_USB30_MOCK_UTMI_CLK 305 | ||
323 | #define GCC_USB30_SLEEP_CLK 306 | ||
324 | #define GCC_USB30_SEC_MASTER_CLK 307 | ||
325 | #define GCC_USB30_SEC_MOCK_UTMI_CLK 308 | ||
326 | #define GCC_USB30_SEC_SLEEP_CLK 309 | ||
327 | #define GCC_USB_HS_AHB_CLK 310 | ||
328 | #define GCC_USB_HS_INACTIVITY_TIMERS_CLK 311 | ||
329 | #define GCC_USB_HS_SYSTEM_CLK 312 | ||
330 | #define GCC_USB_HSIC_AHB_CLK 313 | ||
331 | #define GCC_USB_HSIC_CLK 314 | ||
332 | #define GCC_USB_HSIC_IO_CAL_CLK 315 | ||
333 | #define GCC_USB_HSIC_IO_CAL_SLEEP_CLK 316 | ||
334 | #define GCC_USB_HSIC_MOCK_UTMI_CLK 317 | ||
335 | #define GCC_USB_HSIC_SYSTEM_CLK 318 | ||
336 | #define PCIE_0_AUX_CLK_SRC 319 | ||
337 | #define PCIE_0_PIPE_CLK_SRC 320 | ||
338 | #define PCIE_1_AUX_CLK_SRC 321 | ||
339 | #define PCIE_1_PIPE_CLK_SRC 322 | ||
340 | #define GCC_PCIE_0_AUX_CLK 323 | ||
341 | #define GCC_PCIE_0_CFG_AHB_CLK 324 | ||
342 | #define GCC_PCIE_0_MSTR_AXI_CLK 325 | ||
343 | #define GCC_PCIE_0_PIPE_CLK 326 | ||
344 | #define GCC_PCIE_0_SLV_AXI_CLK 327 | ||
345 | #define GCC_PCIE_1_AUX_CLK 328 | ||
346 | #define GCC_PCIE_1_CFG_AHB_CLK 329 | ||
347 | #define GCC_PCIE_1_MSTR_AXI_CLK 330 | ||
348 | #define GCC_PCIE_1_PIPE_CLK 331 | ||
349 | #define GCC_PCIE_1_SLV_AXI_CLK 332 | ||
350 | |||
351 | #endif | ||
diff --git a/include/dt-bindings/clock/qcom,gcc-ipq806x.h b/include/dt-bindings/clock/qcom,gcc-ipq806x.h new file mode 100644 index 000000000000..b857cadb0bd4 --- /dev/null +++ b/include/dt-bindings/clock/qcom,gcc-ipq806x.h | |||
@@ -0,0 +1,293 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014, The Linux Foundation. All rights reserved. | ||
3 | * | ||
4 | * This software is licensed under the terms of the GNU General Public | ||
5 | * License version 2, as published by the Free Software Foundation, and | ||
6 | * may be copied, distributed, and modified under those terms. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | */ | ||
13 | |||
14 | #ifndef _DT_BINDINGS_CLK_GCC_IPQ806X_H | ||
15 | #define _DT_BINDINGS_CLK_GCC_IPQ806X_H | ||
16 | |||
17 | #define AFAB_CLK_SRC 0 | ||
18 | #define QDSS_STM_CLK 1 | ||
19 | #define SCSS_A_CLK 2 | ||
20 | #define SCSS_H_CLK 3 | ||
21 | #define AFAB_CORE_CLK 4 | ||
22 | #define SCSS_XO_SRC_CLK 5 | ||
23 | #define AFAB_EBI1_CH0_A_CLK 6 | ||
24 | #define AFAB_EBI1_CH1_A_CLK 7 | ||
25 | #define AFAB_AXI_S0_FCLK 8 | ||
26 | #define AFAB_AXI_S1_FCLK 9 | ||
27 | #define AFAB_AXI_S2_FCLK 10 | ||
28 | #define AFAB_AXI_S3_FCLK 11 | ||
29 | #define AFAB_AXI_S4_FCLK 12 | ||
30 | #define SFAB_CORE_CLK 13 | ||
31 | #define SFAB_AXI_S0_FCLK 14 | ||
32 | #define SFAB_AXI_S1_FCLK 15 | ||
33 | #define SFAB_AXI_S2_FCLK 16 | ||
34 | #define SFAB_AXI_S3_FCLK 17 | ||
35 | #define SFAB_AXI_S4_FCLK 18 | ||
36 | #define SFAB_AXI_S5_FCLK 19 | ||
37 | #define SFAB_AHB_S0_FCLK 20 | ||
38 | #define SFAB_AHB_S1_FCLK 21 | ||
39 | #define SFAB_AHB_S2_FCLK 22 | ||
40 | #define SFAB_AHB_S3_FCLK 23 | ||
41 | #define SFAB_AHB_S4_FCLK 24 | ||
42 | #define SFAB_AHB_S5_FCLK 25 | ||
43 | #define SFAB_AHB_S6_FCLK 26 | ||
44 | #define SFAB_AHB_S7_FCLK 27 | ||
45 | #define QDSS_AT_CLK_SRC 28 | ||
46 | #define QDSS_AT_CLK 29 | ||
47 | #define QDSS_TRACECLKIN_CLK_SRC 30 | ||
48 | #define QDSS_TRACECLKIN_CLK 31 | ||
49 | #define QDSS_TSCTR_CLK_SRC 32 | ||
50 | #define QDSS_TSCTR_CLK 33 | ||
51 | #define SFAB_ADM0_M0_A_CLK 34 | ||
52 | #define SFAB_ADM0_M1_A_CLK 35 | ||
53 | #define SFAB_ADM0_M2_H_CLK 36 | ||
54 | #define ADM0_CLK 37 | ||
55 | #define ADM0_PBUS_CLK 38 | ||
56 | #define IMEM0_A_CLK 39 | ||
57 | #define QDSS_H_CLK 40 | ||
58 | #define PCIE_A_CLK 41 | ||
59 | #define PCIE_AUX_CLK 42 | ||
60 | #define PCIE_H_CLK 43 | ||
61 | #define PCIE_PHY_CLK 44 | ||
62 | #define SFAB_CLK_SRC 45 | ||
63 | #define SFAB_LPASS_Q6_A_CLK 46 | ||
64 | #define SFAB_AFAB_M_A_CLK 47 | ||
65 | #define AFAB_SFAB_M0_A_CLK 48 | ||
66 | #define AFAB_SFAB_M1_A_CLK 49 | ||
67 | #define SFAB_SATA_S_H_CLK 50 | ||
68 | #define DFAB_CLK_SRC 51 | ||
69 | #define DFAB_CLK 52 | ||
70 | #define SFAB_DFAB_M_A_CLK 53 | ||
71 | #define DFAB_SFAB_M_A_CLK 54 | ||
72 | #define DFAB_SWAY0_H_CLK 55 | ||
73 | #define DFAB_SWAY1_H_CLK 56 | ||
74 | #define DFAB_ARB0_H_CLK 57 | ||
75 | #define DFAB_ARB1_H_CLK 58 | ||
76 | #define PPSS_H_CLK 59 | ||
77 | #define PPSS_PROC_CLK 60 | ||
78 | #define PPSS_TIMER0_CLK 61 | ||
79 | #define PPSS_TIMER1_CLK 62 | ||
80 | #define PMEM_A_CLK 63 | ||
81 | #define DMA_BAM_H_CLK 64 | ||
82 | #define SIC_H_CLK 65 | ||
83 | #define SPS_TIC_H_CLK 66 | ||
84 | #define CFPB_2X_CLK_SRC 67 | ||
85 | #define CFPB_CLK 68 | ||
86 | #define CFPB0_H_CLK 69 | ||
87 | #define CFPB1_H_CLK 70 | ||
88 | #define CFPB2_H_CLK 71 | ||
89 | #define SFAB_CFPB_M_H_CLK 72 | ||
90 | #define CFPB_MASTER_H_CLK 73 | ||
91 | #define SFAB_CFPB_S_H_CLK 74 | ||
92 | #define CFPB_SPLITTER_H_CLK 75 | ||
93 | #define TSIF_H_CLK 76 | ||
94 | #define TSIF_INACTIVITY_TIMERS_CLK 77 | ||
95 | #define TSIF_REF_SRC 78 | ||
96 | #define TSIF_REF_CLK 79 | ||
97 | #define CE1_H_CLK 80 | ||
98 | #define CE1_CORE_CLK 81 | ||
99 | #define CE1_SLEEP_CLK 82 | ||
100 | #define CE2_H_CLK 83 | ||
101 | #define CE2_CORE_CLK 84 | ||
102 | #define SFPB_H_CLK_SRC 85 | ||
103 | #define SFPB_H_CLK 86 | ||
104 | #define SFAB_SFPB_M_H_CLK 87 | ||
105 | #define SFAB_SFPB_S_H_CLK 88 | ||
106 | #define RPM_PROC_CLK 89 | ||
107 | #define RPM_BUS_H_CLK 90 | ||
108 | #define RPM_SLEEP_CLK 91 | ||
109 | #define RPM_TIMER_CLK 92 | ||
110 | #define RPM_MSG_RAM_H_CLK 93 | ||
111 | #define PMIC_ARB0_H_CLK 94 | ||
112 | #define PMIC_ARB1_H_CLK 95 | ||
113 | #define PMIC_SSBI2_SRC 96 | ||
114 | #define PMIC_SSBI2_CLK 97 | ||
115 | #define SDC1_H_CLK 98 | ||
116 | #define SDC2_H_CLK 99 | ||
117 | #define SDC3_H_CLK 100 | ||
118 | #define SDC4_H_CLK 101 | ||
119 | #define SDC1_SRC 102 | ||
120 | #define SDC1_CLK 103 | ||
121 | #define SDC2_SRC 104 | ||
122 | #define SDC2_CLK 105 | ||
123 | #define SDC3_SRC 106 | ||
124 | #define SDC3_CLK 107 | ||
125 | #define SDC4_SRC 108 | ||
126 | #define SDC4_CLK 109 | ||
127 | #define USB_HS1_H_CLK 110 | ||
128 | #define USB_HS1_XCVR_SRC 111 | ||
129 | #define USB_HS1_XCVR_CLK 112 | ||
130 | #define USB_HSIC_H_CLK 113 | ||
131 | #define USB_HSIC_XCVR_SRC 114 | ||
132 | #define USB_HSIC_XCVR_CLK 115 | ||
133 | #define USB_HSIC_SYSTEM_CLK_SRC 116 | ||
134 | #define USB_HSIC_SYSTEM_CLK 117 | ||
135 | #define CFPB0_C0_H_CLK 118 | ||
136 | #define CFPB0_D0_H_CLK 119 | ||
137 | #define CFPB0_C1_H_CLK 120 | ||
138 | #define CFPB0_D1_H_CLK 121 | ||
139 | #define USB_FS1_H_CLK 122 | ||
140 | #define USB_FS1_XCVR_SRC 123 | ||
141 | #define USB_FS1_XCVR_CLK 124 | ||
142 | #define USB_FS1_SYSTEM_CLK 125 | ||
143 | #define GSBI_COMMON_SIM_SRC 126 | ||
144 | #define GSBI1_H_CLK 127 | ||
145 | #define GSBI2_H_CLK 128 | ||
146 | #define GSBI3_H_CLK 129 | ||
147 | #define GSBI4_H_CLK 130 | ||
148 | #define GSBI5_H_CLK 131 | ||
149 | #define GSBI6_H_CLK 132 | ||
150 | #define GSBI7_H_CLK 133 | ||
151 | #define GSBI1_QUP_SRC 134 | ||
152 | #define GSBI1_QUP_CLK 135 | ||
153 | #define GSBI2_QUP_SRC 136 | ||
154 | #define GSBI2_QUP_CLK 137 | ||
155 | #define GSBI3_QUP_SRC 138 | ||
156 | #define GSBI3_QUP_CLK 139 | ||
157 | #define GSBI4_QUP_SRC 140 | ||
158 | #define GSBI4_QUP_CLK 141 | ||
159 | #define GSBI5_QUP_SRC 142 | ||
160 | #define GSBI5_QUP_CLK 143 | ||
161 | #define GSBI6_QUP_SRC 144 | ||
162 | #define GSBI6_QUP_CLK 145 | ||
163 | #define GSBI7_QUP_SRC 146 | ||
164 | #define GSBI7_QUP_CLK 147 | ||
165 | #define GSBI1_UART_SRC 148 | ||
166 | #define GSBI1_UART_CLK 149 | ||
167 | #define GSBI2_UART_SRC 150 | ||
168 | #define GSBI2_UART_CLK 151 | ||
169 | #define GSBI3_UART_SRC 152 | ||
170 | #define GSBI3_UART_CLK 153 | ||
171 | #define GSBI4_UART_SRC 154 | ||
172 | #define GSBI4_UART_CLK 155 | ||
173 | #define GSBI5_UART_SRC 156 | ||
174 | #define GSBI5_UART_CLK 157 | ||
175 | #define GSBI6_UART_SRC 158 | ||
176 | #define GSBI6_UART_CLK 159 | ||
177 | #define GSBI7_UART_SRC 160 | ||
178 | #define GSBI7_UART_CLK 161 | ||
179 | #define GSBI1_SIM_CLK 162 | ||
180 | #define GSBI2_SIM_CLK 163 | ||
181 | #define GSBI3_SIM_CLK 164 | ||
182 | #define GSBI4_SIM_CLK 165 | ||
183 | #define GSBI5_SIM_CLK 166 | ||
184 | #define GSBI6_SIM_CLK 167 | ||
185 | #define GSBI7_SIM_CLK 168 | ||
186 | #define USB_HSIC_HSIC_CLK_SRC 169 | ||
187 | #define USB_HSIC_HSIC_CLK 170 | ||
188 | #define USB_HSIC_HSIO_CAL_CLK 171 | ||
189 | #define SPDM_CFG_H_CLK 172 | ||
190 | #define SPDM_MSTR_H_CLK 173 | ||
191 | #define SPDM_FF_CLK_SRC 174 | ||
192 | #define SPDM_FF_CLK 175 | ||
193 | #define SEC_CTRL_CLK 176 | ||
194 | #define SEC_CTRL_ACC_CLK_SRC 177 | ||
195 | #define SEC_CTRL_ACC_CLK 178 | ||
196 | #define TLMM_H_CLK 179 | ||
197 | #define TLMM_CLK 180 | ||
198 | #define SATA_H_CLK 181 | ||
199 | #define SATA_CLK_SRC 182 | ||
200 | #define SATA_RXOOB_CLK 183 | ||
201 | #define SATA_PMALIVE_CLK 184 | ||
202 | #define SATA_PHY_REF_CLK 185 | ||
203 | #define SATA_A_CLK 186 | ||
204 | #define SATA_PHY_CFG_CLK 187 | ||
205 | #define TSSC_CLK_SRC 188 | ||
206 | #define TSSC_CLK 189 | ||
207 | #define PDM_SRC 190 | ||
208 | #define PDM_CLK 191 | ||
209 | #define GP0_SRC 192 | ||
210 | #define GP0_CLK 193 | ||
211 | #define GP1_SRC 194 | ||
212 | #define GP1_CLK 195 | ||
213 | #define GP2_SRC 196 | ||
214 | #define GP2_CLK 197 | ||
215 | #define MPM_CLK 198 | ||
216 | #define EBI1_CLK_SRC 199 | ||
217 | #define EBI1_CH0_CLK 200 | ||
218 | #define EBI1_CH1_CLK 201 | ||
219 | #define EBI1_2X_CLK 202 | ||
220 | #define EBI1_CH0_DQ_CLK 203 | ||
221 | #define EBI1_CH1_DQ_CLK 204 | ||
222 | #define EBI1_CH0_CA_CLK 205 | ||
223 | #define EBI1_CH1_CA_CLK 206 | ||
224 | #define EBI1_XO_CLK 207 | ||
225 | #define SFAB_SMPSS_S_H_CLK 208 | ||
226 | #define PRNG_SRC 209 | ||
227 | #define PRNG_CLK 210 | ||
228 | #define PXO_SRC 211 | ||
229 | #define SPDM_CY_PORT0_CLK 212 | ||
230 | #define SPDM_CY_PORT1_CLK 213 | ||
231 | #define SPDM_CY_PORT2_CLK 214 | ||
232 | #define SPDM_CY_PORT3_CLK 215 | ||
233 | #define SPDM_CY_PORT4_CLK 216 | ||
234 | #define SPDM_CY_PORT5_CLK 217 | ||
235 | #define SPDM_CY_PORT6_CLK 218 | ||
236 | #define SPDM_CY_PORT7_CLK 219 | ||
237 | #define PLL0 220 | ||
238 | #define PLL0_VOTE 221 | ||
239 | #define PLL3 222 | ||
240 | #define PLL3_VOTE 223 | ||
241 | #define PLL4 224 | ||
242 | #define PLL4_VOTE 225 | ||
243 | #define PLL8 226 | ||
244 | #define PLL8_VOTE 227 | ||
245 | #define PLL9 228 | ||
246 | #define PLL10 229 | ||
247 | #define PLL11 230 | ||
248 | #define PLL12 231 | ||
249 | #define PLL14 232 | ||
250 | #define PLL14_VOTE 233 | ||
251 | #define PLL18 234 | ||
252 | #define CE5_SRC 235 | ||
253 | #define CE5_H_CLK 236 | ||
254 | #define CE5_CORE_CLK 237 | ||
255 | #define CE3_SLEEP_CLK 238 | ||
256 | #define SFAB_AHB_S8_FCLK 239 | ||
257 | #define SPDM_CY_PORT8_CLK 246 | ||
258 | #define PCIE_ALT_REF_SRC 247 | ||
259 | #define PCIE_ALT_REF_CLK 248 | ||
260 | #define PCIE_1_A_CLK 249 | ||
261 | #define PCIE_1_AUX_CLK 250 | ||
262 | #define PCIE_1_H_CLK 251 | ||
263 | #define PCIE_1_PHY_CLK 252 | ||
264 | #define PCIE_1_ALT_REF_SRC 253 | ||
265 | #define PCIE_1_ALT_REF_CLK 254 | ||
266 | #define PCIE_2_A_CLK 255 | ||
267 | #define PCIE_2_AUX_CLK 256 | ||
268 | #define PCIE_2_H_CLK 257 | ||
269 | #define PCIE_2_PHY_CLK 258 | ||
270 | #define PCIE_2_ALT_REF_SRC 259 | ||
271 | #define PCIE_2_ALT_REF_CLK 260 | ||
272 | #define EBI2_CLK 261 | ||
273 | #define USB30_SLEEP_CLK 262 | ||
274 | #define USB30_UTMI_SRC 263 | ||
275 | #define USB30_0_UTMI_CLK 264 | ||
276 | #define USB30_1_UTMI_CLK 265 | ||
277 | #define USB30_MASTER_SRC 266 | ||
278 | #define USB30_0_MASTER_CLK 267 | ||
279 | #define USB30_1_MASTER_CLK 268 | ||
280 | #define GMAC_CORE1_CLK_SRC 269 | ||
281 | #define GMAC_CORE2_CLK_SRC 270 | ||
282 | #define GMAC_CORE3_CLK_SRC 271 | ||
283 | #define GMAC_CORE4_CLK_SRC 272 | ||
284 | #define GMAC_CORE1_CLK 273 | ||
285 | #define GMAC_CORE2_CLK 274 | ||
286 | #define GMAC_CORE3_CLK 275 | ||
287 | #define GMAC_CORE4_CLK 276 | ||
288 | #define UBI32_CORE1_CLK_SRC 277 | ||
289 | #define UBI32_CORE2_CLK_SRC 278 | ||
290 | #define UBI32_CORE1_CLK 279 | ||
291 | #define UBI32_CORE2_CLK 280 | ||
292 | |||
293 | #endif | ||
diff --git a/include/dt-bindings/clock/qcom,gcc-msm8960.h b/include/dt-bindings/clock/qcom,gcc-msm8960.h index f9f547146a15..7d20eedfee98 100644 --- a/include/dt-bindings/clock/qcom,gcc-msm8960.h +++ b/include/dt-bindings/clock/qcom,gcc-msm8960.h | |||
@@ -308,5 +308,16 @@ | |||
308 | #define PLL13 292 | 308 | #define PLL13 292 |
309 | #define PLL14 293 | 309 | #define PLL14 293 |
310 | #define PLL14_VOTE 294 | 310 | #define PLL14_VOTE 294 |
311 | #define USB_HS3_H_CLK 295 | ||
312 | #define USB_HS3_XCVR_SRC 296 | ||
313 | #define USB_HS3_XCVR_CLK 297 | ||
314 | #define USB_HS4_H_CLK 298 | ||
315 | #define USB_HS4_XCVR_SRC 299 | ||
316 | #define USB_HS4_XCVR_CLK 300 | ||
317 | #define SATA_PHY_CFG_CLK 301 | ||
318 | #define SATA_A_CLK 302 | ||
319 | #define CE3_SRC 303 | ||
320 | #define CE3_CORE_CLK 304 | ||
321 | #define CE3_H_CLK 305 | ||
311 | 322 | ||
312 | #endif | 323 | #endif |
diff --git a/include/dt-bindings/clock/qcom,mmcc-apq8084.h b/include/dt-bindings/clock/qcom,mmcc-apq8084.h new file mode 100644 index 000000000000..a929f86d0ddd --- /dev/null +++ b/include/dt-bindings/clock/qcom,mmcc-apq8084.h | |||
@@ -0,0 +1,183 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014, The Linux Foundation. All rights reserved. | ||
3 | * | ||
4 | * This software is licensed under the terms of the GNU General Public | ||
5 | * License version 2, as published by the Free Software Foundation, and | ||
6 | * may be copied, distributed, and modified under those terms. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | */ | ||
13 | |||
14 | #ifndef _DT_BINDINGS_CLK_APQ_MMCC_8084_H | ||
15 | #define _DT_BINDINGS_CLK_APQ_MMCC_8084_H | ||
16 | |||
17 | #define MMSS_AHB_CLK_SRC 0 | ||
18 | #define MMSS_AXI_CLK_SRC 1 | ||
19 | #define MMPLL0 2 | ||
20 | #define MMPLL0_VOTE 3 | ||
21 | #define MMPLL1 4 | ||
22 | #define MMPLL1_VOTE 5 | ||
23 | #define MMPLL2 6 | ||
24 | #define MMPLL3 7 | ||
25 | #define MMPLL4 8 | ||
26 | #define CSI0_CLK_SRC 9 | ||
27 | #define CSI1_CLK_SRC 10 | ||
28 | #define CSI2_CLK_SRC 11 | ||
29 | #define CSI3_CLK_SRC 12 | ||
30 | #define VCODEC0_CLK_SRC 13 | ||
31 | #define VFE0_CLK_SRC 14 | ||
32 | #define VFE1_CLK_SRC 15 | ||
33 | #define MDP_CLK_SRC 16 | ||
34 | #define PCLK0_CLK_SRC 17 | ||
35 | #define PCLK1_CLK_SRC 18 | ||
36 | #define OCMEMNOC_CLK_SRC 19 | ||
37 | #define GFX3D_CLK_SRC 20 | ||
38 | #define JPEG0_CLK_SRC 21 | ||
39 | #define JPEG1_CLK_SRC 22 | ||
40 | #define JPEG2_CLK_SRC 23 | ||
41 | #define EDPPIXEL_CLK_SRC 24 | ||
42 | #define EXTPCLK_CLK_SRC 25 | ||
43 | #define VP_CLK_SRC 26 | ||
44 | #define CCI_CLK_SRC 27 | ||
45 | #define CAMSS_GP0_CLK_SRC 28 | ||
46 | #define CAMSS_GP1_CLK_SRC 29 | ||
47 | #define MCLK0_CLK_SRC 30 | ||
48 | #define MCLK1_CLK_SRC 31 | ||
49 | #define MCLK2_CLK_SRC 32 | ||
50 | #define MCLK3_CLK_SRC 33 | ||
51 | #define CSI0PHYTIMER_CLK_SRC 34 | ||
52 | #define CSI1PHYTIMER_CLK_SRC 35 | ||
53 | #define CSI2PHYTIMER_CLK_SRC 36 | ||
54 | #define CPP_CLK_SRC 37 | ||
55 | #define BYTE0_CLK_SRC 38 | ||
56 | #define BYTE1_CLK_SRC 39 | ||
57 | #define EDPAUX_CLK_SRC 40 | ||
58 | #define EDPLINK_CLK_SRC 41 | ||
59 | #define ESC0_CLK_SRC 42 | ||
60 | #define ESC1_CLK_SRC 43 | ||
61 | #define HDMI_CLK_SRC 44 | ||
62 | #define VSYNC_CLK_SRC 45 | ||
63 | #define RBCPR_CLK_SRC 46 | ||
64 | #define RBBMTIMER_CLK_SRC 47 | ||
65 | #define MAPLE_CLK_SRC 48 | ||
66 | #define VDP_CLK_SRC 49 | ||
67 | #define VPU_BUS_CLK_SRC 50 | ||
68 | #define MMSS_CXO_CLK 51 | ||
69 | #define MMSS_SLEEPCLK_CLK 52 | ||
70 | #define AVSYNC_AHB_CLK 53 | ||
71 | #define AVSYNC_EDPPIXEL_CLK 54 | ||
72 | #define AVSYNC_EXTPCLK_CLK 55 | ||
73 | #define AVSYNC_PCLK0_CLK 56 | ||
74 | #define AVSYNC_PCLK1_CLK 57 | ||
75 | #define AVSYNC_VP_CLK 58 | ||
76 | #define CAMSS_AHB_CLK 59 | ||
77 | #define CAMSS_CCI_CCI_AHB_CLK 60 | ||
78 | #define CAMSS_CCI_CCI_CLK 61 | ||
79 | #define CAMSS_CSI0_AHB_CLK 62 | ||
80 | #define CAMSS_CSI0_CLK 63 | ||
81 | #define CAMSS_CSI0PHY_CLK 64 | ||
82 | #define CAMSS_CSI0PIX_CLK 65 | ||
83 | #define CAMSS_CSI0RDI_CLK 66 | ||
84 | #define CAMSS_CSI1_AHB_CLK 67 | ||
85 | #define CAMSS_CSI1_CLK 68 | ||
86 | #define CAMSS_CSI1PHY_CLK 69 | ||
87 | #define CAMSS_CSI1PIX_CLK 70 | ||
88 | #define CAMSS_CSI1RDI_CLK 71 | ||
89 | #define CAMSS_CSI2_AHB_CLK 72 | ||
90 | #define CAMSS_CSI2_CLK 73 | ||
91 | #define CAMSS_CSI2PHY_CLK 74 | ||
92 | #define CAMSS_CSI2PIX_CLK 75 | ||
93 | #define CAMSS_CSI2RDI_CLK 76 | ||
94 | #define CAMSS_CSI3_AHB_CLK 77 | ||
95 | #define CAMSS_CSI3_CLK 78 | ||
96 | #define CAMSS_CSI3PHY_CLK 79 | ||
97 | #define CAMSS_CSI3PIX_CLK 80 | ||
98 | #define CAMSS_CSI3RDI_CLK 81 | ||
99 | #define CAMSS_CSI_VFE0_CLK 82 | ||
100 | #define CAMSS_CSI_VFE1_CLK 83 | ||
101 | #define CAMSS_GP0_CLK 84 | ||
102 | #define CAMSS_GP1_CLK 85 | ||
103 | #define CAMSS_ISPIF_AHB_CLK 86 | ||
104 | #define CAMSS_JPEG_JPEG0_CLK 87 | ||
105 | #define CAMSS_JPEG_JPEG1_CLK 88 | ||
106 | #define CAMSS_JPEG_JPEG2_CLK 89 | ||
107 | #define CAMSS_JPEG_JPEG_AHB_CLK 90 | ||
108 | #define CAMSS_JPEG_JPEG_AXI_CLK 91 | ||
109 | #define CAMSS_MCLK0_CLK 92 | ||
110 | #define CAMSS_MCLK1_CLK 93 | ||
111 | #define CAMSS_MCLK2_CLK 94 | ||
112 | #define CAMSS_MCLK3_CLK 95 | ||
113 | #define CAMSS_MICRO_AHB_CLK 96 | ||
114 | #define CAMSS_PHY0_CSI0PHYTIMER_CLK 97 | ||
115 | #define CAMSS_PHY1_CSI1PHYTIMER_CLK 98 | ||
116 | #define CAMSS_PHY2_CSI2PHYTIMER_CLK 99 | ||
117 | #define CAMSS_TOP_AHB_CLK 100 | ||
118 | #define CAMSS_VFE_CPP_AHB_CLK 101 | ||
119 | #define CAMSS_VFE_CPP_CLK 102 | ||
120 | #define CAMSS_VFE_VFE0_CLK 103 | ||
121 | #define CAMSS_VFE_VFE1_CLK 104 | ||
122 | #define CAMSS_VFE_VFE_AHB_CLK 105 | ||
123 | #define CAMSS_VFE_VFE_AXI_CLK 106 | ||
124 | #define MDSS_AHB_CLK 107 | ||
125 | #define MDSS_AXI_CLK 108 | ||
126 | #define MDSS_BYTE0_CLK 109 | ||
127 | #define MDSS_BYTE1_CLK 110 | ||
128 | #define MDSS_EDPAUX_CLK 111 | ||
129 | #define MDSS_EDPLINK_CLK 112 | ||
130 | #define MDSS_EDPPIXEL_CLK 113 | ||
131 | #define MDSS_ESC0_CLK 114 | ||
132 | #define MDSS_ESC1_CLK 115 | ||
133 | #define MDSS_EXTPCLK_CLK 116 | ||
134 | #define MDSS_HDMI_AHB_CLK 117 | ||
135 | #define MDSS_HDMI_CLK 118 | ||
136 | #define MDSS_MDP_CLK 119 | ||
137 | #define MDSS_MDP_LUT_CLK 120 | ||
138 | #define MDSS_PCLK0_CLK 121 | ||
139 | #define MDSS_PCLK1_CLK 122 | ||
140 | #define MDSS_VSYNC_CLK 123 | ||
141 | #define MMSS_RBCPR_AHB_CLK 124 | ||
142 | #define MMSS_RBCPR_CLK 125 | ||
143 | #define MMSS_SPDM_AHB_CLK 126 | ||
144 | #define MMSS_SPDM_AXI_CLK 127 | ||
145 | #define MMSS_SPDM_CSI0_CLK 128 | ||
146 | #define MMSS_SPDM_GFX3D_CLK 129 | ||
147 | #define MMSS_SPDM_JPEG0_CLK 130 | ||
148 | #define MMSS_SPDM_JPEG1_CLK 131 | ||
149 | #define MMSS_SPDM_JPEG2_CLK 132 | ||
150 | #define MMSS_SPDM_MDP_CLK 133 | ||
151 | #define MMSS_SPDM_PCLK0_CLK 134 | ||
152 | #define MMSS_SPDM_PCLK1_CLK 135 | ||
153 | #define MMSS_SPDM_VCODEC0_CLK 136 | ||
154 | #define MMSS_SPDM_VFE0_CLK 137 | ||
155 | #define MMSS_SPDM_VFE1_CLK 138 | ||
156 | #define MMSS_SPDM_RM_AXI_CLK 139 | ||
157 | #define MMSS_SPDM_RM_OCMEMNOC_CLK 140 | ||
158 | #define MMSS_MISC_AHB_CLK 141 | ||
159 | #define MMSS_MMSSNOC_AHB_CLK 142 | ||
160 | #define MMSS_MMSSNOC_BTO_AHB_CLK 143 | ||
161 | #define MMSS_MMSSNOC_AXI_CLK 144 | ||
162 | #define MMSS_S0_AXI_CLK 145 | ||
163 | #define OCMEMCX_AHB_CLK 146 | ||
164 | #define OCMEMCX_OCMEMNOC_CLK 147 | ||
165 | #define OXILI_OCMEMGX_CLK 148 | ||
166 | #define OXILI_GFX3D_CLK 149 | ||
167 | #define OXILI_RBBMTIMER_CLK 150 | ||
168 | #define OXILICX_AHB_CLK 151 | ||
169 | #define VENUS0_AHB_CLK 152 | ||
170 | #define VENUS0_AXI_CLK 153 | ||
171 | #define VENUS0_CORE0_VCODEC_CLK 154 | ||
172 | #define VENUS0_CORE1_VCODEC_CLK 155 | ||
173 | #define VENUS0_OCMEMNOC_CLK 156 | ||
174 | #define VENUS0_VCODEC0_CLK 157 | ||
175 | #define VPU_AHB_CLK 158 | ||
176 | #define VPU_AXI_CLK 159 | ||
177 | #define VPU_BUS_CLK 160 | ||
178 | #define VPU_CXO_CLK 161 | ||
179 | #define VPU_MAPLE_CLK 162 | ||
180 | #define VPU_SLEEP_CLK 163 | ||
181 | #define VPU_VDP_CLK 164 | ||
182 | |||
183 | #endif | ||
diff --git a/include/dt-bindings/clock/qcom,mmcc-msm8960.h b/include/dt-bindings/clock/qcom,mmcc-msm8960.h index 5868ef14a777..85041b28f97f 100644 --- a/include/dt-bindings/clock/qcom,mmcc-msm8960.h +++ b/include/dt-bindings/clock/qcom,mmcc-msm8960.h | |||
@@ -133,5 +133,13 @@ | |||
133 | #define CSIPHY0_TIMER_CLK 116 | 133 | #define CSIPHY0_TIMER_CLK 116 |
134 | #define PLL1 117 | 134 | #define PLL1 117 |
135 | #define PLL2 118 | 135 | #define PLL2 118 |
136 | #define RGB_TV_CLK 119 | ||
137 | #define NPL_TV_CLK 120 | ||
138 | #define VCAP_AHB_CLK 121 | ||
139 | #define VCAP_AXI_CLK 122 | ||
140 | #define VCAP_SRC 123 | ||
141 | #define VCAP_CLK 124 | ||
142 | #define VCAP_NPL_CLK 125 | ||
143 | #define PLL15 126 | ||
136 | 144 | ||
137 | #endif | 145 | #endif |
diff --git a/include/dt-bindings/clock/r8a7790-clock.h b/include/dt-bindings/clock/r8a7790-clock.h index 1118f7a4bca6..f929a79e6998 100644 --- a/include/dt-bindings/clock/r8a7790-clock.h +++ b/include/dt-bindings/clock/r8a7790-clock.h | |||
@@ -59,6 +59,7 @@ | |||
59 | #define R8A7790_CLK_SDHI0 14 | 59 | #define R8A7790_CLK_SDHI0 14 |
60 | #define R8A7790_CLK_MMCIF0 15 | 60 | #define R8A7790_CLK_MMCIF0 15 |
61 | #define R8A7790_CLK_IIC0 18 | 61 | #define R8A7790_CLK_IIC0 18 |
62 | #define R8A7790_CLK_PCIEC 19 | ||
62 | #define R8A7790_CLK_IIC1 23 | 63 | #define R8A7790_CLK_IIC1 23 |
63 | #define R8A7790_CLK_SSUSB 28 | 64 | #define R8A7790_CLK_SSUSB 28 |
64 | #define R8A7790_CLK_CMT1 29 | 65 | #define R8A7790_CLK_CMT1 29 |
@@ -107,4 +108,30 @@ | |||
107 | #define R8A7790_CLK_I2C1 30 | 108 | #define R8A7790_CLK_I2C1 30 |
108 | #define R8A7790_CLK_I2C0 31 | 109 | #define R8A7790_CLK_I2C0 31 |
109 | 110 | ||
111 | /* MSTP10 */ | ||
112 | #define R8A7790_CLK_SSI_ALL 5 | ||
113 | #define R8A7790_CLK_SSI9 6 | ||
114 | #define R8A7790_CLK_SSI8 7 | ||
115 | #define R8A7790_CLK_SSI7 8 | ||
116 | #define R8A7790_CLK_SSI6 9 | ||
117 | #define R8A7790_CLK_SSI5 10 | ||
118 | #define R8A7790_CLK_SSI4 11 | ||
119 | #define R8A7790_CLK_SSI3 12 | ||
120 | #define R8A7790_CLK_SSI2 13 | ||
121 | #define R8A7790_CLK_SSI1 14 | ||
122 | #define R8A7790_CLK_SSI0 15 | ||
123 | #define R8A7790_CLK_SCU_ALL 17 | ||
124 | #define R8A7790_CLK_SCU_DVC1 18 | ||
125 | #define R8A7790_CLK_SCU_DVC0 19 | ||
126 | #define R8A7790_CLK_SCU_SRC9 22 | ||
127 | #define R8A7790_CLK_SCU_SRC8 23 | ||
128 | #define R8A7790_CLK_SCU_SRC7 24 | ||
129 | #define R8A7790_CLK_SCU_SRC6 25 | ||
130 | #define R8A7790_CLK_SCU_SRC5 26 | ||
131 | #define R8A7790_CLK_SCU_SRC4 27 | ||
132 | #define R8A7790_CLK_SCU_SRC3 28 | ||
133 | #define R8A7790_CLK_SCU_SRC2 29 | ||
134 | #define R8A7790_CLK_SCU_SRC1 30 | ||
135 | #define R8A7790_CLK_SCU_SRC0 31 | ||
136 | |||
110 | #endif /* __DT_BINDINGS_CLOCK_R8A7790_H__ */ | 137 | #endif /* __DT_BINDINGS_CLOCK_R8A7790_H__ */ |
diff --git a/include/dt-bindings/clock/r8a7791-clock.h b/include/dt-bindings/clock/r8a7791-clock.h index b050d18437ce..f0d4d1049162 100644 --- a/include/dt-bindings/clock/r8a7791-clock.h +++ b/include/dt-bindings/clock/r8a7791-clock.h | |||
@@ -53,6 +53,7 @@ | |||
53 | #define R8A7791_CLK_SDHI0 14 | 53 | #define R8A7791_CLK_SDHI0 14 |
54 | #define R8A7791_CLK_MMCIF0 15 | 54 | #define R8A7791_CLK_MMCIF0 15 |
55 | #define R8A7791_CLK_IIC0 18 | 55 | #define R8A7791_CLK_IIC0 18 |
56 | #define R8A7791_CLK_PCIEC 19 | ||
56 | #define R8A7791_CLK_IIC1 23 | 57 | #define R8A7791_CLK_IIC1 23 |
57 | #define R8A7791_CLK_SSUSB 28 | 58 | #define R8A7791_CLK_SSUSB 28 |
58 | #define R8A7791_CLK_CMT1 29 | 59 | #define R8A7791_CLK_CMT1 29 |
@@ -107,6 +108,32 @@ | |||
107 | #define R8A7791_CLK_I2C1 30 | 108 | #define R8A7791_CLK_I2C1 30 |
108 | #define R8A7791_CLK_I2C0 31 | 109 | #define R8A7791_CLK_I2C0 31 |
109 | 110 | ||
111 | /* MSTP10 */ | ||
112 | #define R8A7791_CLK_SSI_ALL 5 | ||
113 | #define R8A7791_CLK_SSI9 6 | ||
114 | #define R8A7791_CLK_SSI8 7 | ||
115 | #define R8A7791_CLK_SSI7 8 | ||
116 | #define R8A7791_CLK_SSI6 9 | ||
117 | #define R8A7791_CLK_SSI5 10 | ||
118 | #define R8A7791_CLK_SSI4 11 | ||
119 | #define R8A7791_CLK_SSI3 12 | ||
120 | #define R8A7791_CLK_SSI2 13 | ||
121 | #define R8A7791_CLK_SSI1 14 | ||
122 | #define R8A7791_CLK_SSI0 15 | ||
123 | #define R8A7791_CLK_SCU_ALL 17 | ||
124 | #define R8A7791_CLK_SCU_DVC1 18 | ||
125 | #define R8A7791_CLK_SCU_DVC0 19 | ||
126 | #define R8A7791_CLK_SCU_SRC9 22 | ||
127 | #define R8A7791_CLK_SCU_SRC8 23 | ||
128 | #define R8A7791_CLK_SCU_SRC7 24 | ||
129 | #define R8A7791_CLK_SCU_SRC6 25 | ||
130 | #define R8A7791_CLK_SCU_SRC5 26 | ||
131 | #define R8A7791_CLK_SCU_SRC4 27 | ||
132 | #define R8A7791_CLK_SCU_SRC3 28 | ||
133 | #define R8A7791_CLK_SCU_SRC2 29 | ||
134 | #define R8A7791_CLK_SCU_SRC1 30 | ||
135 | #define R8A7791_CLK_SCU_SRC0 31 | ||
136 | |||
110 | /* MSTP11 */ | 137 | /* MSTP11 */ |
111 | #define R8A7791_CLK_SCIFA3 6 | 138 | #define R8A7791_CLK_SCIFA3 6 |
112 | #define R8A7791_CLK_SCIFA4 7 | 139 | #define R8A7791_CLK_SCIFA4 7 |
diff --git a/include/dt-bindings/clock/rk3066a-cru.h b/include/dt-bindings/clock/rk3066a-cru.h new file mode 100644 index 000000000000..bc1ed1dbd855 --- /dev/null +++ b/include/dt-bindings/clock/rk3066a-cru.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014 MundoReader S.L. | ||
3 | * Author: Heiko Stuebner <heiko@sntech.de> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | */ | ||
15 | |||
16 | #include <dt-bindings/clock/rk3188-cru-common.h> | ||
17 | |||
18 | /* soft-reset indices */ | ||
19 | #define SRST_SRST1 0 | ||
20 | #define SRST_SRST2 1 | ||
21 | |||
22 | #define SRST_L2MEM 18 | ||
23 | #define SRST_I2S0 23 | ||
24 | #define SRST_I2S1 24 | ||
25 | #define SRST_I2S2 25 | ||
26 | #define SRST_TIMER2 29 | ||
27 | |||
28 | #define SRST_GPIO4 36 | ||
29 | #define SRST_GPIO6 38 | ||
30 | |||
31 | #define SRST_TSADC 92 | ||
32 | |||
33 | #define SRST_HDMI 96 | ||
34 | #define SRST_HDMI_APB 97 | ||
35 | #define SRST_CIF1 111 | ||
diff --git a/include/dt-bindings/clock/rk3188-cru-common.h b/include/dt-bindings/clock/rk3188-cru-common.h new file mode 100644 index 000000000000..750ee60e75fb --- /dev/null +++ b/include/dt-bindings/clock/rk3188-cru-common.h | |||
@@ -0,0 +1,249 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014 MundoReader S.L. | ||
3 | * Author: Heiko Stuebner <heiko@sntech.de> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | */ | ||
15 | |||
16 | /* core clocks from */ | ||
17 | #define PLL_APLL 1 | ||
18 | #define PLL_DPLL 2 | ||
19 | #define PLL_CPLL 3 | ||
20 | #define PLL_GPLL 4 | ||
21 | #define CORE_PERI 5 | ||
22 | #define CORE_L2C 6 | ||
23 | |||
24 | /* sclk gates (special clocks) */ | ||
25 | #define SCLK_UART0 64 | ||
26 | #define SCLK_UART1 65 | ||
27 | #define SCLK_UART2 66 | ||
28 | #define SCLK_UART3 67 | ||
29 | #define SCLK_MAC 68 | ||
30 | #define SCLK_SPI0 69 | ||
31 | #define SCLK_SPI1 70 | ||
32 | #define SCLK_SARADC 71 | ||
33 | #define SCLK_SDMMC 72 | ||
34 | #define SCLK_SDIO 73 | ||
35 | #define SCLK_EMMC 74 | ||
36 | #define SCLK_I2S0 75 | ||
37 | #define SCLK_I2S1 76 | ||
38 | #define SCLK_I2S2 77 | ||
39 | #define SCLK_SPDIF 78 | ||
40 | #define SCLK_CIF0 79 | ||
41 | #define SCLK_CIF1 80 | ||
42 | #define SCLK_OTGPHY0 81 | ||
43 | #define SCLK_OTGPHY1 82 | ||
44 | #define SCLK_HSADC 83 | ||
45 | #define SCLK_TIMER0 84 | ||
46 | #define SCLK_TIMER1 85 | ||
47 | #define SCLK_TIMER2 86 | ||
48 | #define SCLK_TIMER3 87 | ||
49 | #define SCLK_TIMER4 88 | ||
50 | #define SCLK_TIMER5 89 | ||
51 | #define SCLK_TIMER6 90 | ||
52 | #define SCLK_JTAG 91 | ||
53 | #define SCLK_SMC 92 | ||
54 | |||
55 | #define DCLK_LCDC0 190 | ||
56 | #define DCLK_LCDC1 191 | ||
57 | |||
58 | /* aclk gates */ | ||
59 | #define ACLK_DMA1 192 | ||
60 | #define ACLK_DMA2 193 | ||
61 | #define ACLK_GPS 194 | ||
62 | #define ACLK_LCDC0 195 | ||
63 | #define ACLK_LCDC1 196 | ||
64 | #define ACLK_GPU 197 | ||
65 | #define ACLK_SMC 198 | ||
66 | #define ACLK_CIF 199 | ||
67 | #define ACLK_IPP 200 | ||
68 | #define ACLK_RGA 201 | ||
69 | #define ACLK_CIF0 202 | ||
70 | |||
71 | /* pclk gates */ | ||
72 | #define PCLK_GRF 320 | ||
73 | #define PCLK_PMU 321 | ||
74 | #define PCLK_TIMER0 322 | ||
75 | #define PCLK_TIMER1 323 | ||
76 | #define PCLK_TIMER2 324 | ||
77 | #define PCLK_TIMER3 325 | ||
78 | #define PCLK_PWM01 326 | ||
79 | #define PCLK_PWM23 327 | ||
80 | #define PCLK_SPI0 328 | ||
81 | #define PCLK_SPI1 329 | ||
82 | #define PCLK_SARADC 330 | ||
83 | #define PCLK_WDT 331 | ||
84 | #define PCLK_UART0 332 | ||
85 | #define PCLK_UART1 333 | ||
86 | #define PCLK_UART2 334 | ||
87 | #define PCLK_UART3 335 | ||
88 | #define PCLK_I2C0 336 | ||
89 | #define PCLK_I2C1 337 | ||
90 | #define PCLK_I2C2 338 | ||
91 | #define PCLK_I2C3 339 | ||
92 | #define PCLK_I2C4 340 | ||
93 | #define PCLK_GPIO0 341 | ||
94 | #define PCLK_GPIO1 342 | ||
95 | #define PCLK_GPIO2 343 | ||
96 | #define PCLK_GPIO3 344 | ||
97 | #define PCLK_GPIO4 345 | ||
98 | #define PCLK_GPIO6 346 | ||
99 | #define PCLK_EFUSE 347 | ||
100 | #define PCLK_TZPC 348 | ||
101 | #define PCLK_TSADC 349 | ||
102 | |||
103 | /* hclk gates */ | ||
104 | #define HCLK_SDMMC 448 | ||
105 | #define HCLK_SDIO 449 | ||
106 | #define HCLK_EMMC 450 | ||
107 | #define HCLK_OTG0 451 | ||
108 | #define HCLK_EMAC 452 | ||
109 | #define HCLK_SPDIF 453 | ||
110 | #define HCLK_I2S0 454 | ||
111 | #define HCLK_I2S1 455 | ||
112 | #define HCLK_I2S2 456 | ||
113 | #define HCLK_OTG1 457 | ||
114 | #define HCLK_HSIC 458 | ||
115 | #define HCLK_HSADC 459 | ||
116 | #define HCLK_PIDF 460 | ||
117 | #define HCLK_LCDC0 461 | ||
118 | #define HCLK_LCDC1 462 | ||
119 | #define HCLK_ROM 463 | ||
120 | #define HCLK_CIF0 464 | ||
121 | #define HCLK_IPP 465 | ||
122 | #define HCLK_RGA 466 | ||
123 | #define HCLK_NANDC0 467 | ||
124 | |||
125 | #define CLK_NR_CLKS (HCLK_NANDC0 + 1) | ||
126 | |||
127 | /* soft-reset indices */ | ||
128 | #define SRST_MCORE 2 | ||
129 | #define SRST_CORE0 3 | ||
130 | #define SRST_CORE1 4 | ||
131 | #define SRST_MCORE_DBG 7 | ||
132 | #define SRST_CORE0_DBG 8 | ||
133 | #define SRST_CORE1_DBG 9 | ||
134 | #define SRST_CORE0_WDT 12 | ||
135 | #define SRST_CORE1_WDT 13 | ||
136 | #define SRST_STRC_SYS 14 | ||
137 | #define SRST_L2C 15 | ||
138 | |||
139 | #define SRST_CPU_AHB 17 | ||
140 | #define SRST_AHB2APB 19 | ||
141 | #define SRST_DMA1 20 | ||
142 | #define SRST_INTMEM 21 | ||
143 | #define SRST_ROM 22 | ||
144 | #define SRST_SPDIF 26 | ||
145 | #define SRST_TIMER0 27 | ||
146 | #define SRST_TIMER1 28 | ||
147 | #define SRST_EFUSE 30 | ||
148 | |||
149 | #define SRST_GPIO0 32 | ||
150 | #define SRST_GPIO1 33 | ||
151 | #define SRST_GPIO2 34 | ||
152 | #define SRST_GPIO3 35 | ||
153 | |||
154 | #define SRST_UART0 39 | ||
155 | #define SRST_UART1 40 | ||
156 | #define SRST_UART2 41 | ||
157 | #define SRST_UART3 42 | ||
158 | #define SRST_I2C0 43 | ||
159 | #define SRST_I2C1 44 | ||
160 | #define SRST_I2C2 45 | ||
161 | #define SRST_I2C3 46 | ||
162 | #define SRST_I2C4 47 | ||
163 | |||
164 | #define SRST_PWM0 48 | ||
165 | #define SRST_PWM1 49 | ||
166 | #define SRST_DAP_PO 50 | ||
167 | #define SRST_DAP 51 | ||
168 | #define SRST_DAP_SYS 52 | ||
169 | #define SRST_TPIU_ATB 53 | ||
170 | #define SRST_PMU_APB 54 | ||
171 | #define SRST_GRF 55 | ||
172 | #define SRST_PMU 56 | ||
173 | #define SRST_PERI_AXI 57 | ||
174 | #define SRST_PERI_AHB 58 | ||
175 | #define SRST_PERI_APB 59 | ||
176 | #define SRST_PERI_NIU 60 | ||
177 | #define SRST_CPU_PERI 61 | ||
178 | #define SRST_EMEM_PERI 62 | ||
179 | #define SRST_USB_PERI 63 | ||
180 | |||
181 | #define SRST_DMA2 64 | ||
182 | #define SRST_SMC 65 | ||
183 | #define SRST_MAC 66 | ||
184 | #define SRST_NANC0 68 | ||
185 | #define SRST_USBOTG0 69 | ||
186 | #define SRST_USBPHY0 70 | ||
187 | #define SRST_OTGC0 71 | ||
188 | #define SRST_USBOTG1 72 | ||
189 | #define SRST_USBPHY1 73 | ||
190 | #define SRST_OTGC1 74 | ||
191 | #define SRST_HSADC 76 | ||
192 | #define SRST_PIDFILTER 77 | ||
193 | #define SRST_DDR_MSCH 79 | ||
194 | |||
195 | #define SRST_TZPC 80 | ||
196 | #define SRST_SDMMC 81 | ||
197 | #define SRST_SDIO 82 | ||
198 | #define SRST_EMMC 83 | ||
199 | #define SRST_SPI0 84 | ||
200 | #define SRST_SPI1 85 | ||
201 | #define SRST_WDT 86 | ||
202 | #define SRST_SARADC 87 | ||
203 | #define SRST_DDRPHY 88 | ||
204 | #define SRST_DDRPHY_APB 89 | ||
205 | #define SRST_DDRCTL 90 | ||
206 | #define SRST_DDRCTL_APB 91 | ||
207 | #define SRST_DDRPUB 93 | ||
208 | |||
209 | #define SRST_VIO0_AXI 98 | ||
210 | #define SRST_VIO0_AHB 99 | ||
211 | #define SRST_LCDC0_AXI 100 | ||
212 | #define SRST_LCDC0_AHB 101 | ||
213 | #define SRST_LCDC0_DCLK 102 | ||
214 | #define SRST_LCDC1_AXI 103 | ||
215 | #define SRST_LCDC1_AHB 104 | ||
216 | #define SRST_LCDC1_DCLK 105 | ||
217 | #define SRST_IPP_AXI 106 | ||
218 | #define SRST_IPP_AHB 107 | ||
219 | #define SRST_RGA_AXI 108 | ||
220 | #define SRST_RGA_AHB 109 | ||
221 | #define SRST_CIF0 110 | ||
222 | |||
223 | #define SRST_VCODEC_AXI 112 | ||
224 | #define SRST_VCODEC_AHB 113 | ||
225 | #define SRST_VIO1_AXI 114 | ||
226 | #define SRST_VCODEC_CPU 115 | ||
227 | #define SRST_VCODEC_NIU 116 | ||
228 | #define SRST_GPU 120 | ||
229 | #define SRST_GPU_NIU 122 | ||
230 | #define SRST_TFUN_ATB 125 | ||
231 | #define SRST_TFUN_APB 126 | ||
232 | #define SRST_CTI4_APB 127 | ||
233 | |||
234 | #define SRST_TPIU_APB 128 | ||
235 | #define SRST_TRACE 129 | ||
236 | #define SRST_CORE_DBG 130 | ||
237 | #define SRST_DBG_APB 131 | ||
238 | #define SRST_CTI0 132 | ||
239 | #define SRST_CTI0_APB 133 | ||
240 | #define SRST_CTI1 134 | ||
241 | #define SRST_CTI1_APB 135 | ||
242 | #define SRST_PTM_CORE0 136 | ||
243 | #define SRST_PTM_CORE1 137 | ||
244 | #define SRST_PTM0 138 | ||
245 | #define SRST_PTM0_ATB 139 | ||
246 | #define SRST_PTM1 140 | ||
247 | #define SRST_PTM1_ATB 141 | ||
248 | #define SRST_CTM 142 | ||
249 | #define SRST_TS 143 | ||
diff --git a/include/dt-bindings/clock/rk3188-cru.h b/include/dt-bindings/clock/rk3188-cru.h new file mode 100644 index 000000000000..9fac8edd3f9d --- /dev/null +++ b/include/dt-bindings/clock/rk3188-cru.h | |||
@@ -0,0 +1,51 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014 MundoReader S.L. | ||
3 | * Author: Heiko Stuebner <heiko@sntech.de> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | */ | ||
15 | |||
16 | #include <dt-bindings/clock/rk3188-cru-common.h> | ||
17 | |||
18 | /* soft-reset indices */ | ||
19 | #define SRST_PTM_CORE2 0 | ||
20 | #define SRST_PTM_CORE3 1 | ||
21 | #define SRST_CORE2 5 | ||
22 | #define SRST_CORE3 6 | ||
23 | #define SRST_CORE2_DBG 10 | ||
24 | #define SRST_CORE3_DBG 11 | ||
25 | |||
26 | #define SRST_TIMER2 16 | ||
27 | #define SRST_TIMER4 23 | ||
28 | #define SRST_I2S0 24 | ||
29 | #define SRST_TIMER5 25 | ||
30 | #define SRST_TIMER3 29 | ||
31 | #define SRST_TIMER6 31 | ||
32 | |||
33 | #define SRST_PTM3 36 | ||
34 | #define SRST_PTM3_ATB 37 | ||
35 | |||
36 | #define SRST_GPS 67 | ||
37 | #define SRST_HSICPHY 75 | ||
38 | #define SRST_TIMER 78 | ||
39 | |||
40 | #define SRST_PTM2 92 | ||
41 | #define SRST_CORE2_WDT 94 | ||
42 | #define SRST_CORE3_WDT 95 | ||
43 | |||
44 | #define SRST_PTM2_ATB 111 | ||
45 | |||
46 | #define SRST_HSIC 117 | ||
47 | #define SRST_CTI2 118 | ||
48 | #define SRST_CTI2_APB 119 | ||
49 | #define SRST_GPU_BRIDGE 121 | ||
50 | #define SRST_CTI3 123 | ||
51 | #define SRST_CTI3_APB 124 | ||
diff --git a/include/dt-bindings/clock/rk3288-cru.h b/include/dt-bindings/clock/rk3288-cru.h new file mode 100644 index 000000000000..ebcb460ea4ad --- /dev/null +++ b/include/dt-bindings/clock/rk3288-cru.h | |||
@@ -0,0 +1,278 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014 MundoReader S.L. | ||
3 | * Author: Heiko Stuebner <heiko@sntech.de> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | */ | ||
15 | |||
16 | /* core clocks */ | ||
17 | #define PLL_APLL 1 | ||
18 | #define PLL_DPLL 2 | ||
19 | #define PLL_CPLL 3 | ||
20 | #define PLL_GPLL 4 | ||
21 | #define PLL_NPLL 5 | ||
22 | |||
23 | /* sclk gates (special clocks) */ | ||
24 | #define SCLK_GPU 64 | ||
25 | #define SCLK_SPI0 65 | ||
26 | #define SCLK_SPI1 66 | ||
27 | #define SCLK_SPI2 67 | ||
28 | #define SCLK_SDMMC 68 | ||
29 | #define SCLK_SDIO0 69 | ||
30 | #define SCLK_SDIO1 70 | ||
31 | #define SCLK_EMMC 71 | ||
32 | #define SCLK_TSADC 72 | ||
33 | #define SCLK_SARADC 73 | ||
34 | #define SCLK_PS2C 74 | ||
35 | #define SCLK_NANDC0 75 | ||
36 | #define SCLK_NANDC1 76 | ||
37 | #define SCLK_UART0 77 | ||
38 | #define SCLK_UART1 78 | ||
39 | #define SCLK_UART2 79 | ||
40 | #define SCLK_UART3 80 | ||
41 | #define SCLK_UART4 81 | ||
42 | #define SCLK_I2S0 82 | ||
43 | #define SCLK_SPDIF 83 | ||
44 | #define SCLK_SPDIF8CH 84 | ||
45 | #define SCLK_TIMER0 85 | ||
46 | #define SCLK_TIMER1 86 | ||
47 | #define SCLK_TIMER2 87 | ||
48 | #define SCLK_TIMER3 88 | ||
49 | #define SCLK_TIMER4 89 | ||
50 | #define SCLK_TIMER5 90 | ||
51 | #define SCLK_TIMER6 91 | ||
52 | #define SCLK_HSADC 92 | ||
53 | #define SCLK_OTGPHY0 93 | ||
54 | #define SCLK_OTGPHY1 94 | ||
55 | #define SCLK_OTGPHY2 95 | ||
56 | #define SCLK_OTG_ADP 96 | ||
57 | #define SCLK_HSICPHY480M 97 | ||
58 | #define SCLK_HSICPHY12M 98 | ||
59 | #define SCLK_MACREF 99 | ||
60 | #define SCLK_LCDC_PWM0 100 | ||
61 | #define SCLK_LCDC_PWM1 101 | ||
62 | #define SCLK_MAC_RX 102 | ||
63 | #define SCLK_MAC_TX 103 | ||
64 | |||
65 | #define DCLK_VOP0 190 | ||
66 | #define DCLK_VOP1 191 | ||
67 | |||
68 | /* aclk gates */ | ||
69 | #define ACLK_GPU 192 | ||
70 | #define ACLK_DMAC1 193 | ||
71 | #define ACLK_DMAC2 194 | ||
72 | #define ACLK_MMU 195 | ||
73 | #define ACLK_GMAC 196 | ||
74 | #define ACLK_VOP0 197 | ||
75 | #define ACLK_VOP1 198 | ||
76 | #define ACLK_CRYPTO 199 | ||
77 | #define ACLK_RGA 200 | ||
78 | |||
79 | /* pclk gates */ | ||
80 | #define PCLK_GPIO0 320 | ||
81 | #define PCLK_GPIO1 321 | ||
82 | #define PCLK_GPIO2 322 | ||
83 | #define PCLK_GPIO3 323 | ||
84 | #define PCLK_GPIO4 324 | ||
85 | #define PCLK_GPIO5 325 | ||
86 | #define PCLK_GPIO6 326 | ||
87 | #define PCLK_GPIO7 327 | ||
88 | #define PCLK_GPIO8 328 | ||
89 | #define PCLK_GRF 329 | ||
90 | #define PCLK_SGRF 330 | ||
91 | #define PCLK_PMU 331 | ||
92 | #define PCLK_I2C0 332 | ||
93 | #define PCLK_I2C1 333 | ||
94 | #define PCLK_I2C2 334 | ||
95 | #define PCLK_I2C3 335 | ||
96 | #define PCLK_I2C4 336 | ||
97 | #define PCLK_I2C5 337 | ||
98 | #define PCLK_SPI0 338 | ||
99 | #define PCLK_SPI1 339 | ||
100 | #define PCLK_SPI2 340 | ||
101 | #define PCLK_UART0 341 | ||
102 | #define PCLK_UART1 342 | ||
103 | #define PCLK_UART2 343 | ||
104 | #define PCLK_UART3 344 | ||
105 | #define PCLK_UART4 345 | ||
106 | #define PCLK_TSADC 346 | ||
107 | #define PCLK_SARADC 347 | ||
108 | #define PCLK_SIM 348 | ||
109 | #define PCLK_GMAC 349 | ||
110 | #define PCLK_PWM 350 | ||
111 | #define PCLK_RKPWM 351 | ||
112 | #define PCLK_PS2C 352 | ||
113 | #define PCLK_TIMER 353 | ||
114 | #define PCLK_TZPC 354 | ||
115 | |||
116 | /* hclk gates */ | ||
117 | #define HCLK_GPS 448 | ||
118 | #define HCLK_OTG0 449 | ||
119 | #define HCLK_USBHOST0 450 | ||
120 | #define HCLK_USBHOST1 451 | ||
121 | #define HCLK_HSIC 452 | ||
122 | #define HCLK_NANDC0 453 | ||
123 | #define HCLK_NANDC1 454 | ||
124 | #define HCLK_TSP 455 | ||
125 | #define HCLK_SDMMC 456 | ||
126 | #define HCLK_SDIO0 457 | ||
127 | #define HCLK_SDIO1 458 | ||
128 | #define HCLK_EMMC 459 | ||
129 | #define HCLK_HSADC 460 | ||
130 | #define HCLK_CRYPTO 461 | ||
131 | #define HCLK_I2S0 462 | ||
132 | #define HCLK_SPDIF 463 | ||
133 | #define HCLK_SPDIF8CH 464 | ||
134 | #define HCLK_VOP0 465 | ||
135 | #define HCLK_VOP1 466 | ||
136 | #define HCLK_ROM 467 | ||
137 | #define HCLK_IEP 468 | ||
138 | #define HCLK_ISP 469 | ||
139 | #define HCLK_RGA 470 | ||
140 | |||
141 | #define CLK_NR_CLKS (HCLK_RGA + 1) | ||
142 | |||
143 | /* soft-reset indices */ | ||
144 | #define SRST_CORE0 0 | ||
145 | #define SRST_CORE1 1 | ||
146 | #define SRST_CORE2 2 | ||
147 | #define SRST_CORE3 3 | ||
148 | #define SRST_CORE0_PO 4 | ||
149 | #define SRST_CORE1_PO 5 | ||
150 | #define SRST_CORE2_PO 6 | ||
151 | #define SRST_CORE3_PO 7 | ||
152 | #define SRST_PDCORE_STRSYS 8 | ||
153 | #define SRST_PDBUS_STRSYS 9 | ||
154 | #define SRST_L2C 10 | ||
155 | #define SRST_TOPDBG 11 | ||
156 | #define SRST_CORE0_DBG 12 | ||
157 | #define SRST_CORE1_DBG 13 | ||
158 | #define SRST_CORE2_DBG 14 | ||
159 | #define SRST_CORE3_DBG 15 | ||
160 | |||
161 | #define SRST_PDBUG_AHB_ARBITOR 16 | ||
162 | #define SRST_EFUSE256 17 | ||
163 | #define SRST_DMAC1 18 | ||
164 | #define SRST_INTMEM 19 | ||
165 | #define SRST_ROM 20 | ||
166 | #define SRST_SPDIF8CH 21 | ||
167 | #define SRST_TIMER 22 | ||
168 | #define SRST_I2S0 23 | ||
169 | #define SRST_SPDIF 24 | ||
170 | #define SRST_TIMER0 25 | ||
171 | #define SRST_TIMER1 26 | ||
172 | #define SRST_TIMER2 27 | ||
173 | #define SRST_TIMER3 28 | ||
174 | #define SRST_TIMER4 29 | ||
175 | #define SRST_TIMER5 30 | ||
176 | #define SRST_EFUSE 31 | ||
177 | |||
178 | #define SRST_GPIO0 32 | ||
179 | #define SRST_GPIO1 33 | ||
180 | #define SRST_GPIO2 34 | ||
181 | #define SRST_GPIO3 35 | ||
182 | #define SRST_GPIO4 36 | ||
183 | #define SRST_GPIO5 37 | ||
184 | #define SRST_GPIO6 38 | ||
185 | #define SRST_GPIO7 39 | ||
186 | #define SRST_GPIO8 40 | ||
187 | #define SRST_I2C0 42 | ||
188 | #define SRST_I2C1 43 | ||
189 | #define SRST_I2C2 44 | ||
190 | #define SRST_I2C3 45 | ||
191 | #define SRST_I2C4 46 | ||
192 | #define SRST_I2C5 47 | ||
193 | |||
194 | #define SRST_DWPWM 48 | ||
195 | #define SRST_MMC_PERI 49 | ||
196 | #define SRST_PERIPH_MMU 50 | ||
197 | #define SRST_DAP 51 | ||
198 | #define SRST_DAP_SYS 52 | ||
199 | #define SRST_TPIU 53 | ||
200 | #define SRST_PMU_APB 54 | ||
201 | #define SRST_GRF 55 | ||
202 | #define SRST_PMU 56 | ||
203 | #define SRST_PERIPH_AXI 57 | ||
204 | #define SRST_PERIPH_AHB 58 | ||
205 | #define SRST_PERIPH_APB 59 | ||
206 | #define SRST_PERIPH_NIU 60 | ||
207 | #define SRST_PDPERI_AHB_ARBI 61 | ||
208 | #define SRST_EMEM 62 | ||
209 | #define SRST_USB_PERI 63 | ||
210 | |||
211 | #define SRST_DMAC2 64 | ||
212 | #define SRST_MAC 66 | ||
213 | #define SRST_GPS 67 | ||
214 | #define SRST_RKPWM 69 | ||
215 | #define SRST_CCP 71 | ||
216 | #define SRST_USBHOST0 72 | ||
217 | #define SRST_HSIC 73 | ||
218 | #define SRST_HSIC_AUX 74 | ||
219 | #define SRST_HSIC_PHY 75 | ||
220 | #define SRST_HSADC 76 | ||
221 | #define SRST_NANDC0 77 | ||
222 | #define SRST_NANDC1 78 | ||
223 | |||
224 | #define SRST_TZPC 80 | ||
225 | #define SRST_SPI0 83 | ||
226 | #define SRST_SPI1 84 | ||
227 | #define SRST_SPI2 85 | ||
228 | #define SRST_SARADC 87 | ||
229 | #define SRST_PDALIVE_NIU 88 | ||
230 | #define SRST_PDPMU_INTMEM 89 | ||
231 | #define SRST_PDPMU_NIU 90 | ||
232 | #define SRST_SGRF 91 | ||
233 | |||
234 | #define SRST_VIO_ARBI 96 | ||
235 | #define SRST_RGA_NIU 97 | ||
236 | #define SRST_VIO0_NIU_AXI 98 | ||
237 | #define SRST_VIO_NIU_AHB 99 | ||
238 | #define SRST_LCDC0_AXI 100 | ||
239 | #define SRST_LCDC0_AHB 101 | ||
240 | #define SRST_LCDC0_DCLK 102 | ||
241 | #define SRST_VIO1_NIU_AXI 103 | ||
242 | #define SRST_VIP 104 | ||
243 | #define SRST_RGA_CORE 105 | ||
244 | #define SRST_IEP_AXI 106 | ||
245 | #define SRST_IEP_AHB 107 | ||
246 | #define SRST_RGA_AXI 108 | ||
247 | #define SRST_RGA_AHB 109 | ||
248 | #define SRST_ISP 110 | ||
249 | #define SRST_EDP 111 | ||
250 | |||
251 | #define SRST_VCODEC_AXI 112 | ||
252 | #define SRST_VCODEC_AHB 113 | ||
253 | #define SRST_VIO_H2P 114 | ||
254 | #define SRST_MIPIDSI0 115 | ||
255 | #define SRST_MIPIDSI1 116 | ||
256 | #define SRST_MIPICSI 117 | ||
257 | #define SRST_LVDS_PHY 118 | ||
258 | #define SRST_LVDS_CON 119 | ||
259 | #define SRST_GPU 120 | ||
260 | #define SRST_HDMI 121 | ||
261 | #define SRST_CORE_PVTM 124 | ||
262 | #define SRST_GPU_PVTM 125 | ||
263 | |||
264 | #define SRST_MMC0 128 | ||
265 | #define SRST_SDIO0 129 | ||
266 | #define SRST_SDIO1 130 | ||
267 | #define SRST_EMMC 131 | ||
268 | #define SRST_USBOTG_AHB 132 | ||
269 | #define SRST_USBOTG_PHY 133 | ||
270 | #define SRST_USBOTG_CON 134 | ||
271 | #define SRST_USBHOST0_AHB 135 | ||
272 | #define SRST_USBHOST0_PHY 136 | ||
273 | #define SRST_USBHOST0_CON 137 | ||
274 | #define SRST_USBHOST1_AHB 138 | ||
275 | #define SRST_USBHOST1_PHY 139 | ||
276 | #define SRST_USBHOST1_CON 140 | ||
277 | #define SRST_USB_ADP 141 | ||
278 | #define SRST_ACC_EFUSE 142 | ||
diff --git a/include/dt-bindings/clock/s5pv210-audss.h b/include/dt-bindings/clock/s5pv210-audss.h new file mode 100644 index 000000000000..fe57406e24de --- /dev/null +++ b/include/dt-bindings/clock/s5pv210-audss.h | |||
@@ -0,0 +1,34 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014 Tomasz Figa <tomasz.figa@gmail.com> | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This header provides constants for Samsung audio subsystem | ||
9 | * clock controller. | ||
10 | * | ||
11 | * The constants defined in this header are being used in dts | ||
12 | * and s5pv210 audss driver. | ||
13 | */ | ||
14 | |||
15 | #ifndef _DT_BINDINGS_CLOCK_S5PV210_AUDSS_H | ||
16 | #define _DT_BINDINGS_CLOCK_S5PV210_AUDSS_H | ||
17 | |||
18 | #define CLK_MOUT_AUDSS 0 | ||
19 | #define CLK_MOUT_I2S_A 1 | ||
20 | |||
21 | #define CLK_DOUT_AUD_BUS 2 | ||
22 | #define CLK_DOUT_I2S_A 3 | ||
23 | |||
24 | #define CLK_I2S 4 | ||
25 | #define CLK_HCLK_I2S 5 | ||
26 | #define CLK_HCLK_UART 6 | ||
27 | #define CLK_HCLK_HWA 7 | ||
28 | #define CLK_HCLK_DMA 8 | ||
29 | #define CLK_HCLK_BUF 9 | ||
30 | #define CLK_HCLK_RP 10 | ||
31 | |||
32 | #define AUDSS_MAX_CLKS 11 | ||
33 | |||
34 | #endif | ||
diff --git a/include/dt-bindings/clock/s5pv210.h b/include/dt-bindings/clock/s5pv210.h new file mode 100644 index 000000000000..e88986b7c677 --- /dev/null +++ b/include/dt-bindings/clock/s5pv210.h | |||
@@ -0,0 +1,239 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2013 Samsung Electronics Co., Ltd. | ||
3 | * Author: Mateusz Krawczuk <m.krawczuk@partner.samsung.com> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | * Device Tree binding constants for Samsung S5PV210 clock controller. | ||
10 | */ | ||
11 | |||
12 | #ifndef _DT_BINDINGS_CLOCK_S5PV210_H | ||
13 | #define _DT_BINDINGS_CLOCK_S5PV210_H | ||
14 | |||
15 | /* Core clocks. */ | ||
16 | #define FIN_PLL 1 | ||
17 | #define FOUT_APLL 2 | ||
18 | #define FOUT_MPLL 3 | ||
19 | #define FOUT_EPLL 4 | ||
20 | #define FOUT_VPLL 5 | ||
21 | |||
22 | /* Muxes. */ | ||
23 | #define MOUT_FLASH 6 | ||
24 | #define MOUT_PSYS 7 | ||
25 | #define MOUT_DSYS 8 | ||
26 | #define MOUT_MSYS 9 | ||
27 | #define MOUT_VPLL 10 | ||
28 | #define MOUT_EPLL 11 | ||
29 | #define MOUT_MPLL 12 | ||
30 | #define MOUT_APLL 13 | ||
31 | #define MOUT_VPLLSRC 14 | ||
32 | #define MOUT_CSIS 15 | ||
33 | #define MOUT_FIMD 16 | ||
34 | #define MOUT_CAM1 17 | ||
35 | #define MOUT_CAM0 18 | ||
36 | #define MOUT_DAC 19 | ||
37 | #define MOUT_MIXER 20 | ||
38 | #define MOUT_HDMI 21 | ||
39 | #define MOUT_G2D 22 | ||
40 | #define MOUT_MFC 23 | ||
41 | #define MOUT_G3D 24 | ||
42 | #define MOUT_FIMC2 25 | ||
43 | #define MOUT_FIMC1 26 | ||
44 | #define MOUT_FIMC0 27 | ||
45 | #define MOUT_UART3 28 | ||
46 | #define MOUT_UART2 29 | ||
47 | #define MOUT_UART1 30 | ||
48 | #define MOUT_UART0 31 | ||
49 | #define MOUT_MMC3 32 | ||
50 | #define MOUT_MMC2 33 | ||
51 | #define MOUT_MMC1 34 | ||
52 | #define MOUT_MMC0 35 | ||
53 | #define MOUT_PWM 36 | ||
54 | #define MOUT_SPI0 37 | ||
55 | #define MOUT_SPI1 38 | ||
56 | #define MOUT_DMC0 39 | ||
57 | #define MOUT_PWI 40 | ||
58 | #define MOUT_HPM 41 | ||
59 | #define MOUT_SPDIF 42 | ||
60 | #define MOUT_AUDIO2 43 | ||
61 | #define MOUT_AUDIO1 44 | ||
62 | #define MOUT_AUDIO0 45 | ||
63 | |||
64 | /* Dividers. */ | ||
65 | #define DOUT_PCLKP 46 | ||
66 | #define DOUT_HCLKP 47 | ||
67 | #define DOUT_PCLKD 48 | ||
68 | #define DOUT_HCLKD 49 | ||
69 | #define DOUT_PCLKM 50 | ||
70 | #define DOUT_HCLKM 51 | ||
71 | #define DOUT_A2M 52 | ||
72 | #define DOUT_APLL 53 | ||
73 | #define DOUT_CSIS 54 | ||
74 | #define DOUT_FIMD 55 | ||
75 | #define DOUT_CAM1 56 | ||
76 | #define DOUT_CAM0 57 | ||
77 | #define DOUT_TBLK 58 | ||
78 | #define DOUT_G2D 59 | ||
79 | #define DOUT_MFC 60 | ||
80 | #define DOUT_G3D 61 | ||
81 | #define DOUT_FIMC2 62 | ||
82 | #define DOUT_FIMC1 63 | ||
83 | #define DOUT_FIMC0 64 | ||
84 | #define DOUT_UART3 65 | ||
85 | #define DOUT_UART2 66 | ||
86 | #define DOUT_UART1 67 | ||
87 | #define DOUT_UART0 68 | ||
88 | #define DOUT_MMC3 69 | ||
89 | #define DOUT_MMC2 70 | ||
90 | #define DOUT_MMC1 71 | ||
91 | #define DOUT_MMC0 72 | ||
92 | #define DOUT_PWM 73 | ||
93 | #define DOUT_SPI1 74 | ||
94 | #define DOUT_SPI0 75 | ||
95 | #define DOUT_DMC0 76 | ||
96 | #define DOUT_PWI 77 | ||
97 | #define DOUT_HPM 78 | ||
98 | #define DOUT_COPY 79 | ||
99 | #define DOUT_FLASH 80 | ||
100 | #define DOUT_AUDIO2 81 | ||
101 | #define DOUT_AUDIO1 82 | ||
102 | #define DOUT_AUDIO0 83 | ||
103 | #define DOUT_DPM 84 | ||
104 | #define DOUT_DVSEM 85 | ||
105 | |||
106 | /* Gates */ | ||
107 | #define SCLK_FIMC 86 | ||
108 | #define CLK_CSIS 87 | ||
109 | #define CLK_ROTATOR 88 | ||
110 | #define CLK_FIMC2 89 | ||
111 | #define CLK_FIMC1 90 | ||
112 | #define CLK_FIMC0 91 | ||
113 | #define CLK_MFC 92 | ||
114 | #define CLK_G2D 93 | ||
115 | #define CLK_G3D 94 | ||
116 | #define CLK_IMEM 95 | ||
117 | #define CLK_PDMA1 96 | ||
118 | #define CLK_PDMA0 97 | ||
119 | #define CLK_MDMA 98 | ||
120 | #define CLK_DMC1 99 | ||
121 | #define CLK_DMC0 100 | ||
122 | #define CLK_NFCON 101 | ||
123 | #define CLK_SROMC 102 | ||
124 | #define CLK_CFCON 103 | ||
125 | #define CLK_NANDXL 104 | ||
126 | #define CLK_USB_HOST 105 | ||
127 | #define CLK_USB_OTG 106 | ||
128 | #define CLK_HDMI 107 | ||
129 | #define CLK_TVENC 108 | ||
130 | #define CLK_MIXER 109 | ||
131 | #define CLK_VP 110 | ||
132 | #define CLK_DSIM 111 | ||
133 | #define CLK_FIMD 112 | ||
134 | #define CLK_TZIC3 113 | ||
135 | #define CLK_TZIC2 114 | ||
136 | #define CLK_TZIC1 115 | ||
137 | #define CLK_TZIC0 116 | ||
138 | #define CLK_VIC3 117 | ||
139 | #define CLK_VIC2 118 | ||
140 | #define CLK_VIC1 119 | ||
141 | #define CLK_VIC0 120 | ||
142 | #define CLK_TSI 121 | ||
143 | #define CLK_HSMMC3 122 | ||
144 | #define CLK_HSMMC2 123 | ||
145 | #define CLK_HSMMC1 124 | ||
146 | #define CLK_HSMMC0 125 | ||
147 | #define CLK_JTAG 126 | ||
148 | #define CLK_MODEMIF 127 | ||
149 | #define CLK_CORESIGHT 128 | ||
150 | #define CLK_SDM 129 | ||
151 | #define CLK_SECSS 130 | ||
152 | #define CLK_PCM2 131 | ||
153 | #define CLK_PCM1 132 | ||
154 | #define CLK_PCM0 133 | ||
155 | #define CLK_SYSCON 134 | ||
156 | #define CLK_GPIO 135 | ||
157 | #define CLK_TSADC 136 | ||
158 | #define CLK_PWM 137 | ||
159 | #define CLK_WDT 138 | ||
160 | #define CLK_KEYIF 139 | ||
161 | #define CLK_UART3 140 | ||
162 | #define CLK_UART2 141 | ||
163 | #define CLK_UART1 142 | ||
164 | #define CLK_UART0 143 | ||
165 | #define CLK_SYSTIMER 144 | ||
166 | #define CLK_RTC 145 | ||
167 | #define CLK_SPI1 146 | ||
168 | #define CLK_SPI0 147 | ||
169 | #define CLK_I2C_HDMI_PHY 148 | ||
170 | #define CLK_I2C1 149 | ||
171 | #define CLK_I2C2 150 | ||
172 | #define CLK_I2C0 151 | ||
173 | #define CLK_I2S1 152 | ||
174 | #define CLK_I2S2 153 | ||
175 | #define CLK_I2S0 154 | ||
176 | #define CLK_AC97 155 | ||
177 | #define CLK_SPDIF 156 | ||
178 | #define CLK_TZPC3 157 | ||
179 | #define CLK_TZPC2 158 | ||
180 | #define CLK_TZPC1 159 | ||
181 | #define CLK_TZPC0 160 | ||
182 | #define CLK_SECKEY 161 | ||
183 | #define CLK_IEM_APC 162 | ||
184 | #define CLK_IEM_IEC 163 | ||
185 | #define CLK_CHIPID 164 | ||
186 | #define CLK_JPEG 163 | ||
187 | |||
188 | /* Special clocks*/ | ||
189 | #define SCLK_PWI 164 | ||
190 | #define SCLK_SPDIF 165 | ||
191 | #define SCLK_AUDIO2 166 | ||
192 | #define SCLK_AUDIO1 167 | ||
193 | #define SCLK_AUDIO0 168 | ||
194 | #define SCLK_PWM 169 | ||
195 | #define SCLK_SPI1 170 | ||
196 | #define SCLK_SPI0 171 | ||
197 | #define SCLK_UART3 172 | ||
198 | #define SCLK_UART2 173 | ||
199 | #define SCLK_UART1 174 | ||
200 | #define SCLK_UART0 175 | ||
201 | #define SCLK_MMC3 176 | ||
202 | #define SCLK_MMC2 177 | ||
203 | #define SCLK_MMC1 178 | ||
204 | #define SCLK_MMC0 179 | ||
205 | #define SCLK_FINVPLL 180 | ||
206 | #define SCLK_CSIS 181 | ||
207 | #define SCLK_FIMD 182 | ||
208 | #define SCLK_CAM1 183 | ||
209 | #define SCLK_CAM0 184 | ||
210 | #define SCLK_DAC 185 | ||
211 | #define SCLK_MIXER 186 | ||
212 | #define SCLK_HDMI 187 | ||
213 | #define SCLK_FIMC2 188 | ||
214 | #define SCLK_FIMC1 189 | ||
215 | #define SCLK_FIMC0 190 | ||
216 | #define SCLK_HDMI27M 191 | ||
217 | #define SCLK_HDMIPHY 192 | ||
218 | #define SCLK_USBPHY0 193 | ||
219 | #define SCLK_USBPHY1 194 | ||
220 | |||
221 | /* S5P6442-specific clocks */ | ||
222 | #define MOUT_D0SYNC 195 | ||
223 | #define MOUT_D1SYNC 196 | ||
224 | #define DOUT_MIXER 197 | ||
225 | #define CLK_ETB 198 | ||
226 | #define CLK_ETM 199 | ||
227 | |||
228 | /* CLKOUT */ | ||
229 | #define FOUT_APLL_CLKOUT 200 | ||
230 | #define FOUT_MPLL_CLKOUT 201 | ||
231 | #define DOUT_APLL_CLKOUT 202 | ||
232 | #define MOUT_CLKSEL 203 | ||
233 | #define DOUT_CLKOUT 204 | ||
234 | #define MOUT_CLKOUT 205 | ||
235 | |||
236 | /* Total number of clocks. */ | ||
237 | #define NR_CLKS 206 | ||
238 | |||
239 | #endif /* _DT_BINDINGS_CLOCK_S5PV210_H */ | ||
diff --git a/include/dt-bindings/clock/vf610-clock.h b/include/dt-bindings/clock/vf610-clock.h index a91602951d3d..00953d9484cb 100644 --- a/include/dt-bindings/clock/vf610-clock.h +++ b/include/dt-bindings/clock/vf610-clock.h | |||
@@ -164,6 +164,8 @@ | |||
164 | #define VF610_CLK_DMAMUX1 151 | 164 | #define VF610_CLK_DMAMUX1 151 |
165 | #define VF610_CLK_DMAMUX2 152 | 165 | #define VF610_CLK_DMAMUX2 152 |
166 | #define VF610_CLK_DMAMUX3 153 | 166 | #define VF610_CLK_DMAMUX3 153 |
167 | #define VF610_CLK_END 154 | 167 | #define VF610_CLK_FLEXCAN0_EN 154 |
168 | #define VF610_CLK_FLEXCAN1_EN 155 | ||
169 | #define VF610_CLK_END 156 | ||
168 | 170 | ||
169 | #endif /* __DT_BINDINGS_CLOCK_VF610_H */ | 171 | #endif /* __DT_BINDINGS_CLOCK_VF610_H */ |
diff --git a/include/dt-bindings/dma/nbpfaxi.h b/include/dt-bindings/dma/nbpfaxi.h new file mode 100644 index 000000000000..c1a5b9e0d6a4 --- /dev/null +++ b/include/dt-bindings/dma/nbpfaxi.h | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013-2014 Renesas Electronics Europe Ltd. | ||
3 | * Author: Guennadi Liakhovetski <g.liakhovetski@gmx.de> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of version 2 of the GNU General Public License as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | ||
9 | |||
10 | #ifndef DT_BINDINGS_NBPFAXI_H | ||
11 | #define DT_BINDINGS_NBPFAXI_H | ||
12 | |||
13 | /** | ||
14 | * Use "#dma-cells = <2>;" with the second integer defining slave DMA flags: | ||
15 | */ | ||
16 | #define NBPF_SLAVE_RQ_HIGH 1 | ||
17 | #define NBPF_SLAVE_RQ_LOW 2 | ||
18 | #define NBPF_SLAVE_RQ_LEVEL 4 | ||
19 | |||
20 | #endif | ||
diff --git a/include/dt-bindings/mfd/as3722.h b/include/dt-bindings/mfd/as3722.h index 0e692562d77b..e66c0898c58e 100644 --- a/include/dt-bindings/mfd/as3722.h +++ b/include/dt-bindings/mfd/as3722.h | |||
@@ -13,7 +13,7 @@ | |||
13 | /* External control pins */ | 13 | /* External control pins */ |
14 | #define AS3722_EXT_CONTROL_PIN_ENABLE1 1 | 14 | #define AS3722_EXT_CONTROL_PIN_ENABLE1 1 |
15 | #define AS3722_EXT_CONTROL_PIN_ENABLE2 2 | 15 | #define AS3722_EXT_CONTROL_PIN_ENABLE2 2 |
16 | #define AS3722_EXT_CONTROL_PIN_ENABLE2 3 | 16 | #define AS3722_EXT_CONTROL_PIN_ENABLE3 3 |
17 | 17 | ||
18 | /* Interrupt numbers for AS3722 */ | 18 | /* Interrupt numbers for AS3722 */ |
19 | #define AS3722_IRQ_LID 0 | 19 | #define AS3722_IRQ_LID 0 |
diff --git a/include/dt-bindings/mfd/palmas.h b/include/dt-bindings/mfd/palmas.h new file mode 100644 index 000000000000..2c8ac4841385 --- /dev/null +++ b/include/dt-bindings/mfd/palmas.h | |||
@@ -0,0 +1,18 @@ | |||
1 | /* | ||
2 | * This header provides macros for Palmas device bindings. | ||
3 | * | ||
4 | * Copyright (c) 2013, NVIDIA Corporation. | ||
5 | * | ||
6 | * Author: Laxman Dewangan <ldewangan@nvidia.com> | ||
7 | * | ||
8 | */ | ||
9 | |||
10 | #ifndef __DT_BINDINGS_PALMAS_H__ | ||
11 | #define __DT_BINDINGS_PALMAS_H | ||
12 | |||
13 | /* External control pins */ | ||
14 | #define PALMAS_EXT_CONTROL_PIN_ENABLE1 1 | ||
15 | #define PALMAS_EXT_CONTROL_PIN_ENABLE2 2 | ||
16 | #define PALMAS_EXT_CONTROL_PIN_NSLEEP 3 | ||
17 | |||
18 | #endif /* __DT_BINDINGS_PALMAS_H */ | ||
diff --git a/include/dt-bindings/phy/phy-miphy365x.h b/include/dt-bindings/phy/phy-miphy365x.h new file mode 100644 index 000000000000..8ef8aba6edd6 --- /dev/null +++ b/include/dt-bindings/phy/phy-miphy365x.h | |||
@@ -0,0 +1,14 @@ | |||
1 | /* | ||
2 | * This header provides constants for the phy framework | ||
3 | * based on the STMicroelectronics MiPHY365x. | ||
4 | * | ||
5 | * Author: Lee Jones <lee.jones@linaro.org> | ||
6 | */ | ||
7 | #ifndef _DT_BINDINGS_PHY_MIPHY | ||
8 | #define _DT_BINDINGS_PHY_MIPHY | ||
9 | |||
10 | #define MIPHY_TYPE_SATA 1 | ||
11 | #define MIPHY_TYPE_PCIE 2 | ||
12 | #define MIPHY_TYPE_USB 3 | ||
13 | |||
14 | #endif /* _DT_BINDINGS_PHY_MIPHY */ | ||
diff --git a/include/dt-bindings/pinctrl/dra.h b/include/dt-bindings/pinctrl/dra.h index 002a2855c046..3d33794e4f3e 100644 --- a/include/dt-bindings/pinctrl/dra.h +++ b/include/dt-bindings/pinctrl/dra.h | |||
@@ -30,7 +30,8 @@ | |||
30 | #define MUX_MODE14 0xe | 30 | #define MUX_MODE14 0xe |
31 | #define MUX_MODE15 0xf | 31 | #define MUX_MODE15 0xf |
32 | 32 | ||
33 | #define PULL_ENA (1 << 16) | 33 | #define PULL_ENA (0 << 16) |
34 | #define PULL_DIS (1 << 16) | ||
34 | #define PULL_UP (1 << 17) | 35 | #define PULL_UP (1 << 17) |
35 | #define INPUT_EN (1 << 18) | 36 | #define INPUT_EN (1 << 18) |
36 | #define SLEWCONTROL (1 << 19) | 37 | #define SLEWCONTROL (1 << 19) |
@@ -38,10 +39,10 @@ | |||
38 | #define WAKEUP_EVENT (1 << 25) | 39 | #define WAKEUP_EVENT (1 << 25) |
39 | 40 | ||
40 | /* Active pin states */ | 41 | /* Active pin states */ |
41 | #define PIN_OUTPUT 0 | 42 | #define PIN_OUTPUT (0 | PULL_DIS) |
42 | #define PIN_OUTPUT_PULLUP (PIN_OUTPUT | PULL_ENA | PULL_UP) | 43 | #define PIN_OUTPUT_PULLUP (PIN_OUTPUT | PULL_ENA | PULL_UP) |
43 | #define PIN_OUTPUT_PULLDOWN (PIN_OUTPUT | PULL_ENA) | 44 | #define PIN_OUTPUT_PULLDOWN (PIN_OUTPUT | PULL_ENA) |
44 | #define PIN_INPUT INPUT_EN | 45 | #define PIN_INPUT (INPUT_EN | PULL_DIS) |
45 | #define PIN_INPUT_SLEW (INPUT_EN | SLEWCONTROL) | 46 | #define PIN_INPUT_SLEW (INPUT_EN | SLEWCONTROL) |
46 | #define PIN_INPUT_PULLUP (PULL_ENA | INPUT_EN | PULL_UP) | 47 | #define PIN_INPUT_PULLUP (PULL_ENA | INPUT_EN | PULL_UP) |
47 | #define PIN_INPUT_PULLDOWN (PULL_ENA | INPUT_EN) | 48 | #define PIN_INPUT_PULLDOWN (PULL_ENA | INPUT_EN) |
diff --git a/include/dt-bindings/pinctrl/pinctrl-tegra-xusb.h b/include/dt-bindings/pinctrl/pinctrl-tegra-xusb.h new file mode 100644 index 000000000000..914d56da9324 --- /dev/null +++ b/include/dt-bindings/pinctrl/pinctrl-tegra-xusb.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #ifndef _DT_BINDINGS_PINCTRL_TEGRA_XUSB_H | ||
2 | #define _DT_BINDINGS_PINCTRL_TEGRA_XUSB_H 1 | ||
3 | |||
4 | #define TEGRA_XUSB_PADCTL_PCIE 0 | ||
5 | #define TEGRA_XUSB_PADCTL_SATA 1 | ||
6 | |||
7 | #endif /* _DT_BINDINGS_PINCTRL_TEGRA_XUSB_H */ | ||
diff --git a/include/dt-bindings/reset/qcom,gcc-apq8084.h b/include/dt-bindings/reset/qcom,gcc-apq8084.h new file mode 100644 index 000000000000..527caaf48e3d --- /dev/null +++ b/include/dt-bindings/reset/qcom,gcc-apq8084.h | |||
@@ -0,0 +1,109 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014, The Linux Foundation. All rights reserved. | ||
3 | * | ||
4 | * This software is licensed under the terms of the GNU General Public | ||
5 | * License version 2, as published by the Free Software Foundation, and | ||
6 | * may be copied, distributed, and modified under those terms. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | */ | ||
13 | |||
14 | #ifndef _DT_BINDINGS_RESET_APQ_GCC_8084_H | ||
15 | #define _DT_BINDINGS_RESET_APQ_GCC_8084_H | ||
16 | |||
17 | #define GCC_SYSTEM_NOC_BCR 0 | ||
18 | #define GCC_CONFIG_NOC_BCR 1 | ||
19 | #define GCC_PERIPH_NOC_BCR 2 | ||
20 | #define GCC_IMEM_BCR 3 | ||
21 | #define GCC_MMSS_BCR 4 | ||
22 | #define GCC_QDSS_BCR 5 | ||
23 | #define GCC_USB_30_BCR 6 | ||
24 | #define GCC_USB3_PHY_BCR 7 | ||
25 | #define GCC_USB_HS_HSIC_BCR 8 | ||
26 | #define GCC_USB_HS_BCR 9 | ||
27 | #define GCC_USB2A_PHY_BCR 10 | ||
28 | #define GCC_USB2B_PHY_BCR 11 | ||
29 | #define GCC_SDCC1_BCR 12 | ||
30 | #define GCC_SDCC2_BCR 13 | ||
31 | #define GCC_SDCC3_BCR 14 | ||
32 | #define GCC_SDCC4_BCR 15 | ||
33 | #define GCC_BLSP1_BCR 16 | ||
34 | #define GCC_BLSP1_QUP1_BCR 17 | ||
35 | #define GCC_BLSP1_UART1_BCR 18 | ||
36 | #define GCC_BLSP1_QUP2_BCR 19 | ||
37 | #define GCC_BLSP1_UART2_BCR 20 | ||
38 | #define GCC_BLSP1_QUP3_BCR 21 | ||
39 | #define GCC_BLSP1_UART3_BCR 22 | ||
40 | #define GCC_BLSP1_QUP4_BCR 23 | ||
41 | #define GCC_BLSP1_UART4_BCR 24 | ||
42 | #define GCC_BLSP1_QUP5_BCR 25 | ||
43 | #define GCC_BLSP1_UART5_BCR 26 | ||
44 | #define GCC_BLSP1_QUP6_BCR 27 | ||
45 | #define GCC_BLSP1_UART6_BCR 28 | ||
46 | #define GCC_BLSP2_BCR 29 | ||
47 | #define GCC_BLSP2_QUP1_BCR 30 | ||
48 | #define GCC_BLSP2_UART1_BCR 31 | ||
49 | #define GCC_BLSP2_QUP2_BCR 32 | ||
50 | #define GCC_BLSP2_UART2_BCR 33 | ||
51 | #define GCC_BLSP2_QUP3_BCR 34 | ||
52 | #define GCC_BLSP2_UART3_BCR 35 | ||
53 | #define GCC_BLSP2_QUP4_BCR 36 | ||
54 | #define GCC_BLSP2_UART4_BCR 37 | ||
55 | #define GCC_BLSP2_QUP5_BCR 38 | ||
56 | #define GCC_BLSP2_UART5_BCR 39 | ||
57 | #define GCC_BLSP2_QUP6_BCR 40 | ||
58 | #define GCC_BLSP2_UART6_BCR 41 | ||
59 | #define GCC_PDM_BCR 42 | ||
60 | #define GCC_PRNG_BCR 43 | ||
61 | #define GCC_BAM_DMA_BCR 44 | ||
62 | #define GCC_TSIF_BCR 45 | ||
63 | #define GCC_TCSR_BCR 46 | ||
64 | #define GCC_BOOT_ROM_BCR 47 | ||
65 | #define GCC_MSG_RAM_BCR 48 | ||
66 | #define GCC_TLMM_BCR 49 | ||
67 | #define GCC_MPM_BCR 50 | ||
68 | #define GCC_MPM_AHB_RESET 51 | ||
69 | #define GCC_MPM_NON_AHB_RESET 52 | ||
70 | #define GCC_SEC_CTRL_BCR 53 | ||
71 | #define GCC_SPMI_BCR 54 | ||
72 | #define GCC_SPDM_BCR 55 | ||
73 | #define GCC_CE1_BCR 56 | ||
74 | #define GCC_CE2_BCR 57 | ||
75 | #define GCC_BIMC_BCR 58 | ||
76 | #define GCC_SNOC_BUS_TIMEOUT0_BCR 59 | ||
77 | #define GCC_SNOC_BUS_TIMEOUT2_BCR 60 | ||
78 | #define GCC_PNOC_BUS_TIMEOUT0_BCR 61 | ||
79 | #define GCC_PNOC_BUS_TIMEOUT1_BCR 62 | ||
80 | #define GCC_PNOC_BUS_TIMEOUT2_BCR 63 | ||
81 | #define GCC_PNOC_BUS_TIMEOUT3_BCR 64 | ||
82 | #define GCC_PNOC_BUS_TIMEOUT4_BCR 65 | ||
83 | #define GCC_CNOC_BUS_TIMEOUT0_BCR 66 | ||
84 | #define GCC_CNOC_BUS_TIMEOUT1_BCR 67 | ||
85 | #define GCC_CNOC_BUS_TIMEOUT2_BCR 68 | ||
86 | #define GCC_CNOC_BUS_TIMEOUT3_BCR 69 | ||
87 | #define GCC_CNOC_BUS_TIMEOUT4_BCR 70 | ||
88 | #define GCC_CNOC_BUS_TIMEOUT5_BCR 71 | ||
89 | #define GCC_CNOC_BUS_TIMEOUT6_BCR 72 | ||
90 | #define GCC_DEHR_BCR 73 | ||
91 | #define GCC_RBCPR_BCR 74 | ||
92 | #define GCC_MSS_RESTART 75 | ||
93 | #define GCC_LPASS_RESTART 76 | ||
94 | #define GCC_WCSS_RESTART 77 | ||
95 | #define GCC_VENUS_RESTART 78 | ||
96 | #define GCC_COPSS_SMMU_BCR 79 | ||
97 | #define GCC_SPSS_BCR 80 | ||
98 | #define GCC_PCIE_0_BCR 81 | ||
99 | #define GCC_PCIE_0_PHY_BCR 82 | ||
100 | #define GCC_PCIE_1_BCR 83 | ||
101 | #define GCC_PCIE_1_PHY_BCR 84 | ||
102 | #define GCC_USB_30_SEC_BCR 85 | ||
103 | #define GCC_USB3_SEC_PHY_BCR 86 | ||
104 | #define GCC_SATA_BCR 87 | ||
105 | #define GCC_CE3_BCR 88 | ||
106 | #define GCC_UFS_BCR 89 | ||
107 | #define GCC_USB30_PHY_COM_BCR 90 | ||
108 | |||
109 | #endif | ||
diff --git a/include/dt-bindings/reset/qcom,gcc-ipq806x.h b/include/dt-bindings/reset/qcom,gcc-ipq806x.h new file mode 100644 index 000000000000..0ad5ef930b5d --- /dev/null +++ b/include/dt-bindings/reset/qcom,gcc-ipq806x.h | |||
@@ -0,0 +1,132 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014, The Linux Foundation. All rights reserved. | ||
3 | * | ||
4 | * This software is licensed under the terms of the GNU General Public | ||
5 | * License version 2, as published by the Free Software Foundation, and | ||
6 | * may be copied, distributed, and modified under those terms. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | */ | ||
13 | |||
14 | #ifndef _DT_BINDINGS_RESET_IPQ_806X_H | ||
15 | #define _DT_BINDINGS_RESET_IPQ_806X_H | ||
16 | |||
17 | #define QDSS_STM_RESET 0 | ||
18 | #define AFAB_SMPSS_S_RESET 1 | ||
19 | #define AFAB_SMPSS_M1_RESET 2 | ||
20 | #define AFAB_SMPSS_M0_RESET 3 | ||
21 | #define AFAB_EBI1_CH0_RESET 4 | ||
22 | #define AFAB_EBI1_CH1_RESET 5 | ||
23 | #define SFAB_ADM0_M0_RESET 6 | ||
24 | #define SFAB_ADM0_M1_RESET 7 | ||
25 | #define SFAB_ADM0_M2_RESET 8 | ||
26 | #define ADM0_C2_RESET 9 | ||
27 | #define ADM0_C1_RESET 10 | ||
28 | #define ADM0_C0_RESET 11 | ||
29 | #define ADM0_PBUS_RESET 12 | ||
30 | #define ADM0_RESET 13 | ||
31 | #define QDSS_CLKS_SW_RESET 14 | ||
32 | #define QDSS_POR_RESET 15 | ||
33 | #define QDSS_TSCTR_RESET 16 | ||
34 | #define QDSS_HRESET_RESET 17 | ||
35 | #define QDSS_AXI_RESET 18 | ||
36 | #define QDSS_DBG_RESET 19 | ||
37 | #define SFAB_PCIE_M_RESET 20 | ||
38 | #define SFAB_PCIE_S_RESET 21 | ||
39 | #define PCIE_EXT_RESET 22 | ||
40 | #define PCIE_PHY_RESET 23 | ||
41 | #define PCIE_PCI_RESET 24 | ||
42 | #define PCIE_POR_RESET 25 | ||
43 | #define PCIE_HCLK_RESET 26 | ||
44 | #define PCIE_ACLK_RESET 27 | ||
45 | #define SFAB_LPASS_RESET 28 | ||
46 | #define SFAB_AFAB_M_RESET 29 | ||
47 | #define AFAB_SFAB_M0_RESET 30 | ||
48 | #define AFAB_SFAB_M1_RESET 31 | ||
49 | #define SFAB_SATA_S_RESET 32 | ||
50 | #define SFAB_DFAB_M_RESET 33 | ||
51 | #define DFAB_SFAB_M_RESET 34 | ||
52 | #define DFAB_SWAY0_RESET 35 | ||
53 | #define DFAB_SWAY1_RESET 36 | ||
54 | #define DFAB_ARB0_RESET 37 | ||
55 | #define DFAB_ARB1_RESET 38 | ||
56 | #define PPSS_PROC_RESET 39 | ||
57 | #define PPSS_RESET 40 | ||
58 | #define DMA_BAM_RESET 41 | ||
59 | #define SPS_TIC_H_RESET 42 | ||
60 | #define SFAB_CFPB_M_RESET 43 | ||
61 | #define SFAB_CFPB_S_RESET 44 | ||
62 | #define TSIF_H_RESET 45 | ||
63 | #define CE1_H_RESET 46 | ||
64 | #define CE1_CORE_RESET 47 | ||
65 | #define CE1_SLEEP_RESET 48 | ||
66 | #define CE2_H_RESET 49 | ||
67 | #define CE2_CORE_RESET 50 | ||
68 | #define SFAB_SFPB_M_RESET 51 | ||
69 | #define SFAB_SFPB_S_RESET 52 | ||
70 | #define RPM_PROC_RESET 53 | ||
71 | #define PMIC_SSBI2_RESET 54 | ||
72 | #define SDC1_RESET 55 | ||
73 | #define SDC2_RESET 56 | ||
74 | #define SDC3_RESET 57 | ||
75 | #define SDC4_RESET 58 | ||
76 | #define USB_HS1_RESET 59 | ||
77 | #define USB_HSIC_RESET 60 | ||
78 | #define USB_FS1_XCVR_RESET 61 | ||
79 | #define USB_FS1_RESET 62 | ||
80 | #define GSBI1_RESET 63 | ||
81 | #define GSBI2_RESET 64 | ||
82 | #define GSBI3_RESET 65 | ||
83 | #define GSBI4_RESET 66 | ||
84 | #define GSBI5_RESET 67 | ||
85 | #define GSBI6_RESET 68 | ||
86 | #define GSBI7_RESET 69 | ||
87 | #define SPDM_RESET 70 | ||
88 | #define SEC_CTRL_RESET 71 | ||
89 | #define TLMM_H_RESET 72 | ||
90 | #define SFAB_SATA_M_RESET 73 | ||
91 | #define SATA_RESET 74 | ||
92 | #define TSSC_RESET 75 | ||
93 | #define PDM_RESET 76 | ||
94 | #define MPM_H_RESET 77 | ||
95 | #define MPM_RESET 78 | ||
96 | #define SFAB_SMPSS_S_RESET 79 | ||
97 | #define PRNG_RESET 80 | ||
98 | #define SFAB_CE3_M_RESET 81 | ||
99 | #define SFAB_CE3_S_RESET 82 | ||
100 | #define CE3_SLEEP_RESET 83 | ||
101 | #define PCIE_1_M_RESET 84 | ||
102 | #define PCIE_1_S_RESET 85 | ||
103 | #define PCIE_1_EXT_RESET 86 | ||
104 | #define PCIE_1_PHY_RESET 87 | ||
105 | #define PCIE_1_PCI_RESET 88 | ||
106 | #define PCIE_1_POR_RESET 89 | ||
107 | #define PCIE_1_HCLK_RESET 90 | ||
108 | #define PCIE_1_ACLK_RESET 91 | ||
109 | #define PCIE_2_M_RESET 92 | ||
110 | #define PCIE_2_S_RESET 93 | ||
111 | #define PCIE_2_EXT_RESET 94 | ||
112 | #define PCIE_2_PHY_RESET 95 | ||
113 | #define PCIE_2_PCI_RESET 96 | ||
114 | #define PCIE_2_POR_RESET 97 | ||
115 | #define PCIE_2_HCLK_RESET 98 | ||
116 | #define PCIE_2_ACLK_RESET 99 | ||
117 | #define SFAB_USB30_S_RESET 100 | ||
118 | #define SFAB_USB30_M_RESET 101 | ||
119 | #define USB30_0_PORT2_HS_PHY_RESET 102 | ||
120 | #define USB30_0_MASTER_RESET 103 | ||
121 | #define USB30_0_SLEEP_RESET 104 | ||
122 | #define USB30_0_UTMI_PHY_RESET 105 | ||
123 | #define USB30_0_POWERON_RESET 106 | ||
124 | #define USB30_0_PHY_RESET 107 | ||
125 | #define USB30_1_MASTER_RESET 108 | ||
126 | #define USB30_1_SLEEP_RESET 109 | ||
127 | #define USB30_1_UTMI_PHY_RESET 110 | ||
128 | #define USB30_1_POWERON_RESET 111 | ||
129 | #define USB30_1_PHY_RESET 112 | ||
130 | #define NSSFB0_RESET 113 | ||
131 | #define NSSFB1_RESET 114 | ||
132 | #endif | ||
diff --git a/include/dt-bindings/reset/qcom,gcc-msm8960.h b/include/dt-bindings/reset/qcom,gcc-msm8960.h index 07edd0e65eed..47c8686955da 100644 --- a/include/dt-bindings/reset/qcom,gcc-msm8960.h +++ b/include/dt-bindings/reset/qcom,gcc-msm8960.h | |||
@@ -114,5 +114,21 @@ | |||
114 | #define SFAB_SMPSS_S_RESET 97 | 114 | #define SFAB_SMPSS_S_RESET 97 |
115 | #define PRNG_RESET 98 | 115 | #define PRNG_RESET 98 |
116 | #define RIVA_RESET 99 | 116 | #define RIVA_RESET 99 |
117 | #define USB_HS3_RESET 100 | ||
118 | #define USB_HS4_RESET 101 | ||
119 | #define CE3_RESET 102 | ||
120 | #define PCIE_EXT_PCI_RESET 103 | ||
121 | #define PCIE_PHY_RESET 104 | ||
122 | #define PCIE_PCI_RESET 105 | ||
123 | #define PCIE_POR_RESET 106 | ||
124 | #define PCIE_HCLK_RESET 107 | ||
125 | #define PCIE_ACLK_RESET 108 | ||
126 | #define CE3_H_RESET 109 | ||
127 | #define SFAB_CE3_M_RESET 110 | ||
128 | #define SFAB_CE3_S_RESET 111 | ||
129 | #define SATA_RESET 112 | ||
130 | #define CE3_SLEEP_RESET 113 | ||
131 | #define GSS_SLP_RESET 114 | ||
132 | #define GSS_RESET 115 | ||
117 | 133 | ||
118 | #endif | 134 | #endif |
diff --git a/include/dt-bindings/reset/qcom,mmcc-apq8084.h b/include/dt-bindings/reset/qcom,mmcc-apq8084.h new file mode 100644 index 000000000000..c1671396531d --- /dev/null +++ b/include/dt-bindings/reset/qcom,mmcc-apq8084.h | |||
@@ -0,0 +1,64 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014, The Linux Foundation. All rights reserved. | ||
3 | * | ||
4 | * This software is licensed under the terms of the GNU General Public | ||
5 | * License version 2, as published by the Free Software Foundation, and | ||
6 | * may be copied, distributed, and modified under those terms. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | */ | ||
13 | |||
14 | #ifndef _DT_BINDINGS_RESET_APQ_MMCC_8084_H | ||
15 | #define _DT_BINDINGS_RESET_APQ_MMCC_8084_H | ||
16 | |||
17 | #define MMSS_SPDM_RESET 0 | ||
18 | #define MMSS_SPDM_RM_RESET 1 | ||
19 | #define VENUS0_RESET 2 | ||
20 | #define VPU_RESET 3 | ||
21 | #define MDSS_RESET 4 | ||
22 | #define AVSYNC_RESET 5 | ||
23 | #define CAMSS_PHY0_RESET 6 | ||
24 | #define CAMSS_PHY1_RESET 7 | ||
25 | #define CAMSS_PHY2_RESET 8 | ||
26 | #define CAMSS_CSI0_RESET 9 | ||
27 | #define CAMSS_CSI0PHY_RESET 10 | ||
28 | #define CAMSS_CSI0RDI_RESET 11 | ||
29 | #define CAMSS_CSI0PIX_RESET 12 | ||
30 | #define CAMSS_CSI1_RESET 13 | ||
31 | #define CAMSS_CSI1PHY_RESET 14 | ||
32 | #define CAMSS_CSI1RDI_RESET 15 | ||
33 | #define CAMSS_CSI1PIX_RESET 16 | ||
34 | #define CAMSS_CSI2_RESET 17 | ||
35 | #define CAMSS_CSI2PHY_RESET 18 | ||
36 | #define CAMSS_CSI2RDI_RESET 19 | ||
37 | #define CAMSS_CSI2PIX_RESET 20 | ||
38 | #define CAMSS_CSI3_RESET 21 | ||
39 | #define CAMSS_CSI3PHY_RESET 22 | ||
40 | #define CAMSS_CSI3RDI_RESET 23 | ||
41 | #define CAMSS_CSI3PIX_RESET 24 | ||
42 | #define CAMSS_ISPIF_RESET 25 | ||
43 | #define CAMSS_CCI_RESET 26 | ||
44 | #define CAMSS_MCLK0_RESET 27 | ||
45 | #define CAMSS_MCLK1_RESET 28 | ||
46 | #define CAMSS_MCLK2_RESET 29 | ||
47 | #define CAMSS_MCLK3_RESET 30 | ||
48 | #define CAMSS_GP0_RESET 31 | ||
49 | #define CAMSS_GP1_RESET 32 | ||
50 | #define CAMSS_TOP_RESET 33 | ||
51 | #define CAMSS_AHB_RESET 34 | ||
52 | #define CAMSS_MICRO_RESET 35 | ||
53 | #define CAMSS_JPEG_RESET 36 | ||
54 | #define CAMSS_VFE_RESET 37 | ||
55 | #define CAMSS_CSI_VFE0_RESET 38 | ||
56 | #define CAMSS_CSI_VFE1_RESET 39 | ||
57 | #define OXILI_RESET 40 | ||
58 | #define OXILICX_RESET 41 | ||
59 | #define OCMEMCX_RESET 42 | ||
60 | #define MMSS_RBCRP_RESET 43 | ||
61 | #define MMSSNOCAHB_RESET 44 | ||
62 | #define MMSSNOCAXI_RESET 45 | ||
63 | |||
64 | #endif | ||
diff --git a/include/dt-bindings/reset/qcom,mmcc-msm8960.h b/include/dt-bindings/reset/qcom,mmcc-msm8960.h index ba36ec680118..11741113a841 100644 --- a/include/dt-bindings/reset/qcom,mmcc-msm8960.h +++ b/include/dt-bindings/reset/qcom,mmcc-msm8960.h | |||
@@ -89,5 +89,13 @@ | |||
89 | #define CSI2_RESET 72 | 89 | #define CSI2_RESET 72 |
90 | #define CSI_RDI1_RESET 73 | 90 | #define CSI_RDI1_RESET 73 |
91 | #define CSI_RDI2_RESET 74 | 91 | #define CSI_RDI2_RESET 74 |
92 | #define GFX3D_AXI_RESET 75 | ||
93 | #define VCAP_AXI_RESET 76 | ||
94 | #define SMMU_VCAP_AHB_RESET 77 | ||
95 | #define VCAP_AHB_RESET 78 | ||
96 | #define CSI_RDI_RESET 79 | ||
97 | #define CSI_PIX_RESET 80 | ||
98 | #define VCAP_NPL_RESET 81 | ||
99 | #define VCAP_RESET 82 | ||
92 | 100 | ||
93 | #endif | 101 | #endif |