Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9740.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright (C) 2025 Analog Devices Inc. */

/dts-v1/;

#include "zynq-zed.dtsi"
#include "zynq-zed-adv7511.dtsi"

/ {

clocks {
adf4351_clkin: clock@1 {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <10000000>;
clock-output-names = "refclk";
};

adf4351_clkout: clock@2 {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <210000000>;
clock-output-names = "adf4351_clkout";
};
};
};

&spi0 {
status="okay";

Check warning on line 30 in arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9740.dts

View workflow job for this annotation

GitHub Actions / checks / checks

checkpatch: please, no spaces at the start of a line + status="okay";$
adf4351: adf4351@0 {
compatible = "adi,adf4351";
reg = <0>;

Check warning on line 33 in arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9740.dts

View workflow job for this annotation

GitHub Actions / checks / checks

checkpatch: please, no spaces at the start of a line + compatible = "adi,adf4351";$

Check warning on line 34 in arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9740.dts

View workflow job for this annotation

GitHub Actions / checks / checks

checkpatch: please, no spaces at the start of a line + reg = <0>;$
spi-max-frequency = <10000000>;

Check warning on line 36 in arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9740.dts

View workflow job for this annotation

GitHub Actions / checks / checks

checkpatch: please, no spaces at the start of a line + spi-max-frequency = <10000000>;$
clocks = <&adf4351_clkin>;
clock-names = "clkin";

Check warning on line 38 in arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9740.dts

View workflow job for this annotation

GitHub Actions / checks / checks

checkpatch: please, no spaces at the start of a line + clocks = <&adf4351_clkin>;$

Check warning on line 39 in arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9740.dts

View workflow job for this annotation

GitHub Actions / checks / checks

checkpatch: please, no spaces at the start of a line + clock-names = "clkin";$
adi,channel-spacing = <10000>;
adi,power-up-frequency = <210000000>;

Check warning on line 41 in arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9740.dts

View workflow job for this annotation

GitHub Actions / checks / checks

checkpatch: please, no spaces at the start of a line + adi,channel-spacing = <10000>;$
adi,phase-detector-polarity-positive-enable;

Check warning on line 42 in arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9740.dts

View workflow job for this annotation

GitHub Actions / checks / checks

checkpatch: please, no spaces at the start of a line + adi,power-up-frequency = <210000000>;$
adi,charge-pump-current = <2500>;

Check warning on line 43 in arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9740.dts

View workflow job for this annotation

GitHub Actions / checks / checks

checkpatch: please, no spaces at the start of a line + adi,phase-detector-polarity-positive-enable;$
adi,output-power = <0>;
adi,aux-output-enable;
adi,aux-output-power = <0>;
adi,muxout-select = <6>;
};
};

&fpga_axi {

dac_tx_dma: dma-controller@44a40000 {
compatible = "adi,axi-dmac-1.00.a";
reg = <0x44a40000 0x10000>;
#dma-cells = <1>;
interrupt-parent = <&intc>;
interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkc 15>;

adi,channels {
#size-cells = <0>;
#address-cells = <1>;

dma-channel@0 {
reg = <0>;
adi,source-bus-width = <32>;
adi,source-bus-type = <0>;
adi,destination-bus-width = <32>;
adi,destination-bus-type = <1>;
};
};
};

axi_dac: axi-ad9740@44a70000 {
compatible = "adi,axi-ad9740";
reg = <0x44a70000 0x1000>;
dmas = <&dac_tx_dma 0>;
dma-names = "tx";
#io-backend-cells = <0>;
clocks = <&clkc 15>, <&adf4351_clkout>;
clock-names = "s_axi_aclk", "dac_clk";

#address-cells = <1>;
#size-cells = <0>;

dac@0 {
reg = <0>;
compatible = "adi,ad9740";
reset-gpios = <&gpio0 92 GPIO_ACTIVE_LOW>;
io-backends = <&axi_dac>;
/* Data format: use offset binary (false) or 2's complement (true) */
/* adi,twos-complement; */

Check failure on line 93 in arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9740.dts

View workflow job for this annotation

GitHub Actions / checks / checks

checkpatch: code indent should use tabs where possible +^I^I clocks = <&adf4351_clkout>;$
};
};
};
96 changes: 96 additions & 0 deletions arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9742.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright (C) 2025 Analog Devices Inc. */

/dts-v1/;

#include "zynq-zed.dtsi"
#include "zynq-zed-adv7511.dtsi"

/ {

clocks {
adf4351_clkin: clock@1 {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <10000000>;
clock-output-names = "refclk";
};

adf4351_clkout: clock@2 {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <210000000>;
clock-output-names = "adf4351_clkout";
};
};
};

&spi0 {
status="okay";

adf4351: adf4351@0 {
compatible = "adi,adf4351";
reg = <0>;

spi-max-frequency = <10000000>;

clocks = <&adf4351_clkin>;
clock-names = "clkin";

adi,channel-spacing = <10000>;
adi,power-up-frequency = <210000000>;
adi,phase-detector-polarity-positive-enable;
adi,charge-pump-current = <2500>;
adi,output-power = <0>;
adi,aux-output-enable;
adi,aux-output-power = <0>;
adi,muxout-select = <6>;
};
};

&fpga_axi {

dac_tx_dma: dma-controller@44a40000 {
compatible = "adi,axi-dmac-1.00.a";
reg = <0x44a40000 0x10000>;
#dma-cells = <1>;
interrupt-parent = <&intc>;
interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkc 15>;

adi,channels {
#size-cells = <0>;
#address-cells = <1>;

dma-channel@0 {
reg = <0>;
adi,source-bus-width = <32>;
adi,source-bus-type = <0>;
adi,destination-bus-width = <32>;
adi,destination-bus-type = <1>;
};
};
};

axi_dac: axi-ad9740@44a70000 {
compatible = "adi,axi-ad9740";
reg = <0x44a70000 0x1000>;
dmas = <&dac_tx_dma 0>;
dma-names = "tx";
#io-backend-cells = <0>;
clocks = <&clkc 15>, <&adf4351_clkout>;
clock-names = "s_axi_aclk", "dac_clk";

#address-cells = <1>;
#size-cells = <0>;

dac@0 {
reg = <0>;
compatible = "adi,ad9742";
reset-gpios = <&gpio0 92 GPIO_ACTIVE_LOW>;
io-backends = <&axi_dac>;
/* Data format: use offset binary (false) or 2's complement (true) */
/* adi,twos-complement; */
};
};
};
96 changes: 96 additions & 0 deletions arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9744.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright (C) 2025 Analog Devices Inc. */

/dts-v1/;

#include "zynq-zed.dtsi"
#include "zynq-zed-adv7511.dtsi"

/ {

clocks {
adf4351_clkin: clock@1 {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <10000000>;
clock-output-names = "refclk";
};

adf4351_clkout: clock@2 {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <210000000>;
clock-output-names = "adf4351_clkout";
};
};
};

&spi0 {
status="okay";

adf4351: adf4351@0 {
compatible = "adi,adf4351";
reg = <0>;

spi-max-frequency = <10000000>;

clocks = <&adf4351_clkin>;
clock-names = "clkin";

adi,channel-spacing = <10000>;
adi,power-up-frequency = <210000000>;
adi,phase-detector-polarity-positive-enable;
adi,charge-pump-current = <2500>;
adi,output-power = <0>;
adi,aux-output-enable;
adi,aux-output-power = <0>;
adi,muxout-select = <6>;
};
};

&fpga_axi {

dac_tx_dma: dma-controller@44a40000 {
compatible = "adi,axi-dmac-1.00.a";
reg = <0x44a40000 0x10000>;
#dma-cells = <1>;
interrupt-parent = <&intc>;
interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkc 15>;

adi,channels {
#size-cells = <0>;
#address-cells = <1>;

dma-channel@0 {
reg = <0>;
adi,source-bus-width = <32>;
adi,source-bus-type = <0>;
adi,destination-bus-width = <32>;
adi,destination-bus-type = <1>;
};
};
};

axi_dac: axi-ad9740@44a70000 {
compatible = "adi,axi-ad9740";
reg = <0x44a70000 0x1000>;
dmas = <&dac_tx_dma 0>;
dma-names = "tx";
#io-backend-cells = <0>;
clocks = <&clkc 15>, <&adf4351_clkout>;
clock-names = "s_axi_aclk", "dac_clk";

#address-cells = <1>;
#size-cells = <0>;

dac@0 {
reg = <0>;
compatible = "adi,ad9744";
reset-gpios = <&gpio0 92 GPIO_ACTIVE_LOW>;
io-backends = <&axi_dac>;
/* Data format: use offset binary (false) or 2's complement (true) */
/* adi,twos-complement; */
};
};
};
96 changes: 96 additions & 0 deletions arch/arm/boot/dts/xilinx/zynq-zed-adv7511-ad9748.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
// SPDX-License-Identifier: GPL-2.0
/* Copyright (C) 2025 Analog Devices Inc. */

/dts-v1/;

#include "zynq-zed.dtsi"
#include "zynq-zed-adv7511.dtsi"

/ {

clocks {
adf4351_clkin: clock@1 {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <10000000>;
clock-output-names = "refclk";
};

adf4351_clkout: clock@2 {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <210000000>;
clock-output-names = "adf4351_clkout";
};
};
};

&spi0 {
status="okay";

adf4351: adf4351@0 {
compatible = "adi,adf4351";
reg = <0>;

spi-max-frequency = <10000000>;

clocks = <&adf4351_clkin>;
clock-names = "clkin";

adi,channel-spacing = <10000>;
adi,power-up-frequency = <210000000>;
adi,phase-detector-polarity-positive-enable;
adi,charge-pump-current = <2500>;
adi,output-power = <0>;
adi,aux-output-enable;
adi,aux-output-power = <0>;
adi,muxout-select = <6>;
};
};

&fpga_axi {

dac_tx_dma: dma-controller@44a40000 {
compatible = "adi,axi-dmac-1.00.a";
reg = <0x44a40000 0x10000>;
#dma-cells = <1>;
interrupt-parent = <&intc>;
interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkc 15>;

adi,channels {
#size-cells = <0>;
#address-cells = <1>;

dma-channel@0 {
reg = <0>;
adi,source-bus-width = <32>;
adi,source-bus-type = <0>;
adi,destination-bus-width = <32>;
adi,destination-bus-type = <1>;
};
};
};

axi_dac: axi-ad9740@44a70000 {
compatible = "adi,axi-ad9740";
reg = <0x44a70000 0x1000>;
dmas = <&dac_tx_dma 0>;
dma-names = "tx";
#io-backend-cells = <0>;
clocks = <&clkc 15>, <&adf4351_clkout>;
clock-names = "s_axi_aclk", "dac_clk";

#address-cells = <1>;
#size-cells = <0>;

dac@0 {
reg = <0>;
compatible = "adi,ad9748";
reset-gpios = <&gpio0 92 GPIO_ACTIVE_LOW>;
io-backends = <&axi_dac>;
/* Data format: use offset binary (false) or 2's complement (true) */
/* adi,twos-complement; */
};
};
};
Loading
Loading