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)
committerJianqun Xu <jay.xu@rock-chips.com>
Thu, 6 Jul 2017 03:05:55 +0000 (11:05 +0800)
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>
(cherry-picked from git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git
 commit 41a603b9337c412e5902091f5343f803b36b9995)

Change-Id: I3f4edbeefb39516d814d54b6583e2ada5505ab75
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3368-px5-evb.dts

index 4fa5806a0695f47263413da448d600bf71fda9b5..85f7a243d744d252cc26cb25423ef77ad1e2b778 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 */