Files
zephyr/samples/drivers/adc/boards/sam_v71_xult_samv71q21.overlay
Gerson Fernando Budke 83af7d0c1c samples: atmel_sam: Update platform name
This update all atmel_sam entries to use the new platform name related
to sam_e70_xplained and sam_v71_xult.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2024-03-01 15:50:02 +01:00

34 lines
644 B
Plaintext

/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2022, Gerson Fernando Budke
*/
/ {
zephyr,user {
/* adjust channel number according to pinmux in board.dts */
io-channels = <&afec0 0>, <&afec0 8>;
};
};
&afec0 {
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
reg = <0>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
};
channel@8 {
reg = <8>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
};
};