Skip to contentSkip to conversation

arm64: dts: hikey: Enable HS200 mode on eMMC

PATCH Applied oscardagrach 2 participants 2 messages Jan 17, 2018 – Mar 2, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: hikey: Enable HS200 mode on eMMC

According to the hi6220 datasheet, the MMC controller is JEDEC eMMC 4.5 compliant, in addition to supporting a clock of up to 150MHz. The Hikey schematic also indicates the device utilizes 1.8v signaling. Define these parameters in the device tree to enable HS200 mode.

---
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +2 -0
index 3aee6123d161..964e43e05ac6 100644
@@ -299,7 +299,9 @@
 		/* GPIO blocks 16 thru 19 do not appear to be routed to pins */
 
 		dwmmc_0: dwmmc0 at f723d000 {
+			max-frequency = <150000000>;
 			cap-mmc-highspeed;
+			mmc-hs200-1_8v;
 			non-removable;
 			bus-width = <0x8>;
 			vmmc-supply = <&ldo19>;
Signature · 1 line
2.11.0
maintainer Applied
#1 lore raw

Hi Ryan,

Quoted 7 lines · oscardagrach

According to the hi6220 datasheet, the MMC controller is JEDEC eMMC 4.5 compliant, in addition to supporting a clock of up to 150MHz. The Hikey schematic also indicates the device utilizes 1.8v signaling. Define these parameters in the device tree to enable HS200 mode.

---

Applied into hisilicon dt tree.
Thanks!

BR,
Wei

Quoted 18 lines
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +2 -0
index 3aee6123d161..964e43e05ac6 100644
@@ -299,7 +299,9 @@
 		/* GPIO blocks 16 thru 19 do not appear to be routed to pins */
 
 		dwmmc_0: dwmmc0 at f723d000 {
+			max-frequency = <150000000>;
 			cap-mmc-highspeed;
+			mmc-hs200-1_8v;
 			non-removable;
 			bus-width = <0x8>;
 			vmmc-supply = <&ldo19>;