diff options
author | FUKAUMI Naoki <naoki@radxa.com> | 2023-07-22 21:11:50 +0900 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2023-07-24 20:55:20 +0200 |
commit | c75b725ea6dd518beeebd693e4bfc02eb15e3b75 (patch) | |
tree | edb6fdb9415b8f9297aa7d00eeb363a3a31c38ce /arch/arm64/boot | |
parent | 1642bf66e270d8de7ba27068d1a5ecdbdba14d3b (diff) | |
download | linux-c75b725ea6dd518beeebd693e4bfc02eb15e3b75.tar.gz linux-c75b725ea6dd518beeebd693e4bfc02eb15e3b75.tar.bz2 linux-c75b725ea6dd518beeebd693e4bfc02eb15e3b75.zip |
arm64: dts: rockchip: fix/update sdmmc properties for rock-5a and -5b
add alias for sdmmc as mmc1.
make card detect work.
Fixes: ea3e66e7ad0d ("arm64: dts: rockchip: add SD card support to rock-5a")
Fixes: 2a6d4af5f157 ("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>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 2 | ||||
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index 6be759903411..1c08712be89d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -11,6 +11,7 @@ aliases { mmc0 = &sdhci; + mmc1 = &sdmmc; serial2 = &uart2; }; @@ -249,6 +250,7 @@ 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>; diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts index 66eab281c2c9..8347adcbd003 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts @@ -13,6 +13,7 @@ aliases { mmc0 = &sdhci; + mmc1 = &sdmmc; serial2 = &uart2; }; @@ -361,6 +362,7 @@ bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; + cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; disable-wp; max-frequency = <150000000>; no-sdio; |