arm64: dts: rockchip: add node for sd card to rk3568-evb1-v10
authorMichael Riesch <michael.riesch@wolfvision.net>
Thu, 5 Aug 2021 12:01:06 +0000 (14:01 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 15 Sep 2021 15:50:38 +0000 (17:50 +0200)
Add the SD card reader to the device tree of the RK3568 EVB1.

Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net>
Link: https://lore.kernel.org/r/20210805120107.27007-7-michael.riesch@wolfvision.net
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3568-evb1-v10.dts

index 92af4ce89b70339a1158fcb98a794a64fcace8f8..1c34d529b771766f58392a825f5bf87b44508a31 100644 (file)
@@ -16,6 +16,7 @@
        aliases {
                ethernet0 = &gmac0;
                ethernet1 = &gmac1;
+               mmc0 = &sdmmc0;
        };
 
        chosen: chosen {
        status = "okay";
 };
 
+&sdmmc0 {
+       bus-width = <4>;
+       cap-sd-highspeed;
+       cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
+       disable-wp;
+       pinctrl-names = "default";
+       pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>;
+       sd-uhs-sdr104;
+       vmmc-supply = <&vcc3v3_sd>;
+       vqmmc-supply = <&vccio_sd>;
+       status = "okay";
+};
+
 &uart2 {
        status = "okay";
 };