1/* 2 * Copyright 2024 NXP 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7#include <zephyr/dt-bindings/adc/adc.h> 8 9/ { 10 aliases { 11 adc0 = &sar_adc0; 12 }; 13 zephyr,user { 14 io-channels = <&sar_adc0 3>, <&sar_adc0 4>, <&sar_adc0 5>, <&sar_adc0 6>; 15 }; 16}; 17 18&sar_adc0 { 19 group-channel = "standard"; 20 status = "okay"; 21 #address-cells = <1>; 22 #size-cells = <0>; 23 24 channel@3 { 25 reg = <3>; 26 zephyr,gain = "ADC_GAIN_1"; 27 zephyr,reference = "ADC_REF_INTERNAL"; 28 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 29 zephyr,resolution = <12>; 30 }; 31 32 channel@4 { 33 reg = <4>; 34 zephyr,gain = "ADC_GAIN_1"; 35 zephyr,reference = "ADC_REF_INTERNAL"; 36 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 37 zephyr,resolution = <12>; 38 }; 39 40 channel@5 { 41 reg = <5>; 42 zephyr,gain = "ADC_GAIN_1"; 43 zephyr,reference = "ADC_REF_INTERNAL"; 44 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 45 zephyr,resolution = <12>; 46 }; 47 48 channel@6 { 49 reg = <6>; 50 zephyr,gain = "ADC_GAIN_1"; 51 zephyr,reference = "ADC_REF_INTERNAL"; 52 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 53 zephyr,resolution = <12>; 54 }; 55}; 56