1/*
2 * SPDX-License-Identifier: Apache-2.0
3 *
4 * Copyright (c) Benjamin Björnsson <benjamin.bjornsson@gmail.com>
5 */
6
7/ {
8	zephyr,user {
9		/* adjust channel number according to pinmux in board.dts */
10		io-channels = <&adc1 13>, <&adc1 14>;
11	};
12};
13
14&adc1 {
15	pinctrl-0 = <&adc1_in13_pc4 &adc1_in14_pc5>;
16	#address-cells = <1>;
17	#size-cells = <0>;
18
19	channel@d {
20		reg = <13>;
21		zephyr,gain = "ADC_GAIN_1";
22		zephyr,reference = "ADC_REF_INTERNAL";
23		zephyr,acquisition-time = <ADC_ACQ_TIME_MAX>;
24		zephyr,resolution = <12>;
25	};
26
27	channel@e {
28		reg = <14>;
29		zephyr,gain = "ADC_GAIN_1";
30		zephyr,reference = "ADC_REF_INTERNAL";
31		zephyr,acquisition-time = <ADC_ACQ_TIME_MAX>;
32		zephyr,resolution = <12>;
33	};
34};
35