Message ID | 20230722121150.130126-1-naoki@radxa.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2] arm64: dts: rockchip: rock-5a, rock-5b: fix/update sdmmc properties | expand |
On Sat, 22 Jul 2023 21:11:50 +0900, FUKAUMI Naoki wrote: > add alias for sdmmc as mmc1. > make card detect work. > > Applied, thanks! [1/1] arm64: dts: rockchip: rock-5a, rock-5b: fix/update sdmmc properties commit: c75b725ea6dd518beeebd693e4bfc02eb15e3b75 Best regards,
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts index d029a77c9a1e..6b15a650490d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts @@ -12,6 +12,7 @@ / { aliases { mmc0 = &sdhci; + mmc1 = &sdmmc; serial2 = &uart2; }; @@ -349,6 +350,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>; diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts index c1b42e1f4477..8e1162aadc87 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; }; @@ -359,6 +360,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;
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> --- Changes in v2: * drop pinctrl lines (Sebastian Reichel) arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 2 ++ arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 2 ++ 2 files changed, 4 insertions(+)