blob: 945537aee3ca5a8cfe2b97cf187cd66059d471cc [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
Tero Kristo657fc112013-07-22 12:29:29 +03002/*
3 * Device Tree Source for OMAP34xx/OMAP36xx clock data
4 *
5 * Copyright (C) 2013 Texas Instruments, Inc.
Tero Kristo657fc112013-07-22 12:29:29 +03006 */
7&cm_clocks {
Tero Kristob5b53402016-04-04 18:16:06 +03008 ssi_ssr_gate_fck_3430es2: ssi_ssr_gate_fck_3430es2@a00 {
Tero Kristo657fc112013-07-22 12:29:29 +03009 #clock-cells = <0>;
10 compatible = "ti,composite-no-wait-gate-clock";
11 clocks = <&corex2_fck>;
12 ti,bit-shift = <0>;
13 reg = <0x0a00>;
14 };
15
Tero Kristob5b53402016-04-04 18:16:06 +030016 ssi_ssr_div_fck_3430es2: ssi_ssr_div_fck_3430es2@a40 {
Tero Kristo657fc112013-07-22 12:29:29 +030017 #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 };
24
Sebastian Reichel3a24a3c2014-01-21 15:37:41 +010025 ssi_ssr_fck: ssi_ssr_fck_3430es2 {
Tero Kristo657fc112013-07-22 12:29:29 +030026 #clock-cells = <0>;
27 compatible = "ti,composite-clock";
28 clocks = <&ssi_ssr_gate_fck_3430es2>, <&ssi_ssr_div_fck_3430es2>;
29 };
30
Sebastian Reichel3a24a3c2014-01-21 15:37:41 +010031 ssi_sst_fck: ssi_sst_fck_3430es2 {
Tero Kristo657fc112013-07-22 12:29:29 +030032 #clock-cells = <0>;
33 compatible = "fixed-factor-clock";
Sebastian Reichel3a24a3c2014-01-21 15:37:41 +010034 clocks = <&ssi_ssr_fck>;
Tero Kristo657fc112013-07-22 12:29:29 +030035 clock-mult = <1>;
36 clock-div = <2>;
37 };
38
Tero Kristob5b53402016-04-04 18:16:06 +030039 hsotgusb_ick_3430es2: hsotgusb_ick_3430es2@a10 {
Tero Kristo657fc112013-07-22 12:29:29 +030040 #clock-cells = <0>;
41 compatible = "ti,omap3-hsotgusb-interface-clock";
42 clocks = <&core_l3_ick>;
43 reg = <0x0a10>;
44 ti,bit-shift = <4>;
45 };
46
47 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 };
54
Tero Kristob5b53402016-04-04 18:16:06 +030055 ssi_ick: ssi_ick_3430es2@a10 {
Tero Kristo657fc112013-07-22 12:29:29 +030056 #clock-cells = <0>;
57 compatible = "ti,omap3-ssi-interface-clock";
58 clocks = <&ssi_l4_ick>;
59 reg = <0x0a10>;
60 ti,bit-shift = <0>;
61 };
62
Tero Kristob5b53402016-04-04 18:16:06 +030063 usim_gate_fck: usim_gate_fck@c00 {
Tero Kristo657fc112013-07-22 12:29:29 +030064 #clock-cells = <0>;
65 compatible = "ti,composite-gate-clock";
66 clocks = <&omap_96m_fck>;
67 ti,bit-shift = <9>;
68 reg = <0x0c00>;
69 };
70
71 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 };
78
79 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 };
86
87 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 };
94
95 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 };
102
103 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 };
110
111 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 };
118
119 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 };
126
127 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 };
134
135 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 };
142
Tero Kristob5b53402016-04-04 18:16:06 +0300143 usim_mux_fck: usim_mux_fck@c40 {
Tero Kristo657fc112013-07-22 12:29:29 +0300144 #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 };
151
152 usim_fck: usim_fck {
153 #clock-cells = <0>;
154 compatible = "ti,composite-clock";
155 clocks = <&usim_gate_fck>, <&usim_mux_fck>;
156 };
157
Tero Kristob5b53402016-04-04 18:16:06 +0300158 usim_ick: usim_ick@c10 {
Tero Kristo657fc112013-07-22 12:29:29 +0300159 #clock-cells = <0>;
160 compatible = "ti,omap3-interface-clock";
161 clocks = <&wkup_l4_ick>;
162 reg = <0x0c10>;
163 ti,bit-shift = <9>;
164 };
165};
166
167&cm_clockdomains {
168 core_l3_clkdm: core_l3_clkdm {
169 compatible = "ti,clockdomain";
170 clocks = <&sdrc_ick>, <&hsotgusb_ick_3430es2>;
171 };
172
173 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 };
179
180 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>,
Sebastian Reichel3a24a3c2014-01-21 15:37:41 +0100193 <&ssi_ick>;
Tero Kristo657fc112013-07-22 12:29:29 +0300194 };
195};