boards: waveshare: rp2040_zero: Initial support
This PR adds supports for Waveshare RP2040 Zero Signed-off-by: Iacopo Moles <iacopo@icpmol.es>
This commit is contained in:
parent
4557b2f06c
commit
bd69ae46bc
12 changed files with 449 additions and 0 deletions
30
tests/drivers/adc/adc_api/boards/rp2040_zero.overlay
Normal file
30
tests/drivers/adc/adc_api/boards/rp2040_zero.overlay
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/ {
|
||||
zephyr,user {
|
||||
io-channels = <&adc 0>, <&adc 1>;
|
||||
};
|
||||
};
|
||||
|
||||
&adc {
|
||||
#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@1 {
|
||||
reg = <1>;
|
||||
zephyr,gain = "ADC_GAIN_1";
|
||||
zephyr,reference = "ADC_REF_INTERNAL";
|
||||
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
|
||||
zephyr,resolution = <12>;
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue