]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64: dts: rockchip: fix RockPro64 sdhci settings
authorSoeren Moch <smoch@web.de>
Thu, 3 Oct 2019 21:50:35 +0000 (23:50 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 4 Oct 2019 20:02:46 +0000 (22:02 +0200)
The RockPro64 schematics [1], [2] show that the rk3399 EMMC_STRB pin is
connected to the RESET pin instead of the DATA_STROBE pin of the eMMC module.
So the data strobe cannot be used for its intended purpose on this board,
and so the HS400 eMMC mode is not functional. Limit the controller to HS200.

[1] http://files.pine64.org/doc/rockpro64/rockpro64_v21-SCH.pdf
[2] http://files.pine64.org/doc/rock64/PINE64_eMMC_Module_20170719.pdf

Fixes: d0b34973932d ("arm64: dts: rockchip: add initial dts support for Rockpro64")
Signed-off-by: Soeren Moch <smoch@web.de>
Link: https://lore.kernel.org/r/20191003215036.15023-2-smoch@web.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts

index 98a5f323bc1d314fa82015f0de1ec9d86593765f..aa06a6587a11ea4bed00747dd888b77438de6a1a 100644 (file)
 
 &sdhci {
        bus-width = <8>;
-       mmc-hs400-1_8v;
-       mmc-hs400-enhanced-strobe;
+       mmc-hs200-1_8v;
        non-removable;
        status = "okay";
 };