From: Shawn Lin Date: Fri, 2 Jun 2017 01:10:19 +0000 (+0800) Subject: ARM: dts: rockchip: enable sdmmc and sdio for rk322x-android X-Git-Tag: release-20171130_firefly~4^2~437 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4b69e38ee1cad2999e0d3a8e77ed243420a45ffa;p=firefly-linux-kernel-4.4.55.git ARM: dts: rockchip: enable sdmmc and sdio for rk322x-android Change-Id: Ibed59e1bded5e81dd2f84438d3fa16a3dc0a1ba1 Signed-off-by: Shawn Lin --- diff --git a/arch/arm/boot/dts/rk322x-android.dtsi b/arch/arm/boot/dts/rk322x-android.dtsi index c472722ef5c2..95f86bb3dd49 100644 --- a/arch/arm/boot/dts/rk322x-android.dtsi +++ b/arch/arm/boot/dts/rk322x-android.dtsi @@ -112,6 +112,31 @@ 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 {