/* * Copyright 2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ #include #include / { zephyr,user { /* adjust channel number according to pinmux in board.dts */ io-channels = <&lpadc0 0>; }; }; &lpadc0 { #address-cells = <1>; #size-cells = <0>; channel@0 { reg = <0>; zephyr,gain = "ADC_GAIN_1"; zephyr,reference = "ADC_REF_EXTERNAL0"; zephyr,vref-mv = <3300>; zephyr,acquisition-time = ; zephyr,resolution = <16>; zephyr,input-positive = ; }; };