Commit c75b725e authored by FUKAUMI Naoki's avatar FUKAUMI Naoki Committed by Heiko Stuebner

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

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

Fixes: ea3e66e7 ("arm64: dts: rockchip: add SD card support to rock-5a")
Fixes: 2a6d4af5 ("arm64: dts: rockchip: Add SD card support to rock-5b")
Signed-off-by: default avatarFUKAUMI Naoki <naoki@radxa.com>
Link: https://lore.kernel.org/r/20230722121150.130126-1-naoki@radxa.comSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 1642bf66
...@@ -11,6 +11,7 @@ / { ...@@ -11,6 +11,7 @@ / {
aliases { aliases {
mmc0 = &sdhci; mmc0 = &sdhci;
mmc1 = &sdmmc;
serial2 = &uart2; serial2 = &uart2;
}; };
...@@ -249,6 +250,7 @@ &sdmmc { ...@@ -249,6 +250,7 @@ &sdmmc {
bus-width = <4>; bus-width = <4>;
cap-mmc-highspeed; cap-mmc-highspeed;
cap-sd-highspeed; cap-sd-highspeed;
cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
disable-wp; disable-wp;
sd-uhs-sdr104; sd-uhs-sdr104;
vmmc-supply = <&vcc_3v3_s3>; vmmc-supply = <&vcc_3v3_s3>;
......
...@@ -13,6 +13,7 @@ / { ...@@ -13,6 +13,7 @@ / {
aliases { aliases {
mmc0 = &sdhci; mmc0 = &sdhci;
mmc1 = &sdmmc;
serial2 = &uart2; serial2 = &uart2;
}; };
...@@ -361,6 +362,7 @@ &sdmmc { ...@@ -361,6 +362,7 @@ &sdmmc {
bus-width = <4>; bus-width = <4>;
cap-mmc-highspeed; cap-mmc-highspeed;
cap-sd-highspeed; cap-sd-highspeed;
cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
disable-wp; disable-wp;
max-frequency = <150000000>; max-frequency = <150000000>;
no-sdio; no-sdio;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment