arm64: dts: hikey: Enable HS200 mode on eMMC
authoroscardagrach <ryan@edited.us>
Wed, 17 Jan 2018 20:35:30 +0000 (14:35 -0600)
committerWei Xu <xuwei5@hisilicon.com>
Fri, 2 Mar 2018 16:19:41 +0000 (16:19 +0000)
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.

Signed-off-by: Ryan Grachek <ryan@edited.us>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts

index e94fa1a531922ee6b160246c4399435574909641..94e74c05601428e81aaa68c571379a2d0116e662 100644 (file)
                /* GPIO blocks 16 thru 19 do not appear to be routed to pins */
 
                dwmmc_0: dwmmc0@f723d000 {
+                       max-frequency = <150000000>;
                        cap-mmc-highspeed;
+                       mmc-hs200-1_8v;
                        non-removable;
                        bus-width = <0x8>;
                        vmmc-supply = <&ldo19>;