boards: esp32: Alias for conflicting node name (sdhc)

Alias created for sdhc0 SPI device to avoid conflict with
SDIO device names.

Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
This commit is contained in:
Raffael Rostagno 2024-04-25 16:46:39 -03:00 committed by Carles Cufí
parent 1dc2ca873d
commit 254aae12e3
2 changed files with 4 additions and 2 deletions

View File

@ -76,6 +76,7 @@
led0 = &blue_led;
sw0 = &menu_button;
watchdog0 = &wdt0;
sdhc0 = &sd0;
};
mipi_dbi {
@ -143,7 +144,7 @@
pinctrl-0 = <&spim3_default>;
pinctrl-names = "default";
sdhc0: sdhc@1 {
sd0: sd@1 {
compatible = "zephyr,sdhc-spi-slot";
reg = <1>;
status = "okay";

View File

@ -23,6 +23,7 @@
watchdog0 = &wdt0;
rtc = &pfc8563_rtc;
led0 = &led_pwr;
sdhc0 = &sd0;
};
chosen {
@ -215,7 +216,7 @@
cs-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>,
<&gpio0 4 GPIO_ACTIVE_LOW>;
sdhc0: sdhc@1 {
sd0: sd@1 {
compatible = "zephyr,sdhc-spi-slot";
reg = <1>;
status = "okay";