xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/am35xx-clocks.dtsi (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Device Tree Source for OMAP3 clock data
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright (C) 2013 Texas Instruments, Inc.
6f126890aSEmmanuel Vadot */
7f126890aSEmmanuel Vadot&scm_clocks {
8f126890aSEmmanuel Vadot	emac_ick: emac_ick@32c {
9f126890aSEmmanuel Vadot		#clock-cells = <0>;
10f126890aSEmmanuel Vadot		compatible = "ti,am35xx-gate-clock";
11f126890aSEmmanuel Vadot		clocks = <&ipss_ick>;
12f126890aSEmmanuel Vadot		reg = <0x032c>;
13f126890aSEmmanuel Vadot		ti,bit-shift = <1>;
14f126890aSEmmanuel Vadot	};
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot	emac_fck: emac_fck@32c {
17f126890aSEmmanuel Vadot		#clock-cells = <0>;
18f126890aSEmmanuel Vadot		compatible = "ti,gate-clock";
19f126890aSEmmanuel Vadot		clocks = <&rmii_ck>;
20f126890aSEmmanuel Vadot		reg = <0x032c>;
21f126890aSEmmanuel Vadot		ti,bit-shift = <9>;
22f126890aSEmmanuel Vadot	};
23f126890aSEmmanuel Vadot
24f126890aSEmmanuel Vadot	vpfe_ick: vpfe_ick@32c {
25f126890aSEmmanuel Vadot		#clock-cells = <0>;
26f126890aSEmmanuel Vadot		compatible = "ti,am35xx-gate-clock";
27f126890aSEmmanuel Vadot		clocks = <&ipss_ick>;
28f126890aSEmmanuel Vadot		reg = <0x032c>;
29f126890aSEmmanuel Vadot		ti,bit-shift = <2>;
30f126890aSEmmanuel Vadot	};
31f126890aSEmmanuel Vadot
32f126890aSEmmanuel Vadot	vpfe_fck: vpfe_fck@32c {
33f126890aSEmmanuel Vadot		#clock-cells = <0>;
34f126890aSEmmanuel Vadot		compatible = "ti,gate-clock";
35f126890aSEmmanuel Vadot		clocks = <&pclk_ck>;
36f126890aSEmmanuel Vadot		reg = <0x032c>;
37f126890aSEmmanuel Vadot		ti,bit-shift = <10>;
38f126890aSEmmanuel Vadot	};
39f126890aSEmmanuel Vadot
40f126890aSEmmanuel Vadot	hsotgusb_ick_am35xx: hsotgusb_ick_am35xx@32c {
41f126890aSEmmanuel Vadot		#clock-cells = <0>;
42f126890aSEmmanuel Vadot		compatible = "ti,am35xx-gate-clock";
43f126890aSEmmanuel Vadot		clocks = <&ipss_ick>;
44f126890aSEmmanuel Vadot		reg = <0x032c>;
45f126890aSEmmanuel Vadot		ti,bit-shift = <0>;
46f126890aSEmmanuel Vadot	};
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot	hsotgusb_fck_am35xx: hsotgusb_fck_am35xx@32c {
49f126890aSEmmanuel Vadot		#clock-cells = <0>;
50f126890aSEmmanuel Vadot		compatible = "ti,gate-clock";
51f126890aSEmmanuel Vadot		clocks = <&sys_ck>;
52f126890aSEmmanuel Vadot		reg = <0x032c>;
53f126890aSEmmanuel Vadot		ti,bit-shift = <8>;
54f126890aSEmmanuel Vadot	};
55f126890aSEmmanuel Vadot
56f126890aSEmmanuel Vadot	hecc_ck: hecc_ck@32c {
57f126890aSEmmanuel Vadot		#clock-cells = <0>;
58f126890aSEmmanuel Vadot		compatible = "ti,am35xx-gate-clock";
59f126890aSEmmanuel Vadot		clocks = <&sys_ck>;
60f126890aSEmmanuel Vadot		reg = <0x032c>;
61f126890aSEmmanuel Vadot		ti,bit-shift = <3>;
62f126890aSEmmanuel Vadot	};
63f126890aSEmmanuel Vadot};
64f126890aSEmmanuel Vadot&cm_clocks {
65f126890aSEmmanuel Vadot	clock@a10 {
66f126890aSEmmanuel Vadot		compatible = "ti,clksel";
67f126890aSEmmanuel Vadot		reg = <0xa10>;
68f126890aSEmmanuel Vadot		#clock-cells = <2>;
69*01950c46SEmmanuel Vadot		#address-cells = <1>;
70*01950c46SEmmanuel Vadot		#size-cells = <0>;
71f126890aSEmmanuel Vadot
72*01950c46SEmmanuel Vadot		ipss_ick: clock-ipss-ick@4 {
73*01950c46SEmmanuel Vadot			reg = <4>;
74f126890aSEmmanuel Vadot			#clock-cells = <0>;
75f126890aSEmmanuel Vadot			compatible = "ti,am35xx-interface-clock";
76f126890aSEmmanuel Vadot			clock-output-names = "ipss_ick";
77f126890aSEmmanuel Vadot			clocks = <&core_l3_ick>;
78f126890aSEmmanuel Vadot		};
79f126890aSEmmanuel Vadot
80*01950c46SEmmanuel Vadot		uart4_ick_am35xx: clock-uart4-ick-am35xx@23 {
81*01950c46SEmmanuel Vadot			reg = <23>;
82f126890aSEmmanuel Vadot			#clock-cells = <0>;
83f126890aSEmmanuel Vadot			compatible = "ti,omap3-interface-clock";
84f126890aSEmmanuel Vadot			clock-output-names = "uart4_ick_am35xx";
85f126890aSEmmanuel Vadot			clocks = <&core_l4_ick>;
86f126890aSEmmanuel Vadot		};
87f126890aSEmmanuel Vadot	};
88f126890aSEmmanuel Vadot
89f126890aSEmmanuel Vadot	rmii_ck: rmii_ck {
90f126890aSEmmanuel Vadot		#clock-cells = <0>;
91f126890aSEmmanuel Vadot		compatible = "fixed-clock";
92f126890aSEmmanuel Vadot		clock-frequency = <50000000>;
93f126890aSEmmanuel Vadot	};
94f126890aSEmmanuel Vadot
95f126890aSEmmanuel Vadot	pclk_ck: pclk_ck {
96f126890aSEmmanuel Vadot		#clock-cells = <0>;
97f126890aSEmmanuel Vadot		compatible = "fixed-clock";
98f126890aSEmmanuel Vadot		clock-frequency = <27000000>;
99f126890aSEmmanuel Vadot	};
100f126890aSEmmanuel Vadot
101f126890aSEmmanuel Vadot	clock@a00 {
102f126890aSEmmanuel Vadot		compatible = "ti,clksel";
103f126890aSEmmanuel Vadot		reg = <0xa00>;
104f126890aSEmmanuel Vadot		#clock-cells = <2>;
105*01950c46SEmmanuel Vadot		#address-cells = <1>;
106*01950c46SEmmanuel Vadot		#size-cells = <0>;
107f126890aSEmmanuel Vadot
108*01950c46SEmmanuel Vadot		uart4_fck_am35xx: clock-uart4-fck-am35xx@23 {
109*01950c46SEmmanuel Vadot			reg = <23>;
110f126890aSEmmanuel Vadot			#clock-cells = <0>;
111f126890aSEmmanuel Vadot			compatible = "ti,wait-gate-clock";
112f126890aSEmmanuel Vadot			clock-output-names = "uart4_fck_am35xx";
113f126890aSEmmanuel Vadot			clocks = <&core_48m_fck>;
114f126890aSEmmanuel Vadot		};
115f126890aSEmmanuel Vadot	};
116f126890aSEmmanuel Vadot};
117f126890aSEmmanuel Vadot
118f126890aSEmmanuel Vadot&cm_clockdomains {
119f126890aSEmmanuel Vadot	core_l3_clkdm: core_l3_clkdm {
120f126890aSEmmanuel Vadot		compatible = "ti,clockdomain";
121f126890aSEmmanuel Vadot		clocks = <&sdrc_ick>, <&ipss_ick>, <&emac_ick>, <&vpfe_ick>,
122f126890aSEmmanuel Vadot			 <&hsotgusb_ick_am35xx>, <&hsotgusb_fck_am35xx>,
123f126890aSEmmanuel Vadot			 <&hecc_ck>;
124f126890aSEmmanuel Vadot	};
125f126890aSEmmanuel Vadot
126f126890aSEmmanuel Vadot	core_l4_clkdm: core_l4_clkdm {
127f126890aSEmmanuel Vadot		compatible = "ti,clockdomain";
128f126890aSEmmanuel Vadot		clocks = <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>,
129f126890aSEmmanuel Vadot			 <&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>,
130f126890aSEmmanuel Vadot			 <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
131f126890aSEmmanuel Vadot			 <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
132f126890aSEmmanuel Vadot			 <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
133f126890aSEmmanuel Vadot			 <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
134f126890aSEmmanuel Vadot			 <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
135f126890aSEmmanuel Vadot			 <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
136f126890aSEmmanuel Vadot			 <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
137f126890aSEmmanuel Vadot			 <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
138f126890aSEmmanuel Vadot			 <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>,
139f126890aSEmmanuel Vadot			 <&uart4_ick_am35xx>, <&uart4_fck_am35xx>;
140f126890aSEmmanuel Vadot	};
141f126890aSEmmanuel Vadot};
142