blob: dd4569e7bd95801197b602aeda74b278f784c855 [file] [log] [blame]
Michal Simek090a2d72018-03-27 10:36:39 +02001// SPDX-License-Identifier: GPL-2.0+
Michal Simeka6604b62017-12-08 14:50:42 +01002/*
3 * Clock specification for Xilinx ZynqMP
4 *
Michal Simek3f283ea2023-09-22 12:35:41 +02005 * (C) Copyright 2017 - 2022, Xilinx, Inc.
6 * (C) Copyright 2022 - 2023, Advanced Micro Devices, Inc.
Michal Simeka6604b62017-12-08 14:50:42 +01007 *
Michal Simeka8c94362023-07-10 14:35:49 +02008 * Michal Simek <michal.simek@amd.com>
Michal Simeka6604b62017-12-08 14:50:42 +01009 */
10
Michal Simekebddf492019-10-14 15:42:03 +020011#include <dt-bindings/clock/xlnx-zynqmp-clk.h>
Michal Simeka6604b62017-12-08 14:50:42 +010012/ {
Michal Simeka6604b62017-12-08 14:50:42 +010013 pss_ref_clk: pss_ref_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070014 bootph-all;
Michal Simeka6604b62017-12-08 14:50:42 +010015 compatible = "fixed-clock";
16 #clock-cells = <0>;
17 clock-frequency = <33333333>;
18 };
19
20 video_clk: video_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070021 bootph-all;
Michal Simeka6604b62017-12-08 14:50:42 +010022 compatible = "fixed-clock";
23 #clock-cells = <0>;
24 clock-frequency = <27000000>;
25 };
26
27 pss_alt_ref_clk: pss_alt_ref_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070028 bootph-all;
Michal Simeka6604b62017-12-08 14:50:42 +010029 compatible = "fixed-clock";
30 #clock-cells = <0>;
31 clock-frequency = <0>;
32 };
33
34 gt_crx_ref_clk: gt_crx_ref_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070035 bootph-all;
Michal Simeka6604b62017-12-08 14:50:42 +010036 compatible = "fixed-clock";
37 #clock-cells = <0>;
38 clock-frequency = <108000000>;
39 };
40
41 aux_ref_clk: aux_ref_clk {
Simon Glassd3a98cb2023-02-13 08:56:33 -070042 bootph-all;
Michal Simeka6604b62017-12-08 14:50:42 +010043 compatible = "fixed-clock";
44 #clock-cells = <0>;
45 clock-frequency = <27000000>;
46 };
Michal Simeka6604b62017-12-08 14:50:42 +010047};
48
Michal Simekebddf492019-10-14 15:42:03 +020049&zynqmp_firmware {
50 zynqmp_clk: clock-controller {
Simon Glassd3a98cb2023-02-13 08:56:33 -070051 bootph-all;
Michal Simekebddf492019-10-14 15:42:03 +020052 #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
Michal Simeka6604b62017-12-08 14:50:42 +010061&can0 {
Michal Simekebddf492019-10-14 15:42:03 +020062 clocks = <&zynqmp_clk CAN0_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +010063};
64
65&can1 {
Michal Simekebddf492019-10-14 15:42:03 +020066 clocks = <&zynqmp_clk CAN1_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +010067};
68
69&cpu0 {
Michal Simekebddf492019-10-14 15:42:03 +020070 clocks = <&zynqmp_clk ACPU>;
Michal Simeka6604b62017-12-08 14:50:42 +010071};
72
73&fpd_dma_chan1 {
Michal Simekebddf492019-10-14 15:42:03 +020074 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +010075};
76
77&fpd_dma_chan2 {
Michal Simekebddf492019-10-14 15:42:03 +020078 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +010079};
80
81&fpd_dma_chan3 {
Michal Simekebddf492019-10-14 15:42:03 +020082 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +010083};
84
85&fpd_dma_chan4 {
Michal Simekebddf492019-10-14 15:42:03 +020086 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +010087};
88
89&fpd_dma_chan5 {
Michal Simekebddf492019-10-14 15:42:03 +020090 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +010091};
92
93&fpd_dma_chan6 {
Michal Simekebddf492019-10-14 15:42:03 +020094 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +010095};
96
97&fpd_dma_chan7 {
Michal Simekebddf492019-10-14 15:42:03 +020098 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +010099};
100
101&fpd_dma_chan8 {
Michal Simekebddf492019-10-14 15:42:03 +0200102 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100103};
104
105&gpu {
Parth Gajjara281ad02023-07-10 14:37:29 +0200106 clocks = <&zynqmp_clk GPU_REF>, <&zynqmp_clk GPU_PP0_REF>;
Michal Simeka6604b62017-12-08 14:50:42 +0100107};
108
109&lpd_dma_chan1 {
Michal Simekebddf492019-10-14 15:42:03 +0200110 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100111};
112
113&lpd_dma_chan2 {
Michal Simekebddf492019-10-14 15:42:03 +0200114 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100115};
116
117&lpd_dma_chan3 {
Michal Simekebddf492019-10-14 15:42:03 +0200118 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100119};
120
121&lpd_dma_chan4 {
Michal Simekebddf492019-10-14 15:42:03 +0200122 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100123};
124
125&lpd_dma_chan5 {
Michal Simekebddf492019-10-14 15:42:03 +0200126 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100127};
128
129&lpd_dma_chan6 {
Michal Simekebddf492019-10-14 15:42:03 +0200130 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100131};
132
133&lpd_dma_chan7 {
Michal Simekebddf492019-10-14 15:42:03 +0200134 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100135};
136
137&lpd_dma_chan8 {
Michal Simekebddf492019-10-14 15:42:03 +0200138 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100139};
140
141&nand0 {
Michal Simekebddf492019-10-14 15:42:03 +0200142 clocks = <&zynqmp_clk NAND_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100143};
144
145&gem0 {
Michal Simek1092d682020-01-09 14:15:07 +0100146 clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM0_REF>,
147 <&zynqmp_clk GEM0_TX>, <&zynqmp_clk GEM0_RX>,
148 <&zynqmp_clk GEM_TSU>;
Harini Katakam14d5fee2023-07-10 14:37:30 +0200149 assigned-clocks = <&zynqmp_clk GEM_TSU>;
Michal Simeka6604b62017-12-08 14:50:42 +0100150};
151
152&gem1 {
Michal Simek1092d682020-01-09 14:15:07 +0100153 clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM1_REF>,
154 <&zynqmp_clk GEM1_TX>, <&zynqmp_clk GEM1_RX>,
155 <&zynqmp_clk GEM_TSU>;
Harini Katakam14d5fee2023-07-10 14:37:30 +0200156 assigned-clocks = <&zynqmp_clk GEM_TSU>;
Michal Simeka6604b62017-12-08 14:50:42 +0100157};
158
159&gem2 {
Michal Simek1092d682020-01-09 14:15:07 +0100160 clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM2_REF>,
161 <&zynqmp_clk GEM2_TX>, <&zynqmp_clk GEM2_RX>,
162 <&zynqmp_clk GEM_TSU>;
Harini Katakam14d5fee2023-07-10 14:37:30 +0200163 assigned-clocks = <&zynqmp_clk GEM_TSU>;
Michal Simeka6604b62017-12-08 14:50:42 +0100164};
165
166&gem3 {
Michal Simek1092d682020-01-09 14:15:07 +0100167 clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM3_REF>,
168 <&zynqmp_clk GEM3_TX>, <&zynqmp_clk GEM3_RX>,
169 <&zynqmp_clk GEM_TSU>;
Harini Katakam14d5fee2023-07-10 14:37:30 +0200170 assigned-clocks = <&zynqmp_clk GEM_TSU>;
Michal Simeka6604b62017-12-08 14:50:42 +0100171};
172
173&gpio {
Michal Simekebddf492019-10-14 15:42:03 +0200174 clocks = <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100175};
176
177&i2c0 {
Michal Simekebddf492019-10-14 15:42:03 +0200178 clocks = <&zynqmp_clk I2C0_REF>;
Michal Simeka6604b62017-12-08 14:50:42 +0100179};
180
181&i2c1 {
Michal Simekebddf492019-10-14 15:42:03 +0200182 clocks = <&zynqmp_clk I2C1_REF>;
Michal Simeka6604b62017-12-08 14:50:42 +0100183};
184
185&pcie {
Michal Simekebddf492019-10-14 15:42:03 +0200186 clocks = <&zynqmp_clk PCIE_REF>;
Michal Simeka6604b62017-12-08 14:50:42 +0100187};
188
189&qspi {
Michal Simekebddf492019-10-14 15:42:03 +0200190 clocks = <&zynqmp_clk QSPI_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100191};
192
193&sata {
Michal Simekebddf492019-10-14 15:42:03 +0200194 clocks = <&zynqmp_clk SATA_REF>;
Michal Simeka6604b62017-12-08 14:50:42 +0100195};
196
197&sdhci0 {
Michal Simekebddf492019-10-14 15:42:03 +0200198 clocks = <&zynqmp_clk SDIO0_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekbd8ca912022-02-23 16:17:39 +0100199 assigned-clocks = <&zynqmp_clk SDIO0_REF>;
Michal Simeka6604b62017-12-08 14:50:42 +0100200};
201
202&sdhci1 {
Michal Simekebddf492019-10-14 15:42:03 +0200203 clocks = <&zynqmp_clk SDIO1_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekbd8ca912022-02-23 16:17:39 +0100204 assigned-clocks = <&zynqmp_clk SDIO1_REF>;
Michal Simeka6604b62017-12-08 14:50:42 +0100205};
206
207&spi0 {
Michal Simekebddf492019-10-14 15:42:03 +0200208 clocks = <&zynqmp_clk SPI0_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100209};
210
211&spi1 {
Michal Simekebddf492019-10-14 15:42:03 +0200212 clocks = <&zynqmp_clk SPI1_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simeka6604b62017-12-08 14:50:42 +0100213};
214
Rajan Vaja36d68be2018-04-25 05:34:04 -0700215&ttc0 {
Michal Simekebddf492019-10-14 15:42:03 +0200216 clocks = <&zynqmp_clk LPD_LSBUS>;
Rajan Vaja36d68be2018-04-25 05:34:04 -0700217};
218
219&ttc1 {
Michal Simekebddf492019-10-14 15:42:03 +0200220 clocks = <&zynqmp_clk LPD_LSBUS>;
Rajan Vaja36d68be2018-04-25 05:34:04 -0700221};
222
223&ttc2 {
Michal Simekebddf492019-10-14 15:42:03 +0200224 clocks = <&zynqmp_clk LPD_LSBUS>;
Rajan Vaja36d68be2018-04-25 05:34:04 -0700225};
226
227&ttc3 {
Michal Simekebddf492019-10-14 15:42:03 +0200228 clocks = <&zynqmp_clk LPD_LSBUS>;
Rajan Vaja36d68be2018-04-25 05:34:04 -0700229};
230
Michal Simeka6604b62017-12-08 14:50:42 +0100231&uart0 {
Michal Simekebddf492019-10-14 15:42:03 +0200232 clocks = <&zynqmp_clk UART0_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simek10a25f22023-09-18 13:22:04 +0200233 assigned-clocks = <&zynqmp_clk UART0_REF>;
Michal Simeka6604b62017-12-08 14:50:42 +0100234};
235
236&uart1 {
Michal Simekebddf492019-10-14 15:42:03 +0200237 clocks = <&zynqmp_clk UART1_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simek10a25f22023-09-18 13:22:04 +0200238 assigned-clocks = <&zynqmp_clk UART1_REF>;
Michal Simeka6604b62017-12-08 14:50:42 +0100239};
240
241&usb0 {
Michal Simekebddf492019-10-14 15:42:03 +0200242 clocks = <&zynqmp_clk USB0_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>;
Michal Simekbd8ca912022-02-23 16:17:39 +0100243 assigned-clocks = <&zynqmp_clk USB0_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>;
Michal Simeka6604b62017-12-08 14:50:42 +0100244};
245
Piyush Mehtac687c652022-08-23 15:03:31 +0200246&dwc3_0 {
247 clocks = <&zynqmp_clk USB3_DUAL_REF>;
248};
249
Michal Simeka6604b62017-12-08 14:50:42 +0100250&usb1 {
Michal Simekebddf492019-10-14 15:42:03 +0200251 clocks = <&zynqmp_clk USB1_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>;
Michal Simekbd8ca912022-02-23 16:17:39 +0100252 assigned-clocks = <&zynqmp_clk USB1_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>;
Michal Simeka6604b62017-12-08 14:50:42 +0100253};
254
Piyush Mehtac687c652022-08-23 15:03:31 +0200255&dwc3_1 {
256 clocks = <&zynqmp_clk USB3_DUAL_REF>;
257};
258
Michal Simeka6604b62017-12-08 14:50:42 +0100259&watchdog0 {
Michal Simekebddf492019-10-14 15:42:03 +0200260 clocks = <&zynqmp_clk WDT>;
Michal Simeka6604b62017-12-08 14:50:42 +0100261};
262
Michal Simek7b6280e2018-07-18 09:25:43 +0200263&lpd_watchdog {
264 clocks = <&zynqmp_clk LPD_WDT>;
265};
266
Michal Simeka6604b62017-12-08 14:50:42 +0100267&xilinx_ams {
Michal Simekebddf492019-10-14 15:42:03 +0200268 clocks = <&zynqmp_clk AMS_REF>;
Michal Simeka6604b62017-12-08 14:50:42 +0100269};
270
Michal Simek958c0e92020-11-26 14:25:02 +0100271&zynqmp_dpdma {
Michal Simekebddf492019-10-14 15:42:03 +0200272 clocks = <&zynqmp_clk DPDMA_REF>;
Michal Simekeb10f6a2022-02-23 16:17:38 +0100273 assigned-clocks = <&zynqmp_clk DPDMA_REF>; /* apll */
Michal Simeka6604b62017-12-08 14:50:42 +0100274};
275
Michal Simek958c0e92020-11-26 14:25:02 +0100276&zynqmp_dpsub {
277 clocks = <&zynqmp_clk TOPSW_LSBUS>,
278 <&zynqmp_clk DP_AUDIO_REF>,
279 <&zynqmp_clk DP_VIDEO_REF>;
Michal Simekeb10f6a2022-02-23 16:17:38 +0100280 assigned-clocks = <&zynqmp_clk DP_STC_REF>,
281 <&zynqmp_clk DP_AUDIO_REF>,
282 <&zynqmp_clk DP_VIDEO_REF>; /* rpll, rpll, vpll */
Nava kishore Manne042ae5e2019-10-18 18:07:32 +0200283};