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:
parent
1dc2ca873d
commit
254aae12e3
|
@ -76,6 +76,7 @@
|
||||||
led0 = &blue_led;
|
led0 = &blue_led;
|
||||||
sw0 = &menu_button;
|
sw0 = &menu_button;
|
||||||
watchdog0 = &wdt0;
|
watchdog0 = &wdt0;
|
||||||
|
sdhc0 = &sd0;
|
||||||
};
|
};
|
||||||
|
|
||||||
mipi_dbi {
|
mipi_dbi {
|
||||||
|
@ -143,7 +144,7 @@
|
||||||
pinctrl-0 = <&spim3_default>;
|
pinctrl-0 = <&spim3_default>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
||||||
sdhc0: sdhc@1 {
|
sd0: sd@1 {
|
||||||
compatible = "zephyr,sdhc-spi-slot";
|
compatible = "zephyr,sdhc-spi-slot";
|
||||||
reg = <1>;
|
reg = <1>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
watchdog0 = &wdt0;
|
watchdog0 = &wdt0;
|
||||||
rtc = &pfc8563_rtc;
|
rtc = &pfc8563_rtc;
|
||||||
led0 = &led_pwr;
|
led0 = &led_pwr;
|
||||||
|
sdhc0 = &sd0;
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
|
@ -215,7 +216,7 @@
|
||||||
cs-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>,
|
cs-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>,
|
||||||
<&gpio0 4 GPIO_ACTIVE_LOW>;
|
<&gpio0 4 GPIO_ACTIVE_LOW>;
|
||||||
|
|
||||||
sdhc0: sdhc@1 {
|
sd0: sd@1 {
|
||||||
compatible = "zephyr,sdhc-spi-slot";
|
compatible = "zephyr,sdhc-spi-slot";
|
||||||
reg = <1>;
|
reg = <1>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
Loading…
Reference in a new issue