1/* 2 * Copyright 2021 Google LLC 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 zephyr,user { 9 io-channels = <&adc0 0>, <&adc0 1>; 10 }; 11}; 12 13&adc0 { 14 ref-internal-mv = <3300>; 15 ref-external1-mv = <5000>; 16 #address-cells = <1>; 17 #size-cells = <0>; 18 19 channel@0 { 20 reg = <0>; 21 zephyr,gain = "ADC_GAIN_1"; 22 zephyr,reference = "ADC_REF_INTERNAL"; 23 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 24 zephyr,resolution = <10>; 25 }; 26 27 channel@1 { 28 reg = <1>; 29 zephyr,gain = "ADC_GAIN_1"; 30 zephyr,reference = "ADC_REF_INTERNAL"; 31 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 32 zephyr,resolution = <10>; 33 }; 34}; 35