arm64: dts: lx2160aqds: Add FSPI node properties
authorKuldeep Singh <kuldeep.singh@nxp.com>
Tue, 3 Mar 2020 06:38:32 +0000 (12:08 +0530)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Mar 2020 08:34:29 +0000 (16:34 +0800)
lx2160a-qds has 2 micron "mt35xu512aba" flashes of size 64M each
connected on A0 and B1 i.e on CS0 and CS3. Since flashes are connected
on different buses, only one flash can be probed at a time.

Add fspi node properties aligned with LX2160A-RDB fspi properties.

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts

index 1a5acf62f23c658cd50e5a7d18200ad2bb3d2c27..3b88e1efe4db414a4efe7f8a382ff86ce33e40ff 100644 (file)
        status = "okay";
 };
 
+&fspi {
+       status = "okay";
+
+       mt35xu512aba0: flash@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "jedec,spi-nor";
+               m25p,fast-read;
+               spi-max-frequency = <50000000>;
+               reg = <0>;
+               spi-rx-bus-width = <8>;
+               spi-tx-bus-width = <8>;
+       };
+};
+
 &i2c0 {
        status = "okay";