How i can get the max_length oh the channel from the dts file

hi 

1.  #define ADC_NUM_CHANNELS DT_PROP_LEN(DT_PATH(zephyr_user), io_channels)  this is example code from v1.8.0\zephyr\samples\drivers\dac\src\main.c but this is not working with the nordic board 

2. How can i configure the channel using this

3. I want the take the max channel length from the dts file how i can configure this above example code please any one help me with this   

Related