From: Vignesh R Date: Thu, 13 Oct 2016 10:23:17 +0000 (+0530) Subject: ARM: dts: am437x-idk: Fix QSPI compatible string X-Git-Tag: v2017.01-rc2~7^2~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f06e1588fbd18a03ad0ed0c1b3f82ab4e9d9a6c9;p=u-boot ARM: dts: am437x-idk: Fix QSPI compatible string Unlike Linux kernel, U-Boot depends on "spi-flash" compatible to probe m25p80 spi-nor devices. Hence, add "spi-flash" compatible string to m25p80 node. Without this patch, flash device DT data is not parsed and QSPI operates in unsupported mode leading to data corruption. Signed-off-by: Vignesh R Reviewed-by: Jagan Teki --- diff --git a/arch/arm/dts/am437x-idk-evm.dts b/arch/arm/dts/am437x-idk-evm.dts index 478f0a62cb..e454647165 100644 --- a/arch/arm/dts/am437x-idk-evm.dts +++ b/arch/arm/dts/am437x-idk-evm.dts @@ -341,7 +341,7 @@ spi-max-frequency = <48000000>; m25p80@0 { - compatible = "mx66l51235l"; + compatible = "mx66l51235l", "spi-flash"; spi-max-frequency = <48000000>; reg = <0>; spi-cpol;