1/* 2 * Copyright 2023 NXP 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 6>, <&adc1 2>, <&adc2 3>, <&adc2 4>, <&adc2 5>; 12 }; 13}; 14 15&adc0 { 16 group-channel = "precision"; 17 callback-select = "normal-end-chain"; 18 status = "okay"; 19 #address-cells = <1>; 20 #size-cells = <0>; 21 22 channel@6 { 23 reg = <6>; 24 zephyr,gain = "ADC_GAIN_1"; 25 zephyr,reference = "ADC_REF_INTERNAL"; 26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 27 zephyr,resolution = <14>; 28 }; 29}; 30 31&adc1 { 32 group-channel = "precision"; 33 status = "okay"; 34 #address-cells = <1>; 35 #size-cells = <0>; 36 37 channel@2 { 38 reg = <2>; 39 zephyr,gain = "ADC_GAIN_1"; 40 zephyr,reference = "ADC_REF_INTERNAL"; 41 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 42 zephyr,resolution = <14>; 43 }; 44 45}; 46 47 48&adc2 { 49 group-channel = "precision"; 50 status = "okay"; 51 #address-cells = <1>; 52 #size-cells = <0>; 53 54 channel@3 { 55 reg = <3>; 56 zephyr,gain = "ADC_GAIN_1"; 57 zephyr,reference = "ADC_REF_INTERNAL"; 58 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 59 zephyr,resolution = <14>; 60 }; 61 62 channel@4 { 63 reg = <4>; 64 zephyr,gain = "ADC_GAIN_1"; 65 zephyr,reference = "ADC_REF_INTERNAL"; 66 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 67 zephyr,resolution = <14>; 68 }; 69 70 channel@5 { 71 reg = <5>; 72 zephyr,gain = "ADC_GAIN_1"; 73 zephyr,reference = "ADC_REF_INTERNAL"; 74 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 75 zephyr,resolution = <14>; 76 }; 77}; 78