OSDN Git Service

arm64: dts: rockchip: enable sdmmc controller on rk3399-firefly
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 21 Jul 2017 08:30:59 +0000 (16:30 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 25 Jul 2017 19:35:10 +0000 (21:35 +0200)
This allows basic support for SD highspeed cards but no UHS-I mode
got ready due to the propagated defer-probe error from RK805.

Cc: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts

index 60a7293..eed7e99 100644 (file)
        status = "okay";
 };
 
+&sdmmc {
+       bus-width = <4>;
+       cap-mmc-highspeed;
+       cap-sd-highspeed;
+       cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+       disable-wp;
+       max-frequency = <150000000>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
+       status = "okay";
+};
+
 &sdhci {
        bus-width = <8>;
        mmc-hs400-1_8v;