arm64: dts: ls1088a-qds: Add the spi-flash nodes under the DSPI controller
authorChuanhua Han <chuanhua.han@nxp.com>
Thu, 1 Aug 2019 08:31:05 +0000 (16:31 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 24 Aug 2019 18:35:10 +0000 (20:35 +0200)
This patch adds the spi-flash nodes under the DSPI controller for
ls1088a-qds boards.

Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts

index 6f48d21..120e62d 100644 (file)
        compatible = "fsl,ls1088a-qds", "fsl,ls1088a";
 };
 
+&dspi {
+       bus-num = <0>;
+       status = "okay";
+
+       flash@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "jedec,spi-nor";
+               reg = <0>;
+               spi-max-frequency = <1000000>;
+       };
+
+       flash@1 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "jedec,spi-nor";
+               spi-cpol;
+               spi-cpha;
+               spi-max-frequency = <3500000>;
+               reg = <1>;
+       };
+
+       flash@2 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "jedec,spi-nor";
+               spi-cpol;
+               spi-cpha;
+               spi-max-frequency = <3500000>;
+               reg = <2>;
+       };
+};
+
 &i2c0 {
        status = "okay";