xref: /openbmc/linux/arch/arm/boot/dts/ti/omap/omap36xx-omap3430es2plus-clocks.dtsi (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Device Tree Source for OMAP34xx/OMAP36xx clock data
4*724ba675SRob Herring *
5*724ba675SRob Herring * Copyright (C) 2013 Texas Instruments, Inc.
6*724ba675SRob Herring */
7*724ba675SRob Herring&cm_clocks {
8*724ba675SRob Herring	clock@a00 {
9*724ba675SRob Herring		compatible = "ti,clksel";
10*724ba675SRob Herring		reg = <0xa00>;
11*724ba675SRob Herring		#clock-cells = <2>;
12*724ba675SRob Herring		#address-cells = <0>;
13*724ba675SRob Herring
14*724ba675SRob Herring		ssi_ssr_gate_fck_3430es2: clock-ssi-ssr-gate-fck-3430es2 {
15*724ba675SRob Herring			#clock-cells = <0>;
16*724ba675SRob Herring			compatible = "ti,composite-no-wait-gate-clock";
17*724ba675SRob Herring			clock-output-names = "ssi_ssr_gate_fck_3430es2";
18*724ba675SRob Herring			clocks = <&corex2_fck>;
19*724ba675SRob Herring			ti,bit-shift = <0>;
20*724ba675SRob Herring		};
21*724ba675SRob Herring	};
22*724ba675SRob Herring
23*724ba675SRob Herring	clock@a40 {
24*724ba675SRob Herring		compatible = "ti,clksel";
25*724ba675SRob Herring		reg = <0xa40>;
26*724ba675SRob Herring		#clock-cells = <2>;
27*724ba675SRob Herring		#address-cells = <0>;
28*724ba675SRob Herring
29*724ba675SRob Herring		ssi_ssr_div_fck_3430es2: clock-ssi-ssr-div-fck-3430es2 {
30*724ba675SRob Herring			#clock-cells = <0>;
31*724ba675SRob Herring			compatible = "ti,composite-divider-clock";
32*724ba675SRob Herring			clock-output-names = "ssi_ssr_div_fck_3430es2";
33*724ba675SRob Herring			clocks = <&corex2_fck>;
34*724ba675SRob Herring			ti,bit-shift = <8>;
35*724ba675SRob Herring			ti,dividers = <0>, <1>, <2>, <3>, <4>, <0>, <6>, <0>, <8>;
36*724ba675SRob Herring		};
37*724ba675SRob Herring	};
38*724ba675SRob Herring
39*724ba675SRob Herring	ssi_ssr_fck: ssi_ssr_fck_3430es2 {
40*724ba675SRob Herring		#clock-cells = <0>;
41*724ba675SRob Herring		compatible = "ti,composite-clock";
42*724ba675SRob Herring		clocks = <&ssi_ssr_gate_fck_3430es2>, <&ssi_ssr_div_fck_3430es2>;
43*724ba675SRob Herring	};
44*724ba675SRob Herring
45*724ba675SRob Herring	ssi_sst_fck: ssi_sst_fck_3430es2 {
46*724ba675SRob Herring		#clock-cells = <0>;
47*724ba675SRob Herring		compatible = "fixed-factor-clock";
48*724ba675SRob Herring		clocks = <&ssi_ssr_fck>;
49*724ba675SRob Herring		clock-mult = <1>;
50*724ba675SRob Herring		clock-div = <2>;
51*724ba675SRob Herring	};
52*724ba675SRob Herring
53*724ba675SRob Herring	clock@a10 {
54*724ba675SRob Herring		compatible = "ti,clksel";
55*724ba675SRob Herring		reg = <0xa10>;
56*724ba675SRob Herring		#clock-cells = <2>;
57*724ba675SRob Herring		#address-cells = <0>;
58*724ba675SRob Herring
59*724ba675SRob Herring		hsotgusb_ick_3430es2: clock-hsotgusb-ick-3430es2 {
60*724ba675SRob Herring			#clock-cells = <0>;
61*724ba675SRob Herring			compatible = "ti,omap3-hsotgusb-interface-clock";
62*724ba675SRob Herring			clock-output-names = "hsotgusb_ick_3430es2";
63*724ba675SRob Herring			clocks = <&core_l3_ick>;
64*724ba675SRob Herring			ti,bit-shift = <4>;
65*724ba675SRob Herring		};
66*724ba675SRob Herring
67*724ba675SRob Herring		ssi_ick: clock-ssi-ick-3430es2 {
68*724ba675SRob Herring			#clock-cells = <0>;
69*724ba675SRob Herring			compatible = "ti,omap3-ssi-interface-clock";
70*724ba675SRob Herring			clock-output-names = "ssi_ick_3430es2";
71*724ba675SRob Herring			clocks = <&ssi_l4_ick>;
72*724ba675SRob Herring			ti,bit-shift = <0>;
73*724ba675SRob Herring		};
74*724ba675SRob Herring	};
75*724ba675SRob Herring
76*724ba675SRob Herring	ssi_l4_ick: ssi_l4_ick {
77*724ba675SRob Herring		#clock-cells = <0>;
78*724ba675SRob Herring		compatible = "fixed-factor-clock";
79*724ba675SRob Herring		clocks = <&l4_ick>;
80*724ba675SRob Herring		clock-mult = <1>;
81*724ba675SRob Herring		clock-div = <1>;
82*724ba675SRob Herring	};
83*724ba675SRob Herring
84*724ba675SRob Herring	clock@c00 {
85*724ba675SRob Herring		compatible = "ti,clksel";
86*724ba675SRob Herring		reg = <0xc00>;
87*724ba675SRob Herring		#clock-cells = <2>;
88*724ba675SRob Herring		#address-cells = <0>;
89*724ba675SRob Herring
90*724ba675SRob Herring		usim_gate_fck: clock-usim-gate-fck {
91*724ba675SRob Herring			#clock-cells = <0>;
92*724ba675SRob Herring			compatible = "ti,composite-gate-clock";
93*724ba675SRob Herring			clock-output-names = "usim_gate_fck";
94*724ba675SRob Herring			clocks = <&omap_96m_fck>;
95*724ba675SRob Herring			ti,bit-shift = <9>;
96*724ba675SRob Herring		};
97*724ba675SRob Herring	};
98*724ba675SRob Herring
99*724ba675SRob Herring	sys_d2_ck: sys_d2_ck {
100*724ba675SRob Herring		#clock-cells = <0>;
101*724ba675SRob Herring		compatible = "fixed-factor-clock";
102*724ba675SRob Herring		clocks = <&sys_ck>;
103*724ba675SRob Herring		clock-mult = <1>;
104*724ba675SRob Herring		clock-div = <2>;
105*724ba675SRob Herring	};
106*724ba675SRob Herring
107*724ba675SRob Herring	omap_96m_d2_fck: omap_96m_d2_fck {
108*724ba675SRob Herring		#clock-cells = <0>;
109*724ba675SRob Herring		compatible = "fixed-factor-clock";
110*724ba675SRob Herring		clocks = <&omap_96m_fck>;
111*724ba675SRob Herring		clock-mult = <1>;
112*724ba675SRob Herring		clock-div = <2>;
113*724ba675SRob Herring	};
114*724ba675SRob Herring
115*724ba675SRob Herring	omap_96m_d4_fck: omap_96m_d4_fck {
116*724ba675SRob Herring		#clock-cells = <0>;
117*724ba675SRob Herring		compatible = "fixed-factor-clock";
118*724ba675SRob Herring		clocks = <&omap_96m_fck>;
119*724ba675SRob Herring		clock-mult = <1>;
120*724ba675SRob Herring		clock-div = <4>;
121*724ba675SRob Herring	};
122*724ba675SRob Herring
123*724ba675SRob Herring	omap_96m_d8_fck: omap_96m_d8_fck {
124*724ba675SRob Herring		#clock-cells = <0>;
125*724ba675SRob Herring		compatible = "fixed-factor-clock";
126*724ba675SRob Herring		clocks = <&omap_96m_fck>;
127*724ba675SRob Herring		clock-mult = <1>;
128*724ba675SRob Herring		clock-div = <8>;
129*724ba675SRob Herring	};
130*724ba675SRob Herring
131*724ba675SRob Herring	omap_96m_d10_fck: omap_96m_d10_fck {
132*724ba675SRob Herring		#clock-cells = <0>;
133*724ba675SRob Herring		compatible = "fixed-factor-clock";
134*724ba675SRob Herring		clocks = <&omap_96m_fck>;
135*724ba675SRob Herring		clock-mult = <1>;
136*724ba675SRob Herring		clock-div = <10>;
137*724ba675SRob Herring	};
138*724ba675SRob Herring
139*724ba675SRob Herring	dpll5_m2_d4_ck: dpll5_m2_d4_ck {
140*724ba675SRob Herring		#clock-cells = <0>;
141*724ba675SRob Herring		compatible = "fixed-factor-clock";
142*724ba675SRob Herring		clocks = <&dpll5_m2_ck>;
143*724ba675SRob Herring		clock-mult = <1>;
144*724ba675SRob Herring		clock-div = <4>;
145*724ba675SRob Herring	};
146*724ba675SRob Herring
147*724ba675SRob Herring	dpll5_m2_d8_ck: dpll5_m2_d8_ck {
148*724ba675SRob Herring		#clock-cells = <0>;
149*724ba675SRob Herring		compatible = "fixed-factor-clock";
150*724ba675SRob Herring		clocks = <&dpll5_m2_ck>;
151*724ba675SRob Herring		clock-mult = <1>;
152*724ba675SRob Herring		clock-div = <8>;
153*724ba675SRob Herring	};
154*724ba675SRob Herring
155*724ba675SRob Herring	dpll5_m2_d16_ck: dpll5_m2_d16_ck {
156*724ba675SRob Herring		#clock-cells = <0>;
157*724ba675SRob Herring		compatible = "fixed-factor-clock";
158*724ba675SRob Herring		clocks = <&dpll5_m2_ck>;
159*724ba675SRob Herring		clock-mult = <1>;
160*724ba675SRob Herring		clock-div = <16>;
161*724ba675SRob Herring	};
162*724ba675SRob Herring
163*724ba675SRob Herring	dpll5_m2_d20_ck: dpll5_m2_d20_ck {
164*724ba675SRob Herring		#clock-cells = <0>;
165*724ba675SRob Herring		compatible = "fixed-factor-clock";
166*724ba675SRob Herring		clocks = <&dpll5_m2_ck>;
167*724ba675SRob Herring		clock-mult = <1>;
168*724ba675SRob Herring		clock-div = <20>;
169*724ba675SRob Herring	};
170*724ba675SRob Herring
171*724ba675SRob Herring	clock@c40 {
172*724ba675SRob Herring		compatible = "ti,clksel";
173*724ba675SRob Herring		reg = <0xc40>;
174*724ba675SRob Herring		#clock-cells = <2>;
175*724ba675SRob Herring		#address-cells = <0>;
176*724ba675SRob Herring
177*724ba675SRob Herring		usim_mux_fck: clock-usim-mux-fck {
178*724ba675SRob Herring			#clock-cells = <0>;
179*724ba675SRob Herring			compatible = "ti,composite-mux-clock";
180*724ba675SRob Herring			clock-output-names = "usim_mux_fck";
181*724ba675SRob Herring			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>;
182*724ba675SRob Herring			ti,bit-shift = <3>;
183*724ba675SRob Herring			ti,index-starts-at-one;
184*724ba675SRob Herring		};
185*724ba675SRob Herring	};
186*724ba675SRob Herring
187*724ba675SRob Herring	usim_fck: usim_fck {
188*724ba675SRob Herring		#clock-cells = <0>;
189*724ba675SRob Herring		compatible = "ti,composite-clock";
190*724ba675SRob Herring		clocks = <&usim_gate_fck>, <&usim_mux_fck>;
191*724ba675SRob Herring	};
192*724ba675SRob Herring
193*724ba675SRob Herring	clock@c10 {
194*724ba675SRob Herring		compatible = "ti,clksel";
195*724ba675SRob Herring		reg = <0xc10>;
196*724ba675SRob Herring		#clock-cells = <2>;
197*724ba675SRob Herring		#address-cells = <0>;
198*724ba675SRob Herring
199*724ba675SRob Herring		usim_ick: clock-usim-ick {
200*724ba675SRob Herring			#clock-cells = <0>;
201*724ba675SRob Herring			compatible = "ti,omap3-interface-clock";
202*724ba675SRob Herring			clock-output-names = "usim_ick";
203*724ba675SRob Herring			clocks = <&wkup_l4_ick>;
204*724ba675SRob Herring			ti,bit-shift = <9>;
205*724ba675SRob Herring		};
206*724ba675SRob Herring	};
207*724ba675SRob Herring};
208*724ba675SRob Herring
209*724ba675SRob Herring&cm_clockdomains {
210*724ba675SRob Herring	core_l3_clkdm: core_l3_clkdm {
211*724ba675SRob Herring		compatible = "ti,clockdomain";
212*724ba675SRob Herring		clocks = <&sdrc_ick>, <&hsotgusb_ick_3430es2>;
213*724ba675SRob Herring	};
214*724ba675SRob Herring
215*724ba675SRob Herring	wkup_clkdm: wkup_clkdm {
216*724ba675SRob Herring		compatible = "ti,clockdomain";
217*724ba675SRob Herring		clocks = <&gpio1_dbck>, <&wdt2_fck>, <&wdt2_ick>, <&wdt1_ick>,
218*724ba675SRob Herring			 <&gpio1_ick>, <&omap_32ksync_ick>, <&gpt12_ick>,
219*724ba675SRob Herring			 <&gpt1_ick>, <&usim_ick>;
220*724ba675SRob Herring	};
221*724ba675SRob Herring
222*724ba675SRob Herring	core_l4_clkdm: core_l4_clkdm {
223*724ba675SRob Herring		compatible = "ti,clockdomain";
224*724ba675SRob Herring		clocks = <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>,
225*724ba675SRob Herring			 <&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>,
226*724ba675SRob Herring			 <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
227*724ba675SRob Herring			 <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
228*724ba675SRob Herring			 <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
229*724ba675SRob Herring			 <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
230*724ba675SRob Herring			 <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
231*724ba675SRob Herring			 <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
232*724ba675SRob Herring			 <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
233*724ba675SRob Herring			 <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
234*724ba675SRob Herring			 <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>,
235*724ba675SRob Herring			 <&ssi_ick>;
236*724ba675SRob Herring	};
237*724ba675SRob Herring};
238