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