1/* 2 * SPDX-License-Identifier: Apache-2.0 3 * 4 * Copyright 2024 NXP 5 */ 6 7 /* Please connect voltage reference to J6.AN pin to run the test. */ 8 9/ { 10 zephyr,user { 11 io-channels = <&adc0 1>; 12 reference_mv = <1650>; 13 expected_accuracy = <32>; 14 }; 15}; 16 17&adc0 { 18 #address-cells = <1>; 19 #size-cells = <0>; 20 21 channel@1 { 22 reg = <1>; 23 zephyr,gain = "ADC_GAIN_1"; 24 zephyr,reference = "ADC_REF_VDD_1"; 25 zephyr,vref-mv = <3300>; 26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 27 zephyr,resolution = <12>; 28 }; 29}; 30