Skip to content

Commit

Permalink
Restore eMMC HS400 on Helios64 (#2677)
Browse files Browse the repository at this point in the history
* slightly reduce eMMC clock to improve signal integrity
* restore eMMC HS400 ES support
  • Loading branch information
aprayoga committed Mar 3, 2021
1 parent 3d8e537 commit 4bda055
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion patch/kernel/rockchip64-current/add-board-helios64.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 4bda055

Please sign in to comment.