tests: atmel_sam: adc: Fix sam4e_xpro adc build

This add a missing sam4e_xpro overlay in the tests/drivers/adc for the
sam4e_xpro board.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
This commit is contained in:
Gerson Fernando Budke 2024-02-19 15:27:52 +01:00 committed by Carles Cufi
parent 253ee9638c
commit 7046b92d41
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2024 Gerson Fernando Budke <nandojve@gmail.com>
*/
/ {
zephyr,user {
io-channels = <&afec0 0>;
};
};
&afec0 {
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
reg = <0>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_EXTERNAL0";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
zephyr,input-positive = <15>;
};
};