1/*
2 * SPDX-License-Identifier: Apache-2.0
3 *
4 * Copyright (c) 2021 Argentum Systems Ltd.
5 */
6
7/ {
8	zephyr,user {
9		/* EXT-1, pin 3 ADC(+) */
10		io-channels = <&adc 13>;
11	};
12};
13
14&pinctrl {
15	adc_default: adc_default {
16		group1 {
17			pinmux = <PB5B_ADC_AIN13>;
18		};
19	};
20};
21
22&adc {
23	#address-cells = <1>;
24	#size-cells = <0>;
25
26	pinctrl-0 = <&adc_default>;
27	pinctrl-names = "default";
28
29	channel@13 {
30		reg = <13>;
31		zephyr,gain = "ADC_GAIN_1";
32		zephyr,reference = "ADC_REF_INTERNAL";
33		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
34		zephyr,resolution = <12>;
35		zephyr,input-positive = <13>;
36	};
37};
38