1/* 2 * SPDX-License-Identifier: Apache-2.0 3 * 4 * Copyright (c) 2024 Nordic Semiconductor ASA 5 */ 6 7/ { 8 zephyr,user { 9 io-channels = <&adc 0>, <&adc 1> , <&adc 2>; 10 }; 11}; 12 13&adc { 14 #address-cells = <1>; 15 #size-cells = <0>; 16 17 channel@0 { 18 reg = <0>; 19 zephyr,gain = "ADC_GAIN_1"; 20 zephyr,reference = "ADC_REF_INTERNAL"; 21 zephyr,acquisition-time = <ADC_ACQ_TIME(ADC_ACQ_TIME_MICROSECONDS, 10)>; 22 zephyr,input-positive = <NRF_SAADC_AIN1>; 23 zephyr,resolution = <10>; 24 }; 25 26 channel@1 { 27 reg = <1>; 28 zephyr,gain = "ADC_GAIN_1_4"; 29 zephyr,reference = "ADC_REF_EXTERNAL0"; 30 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 31 zephyr,input-positive = <NRF_SAADC_AIN4>; 32 zephyr,resolution = <12>; 33 }; 34 35 channel@2 { 36 reg = <2>; 37 zephyr,gain = "ADC_GAIN_2_3"; 38 zephyr,reference = "ADC_REF_INTERNAL"; 39 zephyr,acquisition-time = <ADC_ACQ_TIME(ADC_ACQ_TIME_MICROSECONDS, 10)>; 40 zephyr,input-positive = <NRF_SAADC_AIN2>; 41 zephyr,resolution = <10>; 42 }; 43}; 44