1/* Copyright (c) 2021 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 0>; 8 }; 9}; 10 11&adc1 { 12 #address-cells = <1>; 13 #size-cells = <0>; 14 15 channel@0 { 16 reg = <0>; 17 zephyr,gain = "ADC_GAIN_1"; 18 zephyr,reference = "ADC_REF_INTERNAL"; 19 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 20 zephyr,resolution = <16>; 21 }; 22}; 23