summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-11-27 09:01:13 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-27 12:21:26 +0100
commitd0dd185f14e230a51cd7b1e056672ff555093551 (patch)
tree9e12e21f2bdd3d33939169bff4d792d1f1ff7c3d
parent45ce81e87eecf23a7026ca3af506d80530512f30 (diff)
downloadbarebox-d0dd185f14e230a51cd7b1e056672ff555093551.tar.gz
ARM Layerscape: ls1046ardb: Fix SPI NOR flash compatibles
The upstream dts file has a "spansion,m25p80" as compatible string for the SPI NOR flashes. This doesn't match the real chip which identifies itself as "s25fl512s". The driver warns about this. Change the compatible to "jedec,spi-nor" to avoid such issues. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/dts/fsl-ls1046a-rdb.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/dts/fsl-ls1046a-rdb.dts b/arch/arm/dts/fsl-ls1046a-rdb.dts
index 9a2794c..3586e08 100644
--- a/arch/arm/dts/fsl-ls1046a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1046a-rdb.dts
@@ -114,6 +114,14 @@
};
};
+&qflash0 {
+ compatible = "jedec,spi-nor";
+};
+
+&qflash1 {
+ compatible = "jedec,spi-nor";
+};
+
&usb0 {
dr_mode = "host";
};