summaryrefslogtreecommitdiff
path: root/arch/arm/dts/omap36xx-am35xx-omap3430es2plus-clocks.dtsi
blob: 572cb5377b665e2d2ea4311e5e2999994d70b9e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
/*
 * Device Tree Source for OMAP36xx/AM35xx/OMAP34xx clock data
 *
 * Copyright (C) 2013 Texas Instruments, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
&prm_clocks {
       corex2_d3_fck: corex2_d3_fck {
               #clock-cells = <0>;
               compatible = "fixed-factor-clock";
               clocks = <&corex2_fck>;
               clock-mult = <1>;
               clock-div = <3>;
       };

       corex2_d5_fck: corex2_d5_fck {
               #clock-cells = <0>;
               compatible = "fixed-factor-clock";
               clocks = <&corex2_fck>;
               clock-mult = <1>;
               clock-div = <5>;
       };
};
&cm_clocks {
       dpll5_ck: dpll5_ck@d04 {
               #clock-cells = <0>;
               compatible = "ti,omap3-dpll-clock";
               clocks = <&sys_ck>, <&sys_ck>;
               reg = <0x0d04>, <0x0d24>, <0x0d4c>, <0x0d34>;
               ti,low-power-stop;
               ti,lock;
       };

       dpll5_m2_ck: dpll5_m2_ck@d50 {
               #clock-cells = <0>;
               compatible = "ti,divider-clock";
               clocks = <&dpll5_ck>;
               ti,max-div = <31>;
               reg = <0x0d50>;
               ti,index-starts-at-one;
       };

       sgx_gate_fck: sgx_gate_fck@b00 {
               #clock-cells = <0>;
               compatible = "ti,composite-gate-clock";
               clocks = <&core_ck>;
               ti,bit-shift = <1>;
               reg = <0x0b00>;
       };

       core_d3_ck: core_d3_ck {
               #clock-cells = <0>;
               compatible = "fixed-factor-clock";
               clocks = <&core_ck>;
               clock-mult = <1>;
               clock-div = <3>;
       };

       core_d4_ck: core_d4_ck {
               #clock-cells = <0>;
               compatible = "fixed-factor-clock";
               clocks = <&core_ck>;
               clock-mult = <1>;
               clock-div = <4>;
       };

       core_d6_ck: core_d6_ck {
               #clock-cells = <0>;
               compatible = "fixed-factor-clock";
               clocks = <&core_ck>;
               clock-mult = <1>;
               clock-div = <6>;
       };

       omap_192m_alwon_fck: omap_192m_alwon_fck {
               #clock-cells = <0>;
               compatible = "fixed-factor-clock";
               clocks = <&dpll4_m2x2_ck>;
               clock-mult = <1>;
               clock-div = <1>;
       };

       core_d2_ck: core_d2_ck {
               #clock-cells = <0>;
               compatible = "fixed-factor-clock";
               clocks = <&core_ck>;
               clock-mult = <1>;
               clock-div = <2>;
       };

       sgx_mux_fck: sgx_mux_fck@b40 {
               #clock-cells = <0>;
               compatible = "ti,composite-mux-clock";
               clocks = <&core_d3_ck>, <&core_d4_ck>, <&core_d6_ck>, <&cm_96m_fck>, <&omap_192m_alwon_fck>, <&core_d2_ck>, <&corex2_d3_fck>, <&corex2_d5_fck>;
               reg = <0x0b40>;
       };

       sgx_fck: sgx_fck {
               #clock-cells = <0>;
               compatible = "ti,composite-clock";
               clocks = <&sgx_gate_fck>, <&sgx_mux_fck>;
       };

       sgx_ick: sgx_ick@b10 {
               #clock-cells = <0>;
               compatible = "ti,wait-gate-clock";
               clocks = <&l3_ick>;
               reg = <0x0b10>;
               ti,bit-shift = <0>;
       };

       cpefuse_fck: cpefuse_fck@a08 {
               #clock-cells = <0>;
               compatible = "ti,gate-clock";
               clocks = <&sys_ck>;
               reg = <0x0a08>;
               ti,bit-shift = <0>;
       };

       ts_fck: ts_fck@a08 {
               #clock-cells = <0>;
               compatible = "ti,gate-clock";
               clocks = <&omap_32k_fck>;
               reg = <0x0a08>;
               ti,bit-shift = <1>;
       };

       usbtll_fck: usbtll_fck@a08 {
               #clock-cells = <0>;
               compatible = "ti,wait-gate-clock";
               clocks = <&dpll5_m2_ck>;
               reg = <0x0a08>;
               ti,bit-shift = <2>;
       };

       usbtll_ick: usbtll_ick@a18 {
               #clock-cells = <0>;
               compatible = "ti,omap3-interface-clock";
               clocks = <&core_l4_ick>;
               reg = <0x0a18>;
               ti,bit-shift = <2>;
       };

       mmchs3_ick: mmchs3_ick@a10 {
               #clock-cells = <0>;
               compatible = "ti,omap3-interface-clock";
               clocks = <&core_l4_ick>;
               reg = <0x0a10>;
               ti,bit-shift = <30>;
       };

       mmchs3_fck: mmchs3_fck@a00 {
               #clock-cells = <0>;
               compatible = "ti,wait-gate-clock";
               clocks = <&core_96m_fck>;
               reg = <0x0a00>;
               ti,bit-shift = <30>;
       };

       dss1_alwon_fck: dss1_alwon_fck_3430es2@e00 {
               #clock-cells = <0>;
               compatible = "ti,dss-gate-clock";
               clocks = <&dpll4_m4x2_ck>;
               ti,bit-shift = <0>;
               reg = <0x0e00>;
               ti,set-rate-parent;
       };

       dss_ick: dss_ick_3430es2@e10 {
               #clock-cells = <0>;
               compatible = "ti,omap3-dss-interface-clock";
               clocks = <&l4_ick>;
               reg = <0x0e10>;
               ti,bit-shift = <0>;
       };

       usbhost_120m_fck: usbhost_120m_fck@1400 {
               #clock-cells = <0>;
               compatible = "ti,gate-clock";
               clocks = <&dpll5_m2_ck>;
               reg = <0x1400>;
               ti,bit-shift = <1>;
       };

       usbhost_48m_fck: usbhost_48m_fck@1400 {
               #clock-cells = <0>;
               compatible = "ti,dss-gate-clock";
               clocks = <&omap_48m_fck>;
               reg = <0x1400>;
               ti,bit-shift = <0>;
       };

       usbhost_ick: usbhost_ick@1410 {
               #clock-cells = <0>;
               compatible = "ti,omap3-dss-interface-clock";
               clocks = <&l4_ick>;
               reg = <0x1410>;
               ti,bit-shift = <0>;
       };
};

&cm_clockdomains {
       dpll5_clkdm: dpll5_clkdm {
               compatible = "ti,clockdomain";
               clocks = <&dpll5_ck>;
       };

       sgx_clkdm: sgx_clkdm {
               compatible = "ti,clockdomain";
               clocks = <&sgx_ick>;
       };

       dss_clkdm: dss_clkdm {
               compatible = "ti,clockdomain";
               clocks = <&dss_tv_fck>, <&dss_96m_fck>, <&dss2_alwon_fck>,
                        <&dss1_alwon_fck>, <&dss_ick>;
       };

       core_l4_clkdm: core_l4_clkdm {
               compatible = "ti,clockdomain";
               clocks = <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
                        <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
                        <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
                        <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
                        <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
                        <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
                        <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
                        <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
                        <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>,
                        <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>,
                        <&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>;
       };

       usbhost_clkdm: usbhost_clkdm {
               compatible = "ti,clockdomain";
               clocks = <&usbhost_120m_fck>, <&usbhost_48m_fck>,
                        <&usbhost_ick>;
       };
};