ARM: dts: rockchip: enable sdmmc and sdio for rk322x-android
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 2 Jun 2017 01:10:19 +0000 (09:10 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 6 Jun 2017 09:26:39 +0000 (17:26 +0800)
Change-Id: Ibed59e1bded5e81dd2f84438d3fa16a3dc0a1ba1
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
arch/arm/boot/dts/rk322x-android.dtsi

index c472722ef5c217d4ca18e4c20b5fb7c0528c51b3..95f86bb3dd49df8d3d89bf42de5d6d0f8b0a5a89 100644 (file)
        status = "okay";
 };
 
+&sdmmc {
+       status = "okay";
+       bus-width = <4>;
+       cap-mmc-highspeed;
+       cap-sd-highspeed;
+       card-detect-delay = <200>;
+       disable-wp;
+       max-frequency = <50000000>;
+       num-slots = <1>;
+       supports-sd;
+};
+
+&sdio {
+       status = "okay";
+       bus-width = <4>;
+       cap-mmc-highspeed;
+       cap-sd-highspeed;
+       cap-sdio-irq;
+       non-removable;
+       ignore-pm-notify;
+       keep-power-in-suspend;
+       max-frequency = <150000000>;
+       supports-sdio;
+};
+
 &pinctrl {
        keys {
                pwr_key: pwr-key {