1/* 2 * Copyright (c) 2024 Centro de Inovacao EDGE 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 aliases { 9 adc0 = &adc1; 10 }; 11}; 12 13&adc1 { 14 #address-cells = <1>; 15 #size-cells = <0>; 16 17 /* 18 * To use this sample connect 19 * J33.1 (ADC1 CH3) and J33.2 (ADC1 CH4) to voltages between 0 and 3.3V 20 */ 21 channel@3 { 22 reg = <3>; 23 zephyr,gain = "ADC_GAIN_1"; 24 zephyr,reference = "ADC_REF_INTERNAL"; 25 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 26 }; 27 28 channel@4 { 29 reg = <4>; 30 zephyr,gain = "ADC_GAIN_1"; 31 zephyr,reference = "ADC_REF_INTERNAL"; 32 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 33 }; 34}; 35