1/* 2 * Copyright (c) 2024 Ambiq Micro Inc. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6/ { 7 zephyr,user { 8 io-channels = <&adc0 4>, <&adc0 7>; 9 }; 10}; 11 12&adc0 { 13 status = "okay"; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 17 channel@4 { 18 reg = <4>; 19 zephyr,gain = "ADC_GAIN_1"; 20 zephyr,reference = "ADC_REF_INTERNAL"; 21 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 22 zephyr,resolution = <14>; 23 }; 24 25 channel@7 { 26 reg = <7>; 27 zephyr,gain = "ADC_GAIN_1"; 28 zephyr,reference = "ADC_REF_INTERNAL"; 29 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 30 zephyr,resolution = <12>; 31 }; 32}; 33