blob: 2ec3628d33157a26945b0430d75cf979c52b5a00 [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 OMAP3430 ES1 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 gfx_l3_ck: gfx_l3_ck@b10 {
Tero Kristo657fc112013-07-22 12:29:29 +03009 #clock-cells = <0>;
10 compatible = "ti,wait-gate-clock";
11 clocks = <&l3_ick>;
12 reg = <0x0b10>;
13 ti,bit-shift = <0>;
14 };
15
Tero Kristob5b53402016-04-04 18:16:06 +030016 gfx_l3_fck: gfx_l3_fck@b40 {
Tero Kristo657fc112013-07-22 12:29:29 +030017 #clock-cells = <0>;
18 compatible = "ti,divider-clock";
19 clocks = <&l3_ick>;
20 ti,max-div = <7>;
21 reg = <0x0b40>;
22 ti,index-starts-at-one;
23 };
24
25 gfx_l3_ick: gfx_l3_ick {
26 #clock-cells = <0>;
27 compatible = "fixed-factor-clock";
28 clocks = <&gfx_l3_ck>;
29 clock-mult = <1>;
30 clock-div = <1>;
31 };
32
Tero Kristob5b53402016-04-04 18:16:06 +030033 gfx_cg1_ck: gfx_cg1_ck@b00 {
Tero Kristo657fc112013-07-22 12:29:29 +030034 #clock-cells = <0>;
35 compatible = "ti,wait-gate-clock";
36 clocks = <&gfx_l3_fck>;
37 reg = <0x0b00>;
38 ti,bit-shift = <1>;
39 };
40
Tero Kristob5b53402016-04-04 18:16:06 +030041 gfx_cg2_ck: gfx_cg2_ck@b00 {
Tero Kristo657fc112013-07-22 12:29:29 +030042 #clock-cells = <0>;
43 compatible = "ti,wait-gate-clock";
44 clocks = <&gfx_l3_fck>;
45 reg = <0x0b00>;
46 ti,bit-shift = <2>;
47 };
48
Tero Kristob5b53402016-04-04 18:16:06 +030049 d2d_26m_fck: d2d_26m_fck@a00 {
Tero Kristo657fc112013-07-22 12:29:29 +030050 #clock-cells = <0>;
51 compatible = "ti,wait-gate-clock";
52 clocks = <&sys_ck>;
53 reg = <0x0a00>;
54 ti,bit-shift = <3>;
55 };
56
Tero Kristob5b53402016-04-04 18:16:06 +030057 fshostusb_fck: fshostusb_fck@a00 {
Tero Kristo657fc112013-07-22 12:29:29 +030058 #clock-cells = <0>;
59 compatible = "ti,wait-gate-clock";
60 clocks = <&core_48m_fck>;
61 reg = <0x0a00>;
62 ti,bit-shift = <5>;
63 };
64
Tero Kristob5b53402016-04-04 18:16:06 +030065 ssi_ssr_gate_fck_3430es1: ssi_ssr_gate_fck_3430es1@a00 {
Tero Kristo657fc112013-07-22 12:29:29 +030066 #clock-cells = <0>;
67 compatible = "ti,composite-no-wait-gate-clock";
68 clocks = <&corex2_fck>;
69 ti,bit-shift = <0>;
70 reg = <0x0a00>;
71 };
72
Tero Kristob5b53402016-04-04 18:16:06 +030073 ssi_ssr_div_fck_3430es1: ssi_ssr_div_fck_3430es1@a40 {
Tero Kristo657fc112013-07-22 12:29:29 +030074 #clock-cells = <0>;
75 compatible = "ti,composite-divider-clock";
76 clocks = <&corex2_fck>;
77 ti,bit-shift = <8>;
78 reg = <0x0a40>;
79 ti,dividers = <0>, <1>, <2>, <3>, <4>, <0>, <6>, <0>, <8>;
80 };
81
Sebastian Reichel3a24a3c2014-01-21 15:37:41 +010082 ssi_ssr_fck: ssi_ssr_fck_3430es1 {
Tero Kristo657fc112013-07-22 12:29:29 +030083 #clock-cells = <0>;
84 compatible = "ti,composite-clock";
85 clocks = <&ssi_ssr_gate_fck_3430es1>, <&ssi_ssr_div_fck_3430es1>;
86 };
87
Sebastian Reichel3a24a3c2014-01-21 15:37:41 +010088 ssi_sst_fck: ssi_sst_fck_3430es1 {
Tero Kristo657fc112013-07-22 12:29:29 +030089 #clock-cells = <0>;
90 compatible = "fixed-factor-clock";
Sebastian Reichel3a24a3c2014-01-21 15:37:41 +010091 clocks = <&ssi_ssr_fck>;
Tero Kristo657fc112013-07-22 12:29:29 +030092 clock-mult = <1>;
93 clock-div = <2>;
94 };
95
Tero Kristob5b53402016-04-04 18:16:06 +030096 hsotgusb_ick_3430es1: hsotgusb_ick_3430es1@a10 {
Tero Kristo657fc112013-07-22 12:29:29 +030097 #clock-cells = <0>;
98 compatible = "ti,omap3-no-wait-interface-clock";
99 clocks = <&core_l3_ick>;
100 reg = <0x0a10>;
101 ti,bit-shift = <4>;
102 };
103
Tero Kristob5b53402016-04-04 18:16:06 +0300104 fac_ick: fac_ick@a10 {
Tero Kristo657fc112013-07-22 12:29:29 +0300105 #clock-cells = <0>;
106 compatible = "ti,omap3-interface-clock";
107 clocks = <&core_l4_ick>;
108 reg = <0x0a10>;
109 ti,bit-shift = <8>;
110 };
111
112 ssi_l4_ick: ssi_l4_ick {
113 #clock-cells = <0>;
114 compatible = "fixed-factor-clock";
115 clocks = <&l4_ick>;
116 clock-mult = <1>;
117 clock-div = <1>;
118 };
119
Tero Kristob5b53402016-04-04 18:16:06 +0300120 ssi_ick: ssi_ick_3430es1@a10 {
Tero Kristo657fc112013-07-22 12:29:29 +0300121 #clock-cells = <0>;
122 compatible = "ti,omap3-no-wait-interface-clock";
123 clocks = <&ssi_l4_ick>;
124 reg = <0x0a10>;
125 ti,bit-shift = <0>;
126 };
127
Tero Kristob5b53402016-04-04 18:16:06 +0300128 usb_l4_gate_ick: usb_l4_gate_ick@a10 {
Tero Kristo657fc112013-07-22 12:29:29 +0300129 #clock-cells = <0>;
130 compatible = "ti,composite-interface-clock";
131 clocks = <&l4_ick>;
132 ti,bit-shift = <5>;
133 reg = <0x0a10>;
134 };
135
Tero Kristob5b53402016-04-04 18:16:06 +0300136 usb_l4_div_ick: usb_l4_div_ick@a40 {
Tero Kristo657fc112013-07-22 12:29:29 +0300137 #clock-cells = <0>;
138 compatible = "ti,composite-divider-clock";
139 clocks = <&l4_ick>;
140 ti,bit-shift = <4>;
141 ti,max-div = <1>;
142 reg = <0x0a40>;
143 ti,index-starts-at-one;
144 };
145
146 usb_l4_ick: usb_l4_ick {
147 #clock-cells = <0>;
148 compatible = "ti,composite-clock";
149 clocks = <&usb_l4_gate_ick>, <&usb_l4_div_ick>;
150 };
151
Tero Kristob5b53402016-04-04 18:16:06 +0300152 dss1_alwon_fck: dss1_alwon_fck_3430es1@e00 {
Tero Kristo657fc112013-07-22 12:29:29 +0300153 #clock-cells = <0>;
154 compatible = "ti,gate-clock";
155 clocks = <&dpll4_m4x2_ck>;
156 ti,bit-shift = <0>;
157 reg = <0x0e00>;
158 ti,set-rate-parent;
159 };
160
Tero Kristob5b53402016-04-04 18:16:06 +0300161 dss_ick: dss_ick_3430es1@e10 {
Tero Kristo657fc112013-07-22 12:29:29 +0300162 #clock-cells = <0>;
163 compatible = "ti,omap3-no-wait-interface-clock";
164 clocks = <&l4_ick>;
165 reg = <0x0e10>;
166 ti,bit-shift = <0>;
167 };
168};
169
170&cm_clockdomains {
171 core_l3_clkdm: core_l3_clkdm {
172 compatible = "ti,clockdomain";
173 clocks = <&sdrc_ick>, <&hsotgusb_ick_3430es1>;
174 };
175
176 gfx_3430es1_clkdm: gfx_3430es1_clkdm {
177 compatible = "ti,clockdomain";
178 clocks = <&gfx_l3_ck>, <&gfx_cg1_ck>, <&gfx_cg2_ck>;
179 };
180
181 dss_clkdm: dss_clkdm {
182 compatible = "ti,clockdomain";
183 clocks = <&dss_tv_fck>, <&dss_96m_fck>, <&dss2_alwon_fck>,
Tomi Valkeinen9512c6f2014-02-12 15:45:57 +0200184 <&dss1_alwon_fck>, <&dss_ick>;
Tero Kristo657fc112013-07-22 12:29:29 +0300185 };
186
187 d2d_clkdm: d2d_clkdm {
188 compatible = "ti,clockdomain";
189 clocks = <&d2d_26m_fck>;
190 };
191
192 core_l4_clkdm: core_l4_clkdm {
193 compatible = "ti,clockdomain";
194 clocks = <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>,
195 <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>,
196 <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>,
197 <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>,
198 <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>,
199 <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>,
200 <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>,
201 <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>,
202 <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>,
Sebastian Reichel3a24a3c2014-01-21 15:37:41 +0100203 <&fshostusb_fck>, <&fac_ick>, <&ssi_ick>;
Tero Kristo657fc112013-07-22 12:29:29 +0300204 };
205};