summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2017-07-21 11:30:59 +0300
committerHeiko Stuebner <heiko@sntech.de>2017-07-25 22:35:10 +0300
commit687ef7f260f483a51b3ced482a58eb001769ac55 (patch)
tree03cd4317e786f78ea052b06b7a4eb947e9cdb596 /arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
parentcc51f503f0e2801c75e01c314522271c6636866d (diff)
downloadlinux-687ef7f260f483a51b3ced482a58eb001769ac55.tar.xz
arm64: dts: rockchip: enable sdmmc controller on rk3399-firefly
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>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-firefly.dts')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-firefly.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
index 60a7293521bc..eed7e99310ac 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts
@@ -630,6 +630,18 @@
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;