1/* 2 * Copyright 2024 NXP 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6#include <zephyr/dt-bindings/adc/adc.h> 7#include <zephyr/dt-bindings/adc/mcux-lpadc.h> 8 9/ { 10 zephyr,user { 11 io-channels = <&lpadc0 0>, <&lpadc0 1>; 12 }; 13}; 14 15&lpadc0 { 16 #address-cells = <1>; 17 #size-cells = <0>; 18 19 channel@0 { 20 reg = <0>; 21 zephyr,gain = "ADC_GAIN_1"; 22 zephyr,reference = "ADC_REF_EXTERNAL1"; 23 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 24 zephyr,resolution = <12>; 25 zephyr,vref-mv = <1800>; 26 zephyr,input-positive = <MCUX_LPADC_CH1A>; 27 }; 28 29 channel@1 { 30 reg = <1>; 31 zephyr,gain = "ADC_GAIN_1"; 32 zephyr,reference = "ADC_REF_EXTERNAL1"; 33 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 34 zephyr,resolution = <12>; 35 zephyr,vref-mv = <1800>; 36 zephyr,input-positive = <MCUX_LPADC_CH2A>; 37 }; 38}; 39