2018-03-27 08:36:39 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2017-12-08 13:50:42 +00:00
|
|
|
/*
|
|
|
|
* Clock specification for Xilinx ZynqMP
|
|
|
|
*
|
2020-02-18 07:38:06 +00:00
|
|
|
* (C) Copyright 2017 - 2020, Xilinx, Inc.
|
2017-12-08 13:50:42 +00:00
|
|
|
*
|
|
|
|
* Michal Simek <michal.simek@xilinx.com>
|
|
|
|
*/
|
|
|
|
|
2019-10-14 13:42:03 +00:00
|
|
|
#include <dt-bindings/clock/xlnx-zynqmp-clk.h>
|
2017-12-08 13:50:42 +00:00
|
|
|
/ {
|
|
|
|
fclk0: fclk0 {
|
2019-10-14 13:42:03 +00:00
|
|
|
status = "okay";
|
2017-12-08 13:50:42 +00:00
|
|
|
compatible = "xlnx,fclk";
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk PL0_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
fclk1: fclk1 {
|
2019-10-14 13:42:03 +00:00
|
|
|
status = "okay";
|
2017-12-08 13:50:42 +00:00
|
|
|
compatible = "xlnx,fclk";
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk PL1_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
fclk2: fclk2 {
|
2019-10-14 13:42:03 +00:00
|
|
|
status = "okay";
|
2017-12-08 13:50:42 +00:00
|
|
|
compatible = "xlnx,fclk";
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk PL2_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
fclk3: fclk3 {
|
2019-10-14 13:42:03 +00:00
|
|
|
status = "okay";
|
2017-12-08 13:50:42 +00:00
|
|
|
compatible = "xlnx,fclk";
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk PL3_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
pss_ref_clk: pss_ref_clk {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <33333333>;
|
|
|
|
};
|
|
|
|
|
|
|
|
video_clk: video_clk {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <27000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
pss_alt_ref_clk: pss_alt_ref_clk {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
gt_crx_ref_clk: gt_crx_ref_clk {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <108000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
aux_ref_clk: aux_ref_clk {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <27000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
dp_aclk: dp_aclk {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <100000000>;
|
|
|
|
clock-accuracy = <100>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-10-14 13:42:03 +00:00
|
|
|
&zynqmp_firmware {
|
|
|
|
zynqmp_clk: clock-controller {
|
|
|
|
u-boot,dm-pre-reloc;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
compatible = "xlnx,zynqmp-clk";
|
|
|
|
clocks = <&pss_ref_clk>, <&video_clk>, <&pss_alt_ref_clk>,
|
|
|
|
<&aux_ref_clk>, <>_crx_ref_clk>;
|
|
|
|
clock-names = "pss_ref_clk", "video_clk", "pss_alt_ref_clk",
|
|
|
|
"aux_ref_clk", "gt_crx_ref_clk";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-12-08 13:50:42 +00:00
|
|
|
&can0 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk CAN0_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&can1 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk CAN1_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&cpu0 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk ACPU>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&fpd_dma_chan1 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&fpd_dma_chan2 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&fpd_dma_chan3 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&fpd_dma_chan4 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&fpd_dma_chan5 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&fpd_dma_chan6 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&fpd_dma_chan7 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&fpd_dma_chan8 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk GDMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gpu {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk GPU_REF>, <&zynqmp_clk GPU_PP0_REF>, <&zynqmp_clk GPU_PP1_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&lpd_dma_chan1 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&lpd_dma_chan2 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&lpd_dma_chan3 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&lpd_dma_chan4 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&lpd_dma_chan5 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&lpd_dma_chan6 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&lpd_dma_chan7 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&lpd_dma_chan8 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk ADMA_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&nand0 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk NAND_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gem0 {
|
2020-01-09 13:15:07 +00:00
|
|
|
clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM0_REF>,
|
|
|
|
<&zynqmp_clk GEM0_TX>, <&zynqmp_clk GEM0_RX>,
|
|
|
|
<&zynqmp_clk GEM_TSU>;
|
2017-12-08 13:50:42 +00:00
|
|
|
clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
|
|
|
|
};
|
|
|
|
|
|
|
|
&gem1 {
|
2020-01-09 13:15:07 +00:00
|
|
|
clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM1_REF>,
|
|
|
|
<&zynqmp_clk GEM1_TX>, <&zynqmp_clk GEM1_RX>,
|
|
|
|
<&zynqmp_clk GEM_TSU>;
|
2017-12-08 13:50:42 +00:00
|
|
|
clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
|
|
|
|
};
|
|
|
|
|
|
|
|
&gem2 {
|
2020-01-09 13:15:07 +00:00
|
|
|
clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM2_REF>,
|
|
|
|
<&zynqmp_clk GEM2_TX>, <&zynqmp_clk GEM2_RX>,
|
|
|
|
<&zynqmp_clk GEM_TSU>;
|
2017-12-08 13:50:42 +00:00
|
|
|
clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
|
|
|
|
};
|
|
|
|
|
|
|
|
&gem3 {
|
2020-01-09 13:15:07 +00:00
|
|
|
clocks = <&zynqmp_clk LPD_LSBUS>, <&zynqmp_clk GEM3_REF>,
|
|
|
|
<&zynqmp_clk GEM3_TX>, <&zynqmp_clk GEM3_RX>,
|
|
|
|
<&zynqmp_clk GEM_TSU>;
|
2017-12-08 13:50:42 +00:00
|
|
|
clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
|
|
|
|
};
|
|
|
|
|
|
|
|
&gpio {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c0 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk I2C0_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk I2C1_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&pcie {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk PCIE_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&qspi {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk QSPI_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&sata {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk SATA_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci0 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk SDIO0_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci1 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk SDIO1_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&spi0 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk SPI0_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&spi1 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk SPI1_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
2018-04-25 12:34:04 +00:00
|
|
|
&ttc0 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk LPD_LSBUS>;
|
2018-04-25 12:34:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&ttc1 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk LPD_LSBUS>;
|
2018-04-25 12:34:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&ttc2 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk LPD_LSBUS>;
|
2018-04-25 12:34:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&ttc3 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk LPD_LSBUS>;
|
2018-04-25 12:34:04 +00:00
|
|
|
};
|
|
|
|
|
2017-12-08 13:50:42 +00:00
|
|
|
&uart0 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk UART0_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&uart1 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk UART1_REF>, <&zynqmp_clk LPD_LSBUS>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&usb0 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk USB0_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&usb1 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk USB1_BUS_REF>, <&zynqmp_clk USB3_DUAL_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&watchdog0 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk WDT>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
2018-07-18 07:25:43 +00:00
|
|
|
&lpd_watchdog {
|
|
|
|
clocks = <&zynqmp_clk LPD_WDT>;
|
|
|
|
};
|
|
|
|
|
2017-12-08 13:50:42 +00:00
|
|
|
&xilinx_ams {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk AMS_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
2020-02-18 08:24:08 +00:00
|
|
|
&zynqmp_dpsub {
|
|
|
|
clocks = <&dp_aclk>, <&zynqmp_clk DP_AUDIO_REF>, <&zynqmp_clk DP_VIDEO_REF>;
|
|
|
|
};
|
|
|
|
|
2017-12-08 13:50:42 +00:00
|
|
|
&xlnx_dpdma {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk DPDMA_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
|
|
|
|
2020-02-18 08:24:08 +00:00
|
|
|
&zynqmp_dp_snd_codec0 {
|
2019-10-14 13:42:03 +00:00
|
|
|
clocks = <&zynqmp_clk DP_AUDIO_REF>;
|
2017-12-08 13:50:42 +00:00
|
|
|
};
|
2019-10-18 16:07:32 +00:00
|
|
|
|
|
|
|
&zynqmp_pcap {
|
|
|
|
clocks = <&zynqmp_clk PCAP>;
|
|
|
|
};
|