From 70889548febd54d407a8af0498f378d77fcdbee4 Mon Sep 17 00:00:00 2001 From: Xiaowei Bao Date: Tue, 14 May 2019 18:17:31 +0800 Subject: arm64: dts: ls1028a: add flexspi nodes Add fspi node property for LS1028A SoC for FlexSPI driver. Property added for the FlexSPI controller and for the connected slave device for the LS1028ARDB and LS1028AQDS target. This is having one SPI-NOR flash device, mt35xu02g connected at CS0. Signed-off-by: Xiaowei Bao --- arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts') diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts index a0baed90cfad..a196817dee0f 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts @@ -222,6 +222,21 @@ phy-connection-type = "rgmii-id"; }; +&fspi { + status = "okay"; + mt35xu02g: flash@0 { + compatible = "spansion,m25p80"; + #address-cells = <1>; + #size-cells = <1>; + m25p,fast-read; + spi-max-frequency = <20000000>; + reg = <0>; + /* The following setting enables 1-1-8 (CMD-ADDR-DATA) mode */ + spi-rx-bus-width = <8>; /* 8 SPI Rx lines */ + spi-tx-bus-width = <1>; /* 1 SPI Tx line */ + }; +}; + &sai1 { status = "okay"; }; -- cgit v1.2.3