blob: 858aa0796ec8c42b7772c4df4b1c596c40ccef2b [file] [log] [blame]
Adam Ford6d438692017-04-17 08:09:39 -05001/*
2 * Device Tree Source for OMAP34XX/OMAP36XX clock data
3 *
4 * Copyright (C) 2013 Texas Instruments, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10&cm_clocks {
Adam Fordf9464222017-08-25 07:33:26 -050011 security_l4_ick2: security_l4_ick2 {
12 #clock-cells = <0>;
13 compatible = "fixed-factor-clock";
14 clocks = <&l4_ick>;
15 clock-mult = <1>;
16 clock-div = <1>;
17 };
Adam Ford6d438692017-04-17 08:09:39 -050018
Adam Fordf9464222017-08-25 07:33:26 -050019 aes1_ick: aes1_ick@a14 {
20 #clock-cells = <0>;
21 compatible = "ti,omap3-interface-clock";
22 clocks = <&security_l4_ick2>;
23 ti,bit-shift = <3>;
24 reg = <0x0a14>;
25 };
Adam Ford6d438692017-04-17 08:09:39 -050026
Adam Fordf9464222017-08-25 07:33:26 -050027 rng_ick: rng_ick@a14 {
28 #clock-cells = <0>;
29 compatible = "ti,omap3-interface-clock";
30 clocks = <&security_l4_ick2>;
31 reg = <0x0a14>;
32 ti,bit-shift = <2>;
33 };
Adam Ford6d438692017-04-17 08:09:39 -050034
Adam Fordf9464222017-08-25 07:33:26 -050035 sha11_ick: sha11_ick@a14 {
36 #clock-cells = <0>;
37 compatible = "ti,omap3-interface-clock";
38 clocks = <&security_l4_ick2>;
39 reg = <0x0a14>;
40 ti,bit-shift = <1>;
41 };
Adam Ford6d438692017-04-17 08:09:39 -050042
Adam Fordf9464222017-08-25 07:33:26 -050043 des1_ick: des1_ick@a14 {
44 #clock-cells = <0>;
45 compatible = "ti,omap3-interface-clock";
46 clocks = <&security_l4_ick2>;
47 reg = <0x0a14>;
48 ti,bit-shift = <0>;
49 };
Adam Ford6d438692017-04-17 08:09:39 -050050
Adam Fordf9464222017-08-25 07:33:26 -050051 cam_mclk: cam_mclk@f00 {
52 #clock-cells = <0>;
53 compatible = "ti,gate-clock";
54 clocks = <&dpll4_m5x2_ck>;
55 ti,bit-shift = <0>;
56 reg = <0x0f00>;
57 ti,set-rate-parent;
58 };
Adam Ford6d438692017-04-17 08:09:39 -050059
Adam Fordf9464222017-08-25 07:33:26 -050060 cam_ick: cam_ick@f10 {
61 #clock-cells = <0>;
62 compatible = "ti,omap3-no-wait-interface-clock";
63 clocks = <&l4_ick>;
64 reg = <0x0f10>;
65 ti,bit-shift = <0>;
66 };
Adam Ford6d438692017-04-17 08:09:39 -050067
Adam Fordf9464222017-08-25 07:33:26 -050068 csi2_96m_fck: csi2_96m_fck@f00 {
69 #clock-cells = <0>;
70 compatible = "ti,gate-clock";
71 clocks = <&core_96m_fck>;
72 reg = <0x0f00>;
73 ti,bit-shift = <1>;
74 };
Adam Ford6d438692017-04-17 08:09:39 -050075
Adam Fordf9464222017-08-25 07:33:26 -050076 security_l3_ick: security_l3_ick {
77 #clock-cells = <0>;
78 compatible = "fixed-factor-clock";
79 clocks = <&l3_ick>;
80 clock-mult = <1>;
81 clock-div = <1>;
82 };
Adam Ford6d438692017-04-17 08:09:39 -050083
Adam Fordf9464222017-08-25 07:33:26 -050084 pka_ick: pka_ick@a14 {
85 #clock-cells = <0>;
86 compatible = "ti,omap3-interface-clock";
87 clocks = <&security_l3_ick>;
88 reg = <0x0a14>;
89 ti,bit-shift = <4>;
90 };
Adam Ford6d438692017-04-17 08:09:39 -050091
Adam Fordf9464222017-08-25 07:33:26 -050092 icr_ick: icr_ick@a10 {
93 #clock-cells = <0>;
94 compatible = "ti,omap3-interface-clock";
95 clocks = <&core_l4_ick>;
96 reg = <0x0a10>;
97 ti,bit-shift = <29>;
98 };
Adam Ford6d438692017-04-17 08:09:39 -050099
Adam Fordf9464222017-08-25 07:33:26 -0500100 des2_ick: des2_ick@a10 {
101 #clock-cells = <0>;
102 compatible = "ti,omap3-interface-clock";
103 clocks = <&core_l4_ick>;
104 reg = <0x0a10>;
105 ti,bit-shift = <26>;
106 };
Adam Ford6d438692017-04-17 08:09:39 -0500107
Adam Fordf9464222017-08-25 07:33:26 -0500108 mspro_ick: mspro_ick@a10 {
109 #clock-cells = <0>;
110 compatible = "ti,omap3-interface-clock";
111 clocks = <&core_l4_ick>;
112 reg = <0x0a10>;
113 ti,bit-shift = <23>;
114 };
Adam Ford6d438692017-04-17 08:09:39 -0500115
Adam Fordf9464222017-08-25 07:33:26 -0500116 mailboxes_ick: mailboxes_ick@a10 {
117 #clock-cells = <0>;
118 compatible = "ti,omap3-interface-clock";
119 clocks = <&core_l4_ick>;
120 reg = <0x0a10>;
121 ti,bit-shift = <7>;
122 };
Adam Ford6d438692017-04-17 08:09:39 -0500123
Adam Fordf9464222017-08-25 07:33:26 -0500124 ssi_l4_ick: ssi_l4_ick {
125 #clock-cells = <0>;
126 compatible = "fixed-factor-clock";
127 clocks = <&l4_ick>;
128 clock-mult = <1>;
129 clock-div = <1>;
130 };
Adam Ford6d438692017-04-17 08:09:39 -0500131
Adam Fordf9464222017-08-25 07:33:26 -0500132 sr1_fck: sr1_fck@c00 {
133 #clock-cells = <0>;
134 compatible = "ti,wait-gate-clock";
135 clocks = <&sys_ck>;
136 reg = <0x0c00>;
137 ti,bit-shift = <6>;
138 };
Adam Ford6d438692017-04-17 08:09:39 -0500139
Adam Fordf9464222017-08-25 07:33:26 -0500140 sr2_fck: sr2_fck@c00 {
141 #clock-cells = <0>;
142 compatible = "ti,wait-gate-clock";
143 clocks = <&sys_ck>;
144 reg = <0x0c00>;
145 ti,bit-shift = <7>;
146 };
Adam Ford6d438692017-04-17 08:09:39 -0500147
Adam Fordf9464222017-08-25 07:33:26 -0500148 sr_l4_ick: sr_l4_ick {
149 #clock-cells = <0>;
150 compatible = "fixed-factor-clock";
151 clocks = <&l4_ick>;
152 clock-mult = <1>;
153 clock-div = <1>;
154 };
Adam Ford6d438692017-04-17 08:09:39 -0500155
Adam Fordf9464222017-08-25 07:33:26 -0500156 dpll2_fck: dpll2_fck@40 {
157 #clock-cells = <0>;
158 compatible = "ti,divider-clock";
159 clocks = <&core_ck>;
160 ti,bit-shift = <19>;
161 ti,max-div = <7>;
162 reg = <0x0040>;
163 ti,index-starts-at-one;
164 };
Adam Ford6d438692017-04-17 08:09:39 -0500165
Adam Fordf9464222017-08-25 07:33:26 -0500166 dpll2_ck: dpll2_ck@4 {
167 #clock-cells = <0>;
168 compatible = "ti,omap3-dpll-clock";
169 clocks = <&sys_ck>, <&dpll2_fck>;
170 reg = <0x0004>, <0x0024>, <0x0040>, <0x0034>;
171 ti,low-power-stop;
172 ti,lock;
173 ti,low-power-bypass;
174 };
Adam Ford6d438692017-04-17 08:09:39 -0500175
Adam Fordf9464222017-08-25 07:33:26 -0500176 dpll2_m2_ck: dpll2_m2_ck@44 {
177 #clock-cells = <0>;
178 compatible = "ti,divider-clock";
179 clocks = <&dpll2_ck>;
180 ti,max-div = <31>;
181 reg = <0x0044>;
182 ti,index-starts-at-one;
183 };
Adam Ford6d438692017-04-17 08:09:39 -0500184
Adam Fordf9464222017-08-25 07:33:26 -0500185 iva2_ck: iva2_ck@0 {
186 #clock-cells = <0>;
187 compatible = "ti,wait-gate-clock";
188 clocks = <&dpll2_m2_ck>;
189 reg = <0x0000>;
190 ti,bit-shift = <0>;
191 };
Adam Ford6d438692017-04-17 08:09:39 -0500192
Adam Fordf9464222017-08-25 07:33:26 -0500193 modem_fck: modem_fck@a00 {
194 #clock-cells = <0>;
195 compatible = "ti,omap3-interface-clock";
196 clocks = <&sys_ck>;
197 reg = <0x0a00>;
198 ti,bit-shift = <31>;
199 };
Adam Ford6d438692017-04-17 08:09:39 -0500200
Adam Fordf9464222017-08-25 07:33:26 -0500201 sad2d_ick: sad2d_ick@a10 {
202 #clock-cells = <0>;
203 compatible = "ti,omap3-interface-clock";
204 clocks = <&l3_ick>;
205 reg = <0x0a10>;
206 ti,bit-shift = <3>;
207 };
Adam Ford6d438692017-04-17 08:09:39 -0500208
Adam Fordf9464222017-08-25 07:33:26 -0500209 mad2d_ick: mad2d_ick@a18 {
210 #clock-cells = <0>;
211 compatible = "ti,omap3-interface-clock";
212 clocks = <&l3_ick>;
213 reg = <0x0a18>;
214 ti,bit-shift = <3>;
215 };
Adam Ford6d438692017-04-17 08:09:39 -0500216
Adam Fordf9464222017-08-25 07:33:26 -0500217 mspro_fck: mspro_fck@a00 {
218 #clock-cells = <0>;
219 compatible = "ti,wait-gate-clock";
220 clocks = <&core_96m_fck>;
221 reg = <0x0a00>;
222 ti,bit-shift = <23>;
223 };
Adam Ford6d438692017-04-17 08:09:39 -0500224};
225
226&cm_clockdomains {
Adam Fordf9464222017-08-25 07:33:26 -0500227 cam_clkdm: cam_clkdm {
228 compatible = "ti,clockdomain";
229 clocks = <&cam_ick>, <&csi2_96m_fck>;
230 };
Adam Ford6d438692017-04-17 08:09:39 -0500231
Adam Fordf9464222017-08-25 07:33:26 -0500232 iva2_clkdm: iva2_clkdm {
233 compatible = "ti,clockdomain";
234 clocks = <&iva2_ck>;
235 };
Adam Ford6d438692017-04-17 08:09:39 -0500236
Adam Fordf9464222017-08-25 07:33:26 -0500237 dpll2_clkdm: dpll2_clkdm {
238 compatible = "ti,clockdomain";
239 clocks = <&dpll2_ck>;
240 };
Adam Ford6d438692017-04-17 08:09:39 -0500241
Adam Fordf9464222017-08-25 07:33:26 -0500242 wkup_clkdm: wkup_clkdm {
243 compatible = "ti,clockdomain";
244 clocks = <&gpio1_dbck>, <&wdt2_fck>, <&wdt2_ick>, <&wdt1_ick>,
245 <&gpio1_ick>, <&omap_32ksync_ick>, <&gpt12_ick>,
246 <&gpt1_ick>, <&sr1_fck>, <&sr2_fck>;
247 };
Adam Ford6d438692017-04-17 08:09:39 -0500248
Adam Fordf9464222017-08-25 07:33:26 -0500249 d2d_clkdm: d2d_clkdm {
250 compatible = "ti,clockdomain";
251 clocks = <&modem_fck>, <&sad2d_ick>, <&mad2d_ick>;
252 };
Adam Ford6d438692017-04-17 08:09:39 -0500253
Adam Fordf9464222017-08-25 07:33:26 -0500254 core_l4_clkdm: core_l4_clkdm {
255 compatible = "ti,clockdomain";
256 clocks = <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
257 <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
258 <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
259 <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
260 <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
261 <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
262 <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
263 <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
264 <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>, <&icr_ick>,
265 <&des2_ick>, <&mspro_ick>, <&mailboxes_ick>,
266 <&mspro_fck>;
267 };
Adam Ford6d438692017-04-17 08:09:39 -0500268};