Skip to content

Commit 4b21d33

Browse files
committed
arm64: dts: xilinx: add AD9467 support for ZCU102
Mainly copied from the Zedboard dts. Modified to be similar to other ZCU102 dts files. Signed-off-by: JRabacca <[email protected]>
1 parent 10d2a5d commit 4b21d33

File tree

2 files changed

+122
-0
lines changed

2 files changed

+122
-0
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/* Copyright (C) 2025 Analog Devices Inc. */
3+
4+
/ {
5+
clocks {
6+
ad9517_ref_clk: clock@0 {
7+
compatible = "fixed-clock";
8+
9+
clock-frequency = <250000000>;
10+
clock-output-names = "ad9517_refclk";
11+
#clock-cells = <0>;
12+
};
13+
};
14+
};
15+
16+
&fmc_spi {
17+
status = "okay";
18+
adc_ad9467: ad9467@0 {
19+
compatible = "adi,ad9467";
20+
reg = <0>;
21+
22+
spi-max-frequency = <10000000>;
23+
adi,spi-3wire-enable;
24+
25+
clocks = <&ad9517_ref_clk>;
26+
clock-names = "adc_clk";
27+
28+
#address-cells = <1>;
29+
#size-cells = <0>;
30+
};
31+
32+
clk_ad9517: ad9517@1 {
33+
compatible = "adi,ad9517-4";
34+
reg = <1>;
35+
36+
spi-max-frequency = <10000000>;
37+
adi,spi-3wire-enable;
38+
39+
clocks = <&ad9517_ref_clk>, <&ad9517_ref_clk>;
40+
clock-names = "refclk", "clkin";
41+
42+
clock-output-names = "out0", "out1", "out2", "out3", "out4", "out5", "out6", "out7";
43+
#clock-cells = <1>;
44+
45+
firmware = "ad9467_intbypass_ad9517.stp";
46+
47+
#address-cells = <1>;
48+
#size-cells = <0>;
49+
};
50+
};
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/*
3+
* Analog Devices AD9467
4+
* https://wiki.analog.com/resources/tools-software/linux-drivers/iio-adc/axi-adc-hdl
5+
* https://wiki.analog.com/resources/eval/ad9467-fmc-250ebz
6+
* https://wiki.analog.com/resources/fpga/xilinx/fmc/ad9467
7+
*
8+
* hdl_project: <ad9467_fmc/zed>
9+
* board_revision: <>
10+
*
11+
* Copyright (C) 2025 Analog Devices Inc.
12+
*/
13+
/dts-v1/;
14+
15+
#include "zynqmp-zcu102-rev1.0.dts"
16+
#include <dt-bindings/interrupt-controller/irq.h>
17+
18+
/ {
19+
fpga_axi: fpga-axi@0 {
20+
interrupt-parent = <&gic>;
21+
compatible = "simple-bus";
22+
#address-cells = <0x1>;
23+
#size-cells = <0x1>;
24+
ranges = <0 0 0 0xffffffff>;
25+
26+
rx_dma: dma-controller@84A30000 {
27+
compatible = "adi,axi-dmac-1.00.a";
28+
reg = <0x84A30000 0x10000>;
29+
#dma-cells = <1>;
30+
interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH>;
31+
clocks = <&zynqmp_clk 71>;
32+
};
33+
34+
cf_ad9467_core_0: cf-ad9467-core-lpc@84A00000 {
35+
compatible = "adi,axi-adc-10.0.a", "adi,axi-ad9467-1.0";
36+
reg = <0x84A00000 0x10000>;
37+
dmas = <&rx_dma 0>;
38+
dma-names = "rx";
39+
40+
spibus-connected = <&adc_ad9467>;
41+
};
42+
43+
axi_sysid_0: axi-sysid-0@85000000 {
44+
compatible = "adi,axi-sysid-1.00.a";
45+
reg = <0x85000000 0x10000>;
46+
};
47+
};
48+
};
49+
50+
&spi0 {
51+
status = "okay";
52+
};
53+
54+
&i2c1 {
55+
i2c-mux@75 {
56+
i2c@0 {
57+
#address-cells = <1>;
58+
#size-cells = <0>;
59+
reg = <0>;
60+
61+
eeprom@50 {
62+
compatible = "at24,24c02";
63+
reg = <0x50>;
64+
};
65+
66+
};
67+
};
68+
};
69+
70+
#define fmc_spi spi0
71+
72+
#include "adi-ad9467-fmc-250ebz.dtsi"

0 commit comments

Comments
 (0)