1/* 2 * SPDX-License-Identifier: Apache-2.0 3 * 4 * Copyright (c) 2022 Nordic Semiconductor ASA 5 */ 6 7 8/ { 9 zephyr,user { 10 io-channels = <&adc 0>; 11 }; 12}; 13 14&adc { 15 #address-cells = <1>; 16 #size-cells = <0>; 17 18 channel@0 { 19 reg = <0>; 20 zephyr,gain = "ADC_GAIN_1_3"; 21 zephyr,reference = "ADC_REF_INTERNAL"; 22 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 23 zephyr,input-positive = <NRF_ADC_AIN2>; /* P0.01 */ 24 zephyr,resolution = <10>; 25 }; 26}; 27