]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: rockchip: eMMC additions for rk3328-roc-cc
authorLeonidas P. Papadakos <papadakospan@gmail.com>
Thu, 4 Apr 2019 11:23:29 +0000 (14:23 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 11 Apr 2019 11:56:27 +0000 (13:56 +0200)
The eMMC 5.x that Libre Computer provide for their boards supports HS200 mode.
The support is already included in the dts for their newest board:

La Frite (AML-S805X-AC)
dts: arch/arm64/boot/dts/amlogic/meson-gxl-s805x-libretech-ac.dts

That same eMMC is supported in the ROC-RK3328-CC:
https://www.loverpi.com/products/libre-computer-board-emmc-5-x-module

This increases the speed of the eMMC significantly.

Signed-off-by: Leonidas P. Papadakos <papadakospan@gmail.com>
[added supplies as suggested by Leonidas]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts

index 53643ea4cfca8fd5df495498c89f5dfb5399b070..8ec6c68842ff1cf0cf84942fdec0039265adcb6e 100644 (file)
@@ -122,9 +122,14 @@ &cpu3 {
 &emmc {
        bus-width = <8>;
        cap-mmc-highspeed;
+       max-frequency = <150000000>;
+       mmc-ddr-1_8v;
+       mmc-hs200-1_8v;
        non-removable;
        pinctrl-names = "default";
        pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
+       vmmc-supply = <&vcc_io>;
+       vqmmc-supply = <&vcc18_emmc>;
        status = "okay";
 };