xref: /openbmc/u-boot/arch/arm/dts/omap36xx-omap3430es2plus-clocks.dtsi (revision bf1ddfc026f7e27414a303d6c2805e98dc18f4d3)
1*cac4d6a6SAdam Ford/*
2*cac4d6a6SAdam Ford * Device Tree Source for OMAP34xx/OMAP36xx clock data
3*cac4d6a6SAdam Ford *
4*cac4d6a6SAdam Ford * Copyright (C) 2013 Texas Instruments, Inc.
5*cac4d6a6SAdam Ford *
6*cac4d6a6SAdam Ford * This program is free software; you can redistribute it and/or modify
7*cac4d6a6SAdam Ford * it under the terms of the GNU General Public License version 2 as
8*cac4d6a6SAdam Ford * published by the Free Software Foundation.
9*cac4d6a6SAdam Ford */
10*cac4d6a6SAdam Ford&cm_clocks {
11*cac4d6a6SAdam Ford	ssi_ssr_gate_fck_3430es2: ssi_ssr_gate_fck_3430es2@a00 {
12*cac4d6a6SAdam Ford		#clock-cells = <0>;
13*cac4d6a6SAdam Ford		compatible = "ti,composite-no-wait-gate-clock";
14*cac4d6a6SAdam Ford		clocks = <&corex2_fck>;
15*cac4d6a6SAdam Ford		ti,bit-shift = <0>;
16*cac4d6a6SAdam Ford		reg = <0x0a00>;
17*cac4d6a6SAdam Ford	};
18*cac4d6a6SAdam Ford
19*cac4d6a6SAdam Ford	ssi_ssr_div_fck_3430es2: ssi_ssr_div_fck_3430es2@a40 {
20*cac4d6a6SAdam Ford		#clock-cells = <0>;
21*cac4d6a6SAdam Ford		compatible = "ti,composite-divider-clock";
22*cac4d6a6SAdam Ford		clocks = <&corex2_fck>;
23*cac4d6a6SAdam Ford		ti,bit-shift = <8>;
24*cac4d6a6SAdam Ford		reg = <0x0a40>;
25*cac4d6a6SAdam Ford		ti,dividers = <0>, <1>, <2>, <3>, <4>, <0>, <6>, <0>, <8>;
26*cac4d6a6SAdam Ford	};
27*cac4d6a6SAdam Ford
28*cac4d6a6SAdam Ford	ssi_ssr_fck: ssi_ssr_fck_3430es2 {
29*cac4d6a6SAdam Ford		#clock-cells = <0>;
30*cac4d6a6SAdam Ford		compatible = "ti,composite-clock";
31*cac4d6a6SAdam Ford		clocks = <&ssi_ssr_gate_fck_3430es2>, <&ssi_ssr_div_fck_3430es2>;
32*cac4d6a6SAdam Ford	};
33*cac4d6a6SAdam Ford
34*cac4d6a6SAdam Ford	ssi_sst_fck: ssi_sst_fck_3430es2 {
35*cac4d6a6SAdam Ford		#clock-cells = <0>;
36*cac4d6a6SAdam Ford		compatible = "fixed-factor-clock";
37*cac4d6a6SAdam Ford		clocks = <&ssi_ssr_fck>;
38*cac4d6a6SAdam Ford		clock-mult = <1>;
39*cac4d6a6SAdam Ford		clock-div = <2>;
40*cac4d6a6SAdam Ford	};
41*cac4d6a6SAdam Ford
42*cac4d6a6SAdam Ford	hsotgusb_ick_3430es2: hsotgusb_ick_3430es2@a10 {
43*cac4d6a6SAdam Ford		#clock-cells = <0>;
44*cac4d6a6SAdam Ford		compatible = "ti,omap3-hsotgusb-interface-clock";
45*cac4d6a6SAdam Ford		clocks = <&core_l3_ick>;
46*cac4d6a6SAdam Ford		reg = <0x0a10>;
47*cac4d6a6SAdam Ford		ti,bit-shift = <4>;
48*cac4d6a6SAdam Ford	};
49*cac4d6a6SAdam Ford
50*cac4d6a6SAdam Ford	ssi_l4_ick: ssi_l4_ick {
51*cac4d6a6SAdam Ford		#clock-cells = <0>;
52*cac4d6a6SAdam Ford		compatible = "fixed-factor-clock";
53*cac4d6a6SAdam Ford		clocks = <&l4_ick>;
54*cac4d6a6SAdam Ford		clock-mult = <1>;
55*cac4d6a6SAdam Ford		clock-div = <1>;
56*cac4d6a6SAdam Ford	};
57*cac4d6a6SAdam Ford
58*cac4d6a6SAdam Ford	ssi_ick: ssi_ick_3430es2@a10 {
59*cac4d6a6SAdam Ford		#clock-cells = <0>;
60*cac4d6a6SAdam Ford		compatible = "ti,omap3-ssi-interface-clock";
61*cac4d6a6SAdam Ford		clocks = <&ssi_l4_ick>;
62*cac4d6a6SAdam Ford		reg = <0x0a10>;
63*cac4d6a6SAdam Ford		ti,bit-shift = <0>;
64*cac4d6a6SAdam Ford	};
65*cac4d6a6SAdam Ford
66*cac4d6a6SAdam Ford	usim_gate_fck: usim_gate_fck@c00 {
67*cac4d6a6SAdam Ford		#clock-cells = <0>;
68*cac4d6a6SAdam Ford		compatible = "ti,composite-gate-clock";
69*cac4d6a6SAdam Ford		clocks = <&omap_96m_fck>;
70*cac4d6a6SAdam Ford		ti,bit-shift = <9>;
71*cac4d6a6SAdam Ford		reg = <0x0c00>;
72*cac4d6a6SAdam Ford	};
73*cac4d6a6SAdam Ford
74*cac4d6a6SAdam Ford	sys_d2_ck: sys_d2_ck {
75*cac4d6a6SAdam Ford		#clock-cells = <0>;
76*cac4d6a6SAdam Ford		compatible = "fixed-factor-clock";
77*cac4d6a6SAdam Ford		clocks = <&sys_ck>;
78*cac4d6a6SAdam Ford		clock-mult = <1>;
79*cac4d6a6SAdam Ford		clock-div = <2>;
80*cac4d6a6SAdam Ford	};
81*cac4d6a6SAdam Ford
82*cac4d6a6SAdam Ford	omap_96m_d2_fck: omap_96m_d2_fck {
83*cac4d6a6SAdam Ford		#clock-cells = <0>;
84*cac4d6a6SAdam Ford		compatible = "fixed-factor-clock";
85*cac4d6a6SAdam Ford		clocks = <&omap_96m_fck>;
86*cac4d6a6SAdam Ford		clock-mult = <1>;
87*cac4d6a6SAdam Ford		clock-div = <2>;
88*cac4d6a6SAdam Ford	};
89*cac4d6a6SAdam Ford
90*cac4d6a6SAdam Ford	omap_96m_d4_fck: omap_96m_d4_fck {
91*cac4d6a6SAdam Ford		#clock-cells = <0>;
92*cac4d6a6SAdam Ford		compatible = "fixed-factor-clock";
93*cac4d6a6SAdam Ford		clocks = <&omap_96m_fck>;
94*cac4d6a6SAdam Ford		clock-mult = <1>;
95*cac4d6a6SAdam Ford		clock-div = <4>;
96*cac4d6a6SAdam Ford	};
97*cac4d6a6SAdam Ford
98*cac4d6a6SAdam Ford	omap_96m_d8_fck: omap_96m_d8_fck {
99*cac4d6a6SAdam Ford		#clock-cells = <0>;
100*cac4d6a6SAdam Ford		compatible = "fixed-factor-clock";
101*cac4d6a6SAdam Ford		clocks = <&omap_96m_fck>;
102*cac4d6a6SAdam Ford		clock-mult = <1>;
103*cac4d6a6SAdam Ford		clock-div = <8>;
104*cac4d6a6SAdam Ford	};
105*cac4d6a6SAdam Ford
106*cac4d6a6SAdam Ford	omap_96m_d10_fck: omap_96m_d10_fck {
107*cac4d6a6SAdam Ford		#clock-cells = <0>;
108*cac4d6a6SAdam Ford		compatible = "fixed-factor-clock";
109*cac4d6a6SAdam Ford		clocks = <&omap_96m_fck>;
110*cac4d6a6SAdam Ford		clock-mult = <1>;
111*cac4d6a6SAdam Ford		clock-div = <10>;
112*cac4d6a6SAdam Ford	};
113*cac4d6a6SAdam Ford
114*cac4d6a6SAdam Ford	dpll5_m2_d4_ck: dpll5_m2_d4_ck {
115*cac4d6a6SAdam Ford		#clock-cells = <0>;
116*cac4d6a6SAdam Ford		compatible = "fixed-factor-clock";
117*cac4d6a6SAdam Ford		clocks = <&dpll5_m2_ck>;
118*cac4d6a6SAdam Ford		clock-mult = <1>;
119*cac4d6a6SAdam Ford		clock-div = <4>;
120*cac4d6a6SAdam Ford	};
121*cac4d6a6SAdam Ford
122*cac4d6a6SAdam Ford	dpll5_m2_d8_ck: dpll5_m2_d8_ck {
123*cac4d6a6SAdam Ford		#clock-cells = <0>;
124*cac4d6a6SAdam Ford		compatible = "fixed-factor-clock";
125*cac4d6a6SAdam Ford		clocks = <&dpll5_m2_ck>;
126*cac4d6a6SAdam Ford		clock-mult = <1>;
127*cac4d6a6SAdam Ford		clock-div = <8>;
128*cac4d6a6SAdam Ford	};
129*cac4d6a6SAdam Ford
130*cac4d6a6SAdam Ford	dpll5_m2_d16_ck: dpll5_m2_d16_ck {
131*cac4d6a6SAdam Ford		#clock-cells = <0>;
132*cac4d6a6SAdam Ford		compatible = "fixed-factor-clock";
133*cac4d6a6SAdam Ford		clocks = <&dpll5_m2_ck>;
134*cac4d6a6SAdam Ford		clock-mult = <1>;
135*cac4d6a6SAdam Ford		clock-div = <16>;
136*cac4d6a6SAdam Ford	};
137*cac4d6a6SAdam Ford
138*cac4d6a6SAdam Ford	dpll5_m2_d20_ck: dpll5_m2_d20_ck {
139*cac4d6a6SAdam Ford		#clock-cells = <0>;
140*cac4d6a6SAdam Ford		compatible = "fixed-factor-clock";
141*cac4d6a6SAdam Ford		clocks = <&dpll5_m2_ck>;
142*cac4d6a6SAdam Ford		clock-mult = <1>;
143*cac4d6a6SAdam Ford		clock-div = <20>;
144*cac4d6a6SAdam Ford	};
145*cac4d6a6SAdam Ford
146*cac4d6a6SAdam Ford	usim_mux_fck: usim_mux_fck@c40 {
147*cac4d6a6SAdam Ford		#clock-cells = <0>;
148*cac4d6a6SAdam Ford		compatible = "ti,composite-mux-clock";
149*cac4d6a6SAdam Ford		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>;
150*cac4d6a6SAdam Ford		ti,bit-shift = <3>;
151*cac4d6a6SAdam Ford		reg = <0x0c40>;
152*cac4d6a6SAdam Ford		ti,index-starts-at-one;
153*cac4d6a6SAdam Ford	};
154*cac4d6a6SAdam Ford
155*cac4d6a6SAdam Ford	usim_fck: usim_fck {
156*cac4d6a6SAdam Ford		#clock-cells = <0>;
157*cac4d6a6SAdam Ford		compatible = "ti,composite-clock";
158*cac4d6a6SAdam Ford		clocks = <&usim_gate_fck>, <&usim_mux_fck>;
159*cac4d6a6SAdam Ford	};
160*cac4d6a6SAdam Ford
161*cac4d6a6SAdam Ford	usim_ick: usim_ick@c10 {
162*cac4d6a6SAdam Ford		#clock-cells = <0>;
163*cac4d6a6SAdam Ford		compatible = "ti,omap3-interface-clock";
164*cac4d6a6SAdam Ford		clocks = <&wkup_l4_ick>;
165*cac4d6a6SAdam Ford		reg = <0x0c10>;
166*cac4d6a6SAdam Ford		ti,bit-shift = <9>;
167*cac4d6a6SAdam Ford	};
168*cac4d6a6SAdam Ford};
169*cac4d6a6SAdam Ford
170*cac4d6a6SAdam Ford&cm_clockdomains {
171*cac4d6a6SAdam Ford	core_l3_clkdm: core_l3_clkdm {
172*cac4d6a6SAdam Ford		compatible = "ti,clockdomain";
173*cac4d6a6SAdam Ford		clocks = <&sdrc_ick>, <&hsotgusb_ick_3430es2>;
174*cac4d6a6SAdam Ford	};
175*cac4d6a6SAdam Ford
176*cac4d6a6SAdam Ford	wkup_clkdm: wkup_clkdm {
177*cac4d6a6SAdam Ford		compatible = "ti,clockdomain";
178*cac4d6a6SAdam Ford		clocks = <&gpio1_dbck>, <&wdt2_fck>, <&wdt2_ick>, <&wdt1_ick>,
179*cac4d6a6SAdam Ford			 <&gpio1_ick>, <&omap_32ksync_ick>, <&gpt12_ick>,
180*cac4d6a6SAdam Ford			 <&gpt1_ick>, <&usim_ick>;
181*cac4d6a6SAdam Ford	};
182*cac4d6a6SAdam Ford
183*cac4d6a6SAdam Ford	core_l4_clkdm: core_l4_clkdm {
184*cac4d6a6SAdam Ford		compatible = "ti,clockdomain";
185*cac4d6a6SAdam Ford		clocks = <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>,
186*cac4d6a6SAdam Ford			 <&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>,
187*cac4d6a6SAdam Ford			 <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
188*cac4d6a6SAdam Ford			 <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
189*cac4d6a6SAdam Ford			 <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
190*cac4d6a6SAdam Ford			 <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
191*cac4d6a6SAdam Ford			 <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
192*cac4d6a6SAdam Ford			 <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
193*cac4d6a6SAdam Ford			 <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
194*cac4d6a6SAdam Ford			 <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
195*cac4d6a6SAdam Ford			 <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>,
196*cac4d6a6SAdam Ford			 <&ssi_ick>;
197*cac4d6a6SAdam Ford	};
198*cac4d6a6SAdam Ford};
199