blob: 9974d5226971684a9bc24eec9678ab4172aa8c06 [file] [log] [blame]
Andrew Davis855bb442023-04-11 13:24:59 -05001// SPDX-License-Identifier: GPL-2.0-only
Adam Ford6d438692017-04-17 08:09:39 -05002/*
3 * Device Tree Source for OMAP36xx/AM35xx/OMAP34xx clock data
4 *
5 * Copyright (C) 2013 Texas Instruments, Inc.
Adam Ford6d438692017-04-17 08:09:39 -05006 */
7&prm_clocks {
Adam Fordf9464222017-08-25 07:33:26 -05008 corex2_d3_fck: corex2_d3_fck {
9 #clock-cells = <0>;
10 compatible = "fixed-factor-clock";
11 clocks = <&corex2_fck>;
12 clock-mult = <1>;
13 clock-div = <3>;
14 };
Adam Ford6d438692017-04-17 08:09:39 -050015
Adam Fordf9464222017-08-25 07:33:26 -050016 corex2_d5_fck: corex2_d5_fck {
17 #clock-cells = <0>;
18 compatible = "fixed-factor-clock";
19 clocks = <&corex2_fck>;
20 clock-mult = <1>;
21 clock-div = <5>;
22 };
Adam Ford6d438692017-04-17 08:09:39 -050023};
24&cm_clocks {
Adam Fordf9464222017-08-25 07:33:26 -050025 dpll5_ck: dpll5_ck@d04 {
26 #clock-cells = <0>;
27 compatible = "ti,omap3-dpll-clock";
28 clocks = <&sys_ck>, <&sys_ck>;
29 reg = <0x0d04>, <0x0d24>, <0x0d4c>, <0x0d34>;
30 ti,low-power-stop;
31 ti,lock;
32 };
Adam Ford6d438692017-04-17 08:09:39 -050033
Adam Fordf9464222017-08-25 07:33:26 -050034 dpll5_m2_ck: dpll5_m2_ck@d50 {
35 #clock-cells = <0>;
36 compatible = "ti,divider-clock";
37 clocks = <&dpll5_ck>;
38 ti,max-div = <31>;
39 reg = <0x0d50>;
40 ti,index-starts-at-one;
41 };
Adam Ford6d438692017-04-17 08:09:39 -050042
Adam Fordf9464222017-08-25 07:33:26 -050043 sgx_gate_fck: sgx_gate_fck@b00 {
44 #clock-cells = <0>;
45 compatible = "ti,composite-gate-clock";
46 clocks = <&core_ck>;
47 ti,bit-shift = <1>;
48 reg = <0x0b00>;
49 };
Adam Ford6d438692017-04-17 08:09:39 -050050
Adam Fordf9464222017-08-25 07:33:26 -050051 core_d3_ck: core_d3_ck {
52 #clock-cells = <0>;
53 compatible = "fixed-factor-clock";
54 clocks = <&core_ck>;
55 clock-mult = <1>;
56 clock-div = <3>;
57 };
Adam Ford6d438692017-04-17 08:09:39 -050058
Adam Fordf9464222017-08-25 07:33:26 -050059 core_d4_ck: core_d4_ck {
60 #clock-cells = <0>;
61 compatible = "fixed-factor-clock";
62 clocks = <&core_ck>;
63 clock-mult = <1>;
64 clock-div = <4>;
65 };
Adam Ford6d438692017-04-17 08:09:39 -050066
Adam Fordf9464222017-08-25 07:33:26 -050067 core_d6_ck: core_d6_ck {
68 #clock-cells = <0>;
69 compatible = "fixed-factor-clock";
70 clocks = <&core_ck>;
71 clock-mult = <1>;
72 clock-div = <6>;
73 };
Adam Ford6d438692017-04-17 08:09:39 -050074
Adam Fordf9464222017-08-25 07:33:26 -050075 omap_192m_alwon_fck: omap_192m_alwon_fck {
76 #clock-cells = <0>;
77 compatible = "fixed-factor-clock";
78 clocks = <&dpll4_m2x2_ck>;
79 clock-mult = <1>;
80 clock-div = <1>;
81 };
Adam Ford6d438692017-04-17 08:09:39 -050082
Adam Fordf9464222017-08-25 07:33:26 -050083 core_d2_ck: core_d2_ck {
84 #clock-cells = <0>;
85 compatible = "fixed-factor-clock";
86 clocks = <&core_ck>;
87 clock-mult = <1>;
88 clock-div = <2>;
89 };
Adam Ford6d438692017-04-17 08:09:39 -050090
Adam Fordf9464222017-08-25 07:33:26 -050091 sgx_mux_fck: sgx_mux_fck@b40 {
92 #clock-cells = <0>;
93 compatible = "ti,composite-mux-clock";
94 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>;
95 reg = <0x0b40>;
96 };
Adam Ford6d438692017-04-17 08:09:39 -050097
Adam Fordf9464222017-08-25 07:33:26 -050098 sgx_fck: sgx_fck {
99 #clock-cells = <0>;
100 compatible = "ti,composite-clock";
101 clocks = <&sgx_gate_fck>, <&sgx_mux_fck>;
102 };
Adam Ford6d438692017-04-17 08:09:39 -0500103
Adam Fordf9464222017-08-25 07:33:26 -0500104 sgx_ick: sgx_ick@b10 {
105 #clock-cells = <0>;
106 compatible = "ti,wait-gate-clock";
107 clocks = <&l3_ick>;
108 reg = <0x0b10>;
109 ti,bit-shift = <0>;
110 };
Adam Ford6d438692017-04-17 08:09:39 -0500111
Adam Fordf9464222017-08-25 07:33:26 -0500112 cpefuse_fck: cpefuse_fck@a08 {
113 #clock-cells = <0>;
114 compatible = "ti,gate-clock";
115 clocks = <&sys_ck>;
116 reg = <0x0a08>;
117 ti,bit-shift = <0>;
118 };
Adam Ford6d438692017-04-17 08:09:39 -0500119
Adam Fordf9464222017-08-25 07:33:26 -0500120 ts_fck: ts_fck@a08 {
121 #clock-cells = <0>;
122 compatible = "ti,gate-clock";
123 clocks = <&omap_32k_fck>;
124 reg = <0x0a08>;
125 ti,bit-shift = <1>;
126 };
Adam Ford6d438692017-04-17 08:09:39 -0500127
Adam Fordf9464222017-08-25 07:33:26 -0500128 usbtll_fck: usbtll_fck@a08 {
129 #clock-cells = <0>;
130 compatible = "ti,wait-gate-clock";
131 clocks = <&dpll5_m2_ck>;
132 reg = <0x0a08>;
133 ti,bit-shift = <2>;
134 };
Adam Ford6d438692017-04-17 08:09:39 -0500135
Adam Fordf9464222017-08-25 07:33:26 -0500136 usbtll_ick: usbtll_ick@a18 {
137 #clock-cells = <0>;
138 compatible = "ti,omap3-interface-clock";
139 clocks = <&core_l4_ick>;
140 reg = <0x0a18>;
141 ti,bit-shift = <2>;
142 };
Adam Ford6d438692017-04-17 08:09:39 -0500143
Adam Fordf9464222017-08-25 07:33:26 -0500144 mmchs3_ick: mmchs3_ick@a10 {
145 #clock-cells = <0>;
146 compatible = "ti,omap3-interface-clock";
147 clocks = <&core_l4_ick>;
148 reg = <0x0a10>;
149 ti,bit-shift = <30>;
150 };
Adam Ford6d438692017-04-17 08:09:39 -0500151
Adam Fordf9464222017-08-25 07:33:26 -0500152 mmchs3_fck: mmchs3_fck@a00 {
153 #clock-cells = <0>;
154 compatible = "ti,wait-gate-clock";
155 clocks = <&core_96m_fck>;
156 reg = <0x0a00>;
157 ti,bit-shift = <30>;
158 };
Adam Ford6d438692017-04-17 08:09:39 -0500159
Adam Fordf9464222017-08-25 07:33:26 -0500160 dss1_alwon_fck: dss1_alwon_fck_3430es2@e00 {
161 #clock-cells = <0>;
162 compatible = "ti,dss-gate-clock";
163 clocks = <&dpll4_m4x2_ck>;
164 ti,bit-shift = <0>;
165 reg = <0x0e00>;
166 ti,set-rate-parent;
167 };
Adam Ford6d438692017-04-17 08:09:39 -0500168
Adam Fordf9464222017-08-25 07:33:26 -0500169 dss_ick: dss_ick_3430es2@e10 {
170 #clock-cells = <0>;
171 compatible = "ti,omap3-dss-interface-clock";
172 clocks = <&l4_ick>;
173 reg = <0x0e10>;
174 ti,bit-shift = <0>;
175 };
Adam Ford6d438692017-04-17 08:09:39 -0500176
Adam Fordf9464222017-08-25 07:33:26 -0500177 usbhost_120m_fck: usbhost_120m_fck@1400 {
178 #clock-cells = <0>;
179 compatible = "ti,gate-clock";
180 clocks = <&dpll5_m2_ck>;
181 reg = <0x1400>;
182 ti,bit-shift = <1>;
183 };
Adam Ford6d438692017-04-17 08:09:39 -0500184
Adam Fordf9464222017-08-25 07:33:26 -0500185 usbhost_48m_fck: usbhost_48m_fck@1400 {
186 #clock-cells = <0>;
187 compatible = "ti,dss-gate-clock";
188 clocks = <&omap_48m_fck>;
189 reg = <0x1400>;
190 ti,bit-shift = <0>;
191 };
Adam Ford6d438692017-04-17 08:09:39 -0500192
Adam Fordf9464222017-08-25 07:33:26 -0500193 usbhost_ick: usbhost_ick@1410 {
194 #clock-cells = <0>;
195 compatible = "ti,omap3-dss-interface-clock";
196 clocks = <&l4_ick>;
197 reg = <0x1410>;
198 ti,bit-shift = <0>;
199 };
Adam Ford6d438692017-04-17 08:09:39 -0500200};
201
202&cm_clockdomains {
Adam Fordf9464222017-08-25 07:33:26 -0500203 dpll5_clkdm: dpll5_clkdm {
204 compatible = "ti,clockdomain";
205 clocks = <&dpll5_ck>;
206 };
Adam Ford6d438692017-04-17 08:09:39 -0500207
Adam Fordf9464222017-08-25 07:33:26 -0500208 sgx_clkdm: sgx_clkdm {
209 compatible = "ti,clockdomain";
210 clocks = <&sgx_ick>;
211 };
Adam Ford6d438692017-04-17 08:09:39 -0500212
Adam Fordf9464222017-08-25 07:33:26 -0500213 dss_clkdm: dss_clkdm {
214 compatible = "ti,clockdomain";
215 clocks = <&dss_tv_fck>, <&dss_96m_fck>, <&dss2_alwon_fck>,
216 <&dss1_alwon_fck>, <&dss_ick>;
217 };
Adam Ford6d438692017-04-17 08:09:39 -0500218
Adam Fordf9464222017-08-25 07:33:26 -0500219 core_l4_clkdm: core_l4_clkdm {
220 compatible = "ti,clockdomain";
221 clocks = <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
222 <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
223 <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
224 <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
225 <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
226 <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
227 <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
228 <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
229 <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>,
230 <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>,
231 <&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>;
232 };
Adam Ford6d438692017-04-17 08:09:39 -0500233
Adam Fordf9464222017-08-25 07:33:26 -0500234 usbhost_clkdm: usbhost_clkdm {
235 compatible = "ti,clockdomain";
236 clocks = <&usbhost_120m_fck>, <&usbhost_48m_fck>,
237 <&usbhost_ick>;
238 };
Adam Ford6d438692017-04-17 08:09:39 -0500239};