1/* 2 * Copyright (c) 2024 Accenture 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/dt-bindings/adc/adc.h> 8 9/ { 10 zephyr,user { 11 io-channels = <&adc0 12>; 12 }; 13}; 14 15&pinctrl { 16 adc0_default: adc0_default { 17 group_1 { 18 pinmux = <ADC0_SE12_PTC14>; 19 drive-strength = "low"; 20 }; 21 }; 22}; 23 24&adc0 { 25 #address-cells = <1>; 26 #size-cells = <0>; 27 status = "okay"; 28 29 channel@c { 30 reg = <12>; 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 }; 36 37 pinctrl-0 = <&adc0_default>; 38 pinctrl-names = "default"; 39}; 40 41&adc1 { 42 status = "disabled"; 43}; 44