From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ashish Kumar Subject: [PATCH] arm64: dts: ls1046a: Append missing properties of QSPI node on ls1046ardb Date: Tue, 10 Sep 2019 17:50:53 +0530 Message-ID: <1568118055-9740-3-git-send-email-Ashish.Kumar@nxp.com> References: <1568118055-9740-1-git-send-email-Ashish.Kumar@nxp.com> Return-path: In-Reply-To: <1568118055-9740-1-git-send-email-Ashish.Kumar@nxp.com> Sender: linux-kernel-owner@vger.kernel.org To: devicetree@vger.kernel.org, robh@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ashish Kumar List-Id: devicetree@vger.kernel.org Update the max-freqquncy to 50MHz, also adding "fast,read,m25p80" property. Align the QSPI node with other similar boards like(ls1088ardb, ls1046afrwy) as per bindings. Also, correct compatible node to fix this warning: m25p80 spi0.0: found s25fl512s, expected m25p80 m25p80 spi0.1: found s25fl512s, expected m25p80 Signed-off-by: Ashish Kumar --- arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts index 6a6514d..9c4113a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts @@ -101,21 +101,23 @@ &qspi { status = "okay"; - qflash0: flash@0 { - compatible = "spansion,m25p80"; + qflash0: s25fs512a@0 { + compatible = "spansion,s25fs512a", "jedec,spi-nor"; #address-cells = <1>; #size-cells = <1>; - spi-max-frequency = <20000000>; + m25p,fast-read; + spi-max-frequency = <50000000>; spi-rx-bus-width = <4>; spi-tx-bus-width = <4>; reg = <0>; }; - qflash1: flash@1 { - compatible = "spansion,m25p80"; + qflash1: s25fs152a@1 { + compatible = "spansion,s25fs512a", "jedec,spi-nor"; #address-cells = <1>; #size-cells = <1>; - spi-max-frequency = <20000000>; + m25p,fast-read; + spi-max-frequency = <50000000>; spi-rx-bus-width = <4>; spi-tx-bus-width = <4>; reg = <1>; -- 2.7.4