1/* SPDX-License-Identifier: Apache-2.0 */
2
3/ {
4	zephyr,user {
5		io-channels = <&eadc0 5>, <&eadc0 7>;
6	};
7};
8
9&pinctrl {
10	/* EVB's UNO Pin A2 & A0 for channel 5 & 7 --> PB5, PB7 */
11	eadc0_default: eadc0_default {
12		group0 {
13			pinmux = <PB5MFP_EADC0_CH5>, <PB7MFP_EADC0_CH7>;
14		};
15	};
16};
17
18&eadc0 {
19	status = "okay";
20	pinctrl-0 = <&eadc0_default>;
21	pinctrl-names = "default";
22	#address-cells = <1>;
23	#size-cells = <0>;
24
25	channel@5 {
26		reg = <5>;
27		zephyr,gain = "ADC_GAIN_1";
28		zephyr,reference = "ADC_REF_INTERNAL";
29		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
30		zephyr,resolution = <10>;
31	};
32
33	channel@7 {
34		reg = <7>;
35		zephyr,gain = "ADC_GAIN_1";
36		zephyr,reference = "ADC_REF_INTERNAL";
37		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
38		zephyr,resolution = <10>;
39	};
40};
41