-
Notifications
You must be signed in to change notification settings - Fork 960
Expand file tree
/
Copy pathzynq-coraz7s-ad4052.dts
More file actions
109 lines (93 loc) · 2.43 KB
/
Copy pathzynq-coraz7s-ad4052.dts
File metadata and controls
109 lines (93 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
// SPDX-License-Identifier: GPL-2.0
/*
* Analog Devices AD4052
*
* hdl_project: <ad4052_ardz/coraz7s>
*
* Copyright (C) 2025 Analog Devices Inc.
*/
/dts-v1/;
#include "zynq-coraz7s.dtsi"
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
/ {
adc_vdd: regulator-vref-adc {
compatible = "regulator-fixed";
regulator-name = "adc-vdd";
regulator-min-microvolt = <3600000>;
regulator-max-microvolt = <3600000>;
regulator-always-on;
};
adc_vio: regulator-vio-adc {
compatible = "regulator-fixed";
regulator-name = "adc_vio";
regulator-min-microvolt = <3600000>;
regulator-max-microvolt = <3600000>;
regulator-always-on;
};
};
&fpga_axi {
axi_iic: i2c@41600000 {
compatible = "xlnx,axi-iic-1.01.b", "xlnx,xps-iic-2.00.a";
reg = <0x41600000 0x10000>;
interrupt-parent = <&intc>;
interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkc 15>;
clock-names = "s_axi_aclk";
#size-cells = <0>;
#address-cells = <1>;
eeprom1: eeprom@52 {
compatible = "atmel,24c32";
reg = <0x52>;
};
};
rx_dma: rx-dmac@44a30000 {
compatible = "adi,axi-dmac-1.00.a";
reg = <0x44a30000 0x1000>;
#dma-cells = <1>;
interrupt-parent = <&intc>;
interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkc 15>;
};
spi_clk: axi-clkgen@44a70000 {
compatible = "adi,axi-clkgen-2.00.a";
reg = <0x44a70000 0x10000>;
#clock-cells = <0>;
clocks = <&clkc 15>, <&clkc 15>;
clock-names = "s_axi_aclk", "clkin1";
clock-output-names = "spi_clk";
};
adc_trigger: pwm@44b00000 {
compatible = "adi,axi-pwmgen-2.00.a";
reg = <0x44b00000 0x1000>;
#pwm-cells = <2>;
clocks = <&spi_clk>;
};
axi_spi_engine: spi@44a00000 {
compatible = "adi,axi-spi-engine-1.00.a";
reg = <0x44a00000 0x1FF>;
interrupt-parent = <&intc>;
interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkc 15>, <&spi_clk>;
clock-names = "s_axi_aclk", "spi_clk";
dmas = <&rx_dma 0>;
dma-names = "offload0-rx";
trigger-sources = <&ad4052>;
#address-cells = <0x1>;
#size-cells = <0x0>;
ad4052: ad4052@0 {
compatible = "adi,ad4052";
reg = <0>;
vdd-supply = <&adc_vdd>;
vio-supply = <&adc_vio>;
spi-max-frequency = <31250000>;
#trigger-source-cells = <0>;
pwms = <&adc_trigger 0 10000 0>;
interrupt-parent = <&gpio0>;
interrupts = <86 IRQ_TYPE_EDGE_RISING>,
<87 IRQ_TYPE_EDGE_FALLING>;
interrupt-names = "gp0", "gp1";
cnv-gpios = <&gpio0 88 GPIO_ACTIVE_HIGH>;
};
};
};