From 4bda055a9b82bb162e3e0f2c0c3bfadbfe7660bf Mon Sep 17 00:00:00 2001 From: Aditya Prayoga Date: Wed, 3 Mar 2021 09:12:38 +0700 Subject: [PATCH] Restore eMMC HS400 on Helios64 (#2677) * slightly reduce eMMC clock to improve signal integrity * restore eMMC HS400 ES support --- patch/kernel/rockchip64-current/add-board-helios64.patch | 5 ++++- .../u-boot-rockchip64-mainline/add-board-helios64.patch | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/patch/kernel/rockchip64-current/add-board-helios64.patch b/patch/kernel/rockchip64-current/add-board-helios64.patch index 29107f68f3..b2179c67b1 100644 --- a/patch/kernel/rockchip64-current/add-board-helios64.patch +++ b/patch/kernel/rockchip64-current/add-board-helios64.patch @@ -14,7 +14,7 @@ new file mode 100644 index 000000000..fae17f416 --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts -@@ -0,0 +1,1150 @@ +@@ -0,0 +1,1153 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Aditya Prayoga (aditya@kobol.io) @@ -981,8 +981,11 @@ index 000000000..fae17f416 +}; + +&sdhci { ++ assigned-clock-rates = <150000000>; + bus-width = <8>; + mmc-hs200-1_8v; ++ mmc-hs400-1_8v; ++ mmc-hs400-enhanced-strobe; + supports-emmc; + non-removable; + disable-wp; diff --git a/patch/u-boot/u-boot-rockchip64-mainline/add-board-helios64.patch b/patch/u-boot/u-boot-rockchip64-mainline/add-board-helios64.patch index f2d08dd535..c3b53a77d5 100644 --- a/patch/u-boot/u-boot-rockchip64-mainline/add-board-helios64.patch +++ b/patch/u-boot/u-boot-rockchip64-mainline/add-board-helios64.patch @@ -188,7 +188,7 @@ new file mode 100644 index 00000000..9d067505 --- /dev/null +++ b/arch/arm/dts/rk3399-kobol-helios64.dts -@@ -0,0 +1,1146 @@ +@@ -0,0 +1,1149 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Aditya Prayoga (aditya@kobol.io) @@ -1158,8 +1158,11 @@ index 00000000..9d067505 +}; + +&sdhci { ++ assigned-clock-rates = <150000000>; + bus-width = <8>; + mmc-hs200-1_8v; ++ mmc-hs400-1_8v; ++ mmc-hs400-enhanced-strobe; + supports-emmc; + non-removable; + status = "okay";