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