/* * SPDX-License-Identifier: Apache-2.0 * * Copyright 2023-2024 NXP */ #include / { zephyr,user { /* adjust channel number according to pinmux in board.dts */ io-channels = <&adc0 0>; }; }; &adc0 { #address-cells = <1>; #size-cells = <0>; /* * This sample requires PIO1_9 found on J7 pin 1 as the ADC0 channel 3 input * be connected to various voltages to observe the change in reading. */ channel@0 { reg = <0>; zephyr,gain = "ADC_GAIN_1"; zephyr,reference = "ADC_REF_EXTERNAL0"; zephyr,acquisition-time = ; zephyr,vref-mv = <3300>; zephyr,resolution = <12>; zephyr,input-positive = ; }; };