blob: 945537aee3ca5a8cfe2b97cf187cd66059d471cc [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 OMAP34xx/OMAP36xx clock data
4 *
5 * Copyright (C) 2013 Texas Instruments, Inc.
Adam Ford6d438692017-04-17 08:09:39 -05006 */
7&cm_clocks {
Adam Fordf9464222017-08-25 07:33:26 -05008 ssi_ssr_gate_fck_3430es2: ssi_ssr_gate_fck_3430es2@a00 {
9 #clock-cells = <0>;
10 compatible = "ti,composite-no-wait-gate-clock";
11 clocks = <&corex2_fck>;
12 ti,bit-shift = <0>;
13 reg = <0x0a00>;
14 };
Adam Ford6d438692017-04-17 08:09:39 -050015
Adam Fordf9464222017-08-25 07:33:26 -050016 ssi_ssr_div_fck_3430es2: ssi_ssr_div_fck_3430es2@a40 {
17 #clock-cells = <0>;
18 compatible = "ti,composite-divider-clock";
19 clocks = <&corex2_fck>;
20 ti,bit-shift = <8>;
21 reg = <0x0a40>;
22 ti,dividers = <0>, <1>, <2>, <3>, <4>, <0>, <6>, <0>, <8>;
23 };
Adam Ford6d438692017-04-17 08:09:39 -050024
Adam Fordf9464222017-08-25 07:33:26 -050025 ssi_ssr_fck: ssi_ssr_fck_3430es2 {
26 #clock-cells = <0>;
27 compatible = "ti,composite-clock";
28 clocks = <&ssi_ssr_gate_fck_3430es2>, <&ssi_ssr_div_fck_3430es2>;
29 };
Adam Ford6d438692017-04-17 08:09:39 -050030
Adam Fordf9464222017-08-25 07:33:26 -050031 ssi_sst_fck: ssi_sst_fck_3430es2 {
32 #clock-cells = <0>;
33 compatible = "fixed-factor-clock";
34 clocks = <&ssi_ssr_fck>;
35 clock-mult = <1>;
36 clock-div = <2>;
37 };
Adam Ford6d438692017-04-17 08:09:39 -050038
Adam Fordf9464222017-08-25 07:33:26 -050039 hsotgusb_ick_3430es2: hsotgusb_ick_3430es2@a10 {
40 #clock-cells = <0>;
41 compatible = "ti,omap3-hsotgusb-interface-clock";
42 clocks = <&core_l3_ick>;
43 reg = <0x0a10>;
44 ti,bit-shift = <4>;
45 };
Adam Ford6d438692017-04-17 08:09:39 -050046
Adam Fordf9464222017-08-25 07:33:26 -050047 ssi_l4_ick: ssi_l4_ick {
48 #clock-cells = <0>;
49 compatible = "fixed-factor-clock";
50 clocks = <&l4_ick>;
51 clock-mult = <1>;
52 clock-div = <1>;
53 };
Adam Ford6d438692017-04-17 08:09:39 -050054
Adam Fordf9464222017-08-25 07:33:26 -050055 ssi_ick: ssi_ick_3430es2@a10 {
56 #clock-cells = <0>;
57 compatible = "ti,omap3-ssi-interface-clock";
58 clocks = <&ssi_l4_ick>;
59 reg = <0x0a10>;
60 ti,bit-shift = <0>;
61 };
Adam Ford6d438692017-04-17 08:09:39 -050062
Adam Fordf9464222017-08-25 07:33:26 -050063 usim_gate_fck: usim_gate_fck@c00 {
64 #clock-cells = <0>;
65 compatible = "ti,composite-gate-clock";
66 clocks = <&omap_96m_fck>;
67 ti,bit-shift = <9>;
68 reg = <0x0c00>;
69 };
Adam Ford6d438692017-04-17 08:09:39 -050070
Adam Fordf9464222017-08-25 07:33:26 -050071 sys_d2_ck: sys_d2_ck {
72 #clock-cells = <0>;
73 compatible = "fixed-factor-clock";
74 clocks = <&sys_ck>;
75 clock-mult = <1>;
76 clock-div = <2>;
77 };
Adam Ford6d438692017-04-17 08:09:39 -050078
Adam Fordf9464222017-08-25 07:33:26 -050079 omap_96m_d2_fck: omap_96m_d2_fck {
80 #clock-cells = <0>;
81 compatible = "fixed-factor-clock";
82 clocks = <&omap_96m_fck>;
83 clock-mult = <1>;
84 clock-div = <2>;
85 };
Adam Ford6d438692017-04-17 08:09:39 -050086
Adam Fordf9464222017-08-25 07:33:26 -050087 omap_96m_d4_fck: omap_96m_d4_fck {
88 #clock-cells = <0>;
89 compatible = "fixed-factor-clock";
90 clocks = <&omap_96m_fck>;
91 clock-mult = <1>;
92 clock-div = <4>;
93 };
Adam Ford6d438692017-04-17 08:09:39 -050094
Adam Fordf9464222017-08-25 07:33:26 -050095 omap_96m_d8_fck: omap_96m_d8_fck {
96 #clock-cells = <0>;
97 compatible = "fixed-factor-clock";
98 clocks = <&omap_96m_fck>;
99 clock-mult = <1>;
100 clock-div = <8>;
101 };
Adam Ford6d438692017-04-17 08:09:39 -0500102
Adam Fordf9464222017-08-25 07:33:26 -0500103 omap_96m_d10_fck: omap_96m_d10_fck {
104 #clock-cells = <0>;
105 compatible = "fixed-factor-clock";
106 clocks = <&omap_96m_fck>;
107 clock-mult = <1>;
108 clock-div = <10>;
109 };
Adam Ford6d438692017-04-17 08:09:39 -0500110
Adam Fordf9464222017-08-25 07:33:26 -0500111 dpll5_m2_d4_ck: dpll5_m2_d4_ck {
112 #clock-cells = <0>;
113 compatible = "fixed-factor-clock";
114 clocks = <&dpll5_m2_ck>;
115 clock-mult = <1>;
116 clock-div = <4>;
117 };
Adam Ford6d438692017-04-17 08:09:39 -0500118
Adam Fordf9464222017-08-25 07:33:26 -0500119 dpll5_m2_d8_ck: dpll5_m2_d8_ck {
120 #clock-cells = <0>;
121 compatible = "fixed-factor-clock";
122 clocks = <&dpll5_m2_ck>;
123 clock-mult = <1>;
124 clock-div = <8>;
125 };
Adam Ford6d438692017-04-17 08:09:39 -0500126
Adam Fordf9464222017-08-25 07:33:26 -0500127 dpll5_m2_d16_ck: dpll5_m2_d16_ck {
128 #clock-cells = <0>;
129 compatible = "fixed-factor-clock";
130 clocks = <&dpll5_m2_ck>;
131 clock-mult = <1>;
132 clock-div = <16>;
133 };
Adam Ford6d438692017-04-17 08:09:39 -0500134
Adam Fordf9464222017-08-25 07:33:26 -0500135 dpll5_m2_d20_ck: dpll5_m2_d20_ck {
136 #clock-cells = <0>;
137 compatible = "fixed-factor-clock";
138 clocks = <&dpll5_m2_ck>;
139 clock-mult = <1>;
140 clock-div = <20>;
141 };
Adam Ford6d438692017-04-17 08:09:39 -0500142
Adam Fordf9464222017-08-25 07:33:26 -0500143 usim_mux_fck: usim_mux_fck@c40 {
144 #clock-cells = <0>;
145 compatible = "ti,composite-mux-clock";
146 clocks = <&sys_ck>, <&sys_d2_ck>, <&omap_96m_d2_fck>, <&omap_96m_d4_fck>, <&omap_96m_d8_fck>, <&omap_96m_d10_fck>, <&dpll5_m2_d4_ck>, <&dpll5_m2_d8_ck>, <&dpll5_m2_d16_ck>, <&dpll5_m2_d20_ck>;
147 ti,bit-shift = <3>;
148 reg = <0x0c40>;
149 ti,index-starts-at-one;
150 };
Adam Ford6d438692017-04-17 08:09:39 -0500151
Adam Fordf9464222017-08-25 07:33:26 -0500152 usim_fck: usim_fck {
153 #clock-cells = <0>;
154 compatible = "ti,composite-clock";
155 clocks = <&usim_gate_fck>, <&usim_mux_fck>;
156 };
Adam Ford6d438692017-04-17 08:09:39 -0500157
Adam Fordf9464222017-08-25 07:33:26 -0500158 usim_ick: usim_ick@c10 {
159 #clock-cells = <0>;
160 compatible = "ti,omap3-interface-clock";
161 clocks = <&wkup_l4_ick>;
162 reg = <0x0c10>;
163 ti,bit-shift = <9>;
164 };
Adam Ford6d438692017-04-17 08:09:39 -0500165};
166
167&cm_clockdomains {
Adam Fordf9464222017-08-25 07:33:26 -0500168 core_l3_clkdm: core_l3_clkdm {
169 compatible = "ti,clockdomain";
170 clocks = <&sdrc_ick>, <&hsotgusb_ick_3430es2>;
171 };
Adam Ford6d438692017-04-17 08:09:39 -0500172
Adam Fordf9464222017-08-25 07:33:26 -0500173 wkup_clkdm: wkup_clkdm {
174 compatible = "ti,clockdomain";
175 clocks = <&gpio1_dbck>, <&wdt2_fck>, <&wdt2_ick>, <&wdt1_ick>,
176 <&gpio1_ick>, <&omap_32ksync_ick>, <&gpt12_ick>,
177 <&gpt1_ick>, <&usim_ick>;
178 };
Adam Ford6d438692017-04-17 08:09:39 -0500179
Adam Fordf9464222017-08-25 07:33:26 -0500180 core_l4_clkdm: core_l4_clkdm {
181 compatible = "ti,clockdomain";
182 clocks = <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>,
183 <&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>,
184 <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
185 <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
186 <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
187 <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
188 <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
189 <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
190 <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
191 <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
192 <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>,
193 <&ssi_ick>;
194 };
Adam Ford6d438692017-04-17 08:09:39 -0500195};