Skip to content

Commit 2f892c4

Browse files
committed
arch: arm: boot: dts: Add devicetree for ADA4355
Signed-off-by: Pop Ioan Daniel <[email protected]>
1 parent f1a9a8d commit 2f892c4

File tree

1 file changed

+99
-0
lines changed

1 file changed

+99
-0
lines changed
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/*
3+
* Analog Devices ada4355
4+
*
5+
* hdl_project: <ada4355_fmc/zed>
6+
* board_revision: <>
7+
*
8+
* Copyright (C) 2025 Analog Devices Inc.
9+
*/
10+
/dts-v1/;
11+
12+
#include <dt-bindings/gpio/gpio.h>
13+
14+
#include "zynq-zed.dtsi"
15+
#include "zynq-zed-adv7511.dtsi"
16+
17+
&fpga_axi {
18+
rx_dma: rx-dmac@44a30000 {
19+
compatible = "adi,axi-dmac-1.00.a";
20+
reg = <0x44A30000 0x10000>;
21+
#dma-cells = <1>;
22+
interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
23+
clocks = <&clkc 16>;
24+
25+
adi,channels {
26+
#size-cells = <0>;
27+
#address-cells = <1>;
28+
29+
dma-channel@0 {
30+
reg = <0>;
31+
adi,source-bus-width = <32>;
32+
adi,source-bus-type = <2>;
33+
adi,destination-bus-width = <64>;
34+
adi,destination-bus-type = <0>;
35+
};
36+
};
37+
};
38+
39+
ada4355: ada4355@44a00000 {
40+
compatible = "adi,axi-adc-10.0.a";
41+
reg = <0x44A00000 0x10000>;
42+
dmas = <&rx_dma 0>;
43+
dma-names = "rx";
44+
45+
spibus-connected = <&adc_ada4355>;
46+
};
47+
};
48+
49+
&spi0 {
50+
status = "okay";
51+
};
52+
53+
#define fmc_spi spi0
54+
55+
/ {
56+
ada4355_fixed_clock: ada4355_fixed_clock{
57+
compatible = "fixed-clock";
58+
#clock-cells = <0>;
59+
clock-frequency = <125000000>;
60+
};
61+
62+
gpio-control@0 {
63+
compatible = "adi,one-bit-adc-dac";
64+
#address-cells = <1>;
65+
#size-cells = <0>;
66+
out-gpios = <&gpio0 86 GPIO_ACTIVE_HIGH>,
67+
<&gpio0 87 GPIO_ACTIVE_HIGH>,
68+
<&gpio0 88 GPIO_ACTIVE_HIGH>;
69+
70+
channel@0 {
71+
reg = <0>;
72+
label = "GSEL0";
73+
};
74+
channel@1 {
75+
reg = <1>;
76+
label = "GSEL1";
77+
};
78+
channel@2 {
79+
reg = <2>;
80+
label = "FSEL";
81+
};
82+
};
83+
};
84+
85+
&fmc_spi {
86+
87+
adc_ada4355: adc_ada4355@0 {
88+
compatible = "adi,ada4355";
89+
reg = <0>;
90+
spi-max-frequency = <100000>;
91+
gpio-1p8vd-en-gpios = <&gpio0 89 GPIO_ACTIVE_HIGH>;
92+
93+
clocks = <&ada4355_fixed_clock>;
94+
clock-names = "adc_clk";
95+
num_lanes = <2>;
96+
spi-cpol;
97+
spi-cpha;
98+
};
99+
};

0 commit comments

Comments
 (0)