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 interrupt-parent = <&nvic>; 15 interrupts = <19 0>; 16 #address-cells = <1>; 17 #size-cells = <0>; 18 19 channel@4 { 20 reg = <4>; 21 zephyr,gain = "ADC_GAIN_1"; 22 zephyr,reference = "ADC_REF_INTERNAL"; 23 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 24 zephyr,resolution = <12>; 25 }; 26 27 channel@7 { 28 reg = <7>; 29 zephyr,gain = "ADC_GAIN_1"; 30 zephyr,reference = "ADC_REF_INTERNAL"; 31 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 32 zephyr,resolution = <12>; 33 }; 34}; 35