1/* 2 * Copyright (c) 2022 Wolter HV <wolterhv@gmx.de> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 zephyr,user { 9 io-channels = 10 <&adc0 0>, 11 <&adc1 0>; 12 }; 13}; 14 15&adc0 { 16 status = "okay"; 17 #address-cells = <1>; 18 #size-cells = <0>; 19 20 channel@0 { 21 reg = <0>; 22 zephyr,gain = "ADC_GAIN_1_4"; 23 zephyr,reference = "ADC_REF_INTERNAL"; 24 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 25 zephyr,resolution = <12>; 26 }; 27}; 28 29&adc1 { 30 status = "okay"; 31 #address-cells = <1>; 32 #size-cells = <0>; 33 34 channel@0 { 35 reg = <0>; 36 zephyr,gain = "ADC_GAIN_1_4"; 37 zephyr,reference = "ADC_REF_INTERNAL"; 38 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 39 zephyr,resolution = <12>; 40 }; 41}; 42