1/*
2 * Copyright 2022 NXP
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#include <zephyr/dt-bindings/adc/nxp,gau-adc.h>
7
8/ {
9	zephyr,user {
10		/* adjust channel number according to pinmux in board.dts */
11		io-channels = <&adc0 0 &adc0 1>;
12	};
13};
14
15&adc0 {
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_VDD_1";
23		zephyr,vref-mv = <1800>;
24		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
25		zephyr,resolution = <16>;
26		zephyr,input-positive = <GAU_ADC_CH0>;
27	};
28
29	channel@1 {
30		reg = <1>;
31		zephyr,gain = "ADC_GAIN_1";
32		zephyr,reference = "ADC_REF_VDD_1";
33		zephyr,vref-mv = <1800>;
34		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
35		zephyr,resolution = <16>;
36		zephyr,input-positive = <GAU_ADC_CH1>;
37	};
38};
39