xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/omap3430es1-clocks.dtsi (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Device Tree Source for OMAP3430 ES1 clock data
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright (C) 2013 Texas Instruments, Inc.
6f126890aSEmmanuel Vadot */
7f126890aSEmmanuel Vadot&cm_clocks {
8f126890aSEmmanuel Vadot	gfx_l3_ck: gfx_l3_ck@b10 {
9f126890aSEmmanuel Vadot		#clock-cells = <0>;
10f126890aSEmmanuel Vadot		compatible = "ti,wait-gate-clock";
11f126890aSEmmanuel Vadot		clocks = <&l3_ick>;
12f126890aSEmmanuel Vadot		reg = <0x0b10>;
13f126890aSEmmanuel Vadot		ti,bit-shift = <0>;
14f126890aSEmmanuel Vadot	};
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot	gfx_l3_fck: gfx_l3_fck@b40 {
17f126890aSEmmanuel Vadot		#clock-cells = <0>;
18f126890aSEmmanuel Vadot		compatible = "ti,divider-clock";
19f126890aSEmmanuel Vadot		clocks = <&l3_ick>;
20f126890aSEmmanuel Vadot		ti,max-div = <7>;
21f126890aSEmmanuel Vadot		reg = <0x0b40>;
22f126890aSEmmanuel Vadot		ti,index-starts-at-one;
23f126890aSEmmanuel Vadot	};
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot	gfx_l3_ick: gfx_l3_ick {
26f126890aSEmmanuel Vadot		#clock-cells = <0>;
27f126890aSEmmanuel Vadot		compatible = "fixed-factor-clock";
28f126890aSEmmanuel Vadot		clocks = <&gfx_l3_ck>;
29f126890aSEmmanuel Vadot		clock-mult = <1>;
30f126890aSEmmanuel Vadot		clock-div = <1>;
31f126890aSEmmanuel Vadot	};
32f126890aSEmmanuel Vadot
33f126890aSEmmanuel Vadot	gfx_cg1_ck: gfx_cg1_ck@b00 {
34f126890aSEmmanuel Vadot		#clock-cells = <0>;
35f126890aSEmmanuel Vadot		compatible = "ti,wait-gate-clock";
36f126890aSEmmanuel Vadot		clocks = <&gfx_l3_fck>;
37f126890aSEmmanuel Vadot		reg = <0x0b00>;
38f126890aSEmmanuel Vadot		ti,bit-shift = <1>;
39f126890aSEmmanuel Vadot	};
40f126890aSEmmanuel Vadot
41f126890aSEmmanuel Vadot	gfx_cg2_ck: gfx_cg2_ck@b00 {
42f126890aSEmmanuel Vadot		#clock-cells = <0>;
43f126890aSEmmanuel Vadot		compatible = "ti,wait-gate-clock";
44f126890aSEmmanuel Vadot		clocks = <&gfx_l3_fck>;
45f126890aSEmmanuel Vadot		reg = <0x0b00>;
46f126890aSEmmanuel Vadot		ti,bit-shift = <2>;
47f126890aSEmmanuel Vadot	};
48f126890aSEmmanuel Vadot
49f126890aSEmmanuel Vadot	clock@a00 {
50f126890aSEmmanuel Vadot		compatible = "ti,clksel";
51f126890aSEmmanuel Vadot		reg = <0xa00>;
52f126890aSEmmanuel Vadot		#clock-cells = <2>;
53*01950c46SEmmanuel Vadot		#address-cells = <1>;
54*01950c46SEmmanuel Vadot		#size-cells = <0>;
55f126890aSEmmanuel Vadot
56*01950c46SEmmanuel Vadot		d2d_26m_fck: clock-d2d-26m-fck@3 {
57*01950c46SEmmanuel Vadot			reg = <3>;
58f126890aSEmmanuel Vadot			#clock-cells = <0>;
59f126890aSEmmanuel Vadot			compatible = "ti,wait-gate-clock";
60f126890aSEmmanuel Vadot			clock-output-names = "d2d_26m_fck";
61f126890aSEmmanuel Vadot			clocks = <&sys_ck>;
62f126890aSEmmanuel Vadot		};
63f126890aSEmmanuel Vadot
64*01950c46SEmmanuel Vadot		fshostusb_fck: clock-fshostusb-fck@5 {
65*01950c46SEmmanuel Vadot			reg = <5>;
66f126890aSEmmanuel Vadot			#clock-cells = <0>;
67f126890aSEmmanuel Vadot			compatible = "ti,wait-gate-clock";
68f126890aSEmmanuel Vadot			clock-output-names = "fshostusb_fck";
69f126890aSEmmanuel Vadot			clocks = <&core_48m_fck>;
70f126890aSEmmanuel Vadot		};
71f126890aSEmmanuel Vadot
72*01950c46SEmmanuel Vadot		ssi_ssr_gate_fck_3430es1: clock-ssi-ssr-gate-fck-3430es1@0 {
73*01950c46SEmmanuel Vadot			reg = <0>;
74f126890aSEmmanuel Vadot			#clock-cells = <0>;
75f126890aSEmmanuel Vadot			compatible = "ti,composite-no-wait-gate-clock";
76f126890aSEmmanuel Vadot			clock-output-names = "ssi_ssr_gate_fck_3430es1";
77f126890aSEmmanuel Vadot			clocks = <&corex2_fck>;
78f126890aSEmmanuel Vadot		};
79f126890aSEmmanuel Vadot	};
80f126890aSEmmanuel Vadot
81f126890aSEmmanuel Vadot	clock@a40 {
82f126890aSEmmanuel Vadot		compatible = "ti,clksel";
83f126890aSEmmanuel Vadot		reg = <0xa40>;
84f126890aSEmmanuel Vadot		#clock-cells = <2>;
85*01950c46SEmmanuel Vadot		#address-cells = <1>;
86*01950c46SEmmanuel Vadot		#size-cells = <0>;
87f126890aSEmmanuel Vadot
88*01950c46SEmmanuel Vadot		ssi_ssr_div_fck_3430es1: clock-ssi-ssr-div-fck-3430es1@8 {
89*01950c46SEmmanuel Vadot			reg = <8>;
90f126890aSEmmanuel Vadot			#clock-cells = <0>;
91f126890aSEmmanuel Vadot			compatible = "ti,composite-divider-clock";
92f126890aSEmmanuel Vadot			clock-output-names = "ssi_ssr_div_fck_3430es1";
93f126890aSEmmanuel Vadot			clocks = <&corex2_fck>;
94f126890aSEmmanuel Vadot			ti,dividers = <0>, <1>, <2>, <3>, <4>, <0>, <6>, <0>, <8>;
95f126890aSEmmanuel Vadot		};
96f126890aSEmmanuel Vadot
97*01950c46SEmmanuel Vadot		usb_l4_div_ick: clock-usb-l4-div-ick@4 {
98*01950c46SEmmanuel Vadot			reg = <4>;
99f126890aSEmmanuel Vadot			#clock-cells = <0>;
100f126890aSEmmanuel Vadot			compatible = "ti,composite-divider-clock";
101f126890aSEmmanuel Vadot			clock-output-names = "usb_l4_div_ick";
102f126890aSEmmanuel Vadot			clocks = <&l4_ick>;
103f126890aSEmmanuel Vadot			ti,max-div = <1>;
104f126890aSEmmanuel Vadot			ti,index-starts-at-one;
105f126890aSEmmanuel Vadot		};
106f126890aSEmmanuel Vadot	};
107f126890aSEmmanuel Vadot
108f126890aSEmmanuel Vadot	ssi_ssr_fck: ssi_ssr_fck_3430es1 {
109f126890aSEmmanuel Vadot		#clock-cells = <0>;
110f126890aSEmmanuel Vadot		compatible = "ti,composite-clock";
111f126890aSEmmanuel Vadot		clocks = <&ssi_ssr_gate_fck_3430es1>, <&ssi_ssr_div_fck_3430es1>;
112f126890aSEmmanuel Vadot	};
113f126890aSEmmanuel Vadot
114f126890aSEmmanuel Vadot	ssi_sst_fck: ssi_sst_fck_3430es1 {
115f126890aSEmmanuel Vadot		#clock-cells = <0>;
116f126890aSEmmanuel Vadot		compatible = "fixed-factor-clock";
117f126890aSEmmanuel Vadot		clocks = <&ssi_ssr_fck>;
118f126890aSEmmanuel Vadot		clock-mult = <1>;
119f126890aSEmmanuel Vadot		clock-div = <2>;
120f126890aSEmmanuel Vadot	};
121f126890aSEmmanuel Vadot
122f126890aSEmmanuel Vadot	clock@a10 {
123f126890aSEmmanuel Vadot		compatible = "ti,clksel";
124f126890aSEmmanuel Vadot		reg = <0xa10>;
125f126890aSEmmanuel Vadot		#clock-cells = <2>;
126*01950c46SEmmanuel Vadot		#address-cells = <1>;
127*01950c46SEmmanuel Vadot		#size-cells = <0>;
128f126890aSEmmanuel Vadot
129*01950c46SEmmanuel Vadot		hsotgusb_ick_3430es1: clock-hsotgusb-ick-3430es1@4 {
130*01950c46SEmmanuel Vadot			reg = <4>;
131f126890aSEmmanuel Vadot			#clock-cells = <0>;
132f126890aSEmmanuel Vadot			compatible = "ti,omap3-no-wait-interface-clock";
133f126890aSEmmanuel Vadot			clock-output-names = "hsotgusb_ick_3430es1";
134f126890aSEmmanuel Vadot			clocks = <&core_l3_ick>;
135f126890aSEmmanuel Vadot		};
136f126890aSEmmanuel Vadot
137*01950c46SEmmanuel Vadot		fac_ick: clock-fac-ick@8 {
138*01950c46SEmmanuel Vadot			reg = <8>;
139f126890aSEmmanuel Vadot			#clock-cells = <0>;
140f126890aSEmmanuel Vadot			compatible = "ti,omap3-interface-clock";
141f126890aSEmmanuel Vadot			clock-output-names = "fac_ick";
142f126890aSEmmanuel Vadot			clocks = <&core_l4_ick>;
143f126890aSEmmanuel Vadot		};
144f126890aSEmmanuel Vadot
145*01950c46SEmmanuel Vadot		ssi_ick: clock-ssi-ick-3430es1@0 {
146*01950c46SEmmanuel Vadot			reg = <0>;
147f126890aSEmmanuel Vadot			#clock-cells = <0>;
148f126890aSEmmanuel Vadot			compatible = "ti,omap3-no-wait-interface-clock";
149f126890aSEmmanuel Vadot			clock-output-names = "ssi_ick_3430es1";
150f126890aSEmmanuel Vadot			clocks = <&ssi_l4_ick>;
151f126890aSEmmanuel Vadot		};
152f126890aSEmmanuel Vadot
153*01950c46SEmmanuel Vadot		usb_l4_gate_ick: clock-usb-l4-gate-ick@5 {
154*01950c46SEmmanuel Vadot			reg = <5>;
155f126890aSEmmanuel Vadot			#clock-cells = <0>;
156f126890aSEmmanuel Vadot			compatible = "ti,composite-interface-clock";
157f126890aSEmmanuel Vadot			clock-output-names = "usb_l4_gate_ick";
158f126890aSEmmanuel Vadot			clocks = <&l4_ick>;
159f126890aSEmmanuel Vadot		};
160f126890aSEmmanuel Vadot	};
161f126890aSEmmanuel Vadot
162f126890aSEmmanuel Vadot	ssi_l4_ick: ssi_l4_ick {
163f126890aSEmmanuel Vadot		#clock-cells = <0>;
164f126890aSEmmanuel Vadot		compatible = "fixed-factor-clock";
165f126890aSEmmanuel Vadot		clocks = <&l4_ick>;
166f126890aSEmmanuel Vadot		clock-mult = <1>;
167f126890aSEmmanuel Vadot		clock-div = <1>;
168f126890aSEmmanuel Vadot	};
169f126890aSEmmanuel Vadot
170f126890aSEmmanuel Vadot	usb_l4_ick: usb_l4_ick {
171f126890aSEmmanuel Vadot		#clock-cells = <0>;
172f126890aSEmmanuel Vadot		compatible = "ti,composite-clock";
173f126890aSEmmanuel Vadot		clocks = <&usb_l4_gate_ick>, <&usb_l4_div_ick>;
174f126890aSEmmanuel Vadot	};
175f126890aSEmmanuel Vadot
176f126890aSEmmanuel Vadot	clock@e00 {
177f126890aSEmmanuel Vadot		compatible = "ti,clksel";
178f126890aSEmmanuel Vadot		reg = <0xe00>;
179f126890aSEmmanuel Vadot		#clock-cells = <2>;
180*01950c46SEmmanuel Vadot		#address-cells = <1>;
181*01950c46SEmmanuel Vadot		#size-cells = <0>;
182f126890aSEmmanuel Vadot
183*01950c46SEmmanuel Vadot		dss1_alwon_fck: clock-dss1-alwon-fck-3430es1@0 {
184*01950c46SEmmanuel Vadot			reg = <0>;
185f126890aSEmmanuel Vadot			#clock-cells = <0>;
186f126890aSEmmanuel Vadot			compatible = "ti,gate-clock";
187f126890aSEmmanuel Vadot			clock-output-names = "dss1_alwon_fck_3430es1";
188f126890aSEmmanuel Vadot			clocks = <&dpll4_m4x2_ck>;
189f126890aSEmmanuel Vadot			ti,set-rate-parent;
190f126890aSEmmanuel Vadot		};
191f126890aSEmmanuel Vadot	};
192f126890aSEmmanuel Vadot
193f126890aSEmmanuel Vadot	dss_ick: dss_ick_3430es1@e10 {
194f126890aSEmmanuel Vadot		#clock-cells = <0>;
195f126890aSEmmanuel Vadot		compatible = "ti,omap3-no-wait-interface-clock";
196f126890aSEmmanuel Vadot		clocks = <&l4_ick>;
197f126890aSEmmanuel Vadot		reg = <0x0e10>;
198f126890aSEmmanuel Vadot		ti,bit-shift = <0>;
199f126890aSEmmanuel Vadot	};
200f126890aSEmmanuel Vadot};
201f126890aSEmmanuel Vadot
202f126890aSEmmanuel Vadot&cm_clockdomains {
203f126890aSEmmanuel Vadot	core_l3_clkdm: core_l3_clkdm {
204f126890aSEmmanuel Vadot		compatible = "ti,clockdomain";
205f126890aSEmmanuel Vadot		clocks = <&sdrc_ick>, <&hsotgusb_ick_3430es1>;
206f126890aSEmmanuel Vadot	};
207f126890aSEmmanuel Vadot
208f126890aSEmmanuel Vadot	gfx_3430es1_clkdm: gfx_3430es1_clkdm {
209f126890aSEmmanuel Vadot		compatible = "ti,clockdomain";
210f126890aSEmmanuel Vadot		clocks = <&gfx_l3_ck>, <&gfx_cg1_ck>, <&gfx_cg2_ck>;
211f126890aSEmmanuel Vadot	};
212f126890aSEmmanuel Vadot
213f126890aSEmmanuel Vadot	dss_clkdm: dss_clkdm {
214f126890aSEmmanuel Vadot		compatible = "ti,clockdomain";
215f126890aSEmmanuel Vadot		clocks = <&dss_tv_fck>, <&dss_96m_fck>, <&dss2_alwon_fck>,
216f126890aSEmmanuel Vadot			 <&dss1_alwon_fck>, <&dss_ick>;
217f126890aSEmmanuel Vadot	};
218f126890aSEmmanuel Vadot
219f126890aSEmmanuel Vadot	d2d_clkdm: d2d_clkdm {
220f126890aSEmmanuel Vadot		compatible = "ti,clockdomain";
221f126890aSEmmanuel Vadot		clocks = <&d2d_26m_fck>;
222f126890aSEmmanuel Vadot	};
223f126890aSEmmanuel Vadot
224f126890aSEmmanuel Vadot	core_l4_clkdm: core_l4_clkdm {
225f126890aSEmmanuel Vadot		compatible = "ti,clockdomain";
226f126890aSEmmanuel Vadot		clocks = <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
227f126890aSEmmanuel Vadot			 <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
228f126890aSEmmanuel Vadot			 <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
229f126890aSEmmanuel Vadot			 <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
230f126890aSEmmanuel Vadot			 <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
231f126890aSEmmanuel Vadot			 <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
232f126890aSEmmanuel Vadot			 <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
233f126890aSEmmanuel Vadot			 <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
234f126890aSEmmanuel Vadot			 <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>,
235f126890aSEmmanuel Vadot			 <&fshostusb_fck>, <&fac_ick>, <&ssi_ick>;
236f126890aSEmmanuel Vadot	};
237f126890aSEmmanuel Vadot};
238