d9e69def1990df452cf94af080ebc6050060ca6a
[openwrt/staging/ansuel.git] /
1 From fc0daeccc384233eadfa9d5ddbd00159653c6bdc Mon Sep 17 00:00:00 2001
2 From: Jonas Karlman <jonas@kwiboo.se>
3 Date: Tue, 21 May 2024 21:10:07 +0000
4 Subject: [PATCH] arm64: dts: rockchip: Add sdmmc related properties on
5 rk3308-rock-pi-s
6
7 Add cap-mmc-highspeed to allow use of high speed MMC mode using an eMMC
8 to uSD board. Use disable-wp to signal that no physical write-protect
9 line is present. Also add vcc_io used for card and IO line power as
10 vmmc-supply.
11
12 Fixes: 2e04c25b1320 ("arm64: dts: rockchip: add ROCK Pi S DTS support")
13 Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
14 Link: https://lore.kernel.org/r/20240521211029.1236094-5-jonas@kwiboo.se
15 Signed-off-by: Heiko Stuebner <heiko@sntech.de>
16 ---
17 arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts | 3 +++
18 1 file changed, 3 insertions(+)
19
20 --- a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
21 +++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
22 @@ -272,7 +272,10 @@
23 };
24
25 &sdmmc {
26 + cap-mmc-highspeed;
27 cap-sd-highspeed;
28 + disable-wp;
29 + vmmc-supply = <&vcc_io>;
30 status = "okay";
31 };
32