From 254aae12e3020db4b6211d76a972f1d7ae8a6311 Mon Sep 17 00:00:00 2001 From: Raffael Rostagno Date: Thu, 25 Apr 2024 16:46:39 -0300 Subject: [PATCH] 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 --- boards/hardkernel/odroid_go/odroid_go_procpu.dts | 3 ++- boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/boards/hardkernel/odroid_go/odroid_go_procpu.dts b/boards/hardkernel/odroid_go/odroid_go_procpu.dts index caf722d8cc9..c17c25823e2 100644 --- a/boards/hardkernel/odroid_go/odroid_go_procpu.dts +++ b/boards/hardkernel/odroid_go/odroid_go_procpu.dts @@ -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"; diff --git a/boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts b/boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts index 3ccb638c974..7cd5bc187c9 100644 --- a/boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts +++ b/boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts @@ -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";