1/*
2 * Copyright 2023 Schlumberger
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <zephyr/dt-bindings/adc/adc.h>
8
9/ {
10	zephyr,user {
11		/* adjust channel number according to pinmux in board.dts */
12		io-channels = <&adc0 0>, <&adc0 1>;
13	};
14};
15
16&adc0 {
17	#address-cells = <1>;
18	#size-cells = <0>;
19	status = "okay";
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