arm: dts: artik711s: modify shift of eMMC
authorSowon Na <sowon.na@samsung.com>
Thu, 12 Jul 2018 19:21:51 +0000 (04:21 +0900)
committerSowon Na <sowon.na@samsung.com>
Thu, 12 Jul 2018 19:21:51 +0000 (04:21 +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: I3bd771db851e33da64c233a9ff369e2226deabec
Signed-off-by: Sowon Na <sowon.na@samsung.com>
arch/arm/dts/s5p6818-artik711s-raptor.dts

index fabdfcbad23ba33c570096d33461fec058f7ee60..a923ade97801cc9518df1611c011c1750907d0f9 100644 (file)
 &mmc2 {
        frequency = <100000000>;
        nexell,drive_dly = <0x0>;
-       nexell,drive_shift = <0x03>;
+       nexell,drive_shift = <0x01>;
        nexell,sample_dly = <0x00>;
-       nexell,sample_shift = <0x02>;
+       nexell,sample_shift = <0x00>;
        nexell,bus-width = <4>;
        index = <0>;
        status = "okay";