lkml.org 
[lkml]   [2019]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 5.3 26/81] arm64: dts: rockchip: fix RockPro64 sdhci settings
    Date
    From: Soeren Moch <smoch@web.de>

    [ Upstream commit 2558b3b1b11a1b32b336be2dd0aabfa6d35ddcb5 ]

    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: e4f3fb490967 ("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>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 3 +--
    1 file changed, 1 insertion(+), 2 deletions(-)

    diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
    index cad314f708300..1ff617230f6c4 100644
    --- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
    +++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts
    @@ -625,8 +625,7 @@

    &sdhci {
    bus-width = <8>;
    - mmc-hs400-1_8v;
    - mmc-hs400-enhanced-strobe;
    + mmc-hs200-1_8v;
    non-removable;
    status = "okay";
    };
    --
    2.20.1
    \
     
     \ /
      Last update: 2019-10-30 16:52    [W:3.488 / U:0.412 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site