diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 21:40:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 21:40:49 -0500 |
commit | dfd10e7ae60c6c1b24b5d601744b4fd1ecab2f31 (patch) | |
tree | 59fc5ee5877a4dcb4bd56d2e0d0272089496dba1 /include/dt-bindings | |
parent | f2c73464d7b399cf4e0c601c1c7d7b079080fa52 (diff) | |
parent | 6373bb71875b3f9f73f375952f92e68140b75657 (diff) |
Merge tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC platform changes from Olof Johansson:
"New core SoC-specific changes.
New platforms:
* Introduction of a vendor, Hisilicon, and one of their SoCs with
some random numerical product name.
* Introduction of EFM32, embedded platform from Silicon Labs (ARMv7m,
i.e. !MMU).
* Marvell Berlin series of SoCs, which include the one in Chromecast.
* MOXA platform support, ARM9-based platform used mostly in
industrial products
* Support for Freescale's i.MX50 SoC.
Other work:
* Renesas work for new platforms and drivers, and conversion over to
more multiplatform-friendly device registration schemes.
* SMP support for Allwinner sunxi platforms.
* ... plus a bunch of other stuff across various platforms"
* tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (201 commits)
ARM: tegra: fix tegra_powergate_sequence_power_up() inline
ARM: msm_defconfig: Update for multi-platform
ARM: msm: Move MSM's DT based hardware to multi-platform support
ARM: msm: Only build timer.c if required
ARM: msm: Only build clock.c on proc_comm based platforms
ARM: ux500: Enable system suspend with WFI support
ARM: ux500: turn on PRINTK_TIME in u8500_defconfig
ARM: shmobile: r8a7790: Fix I2C controller names
ARM: msm: Simplify ARCH_MSM_DT config
ARM: msm: Add support for MSM8974 SoC
ARM: sunxi: select ARM_PSCI
MAINTAINERS: Update Allwinner sunXi maintainer files
ARM: sunxi: Select RESET_CONTROLLER
ARM: imx: improve the comment of CCM lpm SW workaround
ARM: imx: improve status check of clock gate
ARM: imx: add necessary interface for pfd
ARM: imx_v6_v7_defconfig: Select CONFIG_REGULATOR_PFUZE100
ARM: imx_v6_v7_defconfig: Select MX35 and MX50 device tree support
ARM: imx: Add cpu frequency scaling support
ARM i.MX35: Add devicetree support.
...
Diffstat (limited to 'include/dt-bindings')
-rw-r--r-- | include/dt-bindings/clock/imx5-clock.h | 203 | ||||
-rw-r--r-- | include/dt-bindings/clock/imx6sl-clock.h | 4 | ||||
-rw-r--r-- | include/dt-bindings/clock/r8a7790-clock.h | 100 | ||||
-rw-r--r-- | include/dt-bindings/clock/r8a7791-clock.h | 105 | ||||
-rw-r--r-- | include/dt-bindings/clock/vf610-clock.h | 6 |
5 files changed, 416 insertions, 2 deletions
diff --git a/include/dt-bindings/clock/imx5-clock.h b/include/dt-bindings/clock/imx5-clock.h new file mode 100644 index 000000000000..5f2667ecd98e --- /dev/null +++ b/include/dt-bindings/clock/imx5-clock.h | |||
@@ -0,0 +1,203 @@ | |||
1 | /* | ||
2 | * Copyright 2013 Lucas Stach, Pengutronix <l.stach@pengutronix.de> | ||
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_IMX5_H | ||
11 | #define __DT_BINDINGS_CLOCK_IMX5_H | ||
12 | |||
13 | #define IMX5_CLK_DUMMY 0 | ||
14 | #define IMX5_CLK_CKIL 1 | ||
15 | #define IMX5_CLK_OSC 2 | ||
16 | #define IMX5_CLK_CKIH1 3 | ||
17 | #define IMX5_CLK_CKIH2 4 | ||
18 | #define IMX5_CLK_AHB 5 | ||
19 | #define IMX5_CLK_IPG 6 | ||
20 | #define IMX5_CLK_AXI_A 7 | ||
21 | #define IMX5_CLK_AXI_B 8 | ||
22 | #define IMX5_CLK_UART_PRED 9 | ||
23 | #define IMX5_CLK_UART_ROOT 10 | ||
24 | #define IMX5_CLK_ESDHC_A_PRED 11 | ||
25 | #define IMX5_CLK_ESDHC_B_PRED 12 | ||
26 | #define IMX5_CLK_ESDHC_C_SEL 13 | ||
27 | #define IMX5_CLK_ESDHC_D_SEL 14 | ||
28 | #define IMX5_CLK_EMI_SEL 15 | ||
29 | #define IMX5_CLK_EMI_SLOW_PODF 16 | ||
30 | #define IMX5_CLK_NFC_PODF 17 | ||
31 | #define IMX5_CLK_ECSPI_PRED 18 | ||
32 | #define IMX5_CLK_ECSPI_PODF 19 | ||
33 | #define IMX5_CLK_USBOH3_PRED 20 | ||
34 | #define IMX5_CLK_USBOH3_PODF 21 | ||
35 | #define IMX5_CLK_USB_PHY_PRED 22 | ||
36 | #define IMX5_CLK_USB_PHY_PODF 23 | ||
37 | #define IMX5_CLK_CPU_PODF 24 | ||
38 | #define IMX5_CLK_DI_PRED 25 | ||
39 | #define IMX5_CLK_TVE_SEL 27 | ||
40 | #define IMX5_CLK_UART1_IPG_GATE 28 | ||
41 | #define IMX5_CLK_UART1_PER_GATE 29 | ||
42 | #define IMX5_CLK_UART2_IPG_GATE 30 | ||
43 | #define IMX5_CLK_UART2_PER_GATE 31 | ||
44 | #define IMX5_CLK_UART3_IPG_GATE 32 | ||
45 | #define IMX5_CLK_UART3_PER_GATE 33 | ||
46 | #define IMX5_CLK_I2C1_GATE 34 | ||
47 | #define IMX5_CLK_I2C2_GATE 35 | ||
48 | #define IMX5_CLK_GPT_IPG_GATE 36 | ||
49 | #define IMX5_CLK_PWM1_IPG_GATE 37 | ||
50 | #define IMX5_CLK_PWM1_HF_GATE 38 | ||
51 | #define IMX5_CLK_PWM2_IPG_GATE 39 | ||
52 | #define IMX5_CLK_PWM2_HF_GATE 40 | ||
53 | #define IMX5_CLK_GPT_HF_GATE 41 | ||
54 | #define IMX5_CLK_FEC_GATE 42 | ||
55 | #define IMX5_CLK_USBOH3_PER_GATE 43 | ||
56 | #define IMX5_CLK_ESDHC1_IPG_GATE 44 | ||
57 | #define IMX5_CLK_ESDHC2_IPG_GATE 45 | ||
58 | #define IMX5_CLK_ESDHC3_IPG_GATE 46 | ||
59 | #define IMX5_CLK_ESDHC4_IPG_GATE 47 | ||
60 | #define IMX5_CLK_SSI1_IPG_GATE 48 | ||
61 | #define IMX5_CLK_SSI2_IPG_GATE 49 | ||
62 | #define IMX5_CLK_SSI3_IPG_GATE 50 | ||
63 | #define IMX5_CLK_ECSPI1_IPG_GATE 51 | ||
64 | #define IMX5_CLK_ECSPI1_PER_GATE 52 | ||
65 | #define IMX5_CLK_ECSPI2_IPG_GATE 53 | ||
66 | #define IMX5_CLK_ECSPI2_PER_GATE 54 | ||
67 | #define IMX5_CLK_CSPI_IPG_GATE 55 | ||
68 | #define IMX5_CLK_SDMA_GATE 56 | ||
69 | #define IMX5_CLK_EMI_SLOW_GATE 57 | ||
70 | #define IMX5_CLK_IPU_SEL 58 | ||
71 | #define IMX5_CLK_IPU_GATE 59 | ||
72 | #define IMX5_CLK_NFC_GATE 60 | ||
73 | #define IMX5_CLK_IPU_DI1_GATE 61 | ||
74 | #define IMX5_CLK_VPU_SEL 62 | ||
75 | #define IMX5_CLK_VPU_GATE 63 | ||
76 | #define IMX5_CLK_VPU_REFERENCE_GATE 64 | ||
77 | #define IMX5_CLK_UART4_IPG_GATE 65 | ||
78 | #define IMX5_CLK_UART4_PER_GATE 66 | ||
79 | #define IMX5_CLK_UART5_IPG_GATE 67 | ||
80 | #define IMX5_CLK_UART5_PER_GATE 68 | ||
81 | #define IMX5_CLK_TVE_GATE 69 | ||
82 | #define IMX5_CLK_TVE_PRED 70 | ||
83 | #define IMX5_CLK_ESDHC1_PER_GATE 71 | ||
84 | #define IMX5_CLK_ESDHC2_PER_GATE 72 | ||
85 | #define IMX5_CLK_ESDHC3_PER_GATE 73 | ||
86 | #define IMX5_CLK_ESDHC4_PER_GATE 74 | ||
87 | #define IMX5_CLK_USB_PHY_GATE 75 | ||
88 | #define IMX5_CLK_HSI2C_GATE 76 | ||
89 | #define IMX5_CLK_MIPI_HSC1_GATE 77 | ||
90 | #define IMX5_CLK_MIPI_HSC2_GATE 78 | ||
91 | #define IMX5_CLK_MIPI_ESC_GATE 79 | ||
92 | #define IMX5_CLK_MIPI_HSP_GATE 80 | ||
93 | #define IMX5_CLK_LDB_DI1_DIV_3_5 81 | ||
94 | #define IMX5_CLK_LDB_DI1_DIV 82 | ||
95 | #define IMX5_CLK_LDB_DI0_DIV_3_5 83 | ||
96 | #define IMX5_CLK_LDB_DI0_DIV 84 | ||
97 | #define IMX5_CLK_LDB_DI1_GATE 85 | ||
98 | #define IMX5_CLK_CAN2_SERIAL_GATE 86 | ||
99 | #define IMX5_CLK_CAN2_IPG_GATE 87 | ||
100 | #define IMX5_CLK_I2C3_GATE 88 | ||
101 | #define IMX5_CLK_LP_APM 89 | ||
102 | #define IMX5_CLK_PERIPH_APM 90 | ||
103 | #define IMX5_CLK_MAIN_BUS 91 | ||
104 | #define IMX5_CLK_AHB_MAX 92 | ||
105 | #define IMX5_CLK_AIPS_TZ1 93 | ||
106 | #define IMX5_CLK_AIPS_TZ2 94 | ||
107 | #define IMX5_CLK_TMAX1 95 | ||
108 | #define IMX5_CLK_TMAX2 96 | ||
109 | #define IMX5_CLK_TMAX3 97 | ||
110 | #define IMX5_CLK_SPBA 98 | ||
111 | #define IMX5_CLK_UART_SEL 99 | ||
112 | #define IMX5_CLK_ESDHC_A_SEL 100 | ||
113 | #define IMX5_CLK_ESDHC_B_SEL 101 | ||
114 | #define IMX5_CLK_ESDHC_A_PODF 102 | ||
115 | #define IMX5_CLK_ESDHC_B_PODF 103 | ||
116 | #define IMX5_CLK_ECSPI_SEL 104 | ||
117 | #define IMX5_CLK_USBOH3_SEL 105 | ||
118 | #define IMX5_CLK_USB_PHY_SEL 106 | ||
119 | #define IMX5_CLK_IIM_GATE 107 | ||
120 | #define IMX5_CLK_USBOH3_GATE 108 | ||
121 | #define IMX5_CLK_EMI_FAST_GATE 109 | ||
122 | #define IMX5_CLK_IPU_DI0_GATE 110 | ||
123 | #define IMX5_CLK_GPC_DVFS 111 | ||
124 | #define IMX5_CLK_PLL1_SW 112 | ||
125 | #define IMX5_CLK_PLL2_SW 113 | ||
126 | #define IMX5_CLK_PLL3_SW 114 | ||
127 | #define IMX5_CLK_IPU_DI0_SEL 115 | ||
128 | #define IMX5_CLK_IPU_DI1_SEL 116 | ||
129 | #define IMX5_CLK_TVE_EXT_SEL 117 | ||
130 | #define IMX5_CLK_MX51_MIPI 118 | ||
131 | #define IMX5_CLK_PLL4_SW 119 | ||
132 | #define IMX5_CLK_LDB_DI1_SEL 120 | ||
133 | #define IMX5_CLK_DI_PLL4_PODF 121 | ||
134 | #define IMX5_CLK_LDB_DI0_SEL 122 | ||
135 | #define IMX5_CLK_LDB_DI0_GATE 123 | ||
136 | #define IMX5_CLK_USB_PHY1_GATE 124 | ||
137 | #define IMX5_CLK_USB_PHY2_GATE 125 | ||
138 | #define IMX5_CLK_PER_LP_APM 126 | ||
139 | #define IMX5_CLK_PER_PRED1 127 | ||
140 | #define IMX5_CLK_PER_PRED2 128 | ||
141 | #define IMX5_CLK_PER_PODF 129 | ||
142 | #define IMX5_CLK_PER_ROOT 130 | ||
143 | #define IMX5_CLK_SSI_APM 131 | ||
144 | #define IMX5_CLK_SSI1_ROOT_SEL 132 | ||
145 | #define IMX5_CLK_SSI2_ROOT_SEL 133 | ||
146 | #define IMX5_CLK_SSI3_ROOT_SEL 134 | ||
147 | #define IMX5_CLK_SSI_EXT1_SEL 135 | ||
148 | #define IMX5_CLK_SSI_EXT2_SEL 136 | ||
149 | #define IMX5_CLK_SSI_EXT1_COM_SEL 137 | ||
150 | #define IMX5_CLK_SSI_EXT2_COM_SEL 138 | ||
151 | #define IMX5_CLK_SSI1_ROOT_PRED 139 | ||
152 | #define IMX5_CLK_SSI1_ROOT_PODF 140 | ||
153 | #define IMX5_CLK_SSI2_ROOT_PRED 141 | ||
154 | #define IMX5_CLK_SSI2_ROOT_PODF 142 | ||
155 | #define IMX5_CLK_SSI_EXT1_PRED 143 | ||
156 | #define IMX5_CLK_SSI_EXT1_PODF 144 | ||
157 | #define IMX5_CLK_SSI_EXT2_PRED 145 | ||
158 | #define IMX5_CLK_SSI_EXT2_PODF 146 | ||
159 | #define IMX5_CLK_SSI1_ROOT_GATE 147 | ||
160 | #define IMX5_CLK_SSI2_ROOT_GATE 148 | ||
161 | #define IMX5_CLK_SSI3_ROOT_GATE 149 | ||
162 | #define IMX5_CLK_SSI_EXT1_GATE 150 | ||
163 | #define IMX5_CLK_SSI_EXT2_GATE 151 | ||
164 | #define IMX5_CLK_EPIT1_IPG_GATE 152 | ||
165 | #define IMX5_CLK_EPIT1_HF_GATE 153 | ||
166 | #define IMX5_CLK_EPIT2_IPG_GATE 154 | ||
167 | #define IMX5_CLK_EPIT2_HF_GATE 155 | ||
168 | #define IMX5_CLK_CAN_SEL 156 | ||
169 | #define IMX5_CLK_CAN1_SERIAL_GATE 157 | ||
170 | #define IMX5_CLK_CAN1_IPG_GATE 158 | ||
171 | #define IMX5_CLK_OWIRE_GATE 159 | ||
172 | #define IMX5_CLK_GPU3D_SEL 160 | ||
173 | #define IMX5_CLK_GPU2D_SEL 161 | ||
174 | #define IMX5_CLK_GPU3D_GATE 162 | ||
175 | #define IMX5_CLK_GPU2D_GATE 163 | ||
176 | #define IMX5_CLK_GARB_GATE 164 | ||
177 | #define IMX5_CLK_CKO1_SEL 165 | ||
178 | #define IMX5_CLK_CKO1_PODF 166 | ||
179 | #define IMX5_CLK_CKO1 167 | ||
180 | #define IMX5_CLK_CKO2_SEL 168 | ||
181 | #define IMX5_CLK_CKO2_PODF 169 | ||
182 | #define IMX5_CLK_CKO2 170 | ||
183 | #define IMX5_CLK_SRTC_GATE 171 | ||
184 | #define IMX5_CLK_PATA_GATE 172 | ||
185 | #define IMX5_CLK_SATA_GATE 173 | ||
186 | #define IMX5_CLK_SPDIF_XTAL_SEL 174 | ||
187 | #define IMX5_CLK_SPDIF0_SEL 175 | ||
188 | #define IMX5_CLK_SPDIF1_SEL 176 | ||
189 | #define IMX5_CLK_SPDIF0_PRED 177 | ||
190 | #define IMX5_CLK_SPDIF0_PODF 178 | ||
191 | #define IMX5_CLK_SPDIF1_PRED 179 | ||
192 | #define IMX5_CLK_SPDIF1_PODF 180 | ||
193 | #define IMX5_CLK_SPDIF0_COM_SEL 181 | ||
194 | #define IMX5_CLK_SPDIF1_COM_SEL 182 | ||
195 | #define IMX5_CLK_SPDIF0_GATE 183 | ||
196 | #define IMX5_CLK_SPDIF1_GATE 184 | ||
197 | #define IMX5_CLK_SPDIF_IPG_GATE 185 | ||
198 | #define IMX5_CLK_OCRAM 186 | ||
199 | #define IMX5_CLK_SAHARA_IPG_GATE 187 | ||
200 | #define IMX5_CLK_SATA_REF 188 | ||
201 | #define IMX5_CLK_END 189 | ||
202 | |||
203 | #endif /* __DT_BINDINGS_CLOCK_IMX5_H */ | ||
diff --git a/include/dt-bindings/clock/imx6sl-clock.h b/include/dt-bindings/clock/imx6sl-clock.h index 7fcdf90879f2..7cf5c9969336 100644 --- a/include/dt-bindings/clock/imx6sl-clock.h +++ b/include/dt-bindings/clock/imx6sl-clock.h | |||
@@ -143,6 +143,8 @@ | |||
143 | #define IMX6SL_CLK_USDHC2 130 | 143 | #define IMX6SL_CLK_USDHC2 130 |
144 | #define IMX6SL_CLK_USDHC3 131 | 144 | #define IMX6SL_CLK_USDHC3 131 |
145 | #define IMX6SL_CLK_USDHC4 132 | 145 | #define IMX6SL_CLK_USDHC4 132 |
146 | #define IMX6SL_CLK_CLK_END 133 | 146 | #define IMX6SL_CLK_PLL4_AUDIO_DIV 133 |
147 | #define IMX6SL_CLK_SPBA 134 | ||
148 | #define IMX6SL_CLK_END 135 | ||
147 | 149 | ||
148 | #endif /* __DT_BINDINGS_CLOCK_IMX6SL_H */ | 150 | #endif /* __DT_BINDINGS_CLOCK_IMX6SL_H */ |
diff --git a/include/dt-bindings/clock/r8a7790-clock.h b/include/dt-bindings/clock/r8a7790-clock.h new file mode 100644 index 000000000000..420f0b00ae1e --- /dev/null +++ b/include/dt-bindings/clock/r8a7790-clock.h | |||
@@ -0,0 +1,100 @@ | |||
1 | /* | ||
2 | * Copyright 2013 Ideas On Board SPRL | ||
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 as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | */ | ||
9 | |||
10 | #ifndef __DT_BINDINGS_CLOCK_R8A7790_H__ | ||
11 | #define __DT_BINDINGS_CLOCK_R8A7790_H__ | ||
12 | |||
13 | /* CPG */ | ||
14 | #define R8A7790_CLK_MAIN 0 | ||
15 | #define R8A7790_CLK_PLL0 1 | ||
16 | #define R8A7790_CLK_PLL1 2 | ||
17 | #define R8A7790_CLK_PLL3 3 | ||
18 | #define R8A7790_CLK_LB 4 | ||
19 | #define R8A7790_CLK_QSPI 5 | ||
20 | #define R8A7790_CLK_SDH 6 | ||
21 | #define R8A7790_CLK_SD0 7 | ||
22 | #define R8A7790_CLK_SD1 8 | ||
23 | #define R8A7790_CLK_Z 9 | ||
24 | |||
25 | /* MSTP1 */ | ||
26 | #define R8A7790_CLK_TMU1 11 | ||
27 | #define R8A7790_CLK_TMU3 21 | ||
28 | #define R8A7790_CLK_TMU2 22 | ||
29 | #define R8A7790_CLK_CMT0 24 | ||
30 | #define R8A7790_CLK_TMU0 25 | ||
31 | #define R8A7790_CLK_VSP1_DU1 27 | ||
32 | #define R8A7790_CLK_VSP1_DU0 28 | ||
33 | #define R8A7790_CLK_VSP1_RT 30 | ||
34 | #define R8A7790_CLK_VSP1_SY 31 | ||
35 | |||
36 | /* MSTP2 */ | ||
37 | #define R8A7790_CLK_SCIFA2 2 | ||
38 | #define R8A7790_CLK_SCIFA1 3 | ||
39 | #define R8A7790_CLK_SCIFA0 4 | ||
40 | #define R8A7790_CLK_SCIFB0 6 | ||
41 | #define R8A7790_CLK_SCIFB1 7 | ||
42 | #define R8A7790_CLK_SCIFB2 16 | ||
43 | #define R8A7790_CLK_SYS_DMAC0 18 | ||
44 | #define R8A7790_CLK_SYS_DMAC1 19 | ||
45 | |||
46 | /* MSTP3 */ | ||
47 | #define R8A7790_CLK_TPU0 4 | ||
48 | #define R8A7790_CLK_MMCIF1 5 | ||
49 | #define R8A7790_CLK_SDHI3 11 | ||
50 | #define R8A7790_CLK_SDHI2 12 | ||
51 | #define R8A7790_CLK_SDHI1 13 | ||
52 | #define R8A7790_CLK_SDHI0 14 | ||
53 | #define R8A7790_CLK_MMCIF0 15 | ||
54 | #define R8A7790_CLK_SSUSB 28 | ||
55 | #define R8A7790_CLK_CMT1 29 | ||
56 | #define R8A7790_CLK_USBDMAC0 30 | ||
57 | #define R8A7790_CLK_USBDMAC1 31 | ||
58 | |||
59 | /* MSTP5 */ | ||
60 | #define R8A7790_CLK_THERMAL 22 | ||
61 | #define R8A7790_CLK_PWM 23 | ||
62 | |||
63 | /* MSTP7 */ | ||
64 | #define R8A7790_CLK_EHCI 3 | ||
65 | #define R8A7790_CLK_HSUSB 4 | ||
66 | #define R8A7790_CLK_HSCIF1 16 | ||
67 | #define R8A7790_CLK_HSCIF0 17 | ||
68 | #define R8A7790_CLK_SCIF1 20 | ||
69 | #define R8A7790_CLK_SCIF0 21 | ||
70 | #define R8A7790_CLK_DU2 22 | ||
71 | #define R8A7790_CLK_DU1 23 | ||
72 | #define R8A7790_CLK_DU0 24 | ||
73 | #define R8A7790_CLK_LVDS1 25 | ||
74 | #define R8A7790_CLK_LVDS0 26 | ||
75 | |||
76 | /* MSTP8 */ | ||
77 | #define R8A7790_CLK_VIN3 8 | ||
78 | #define R8A7790_CLK_VIN2 9 | ||
79 | #define R8A7790_CLK_VIN1 10 | ||
80 | #define R8A7790_CLK_VIN0 11 | ||
81 | #define R8A7790_CLK_ETHER 13 | ||
82 | #define R8A7790_CLK_SATA1 14 | ||
83 | #define R8A7790_CLK_SATA0 15 | ||
84 | |||
85 | /* MSTP9 */ | ||
86 | #define R8A7790_CLK_GPIO5 7 | ||
87 | #define R8A7790_CLK_GPIO4 8 | ||
88 | #define R8A7790_CLK_GPIO3 9 | ||
89 | #define R8A7790_CLK_GPIO2 10 | ||
90 | #define R8A7790_CLK_GPIO1 11 | ||
91 | #define R8A7790_CLK_GPIO0 12 | ||
92 | #define R8A7790_CLK_RCAN1 15 | ||
93 | #define R8A7790_CLK_RCAN0 16 | ||
94 | #define R8A7790_CLK_IICDVFS 26 | ||
95 | #define R8A7790_CLK_I2C3 28 | ||
96 | #define R8A7790_CLK_I2C2 29 | ||
97 | #define R8A7790_CLK_I2C1 30 | ||
98 | #define R8A7790_CLK_I2C0 31 | ||
99 | |||
100 | #endif /* __DT_BINDINGS_CLOCK_R8A7790_H__ */ | ||
diff --git a/include/dt-bindings/clock/r8a7791-clock.h b/include/dt-bindings/clock/r8a7791-clock.h new file mode 100644 index 000000000000..df1715b77f96 --- /dev/null +++ b/include/dt-bindings/clock/r8a7791-clock.h | |||
@@ -0,0 +1,105 @@ | |||
1 | /* | ||
2 | * Copyright 2013 Ideas On Board SPRL | ||
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 as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | */ | ||
9 | |||
10 | #ifndef __DT_BINDINGS_CLOCK_R8A7791_H__ | ||
11 | #define __DT_BINDINGS_CLOCK_R8A7791_H__ | ||
12 | |||
13 | /* CPG */ | ||
14 | #define R8A7791_CLK_MAIN 0 | ||
15 | #define R8A7791_CLK_PLL0 1 | ||
16 | #define R8A7791_CLK_PLL1 2 | ||
17 | #define R8A7791_CLK_PLL3 3 | ||
18 | #define R8A7791_CLK_LB 4 | ||
19 | #define R8A7791_CLK_QSPI 5 | ||
20 | #define R8A7791_CLK_SDH 6 | ||
21 | #define R8A7791_CLK_SD0 7 | ||
22 | #define R8A7791_CLK_Z 8 | ||
23 | |||
24 | /* MSTP1 */ | ||
25 | #define R8A7791_CLK_TMU1 11 | ||
26 | #define R8A7791_CLK_TMU3 21 | ||
27 | #define R8A7791_CLK_TMU2 22 | ||
28 | #define R8A7791_CLK_CMT0 24 | ||
29 | #define R8A7791_CLK_TMU0 25 | ||
30 | #define R8A7791_CLK_VSP1_DU1 27 | ||
31 | #define R8A7791_CLK_VSP1_DU0 28 | ||
32 | #define R8A7791_CLK_VSP1_SY 31 | ||
33 | |||
34 | /* MSTP2 */ | ||
35 | #define R8A7791_CLK_SCIFA2 2 | ||
36 | #define R8A7791_CLK_SCIFA1 3 | ||
37 | #define R8A7791_CLK_SCIFA0 4 | ||
38 | #define R8A7791_CLK_SCIFB0 6 | ||
39 | #define R8A7791_CLK_SCIFB1 7 | ||
40 | #define R8A7791_CLK_SCIFB2 16 | ||
41 | #define R8A7791_CLK_DMAC 18 | ||
42 | |||
43 | /* MSTP3 */ | ||
44 | #define R8A7791_CLK_TPU0 4 | ||
45 | #define R8A7791_CLK_SDHI2 11 | ||
46 | #define R8A7791_CLK_SDHI1 12 | ||
47 | #define R8A7791_CLK_SDHI0 14 | ||
48 | #define R8A7791_CLK_MMCIF0 15 | ||
49 | #define R8A7791_CLK_SSUSB 28 | ||
50 | #define R8A7791_CLK_CMT1 29 | ||
51 | #define R8A7791_CLK_USBDMAC0 30 | ||
52 | #define R8A7791_CLK_USBDMAC1 31 | ||
53 | |||
54 | /* MSTP5 */ | ||
55 | #define R8A7791_CLK_THERMAL 22 | ||
56 | #define R8A7791_CLK_PWM 23 | ||
57 | |||
58 | /* MSTP7 */ | ||
59 | #define R8A7791_CLK_HSUSB 4 | ||
60 | #define R8A7791_CLK_HSCIF2 13 | ||
61 | #define R8A7791_CLK_SCIF5 14 | ||
62 | #define R8A7791_CLK_SCIF4 15 | ||
63 | #define R8A7791_CLK_HSCIF1 16 | ||
64 | #define R8A7791_CLK_HSCIF0 17 | ||
65 | #define R8A7791_CLK_SCIF3 18 | ||
66 | #define R8A7791_CLK_SCIF2 19 | ||
67 | #define R8A7791_CLK_SCIF1 20 | ||
68 | #define R8A7791_CLK_SCIF0 21 | ||
69 | #define R8A7791_CLK_DU1 23 | ||
70 | #define R8A7791_CLK_DU0 24 | ||
71 | #define R8A7791_CLK_LVDS0 26 | ||
72 | |||
73 | /* MSTP8 */ | ||
74 | #define R8A7791_CLK_VIN2 9 | ||
75 | #define R8A7791_CLK_VIN1 10 | ||
76 | #define R8A7791_CLK_VIN0 11 | ||
77 | #define R8A7791_CLK_ETHER 13 | ||
78 | #define R8A7791_CLK_SATA1 14 | ||
79 | #define R8A7791_CLK_SATA0 15 | ||
80 | |||
81 | /* MSTP9 */ | ||
82 | #define R8A7791_CLK_GPIO7 4 | ||
83 | #define R8A7791_CLK_GPIO6 5 | ||
84 | #define R8A7791_CLK_GPIO5 7 | ||
85 | #define R8A7791_CLK_GPIO4 8 | ||
86 | #define R8A7791_CLK_GPIO3 9 | ||
87 | #define R8A7791_CLK_GPIO2 10 | ||
88 | #define R8A7791_CLK_GPIO1 11 | ||
89 | #define R8A7791_CLK_GPIO0 12 | ||
90 | #define R8A7791_CLK_RCAN1 15 | ||
91 | #define R8A7791_CLK_RCAN0 16 | ||
92 | #define R8A7791_CLK_I2C5 25 | ||
93 | #define R8A7791_CLK_IICDVFS 26 | ||
94 | #define R8A7791_CLK_I2C4 27 | ||
95 | #define R8A7791_CLK_I2C3 28 | ||
96 | #define R8A7791_CLK_I2C2 29 | ||
97 | #define R8A7791_CLK_I2C1 30 | ||
98 | #define R8A7791_CLK_I2C0 31 | ||
99 | |||
100 | /* MSTP11 */ | ||
101 | #define R8A7791_CLK_SCIFA3 6 | ||
102 | #define R8A7791_CLK_SCIFA4 7 | ||
103 | #define R8A7791_CLK_SCIFA5 8 | ||
104 | |||
105 | #endif /* __DT_BINDINGS_CLOCK_R8A7791_H__ */ | ||
diff --git a/include/dt-bindings/clock/vf610-clock.h b/include/dt-bindings/clock/vf610-clock.h index 4aa2b48cd151..a91602951d3d 100644 --- a/include/dt-bindings/clock/vf610-clock.h +++ b/include/dt-bindings/clock/vf610-clock.h | |||
@@ -160,6 +160,10 @@ | |||
160 | #define VF610_CLK_GPU2D 147 | 160 | #define VF610_CLK_GPU2D 147 |
161 | #define VF610_CLK_ENET0 148 | 161 | #define VF610_CLK_ENET0 148 |
162 | #define VF610_CLK_ENET1 149 | 162 | #define VF610_CLK_ENET1 149 |
163 | #define VF610_CLK_END 150 | 163 | #define VF610_CLK_DMAMUX0 150 |
164 | #define VF610_CLK_DMAMUX1 151 | ||
165 | #define VF610_CLK_DMAMUX2 152 | ||
166 | #define VF610_CLK_DMAMUX3 153 | ||
167 | #define VF610_CLK_END 154 | ||
164 | 168 | ||
165 | #endif /* __DT_BINDINGS_CLOCK_VF610_H */ | 169 | #endif /* __DT_BINDINGS_CLOCK_VF610_H */ |