1/*
2 * Copyright (c) 2024 Analog Devices, Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	zephyr,user {
9		/* adjust channel number according to pinmux in board.dts */
10		io-channels = <&adc 0>, <&adc 1>;
11	};
12};
13
14&adc {
15	status = "okay";
16	pinctrl-0 = <&ain0_p0_13 &ain1_p0_12>;
17	pinctrl-names = "default";
18	#address-cells = <1>;
19	#size-cells = <0>;
20
21	channel@0 {
22		reg = <0>;
23		zephyr,gain = "ADC_GAIN_1";
24		zephyr,reference = "ADC_REF_INTERNAL";
25		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
26		zephyr,resolution = <12>;
27	};
28
29	channel@1 {
30		reg = <1>;
31		zephyr,gain = "ADC_GAIN_1";
32		zephyr,reference = "ADC_REF_INTERNAL";
33		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
34		zephyr,resolution = <12>;
35	};
36};
37