arm: dts: artik530: modify shift of eMMC
authorSowon Na <sowon.na@samsung.com>
Wed, 11 Jul 2018 01:45:59 +0000 (10:45 +0900)
committerSowon Na <sowon.na@samsung.com>
Wed, 11 Jul 2018 05:36:48 +0000 (14:36 +0900)
This patch modifies drive_shift and sample_shift of eMMC.

The drive_shift can have values as 0 to 3. The value "0" means
degree 0, "1" means degree 90, "2" means degree 180 and "3" means
degree 270. In the same as drive_shift, the sample_shift can have
values as 0 to 3. The meanings of values are also the same.

There is sometimes eMMC read fail during booting, and it occured
because of end-bit error. This patch solves it.

Change-Id: I655453541154f2ef651a1f51bb00fd85e13687e9
Signed-off-by: Sowon Na <sowon.na@samsung.com>
arch/arm/dts/s5p4418-artik530.dtsi

index d4c857dc5330e1f47e4d73b595b5f570e2e00e99..ef5ca091553786d55d148248b341738851f13337 100644 (file)
@@ -10,9 +10,9 @@
 / {
        mmc2:mmc@c0069000 {
                nexell,drive_dly = <0x0>;
-               nexell,drive_shift = <0x03>;
+               nexell,drive_shift = <0x01>;
                nexell,sample_dly = <0x00>;
-               nexell,sample_shift = <0x02>;
+               nexell,sample_shift = <0x00>;
                frequency = <100000000>;
                status = "okay";
        };