boards: adi: Enable new nodes of MAX32650 boards

This commit enables dma, i2c, spi, wdt and rtc_counter nodes for
MAX32650EVKIT and MAX32650FTHR boards.

Initial parts of the SRAM is used during the boot process, this causes
problems for some tests (e.g. tests/drivers/watchdog/wdt_basic_api).
To avoid these problems, this commit changes choosen SRAM to SRAM4.

Signed-off-by: Furkan Akkiz <hasanfurkan.akkiz@analog.com>
Signed-off-by: Burak Babaoglu <burak.babaoglu@analog.com>
This commit is contained in:
Furkan Akkiz 2025-04-21 16:14:05 +03:00 committed by Fabio Baltieri
commit 02d91a647e
4 changed files with 58 additions and 2 deletions

View file

@ -18,7 +18,7 @@
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram = &sram0;
zephyr,sram = &sram4;
zephyr,flash = &flash0;
};
@ -56,6 +56,7 @@
aliases {
led0 = &led1;
led1 = &led2;
watchdog0 = &wdt0;
};
};
@ -87,3 +88,27 @@
&gpio3 {
status = "okay";
};
&dma0 {
status = "okay";
};
&i2c0 {
pinctrl-0 = <&i2c0_scl_p2_8 &i2c0_sda_p2_7>;
pinctrl-names = "default";
status = "okay";
};
&spi2 {
status = "okay";
pinctrl-0 = <&spi2_mosi_p2_4 &spi2_miso_p2_3 &spi2_sck_p2_2 &spi2_ss0_p2_5>;
pinctrl-names = "default";
};
&wdt0 {
status = "okay";
};
&rtc_counter {
status = "okay";
};

View file

@ -9,5 +9,11 @@ toolchain:
supported:
- gpio
- serial
- spi
- i2c
- dma
- watchdog
- counter
- rtc_counter
ram: 1024
flash: 3072

View file

@ -18,7 +18,7 @@
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,sram = &sram0;
zephyr,sram = &sram4;
zephyr,flash = &flash0;
};
@ -56,6 +56,7 @@
aliases {
led0 = &led1;
led1 = &led2;
watchdog0 = &wdt0;
};
};
@ -87,3 +88,21 @@
&gpio3 {
status = "okay";
};
&dma0 {
status = "okay";
};
&spi1 {
status = "okay";
pinctrl-0 = <&spi1_mosi_p1_29 &spi1_miso_p1_28 &spi1_sck_p1_26 &spi1_ss0_p1_23>;
pinctrl-names = "default";
};
&wdt0 {
status = "okay";
};
&rtc_counter {
status = "okay";
};

View file

@ -9,5 +9,11 @@ toolchain:
supported:
- gpio
- serial
- spi
- i2c
- dma
- watchdog
- counter
- rtc_counter
ram: 1024
flash: 3072