xref: /linux/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi (revision 0c7c237b1c35011ef0b8d30c1d5c20bc6ae7b69b)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Clock specification for Xilinx ZynqMP
4 *
5 * (C) Copyright 2017 - 2022, Xilinx, Inc.
6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
7 *
8 * Michal Simek <michal.simek@amd.com>
9 */
10
11#include <dt-bindings/clock/xlnx-zynqmp-clk.h>
12/ {
13	pss_ref_clk: pss_ref_clk {
14		bootph-all;
15		compatible = "fixed-clock";
16		#clock-cells = <0>;
17		clock-frequency = <33333333>;
18	};
19
20	video_clk: video_clk {
21		bootph-all;
22		compatible = "fixed-clock";
23		#clock-cells = <0>;
24		clock-frequency = <27000000>;
25	};
26
27	pss_alt_ref_clk: pss_alt_ref_clk {
28		bootph-all;
29		compatible = "fixed-clock";
30		#clock-cells = <0>;
31		clock-frequency = <0>;
32	};
33
34	gt_crx_ref_clk: gt_crx_ref_clk {
35		bootph-all;
36		compatible = "fixed-clock";
37		#clock-cells = <0>;
38		clock-frequency = <108000000>;
39	};
40
41	aux_ref_clk: aux_ref_clk {
42		bootph-all;
43		compatible = "fixed-clock";
44		#clock-cells = <0>;
45		clock-frequency = <27000000>;
46	};
47};
48
49&zynqmp_firmware {
50	zynqmp_clk: clock-controller {
51		bootph-all;
52		#clock-cells = <1>;
53		compatible = "xlnx,zynqmp-clk";
54		clocks = <&pss_ref_clk>, <&video_clk>, <&pss_alt_ref_clk>,
55			 <&aux_ref_clk>, <&gt_crx_ref_clk>;
56		clock-names = "pss_ref_clk", "video_clk", "pss_alt_ref_clk",
57			      "aux_ref_clk", "gt_crx_ref_clk";
58	};
59};
60
61&can0 {
62	clocks = <&zynqmp_clk CAN0_REF>, <&zynqmp_clk LPD_LSBUS>;
63};
64
65&can1 {
66	clocks = <&zynqmp_clk CAN1_REF>, <&zynqmp_clk LPD_LSBUS>;
67};
68
69&cpu0 {
70	clocks = <&zynqmp_clk ACPU>;
71};
72
73&fpd_dma_chan1 {
74	clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
75};
76
77&fpd_dma_chan2 {
78	clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
79};
80
81&fpd_dma_chan3 {
82	clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
83};
84
85&fpd_dma_chan4 {
86	clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
87};
88
89&fpd_dma_chan5 {
90	clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
91};
92
93&fpd_dma_chan6 {
94	clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
95};
96
97&fpd_dma_chan7 {
98	clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
99};
100
101&fpd_dma_chan8 {
102	clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
103};
104
105&gpu {
106	clocks = <&zynqmp_clk GPU_REF>, <&zynqmp_clk GPU_PP0_REF>;
107};
108
109&lpd_dma_chan1 {
110	clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
111};
112
113&lpd_dma_chan2 {
114	clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
115};
116
117&lpd_dma_chan3 {
118	clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
119};
120
121&lpd_dma_chan4 {
122	clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
123};
124
125&lpd_dma_chan5 {
126	clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
127};
128
129&lpd_dma_chan6 {
130	clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
131};
132
133&lpd_dma_chan7 {
134	clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
135};
136
137&lpd_dma_chan8 {
138	clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
139};
140
141&nand0 {
142	clocks = <&zynqmp_clk NAND_REF>, <&zynqmp_clk LPD_LSBUS>;
143};
144
145&gem0 {
146	clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM0_REF>,
147		 <&zynqmp_clk GEM0_TX>, <&zynqmp_clk GEM0_RX>,
148		 <&zynqmp_clk GEM_TSU>;
149};
150
151&gem1 {
152	clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM1_REF>,
153		 <&zynqmp_clk GEM1_TX>, <&zynqmp_clk GEM1_RX>,
154		 <&zynqmp_clk GEM_TSU>;
155};
156
157&gem2 {
158	clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM2_REF>,
159		 <&zynqmp_clk GEM2_TX>, <&zynqmp_clk GEM2_RX>,
160		 <&zynqmp_clk GEM_TSU>;
161};
162
163&gem3 {
164	clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM3_REF>,
165		 <&zynqmp_clk GEM3_TX>, <&zynqmp_clk GEM3_RX>,
166		 <&zynqmp_clk GEM_TSU>;
167};
168
169&gpio {
170	clocks = <&zynqmp_clk LPD_LSBUS>;
171};
172
173&i2c0 {
174	clocks = <&zynqmp_clk I2C0_REF>;
175};
176
177&i2c1 {
178	clocks = <&zynqmp_clk I2C1_REF>;
179};
180
181&pcie {
182	clocks = <&zynqmp_clk PCIE_REF>;
183};
184
185&qspi {
186	clocks = <&zynqmp_clk QSPI_REF>, <&zynqmp_clk LPD_LSBUS>;
187};
188
189&sata {
190	clocks = <&zynqmp_clk SATA_REF>;
191};
192
193&sdhci0 {
194	clocks = <&zynqmp_clk SDIO0_REF>, <&zynqmp_clk LPD_LSBUS>;
195	assigned-clocks = <&zynqmp_clk SDIO0_REF>;
196};
197
198&sdhci1 {
199	clocks = <&zynqmp_clk SDIO1_REF>, <&zynqmp_clk LPD_LSBUS>;
200	assigned-clocks = <&zynqmp_clk SDIO1_REF>;
201};
202
203&spi0 {
204	clocks = <&zynqmp_clk SPI0_REF>, <&zynqmp_clk LPD_LSBUS>;
205};
206
207&spi1 {
208	clocks = <&zynqmp_clk SPI1_REF>, <&zynqmp_clk LPD_LSBUS>;
209};
210
211&ttc0 {
212	clocks = <&zynqmp_clk LPD_LSBUS>;
213};
214
215&ttc1 {
216	clocks = <&zynqmp_clk LPD_LSBUS>;
217};
218
219&ttc2 {
220	clocks = <&zynqmp_clk LPD_LSBUS>;
221};
222
223&ttc3 {
224	clocks = <&zynqmp_clk LPD_LSBUS>;
225};
226
227&uart0 {
228	clocks = <&zynqmp_clk UART0_REF>, <&zynqmp_clk LPD_LSBUS>;
229};
230
231&uart1 {
232	clocks = <&zynqmp_clk UART1_REF>, <&zynqmp_clk LPD_LSBUS>;
233};
234
235&dwc3_0 {
236	clocks = <&zynqmp_clk USB0_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>;
237};
238
239&dwc3_1 {
240	clocks = <&zynqmp_clk USB1_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>;
241};
242
243&watchdog0 {
244	clocks = <&zynqmp_clk WDT>;
245};
246
247&lpd_watchdog {
248	clocks = <&zynqmp_clk LPD_WDT>;
249};
250
251&xilinx_ams {
252	clocks = <&zynqmp_clk AMS_REF>;
253};
254
255&zynqmp_dpdma {
256	clocks = <&zynqmp_clk DPDMA_REF>;
257	assigned-clocks = <&zynqmp_clk DPDMA_REF>; /* apll */
258};
259
260&zynqmp_dpsub {
261	clocks = <&zynqmp_clk TOPSW_LSBUS>,
262		 <&zynqmp_clk DP_AUDIO_REF>,
263		 <&zynqmp_clk DP_VIDEO_REF>;
264	assigned-clocks = <&zynqmp_clk DP_STC_REF>,
265			  <&zynqmp_clk DP_AUDIO_REF>,
266			  <&zynqmp_clk DP_VIDEO_REF>;  /* rpll, rpll, vpll */
267};
268