From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH] arm64: dts: ls1046a: Fast read m25p60 Date: Thu, 23 May 2019 16:47:07 +0800 Message-ID: <20190523084707.GN9261@dragon> References: <20190516114807.30817-1-kuldeep.singh@nxp.com> <20190516114807.30817-2-kuldeep.singh@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20190516114807.30817-2-kuldeep.singh@nxp.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Kuldeep Singh Cc: "devicetree@vger.kernel.org" , "bbrezillon@kernel.org" , Ashish Kumar , "broonie@kernel.org" , "linux-mtd@lists.infradead.org" , "linux-arm-kernel@lists.infradead.org" List-Id: devicetree@vger.kernel.org On Thu, May 16, 2019 at 11:47:06AM +0000, Kuldeep Singh wrote: > QSPI support is added for kernel version greater than 5.0 and supports > quad mode defined by > TX-WIDTH = <4>, RX-WIDTH = <4> > > RDB/QDS has two 64MB flash from SPANSION(s25fs512s) > > Signed-off-by: Ashish Kumar > Signed-off-by: Kuldeep Singh Please do not send patch in message encoding with base64. I do not apply it. Shawn > --- > arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 3 ++- > arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 6 ++++-- > 2 files changed, 6 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts > index eec62c63dafe..43a5ef6357d5 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts > @@ -166,9 +166,10 @@ > status = "okay"; > > qflash0: flash@0 { > - compatible = "spansion,m25p80"; > + compatible = "spansion,m25p80", "jedec,spi-nor"; > #address-cells = <1>; > #size-cells = <1>; > + m25p,fast-read; > spi-max-frequency = <20000000>; > spi-rx-bus-width = <4>; > spi-tx-bus-width = <4>; > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts > index 6a6514d0e5a9..85105a20fc04 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts > @@ -102,9 +102,10 @@ > status = "okay"; > > qflash0: flash@0 { > - compatible = "spansion,m25p80"; > + compatible = "spansion,m25p80", "jedec,spi-nor"; > #address-cells = <1>; > #size-cells = <1>; > + m25p,fast-read; > spi-max-frequency = <20000000>; > spi-rx-bus-width = <4>; > spi-tx-bus-width = <4>; > @@ -112,9 +113,10 @@ > }; > > qflash1: flash@1 { > - compatible = "spansion,m25p80"; > + compatible = "spansion,m25p80", "jedec,spi-nor"; > #address-cells = <1>; > #size-cells = <1>; > + m25p,fast-read; > spi-max-frequency = <20000000>; > spi-rx-bus-width = <4>; > spi-tx-bus-width = <4>; > -- > 2.17.1 >