]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: ls1028a: Add dspi flash device node to qds
authorZhao Qiang <qiang.zhao@nxp.com>
Tue, 14 Jul 2020 05:53:36 +0000 (13:53 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 27 Jul 2020 08:54:15 +0000 (14:24 +0530)
Add dspi flash device node to fsl-ls1028a-qds.dtsi

Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/fsl-ls1028a-qds.dtsi

index 4f56f40bd326642a82efaffcd787bf383a8803e3..6cdcce1b92fb9502db5a7bb49ba26f19d6990ba6 100644 (file)
        compatible = "fsl,ls1028a-qds", "fsl,ls1028a";
        aliases {
                spi0 = &fspi;
+               spi1 = &dspi0;
+               spi2 = &dspi1;
+               spi3 = &dspi2;
        };
 
 };
 
 &dspi0 {
+       bus-num = <0>;
        status = "okay";
+
+       dflash0: sst25wf040b {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "spi-flash";
+               spi-max-frequency = <3000000>;
+               spi-cpol;
+               spi-cpha;
+               reg = <0>;
+       };
+
+       dflash1: en25s64 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "spi-flash";
+               spi-max-frequency = <3000000>;
+               spi-cpol;
+               spi-cpha;
+               reg = <1>;
+       };
+       dflash2: n25q128a {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "spi-flash";
+               spi-max-frequency = <3000000>;
+               spi-cpol;
+               spi-cpha;
+               reg = <2>;
+       };
 };
 
 &dspi1 {
+       bus-num = <0>;
        status = "okay";
+
+       dflash3: sst25wf040b {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "spi-flash";
+               spi-max-frequency = <3000000>;
+               spi-cpol;
+               spi-cpha;
+               reg = <0>;
+       };
+
+       dflash4: en25s64 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "spi-flash";
+               spi-max-frequency = <3000000>;
+               spi-cpol;
+               spi-cpha;
+               reg = <1>;
+       };
+       dflash5: n25q128a {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "spi-flash";
+               spi-max-frequency = <3000000>;
+               spi-cpol;
+               spi-cpha;
+               reg = <2>;
+       };
 };
 
 &dspi2 {
+       bus-num = <0>;
        status = "okay";
+
+       dflash8: en25s64 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "spi-flash";
+               spi-max-frequency = <3000000>;
+               spi-cpol;
+               spi-cpha;
+               reg = <0>;
+       };
 };
 
 &esdhc0 {