1/* 2 * SPDX-License-Identifier: Apache-2.0 3 * 4 * Copyright (c) 2023 STMicroelectronics 5 */ 6 7/ { 8 zephyr,user { 9 /* adjust channel number according to pinmux in board.dts */ 10 io-channels = <&adc4 18>, <&adc4 19>; 11 }; 12}; 13 14&adc4 { 15 pinctrl-0 = <&adc4_in18_pb0 &adc4_in19_pb1>; 16 #address-cells = <1>; 17 #size-cells = <0>; 18 19 channel@12 { 20 reg = <18>; 21 zephyr,gain = "ADC_GAIN_1"; 22 zephyr,reference = "ADC_REF_INTERNAL"; 23 zephyr,acquisition-time = <ADC_ACQ_TIME_MAX>; 24 zephyr,resolution = <12>; 25 }; 26 27 channel@13 { 28 reg = <19>; 29 zephyr,gain = "ADC_GAIN_1"; 30 zephyr,reference = "ADC_REF_INTERNAL"; 31 zephyr,acquisition-time = <ADC_ACQ_TIME_MAX>; 32 zephyr,resolution = <12>; 33 }; 34}; 35 36&adc1 { 37 status = "disabled"; 38}; 39