boards: sam: sam_v71_xult add hsmci for sdhc

Based on 4.3.6 https://ww1.microchip.com/downloads/en/devicedoc/atmel-42408-samv71-xplained-ultra_user-guide.pdf

Signed-off-by: John Whittington <git@jbrengineering.co.uk>
This commit is contained in:
John Whittington 2025-05-21 10:27:07 +02:00 committed by Benjamin Cabé
commit 6437f9ed3a
4 changed files with 28 additions and 0 deletions

View file

@ -21,6 +21,7 @@
sw0 = &sw0_user_button;
sw1 = &sw1_user_button;
watchdog0 = &wdt;
sdhc0 = &hsmci;
};
chosen {
@ -341,6 +342,20 @@ zephyr_udc0: &usbhs {
status = "okay";
};
&hsmci {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&hsmci_default>;
cd-gpios = <&piod 18 GPIO_ACTIVE_LOW>;
mmc {
compatible = "zephyr,sdmmc-disk";
disk-name = "SD";
status = "okay";
};
};
ext1_spi: &spi0 {
};

View file

@ -153,4 +153,15 @@
<PD19B_USART2_CTS>;
};
};
hsmci_default: hsmci_default {
group1 {
pinmux = <PA28C_HSMCI_MCCDA>,
<PA25D_HSMCI_MCCK>,
<PA30C_HSMCI_MCDA0>,
<PA31C_HSMCI_MCDA1>,
<PA26C_HSMCI_MCDA2>,
<PA27C_HSMCI_MCDA3>;
};
};
};

View file

@ -22,6 +22,7 @@ supported:
- pwm
- netif:eth
- rtc
- sdhc
- spi
- usb_device
- watchdog

View file

@ -22,6 +22,7 @@ supported:
- pwm
- netif:eth
- rtc
- sdhc
- spi
- usb_device
- watchdog