/* * SPDX-License-Identifier: Apache-2.0 * * Copyright (c) 2022 Telink Semiconductor (Shanghai) Co., Ltd. */ / { zephyr,user { /* adjust channel number according to pinmux in board.dts */ io-channels = <&adc 0>; }; }; &adc { #address-cells = <1>; #size-cells = <0>; channel@0 { reg = <0>; zephyr,gain = "ADC_GAIN_1_4"; zephyr,reference = "ADC_REF_INTERNAL"; zephyr,acquisition-time = ; zephyr,resolution = <12>; zephyr,input-positive = ; }; };