1/* 2 * Copyright (c) 2024 Centro de Inovacao EDGE 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/ { 8 aliases { 9 adc0 = &adc0; 10 }; 11}; 12 13&adc0 { 14 #address-cells = <1>; 15 #size-cells = <0>; 16 17 /* External ADC(+) */ 18 channel@5 { 19 reg = <5>; 20 zephyr,gain = "ADC_GAIN_1"; 21 zephyr,reference = "ADC_REF_EXTERNAL0"; 22 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 23 zephyr,input-positive = <5>; 24 }; 25 26 /* Internal temperature sensor */ 27 channel@f { 28 reg = <15>; 29 zephyr,gain = "ADC_GAIN_1"; 30 zephyr,reference = "ADC_REF_EXTERNAL0"; 31 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 32 zephyr,input-positive = <15>; 33 }; 34}; 35