arm64: dts: rockchip: add sdmmc support for px5-evb
authorShawn Lin <shawn.lin@rock-chips.com>
Thu, 22 Sep 2016 04:02:18 +0000 (12:02 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 16 Oct 2016 00:42:59 +0000 (02:42 +0200)
px5-evb has one sdmmc slot, so we could support sdmmc.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3368-px5-evb.dts

index 4fa5806..85f7a24 100644 (file)
        };
 };
 
+&sdmmc {
+       status = "okay";
+       bus-width = <4>;
+       cap-mmc-highspeed;
+       cap-sd-highspeed;
+       card-detect-delay = <200>;
+       no-emmc;
+       no-sdio;
+       num-slots = <1>;
+       sd-uhs-sdr12;
+       sd-uhs-sdr25;
+       pinctrl-names = "default";
+       pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_bus4>, <&sdmmc_cd>;
+       rockchip,default-sample-phase = <90>;
+       vmmc-supply = <&vcc_sd>;
+       vqmmc-supply = <&vccio_sd>;
+};
+
 &tsadc {
        status = "okay";
        rockchip,hw-tshut-mode = <0>; /* CRU */