rockchip: rk3588-rock-5b: Include eMMC node in SPL dtb

Add sdhci node to SPL and u-boot,spl-boot-order. Also add more supported
mmc modes and pinctrl.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
Jonas Karlman 2023-04-18 16:46:41 +00:00 committed by Kever Yang
parent a3cab289f6
commit b564aa2740
2 changed files with 14 additions and 2 deletions

View file

@ -7,11 +7,11 @@
/ {
aliases {
mmc0 = &sdmmc;
mmc1 = &sdmmc;
};
chosen {
u-boot,spl-boot-order = "same-as-spl", &sdmmc;
u-boot,spl-boot-order = "same-as-spl", &sdmmc, &sdhci;
};
};
@ -19,3 +19,11 @@
bus-width = <4>;
status = "okay";
};
&sdhci {
cap-mmc-highspeed;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
pinctrl-names = "default";
pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_data_strobe &emmc_rstnout>;
};

View file

@ -65,6 +65,10 @@
u-boot,spl-fifo-mode;
};
&sdhci {
bootph-pre-ram;
};
&uart2 {
clock-frequency = <24000000>;
bootph-pre-ram;