arm64: dts: rockchip: fix/update sdmmc properties for rock-5a and -5b

add alias for sdmmc as mmc1.
make card detect work.

Fixes: ea3e66e7ad ("arm64: dts: rockchip: add SD card support to rock-5a")
Fixes: 2a6d4af5f1 ("arm64: dts: rockchip: Add SD card support to rock-5b")
Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://lore.kernel.org/r/20230722121150.130126-1-naoki@radxa.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
FUKAUMI Naoki 2023-07-22 21:11:50 +09:00 committed by Heiko Stuebner
parent 1642bf66e2
commit c75b725ea6
2 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,7 @@ / {
aliases {
mmc0 = &sdhci;
mmc1 = &sdmmc;
serial2 = &uart2;
};
@ -249,6 +250,7 @@ &sdmmc {
bus-width = <4>;
cap-mmc-highspeed;
cap-sd-highspeed;
cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
disable-wp;
sd-uhs-sdr104;
vmmc-supply = <&vcc_3v3_s3>;

View File

@ -13,6 +13,7 @@ / {
aliases {
mmc0 = &sdhci;
mmc1 = &sdmmc;
serial2 = &uart2;
};
@ -361,6 +362,7 @@ &sdmmc {
bus-width = <4>;
cap-mmc-highspeed;
cap-sd-highspeed;
cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
disable-wp;
max-frequency = <150000000>;
no-sdio;