arm64: dts: rockchip: add SD card support to rock-5a
authorLucas Tanure <lucas.tanure@collabora.com>
Mon, 10 Jul 2023 16:52:21 +0000 (18:52 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 11 Jul 2023 13:24:29 +0000 (15:24 +0200)
Add sdmmc support for Rock Pi 5A 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/20230710165228.105983-7-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts

index 2da0e96..d33ddf1 100644 (file)
        status = "okay";
 };
 
+&sdmmc {
+       bus-width = <4>;
+       cap-mmc-highspeed;
+       cap-sd-highspeed;
+       disable-wp;
+       max-frequency = <150000000>;
+       no-sdio;
+       no-mmc;
+       sd-uhs-sdr104;
+       vmmc-supply = <&vcc_3v3_s0>;
+       vqmmc-supply = <&vccio_sd_s0>;
+       status = "okay";
+};
+
 &spi2 {
        status = "okay";
        assigned-clocks = <&cru CLK_SPI2>;