Skip to content

Commit 2a6d4af

Browse files
Lucas Tanuremmind
authored andcommitted
arm64: dts: rockchip: Add SD card support to rock-5b
Add sdmmc support for Rock Pi 5B board. Signed-off-by: Lucas Tanure <lucas.tanure@collabora.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com> Link: https://lore.kernel.org/r/20230529170532.59804-2-sebastian.reichel@collabora.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent db242e8 commit 2a6d4af

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,20 @@
218218
status = "okay";
219219
};
220220

221+
&sdmmc {
222+
max-frequency = <200000000>;
223+
no-sdio;
224+
no-mmc;
225+
bus-width = <4>;
226+
cap-mmc-highspeed;
227+
cap-sd-highspeed;
228+
disable-wp;
229+
sd-uhs-sdr104;
230+
vmmc-supply = <&vcc_3v3_s3>;
231+
vqmmc-supply = <&vccio_sd_s0>;
232+
status = "okay";
233+
};
234+
221235
&spi2 {
222236
status = "okay";
223237
assigned-clocks = <&cru CLK_SPI2>;

0 commit comments

Comments
 (0)