1/* Copyright (c) 2022 STMicroelectronics
2   SPDX-License-Identifier: Apache-2.0 */
3
4/ {
5	zephyr,user {
6		/* adjust channel number according to pinmux in board.dts */
7		io-channels = <&adc1 1>;
8	};
9};
10
11&adc1 {
12	#address-cells = <1>;
13	#size-cells = <0>;
14
15	channel@1 {
16		reg = <1>;
17		zephyr,gain = "ADC_GAIN_1";
18		zephyr,reference = "ADC_REF_INTERNAL";
19		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
20		zephyr,resolution = <14>;
21	};
22};
23