2020-03-03 06:40:28

by Kuldeep Singh

[permalink] [raw]
Subject: [PATCH 1/2] arm64: dts: lx2160ardb: Update FSPI node properties

Update fspi node compatibles of LX2160A-RDB to "jedec,spi-nor" for
automatic detection of flash.

This also helps in fixing below warning:
spi-nor spi0.0: found mt35xu512aba, expected m25p80
spi-nor spi0.1: found mt35xu512aba, expected m25p80

Signed-off-by: Kuldeep Singh <[email protected]>
---
arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
index 51615de..22d0308 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts
@@ -84,7 +84,7 @@
mt35xu512aba0: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spansion,m25p80";
+ compatible = "jedec,spi-nor";
m25p,fast-read;
spi-max-frequency = <50000000>;
reg = <0>;
@@ -95,7 +95,7 @@
mt35xu512aba1: flash@1 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spansion,m25p80";
+ compatible = "jedec,spi-nor";
m25p,fast-read;
spi-max-frequency = <50000000>;
reg = <1>;
--
2.7.4


2020-03-11 08:35:30

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH 1/2] arm64: dts: lx2160ardb: Update FSPI node properties

On Tue, Mar 03, 2020 at 12:08:31PM +0530, Kuldeep Singh wrote:
> Update fspi node compatibles of LX2160A-RDB to "jedec,spi-nor" for
> automatic detection of flash.
>
> This also helps in fixing below warning:
> spi-nor spi0.0: found mt35xu512aba, expected m25p80
> spi-nor spi0.1: found mt35xu512aba, expected m25p80
>
> Signed-off-by: Kuldeep Singh <[email protected]>

Applied both, thanks.