diff options
author | Kuldeep Singh <kuldeep.singh@nxp.com> | 2020-03-30 16:46:30 +0530 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-04-25 09:16:06 +0800 |
commit | f5ac5ac12dd678f0abe708baa55a5049a44b7ab8 (patch) | |
tree | d31df089baa9b6bf05cd209ac61c08d1d916fab8 /arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts | |
parent | 593816fa2f357313a1ea584f95912d0761516583 (diff) | |
download | lwn-f5ac5ac12dd678f0abe708baa55a5049a44b7ab8.tar.gz lwn-f5ac5ac12dd678f0abe708baa55a5049a44b7ab8.zip |
arm64: dts: ls1012a: Add QSPI node properties
Add support for QSPI on NXP layerscape LS1012A-RDB, LS1012A-QDS,
LS1012A-FRDM and LS1012A-FRWY boards.
LS1012A-RDB has 2 Spansion "s25fs512s" flashes of size 64M each and only
one can be accessed at a time.
LS1012A-QDS/FRDM has 1 spansion "s25fs512s" flash of size 64M.
LS1012A-FRWY has one winbond "w25q16dw" flash of size 2M.
Use generic compatibles as "jedec,spi-nor" for automatic detection of
flash. Configure RX and TX buswidth values as 2 as only two I/O lines are
available for data transfer.
Add ls1012a(si) node alongwith flash nodes.
Signed-off-by: Ashish Kumar <Ashish.kumar@nxp.com>
Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts index f90c040fd5e8..67702667ed8a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts @@ -74,6 +74,21 @@ }; }; +&qspi { + status = "okay"; + + s25fs512s0: flash@0 { + compatible = "jedec,spi-nor"; + #address-cells = <1>; + #size-cells = <1>; + spi-max-frequency = <50000000>; + m25p,fast-read; + reg = <0>; + spi-rx-bus-width = <2>; + spi-tx-bus-width = <2>; + }; +}; + &sai2 { status = "okay"; }; |