boards/odroid_go: Add support for microSD card

Add support for microSD card.

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
Yannis Damigos 2022-03-27 22:45:25 +03:00 committed by Fabio Baltieri
parent f845d9ac02
commit f50e31257b
5 changed files with 23 additions and 2 deletions

View file

@ -10,8 +10,11 @@ config BOARD
config ENTROPY_ESP32_RNG
default y if ENTROPY_GENERATOR
config DISK_DRIVER_SDMMC
default y if DISK_ACCESS
config SPI
default y if DISPLAY
default y if DISPLAY || DISK_DRIVER_SDMMC
if BT

View file

@ -74,6 +74,9 @@ features:
+------------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+------------+------------+-------------------------------------+
| SPI | on-chip | spi |
+------------+------------+-------------------------------------+
System requirements
*******************

View file

@ -24,7 +24,8 @@
group1 {
pinmux = <SPIM3_MISO_GPIO19>,
<SPIM3_SCLK_GPIO18>,
<SPIM3_CSEL_GPIO5>;
<SPIM3_CSEL_GPIO5>,
<SPIM3_CSEL1_GPIO22>;
};
group2 {
pinmux = <SPIM3_MOSI_GPIO23>;

View file

@ -121,6 +121,19 @@
width = <320>;
height = <240>;
};
sdhc0: sdhc@1 {
compatible = "zephyr,sdhc-spi-slot";
reg = <1>;
status = "okay";
label = "SDHC_0";
mmc {
compatible = "zephyr,sdmmc-disk";
status = "okay";
label = "SDMMC_0";
};
spi-max-frequency = <20000000>;
};
};
&timer0 {

View file

@ -7,6 +7,7 @@ toolchain:
supported:
- gpio
- i2c
- spi
- watchdog
- uart
- pinmux