File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
boards/shields/eval_ad4052_ardz Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 9
9
io-channels = <&adc4052_eval_ad4052_ardz 0>;
10
10
};
11
11
};
12
+
13
+ &arduino_spi {
14
+ adc4052_eval_ad4052_ardz: adc4052@0 {
15
+ conversion-gpios = <&arduino_header 12 (GPIO_ACTIVE_HIGH | MAX32_GPIO_VSEL_VDDIOH)>;
16
+ };
17
+ };
18
+
19
+ &timer0 {
20
+ status = "okay";
21
+
22
+ counter0: counter {
23
+ status = "okay";
24
+ };
25
+ };
26
+
27
+ / {
28
+ chosen {
29
+ zephyr,adc-clock = &counter0;
30
+ };
31
+ };
Original file line number Diff line number Diff line change 6
6
7
7
#include <zephyr/dt-bindings/gpio/arduino-header-r3.h>
8
8
9
+ / {
10
+ aliases {
11
+ adc0 = &adc4052_eval_ad4052_ardz;
12
+ };
13
+ };
14
+
9
15
&arduino_spi {
10
16
status = "okay";
11
17
21
27
#size-cells = <0>;
22
28
#io-channel-cells = <1>;
23
29
status = "okay";
24
- compatible = "adi,ad405x -adc";
30
+ compatible = "adi,ad4052 -adc";
25
31
26
32
channel@0 {
27
33
reg = <0>;
You can’t perform that action at this time.
0 commit comments