File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 45
45
};
46
46
};
47
47
48
+ adc0_default: adc0_default {
49
+ group1 {
50
+ /* input */
51
+ psels = <RA_PSEL(RA_PSEL_ADC, 5, 0)>;
52
+ renesas,analog-enable;
53
+ };
54
+ };
55
+
48
56
dac0_default: dac0_default {
49
57
group1 {
50
58
/* output */
Original file line number Diff line number Diff line change 7
7
8
8
#include <renesas/ra/ra2/r7fa2a1ab3cfm.dtsi>
9
9
#include <zephyr/dt-bindings/gpio/gpio.h>
10
+ #include <zephyr/dt-bindings/adc/adc.h>
10
11
#include <zephyr/dt-bindings/input/input-event-codes.h>
11
12
12
13
#include "ek_ra2a1-pinctrl.dtsi"
119
120
status = "okay";
120
121
};
121
122
123
+ &adc0 {
124
+ status = "okay";
125
+ pinctrl-0 = <&adc0_default>;
126
+ pinctrl-names = "default";
127
+ };
128
+
122
129
&dac0 {
123
130
pinctrl-0 = <&dac0_default>;
124
131
pinctrl-names = "default";
You can’t perform that action at this time.
0 commit comments