1/*
2 * Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
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	 status = "okay";
15	 #address-cells = <1>;
16	 #size-cells = <0>;
17
18	 channel@0 {
19		 reg = <0>;
20		 zephyr,gain = "ADC_GAIN_1_4";
21		 zephyr,reference = "ADC_REF_INTERNAL";
22		 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
23		 zephyr,resolution = <12>;
24	 };
25
26	 channel@1 {
27		 reg = <1>;
28		 zephyr,gain = "ADC_GAIN_1_4";
29		 zephyr,reference = "ADC_REF_INTERNAL";
30		 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
31		 zephyr,resolution = <12>;
32	 };
33
34	dmas = <&dma 2>;
35 };
36
37&dma {
38	status = "okay";
39};
40