1/*
2 * SPDX-License-Identifier: Apache-2.0
3 *
4 * Copyright (c) 2024 Nordic Semiconductor ASA
5 */
6
7/ {
8	zephyr,user {
9		io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 7>;
10	};
11};
12
13&adc {
14	#address-cells = <1>;
15	#size-cells = <0>;
16
17	channel@0 {
18		reg = <0>;
19		zephyr,gain = "ADC_GAIN_1";
20		zephyr,reference = "ADC_REF_INTERNAL";
21		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
22		zephyr,input-positive = <NRF_SAADC_AIN4>; /* P1.11 */
23		zephyr,resolution = <10>;
24	};
25
26	channel@1 {
27		reg = <1>;
28		zephyr,gain = "ADC_GAIN_1";
29		zephyr,reference = "ADC_REF_INTERNAL";
30		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
31		zephyr,input-positive = <NRF_SAADC_AIN2>; /* P1.06 */
32		zephyr,resolution = <12>;
33		zephyr,oversampling = <8>;
34	};
35
36	channel@2 {
37		reg = <2>;
38		zephyr,gain = "ADC_GAIN_1";
39		zephyr,reference = "ADC_REF_INTERNAL";
40		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
41		zephyr,input-positive = <NRF_SAADC_VDD>;
42		zephyr,resolution = <12>;
43		zephyr,oversampling = <8>;
44	};
45
46	channel@7 {
47		reg = <7>;
48		zephyr,gain = "ADC_GAIN_1";
49		zephyr,reference = "ADC_REF_INTERNAL";
50		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
51		zephyr,input-positive = <NRF_SAADC_AIN6>; /* P1.13 */
52		zephyr,input-negative = <NRF_SAADC_AIN7>; /* P1.14 */
53		zephyr,resolution = <12>;
54	};
55};
56