drivers: adc: siwx91x: adc_api test app support

Add siwx917_rb4338a board overlay and congig files

Signed-off-by: Sai Santhosh Malae <Santhosh.Malae@silabs.com>
This commit is contained in:
Sai Santhosh Malae 2025-05-19 20:56:05 +05:30 committed by Benjamin Cabé
parent bfe4065657
commit 6dcf2fdf34
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1 @@
CONFIG_ADC_ASYNC=n

View File

@ -0,0 +1,44 @@
/*
* Copyright (c) 2025 Silicon Laboratories Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
zephyr,user {
io-channels = <&adc0 0>, <&adc0 1>;
};
};
&pinctrl0 {
adc0_default: adc0_default {
group {
pinmux = <AGPIO_ULP1>, <ADC_TOPGPIO_HP27>;
};
};
};
&adc0 {
pinctrl-0 = <&adc0_default>;
pinctrl-names = "default";
silabs,adc-ref-voltage = <3300>;
channel@0 {
reg = <0>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <0>;
zephyr,resolution = <12>;
zephyr,input-positive = <10>;
};
channel@1 {
reg = <1>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <0>;
zephyr,resolution = <12>;
zephyr,input-positive = <7>;
};
status = "okay";
};