1/* 2 * SPDX-License-Identifier: Apache-2.0 3 * 4 * Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com> 5 */ 6 7/ { 8 zephyr,user { 9 io-channels = <&adc0 15>; 10 }; 11}; 12 13&adc0 { 14 #address-cells = <1>; 15 #size-cells = <0>; 16 status = "okay"; 17 18 channel@f { 19 reg = <15>; 20 zephyr,gain = "ADC_GAIN_1"; 21 zephyr,reference = "ADC_REF_EXTERNAL0"; 22 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 23 zephyr,resolution = <12>; 24 zephyr,input-positive = <15>; 25 }; 26}; 27