commit | c1a1108ae2fc3c1bc9716a527acd1aa26ba4f3ad | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Fri Mar 10 10:11:24 2023 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Mar 13 11:45:53 2023 +0100 |
tree | 0029bcf2ecd9f8f0cdf70f8bbc96a276f1b49603 | |
parent | 65512e9445db5a203001f7f24d5eb8ecf34b33ab [diff] |
boards: arm: nrf5340_audio_dk_nrf5340: add board id description nRF5340 Audio DK embeds a voltage divider to identify the "board ID". Use the existing 'voltage-divider' binding to describe it. Also configure the ADC channel 0 to read the voltage divider value. Configuration from https://github.com/nrfconnect/sdk-nrf/blob/main/applications/ nrf5340_audio/src/utils/board_version.c has been taken. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>