Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADRV9009: Add Data Offload to ZC706 and ZCU102 platforms #2682

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
11 changes: 11 additions & 0 deletions arch/arm/boot/dts/xilinx/zynq-zc706-adv7511-adrv9009.dts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
clock-names = "sampl_clk";
spibus-connected = <&trx0_adrv9009>;
adi,axi-pl-fifo-enable;
adi,axi-data-offload-connected = <&axi_data_offload_tx>;
adi,axi-interpolation-core-available;
interpolation-gpios = <&gpio0 116 GPIO_ACTIVE_HIGH>;
};
Expand Down Expand Up @@ -220,6 +221,16 @@
adi,sys-clk-select = <XCVR_QPLL>;
adi,out-clk-select = <XCVR_REFCLK>;
};

axi_data_offload_tx: axi-data-offload-0@7c430000 {
compatible = "adi,axi-data-offload-1.0.a";
reg = <0x7c430000 0x10000>;
// adi,bringup;
// adi,oneshot;
// adi,bypass;
// adi,sync-config = <2>;
// adi,transfer-length = /bits/ 64 <0x10000>; // 2**16 bytes
};
};

&spi0 {
Expand Down
13 changes: 12 additions & 1 deletion arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev10-adrv9009.dts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@
clocks = <&trx0_adrv9009 2>;
clock-names = "sampl_clk";
spibus-connected = <&trx0_adrv9009>;
//adi,axi-pl-fifo-enable;
adi,axi-pl-fifo-enable;
adi,axi-data-offload-connected = <&axi_data_offload_tx>;
adi,axi-interpolation-core-available;
interpolation-gpios = <&gpio 140 GPIO_ACTIVE_HIGH>;
};
Expand Down Expand Up @@ -252,6 +253,16 @@
compatible = "adi,axi-sysid-1.00.a";
reg = <0x85000000 0x10000>;
};

axi_data_offload_tx: axi-data-offload-0@9c430000 {
compatible = "adi,axi-data-offload-1.0.a";
reg = <0x9c430000 0x10000>;
// adi,bringup;
// adi,oneshot;
// adi,bypass;
// adi,sync-config = <2>;
// adi,transfer-length = /bits/ 64 <0x10000>; // 2**16 bytes
};
};
};

Expand Down