arm: dts: lx2160aqds: Add FSPI node properties
authorKuldeep Singh <kuldeep.singh@nxp.com>
Mon, 2 Mar 2020 11:09:19 +0000 (16:39 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 30 Mar 2020 02:42:13 +0000 (08:12 +0530)
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>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/fsl-lx2160a-qds.dts

index 34df0f51060e7b66543f7f19322bf9d8f9cc16f7..33bedae65537d38fb42cc751c089969379100113 100644 (file)
@@ -13,6 +13,9 @@
 / {
        model = "NXP Layerscape LX2160AQDS Board";
        compatible = "fsl,lx2160aqds", "fsl,lx2160a";
+       aliases {
+               spi0 = &fspi;
+       };
 };
 
 &esdhc0 {
        };
 };
 
+&fspi {
+       status = "okay";
+
+       mt35xu512aba0: flash@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "jedec,spi-nor";
+               spi-max-frequency = <50000000>;
+               reg = <0>;
+       };
+};
+
 &sata0 {
        status = "okay";
 };