blob: b27b0aaf7c9b0d23a42ddb870e9480dd75174834 [file] [log] [blame]
Michal Simek18a952c2018-03-27 10:36:39 +02001// SPDX-License-Identifier: GPL-2.0+
Michal Simekee4983f2017-12-08 14:50:42 +01002/*
3 * Clock specification for Xilinx ZynqMP
4 *
Michal Simekaf045162021-06-01 16:40:43 +02005 * (C) Copyright 2017 - 2021, Xilinx, Inc.
Michal Simekee4983f2017-12-08 14:50:42 +01006 *
7 * Michal Simek <michal.simek@xilinx.com>
Michal Simekee4983f2017-12-08 14:50:42 +01008 */
9
Michal Simek039c7402019-10-14 15:42:03 +020010#include <dt-bindings/clock/xlnx-zynqmp-clk.h>
Michal Simekee4983f2017-12-08 14:50:42 +010011/ {
12 fclk0: fclk0 {
Michal Simek039c7402019-10-14 15:42:03 +020013 status = "okay";
Michal Simekee4983f2017-12-08 14:50:42 +010014 compatible = "xlnx,fclk";
Michal Simek039c7402019-10-14 15:42:03 +020015 clocks = <&zynqmp_clk PL0_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +010016 };
17
18 fclk1: fclk1 {
Michal Simek039c7402019-10-14 15:42:03 +020019 status = "okay";
Michal Simekee4983f2017-12-08 14:50:42 +010020 compatible = "xlnx,fclk";
Michal Simek039c7402019-10-14 15:42:03 +020021 clocks = <&zynqmp_clk PL1_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +010022 };
23
24 fclk2: fclk2 {
Michal Simek039c7402019-10-14 15:42:03 +020025 status = "okay";
Michal Simekee4983f2017-12-08 14:50:42 +010026 compatible = "xlnx,fclk";
Michal Simek039c7402019-10-14 15:42:03 +020027 clocks = <&zynqmp_clk PL2_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +010028 };
29
30 fclk3: fclk3 {
Michal Simek039c7402019-10-14 15:42:03 +020031 status = "okay";
Michal Simekee4983f2017-12-08 14:50:42 +010032 compatible = "xlnx,fclk";
Michal Simek039c7402019-10-14 15:42:03 +020033 clocks = <&zynqmp_clk PL3_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +010034 };
35
36 pss_ref_clk: pss_ref_clk {
37 u-boot,dm-pre-reloc;
38 compatible = "fixed-clock";
39 #clock-cells = <0>;
40 clock-frequency = <33333333>;
41 };
42
43 video_clk: video_clk {
44 u-boot,dm-pre-reloc;
45 compatible = "fixed-clock";
46 #clock-cells = <0>;
47 clock-frequency = <27000000>;
48 };
49
50 pss_alt_ref_clk: pss_alt_ref_clk {
51 u-boot,dm-pre-reloc;
52 compatible = "fixed-clock";
53 #clock-cells = <0>;
54 clock-frequency = <0>;
55 };
56
57 gt_crx_ref_clk: gt_crx_ref_clk {
58 u-boot,dm-pre-reloc;
59 compatible = "fixed-clock";
60 #clock-cells = <0>;
61 clock-frequency = <108000000>;
62 };
63
64 aux_ref_clk: aux_ref_clk {
65 u-boot,dm-pre-reloc;
66 compatible = "fixed-clock";
67 #clock-cells = <0>;
68 clock-frequency = <27000000>;
69 };
Michal Simekee4983f2017-12-08 14:50:42 +010070};
71
Michal Simek039c7402019-10-14 15:42:03 +020072&zynqmp_firmware {
73 zynqmp_clk: clock-controller {
74 u-boot,dm-pre-reloc;
75 #clock-cells = <1>;
76 compatible = "xlnx,zynqmp-clk";
77 clocks = <&pss_ref_clk>, <&video_clk>, <&pss_alt_ref_clk>,
78 <&aux_ref_clk>, <&gt_crx_ref_clk>;
79 clock-names = "pss_ref_clk", "video_clk", "pss_alt_ref_clk",
80 "aux_ref_clk", "gt_crx_ref_clk";
81 };
82};
83
Michal Simekee4983f2017-12-08 14:50:42 +010084&can0 {
Michal Simek039c7402019-10-14 15:42:03 +020085 clocks = <&zynqmp_clk CAN0_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +010086};
87
88&can1 {
Michal Simek039c7402019-10-14 15:42:03 +020089 clocks = <&zynqmp_clk CAN1_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +010090};
91
92&cpu0 {
Michal Simek039c7402019-10-14 15:42:03 +020093 clocks = <&zynqmp_clk ACPU>;
Michal Simekee4983f2017-12-08 14:50:42 +010094};
95
96&fpd_dma_chan1 {
Michal Simek039c7402019-10-14 15:42:03 +020097 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +010098};
99
100&fpd_dma_chan2 {
Michal Simek039c7402019-10-14 15:42:03 +0200101 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100102};
103
104&fpd_dma_chan3 {
Michal Simek039c7402019-10-14 15:42:03 +0200105 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100106};
107
108&fpd_dma_chan4 {
Michal Simek039c7402019-10-14 15:42:03 +0200109 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100110};
111
112&fpd_dma_chan5 {
Michal Simek039c7402019-10-14 15:42:03 +0200113 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100114};
115
116&fpd_dma_chan6 {
Michal Simek039c7402019-10-14 15:42:03 +0200117 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100118};
119
120&fpd_dma_chan7 {
Michal Simek039c7402019-10-14 15:42:03 +0200121 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100122};
123
124&fpd_dma_chan8 {
Michal Simek039c7402019-10-14 15:42:03 +0200125 clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100126};
127
128&gpu {
Michal Simek039c7402019-10-14 15:42:03 +0200129 clocks = <&zynqmp_clk GPU_REF>, <&zynqmp_clk GPU_PP0_REF>, <&zynqmp_clk GPU_PP1_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +0100130};
131
132&lpd_dma_chan1 {
Michal Simek039c7402019-10-14 15:42:03 +0200133 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100134};
135
136&lpd_dma_chan2 {
Michal Simek039c7402019-10-14 15:42:03 +0200137 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100138};
139
140&lpd_dma_chan3 {
Michal Simek039c7402019-10-14 15:42:03 +0200141 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100142};
143
144&lpd_dma_chan4 {
Michal Simek039c7402019-10-14 15:42:03 +0200145 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100146};
147
148&lpd_dma_chan5 {
Michal Simek039c7402019-10-14 15:42:03 +0200149 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100150};
151
152&lpd_dma_chan6 {
Michal Simek039c7402019-10-14 15:42:03 +0200153 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100154};
155
156&lpd_dma_chan7 {
Michal Simek039c7402019-10-14 15:42:03 +0200157 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100158};
159
160&lpd_dma_chan8 {
Michal Simek039c7402019-10-14 15:42:03 +0200161 clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100162};
163
164&nand0 {
Michal Simek039c7402019-10-14 15:42:03 +0200165 clocks = <&zynqmp_clk NAND_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100166};
167
168&gem0 {
Michal Simekb0f36d52020-01-09 14:15:07 +0100169 clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM0_REF>,
170 <&zynqmp_clk GEM0_TX>, <&zynqmp_clk GEM0_RX>,
171 <&zynqmp_clk GEM_TSU>;
Michal Simekee4983f2017-12-08 14:50:42 +0100172 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
173};
174
175&gem1 {
Michal Simekb0f36d52020-01-09 14:15:07 +0100176 clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM1_REF>,
177 <&zynqmp_clk GEM1_TX>, <&zynqmp_clk GEM1_RX>,
178 <&zynqmp_clk GEM_TSU>;
Michal Simekee4983f2017-12-08 14:50:42 +0100179 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
180};
181
182&gem2 {
Michal Simekb0f36d52020-01-09 14:15:07 +0100183 clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM2_REF>,
184 <&zynqmp_clk GEM2_TX>, <&zynqmp_clk GEM2_RX>,
185 <&zynqmp_clk GEM_TSU>;
Michal Simekee4983f2017-12-08 14:50:42 +0100186 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
187};
188
189&gem3 {
Michal Simekb0f36d52020-01-09 14:15:07 +0100190 clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM3_REF>,
191 <&zynqmp_clk GEM3_TX>, <&zynqmp_clk GEM3_RX>,
192 <&zynqmp_clk GEM_TSU>;
Michal Simekee4983f2017-12-08 14:50:42 +0100193 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
194};
195
196&gpio {
Michal Simek039c7402019-10-14 15:42:03 +0200197 clocks = <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100198};
199
200&i2c0 {
Michal Simek039c7402019-10-14 15:42:03 +0200201 clocks = <&zynqmp_clk I2C0_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +0100202};
203
204&i2c1 {
Michal Simek039c7402019-10-14 15:42:03 +0200205 clocks = <&zynqmp_clk I2C1_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +0100206};
207
208&pcie {
Michal Simek039c7402019-10-14 15:42:03 +0200209 clocks = <&zynqmp_clk PCIE_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +0100210};
211
212&qspi {
Michal Simek039c7402019-10-14 15:42:03 +0200213 clocks = <&zynqmp_clk QSPI_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100214};
215
216&sata {
Michal Simek039c7402019-10-14 15:42:03 +0200217 clocks = <&zynqmp_clk SATA_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +0100218};
219
220&sdhci0 {
Michal Simek039c7402019-10-14 15:42:03 +0200221 clocks = <&zynqmp_clk SDIO0_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100222};
223
224&sdhci1 {
Michal Simek039c7402019-10-14 15:42:03 +0200225 clocks = <&zynqmp_clk SDIO1_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100226};
227
228&spi0 {
Michal Simek039c7402019-10-14 15:42:03 +0200229 clocks = <&zynqmp_clk SPI0_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100230};
231
232&spi1 {
Michal Simek039c7402019-10-14 15:42:03 +0200233 clocks = <&zynqmp_clk SPI1_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100234};
235
Rajan Vajaecb4d742018-04-25 05:34:04 -0700236&ttc0 {
Michal Simek039c7402019-10-14 15:42:03 +0200237 clocks = <&zynqmp_clk LPD_LSBUS>;
Rajan Vajaecb4d742018-04-25 05:34:04 -0700238};
239
240&ttc1 {
Michal Simek039c7402019-10-14 15:42:03 +0200241 clocks = <&zynqmp_clk LPD_LSBUS>;
Rajan Vajaecb4d742018-04-25 05:34:04 -0700242};
243
244&ttc2 {
Michal Simek039c7402019-10-14 15:42:03 +0200245 clocks = <&zynqmp_clk LPD_LSBUS>;
Rajan Vajaecb4d742018-04-25 05:34:04 -0700246};
247
248&ttc3 {
Michal Simek039c7402019-10-14 15:42:03 +0200249 clocks = <&zynqmp_clk LPD_LSBUS>;
Rajan Vajaecb4d742018-04-25 05:34:04 -0700250};
251
Michal Simekee4983f2017-12-08 14:50:42 +0100252&uart0 {
Michal Simek039c7402019-10-14 15:42:03 +0200253 clocks = <&zynqmp_clk UART0_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100254};
255
256&uart1 {
Michal Simek039c7402019-10-14 15:42:03 +0200257 clocks = <&zynqmp_clk UART1_REF>, <&zynqmp_clk LPD_LSBUS>;
Michal Simekee4983f2017-12-08 14:50:42 +0100258};
259
260&usb0 {
Michal Simek039c7402019-10-14 15:42:03 +0200261 clocks = <&zynqmp_clk USB0_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +0100262};
263
264&usb1 {
Michal Simek039c7402019-10-14 15:42:03 +0200265 clocks = <&zynqmp_clk USB1_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +0100266};
267
268&watchdog0 {
Michal Simek039c7402019-10-14 15:42:03 +0200269 clocks = <&zynqmp_clk WDT>;
Michal Simekee4983f2017-12-08 14:50:42 +0100270};
271
Michal Simek2038e462018-07-18 09:25:43 +0200272&lpd_watchdog {
273 clocks = <&zynqmp_clk LPD_WDT>;
274};
275
Michal Simekee4983f2017-12-08 14:50:42 +0100276&xilinx_ams {
Michal Simek039c7402019-10-14 15:42:03 +0200277 clocks = <&zynqmp_clk AMS_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +0100278};
279
Michal Simekce906542020-11-26 14:25:02 +0100280&zynqmp_pcap {
281 clocks = <&zynqmp_clk PCAP>;
Michal Simek04437de2020-02-18 09:24:08 +0100282};
283
Michal Simekce906542020-11-26 14:25:02 +0100284&zynqmp_dpdma {
Michal Simek039c7402019-10-14 15:42:03 +0200285 clocks = <&zynqmp_clk DPDMA_REF>;
Michal Simekee4983f2017-12-08 14:50:42 +0100286};
287
Michal Simekce906542020-11-26 14:25:02 +0100288&zynqmp_dpsub {
289 clocks = <&zynqmp_clk TOPSW_LSBUS>,
290 <&zynqmp_clk DP_AUDIO_REF>,
291 <&zynqmp_clk DP_VIDEO_REF>;
Nava kishore Manne21620992019-10-18 18:07:32 +0200292};