]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: ls1028a: Add FSPI node properties
authorKuldeep Singh <kuldeep.singh@nxp.com>
Wed, 6 Nov 2019 11:08:00 +0000 (16:38 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 4 Feb 2020 10:49:37 +0000 (16:19 +0530)
Align flexspi node properties with linux device-tree properties
Tested on LS1028A-RDB

Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/fsl-ls1028a-qds.dts
arch/arm/dts/fsl-ls1028a-rdb.dts

index 5d143ba07702e1b8bb62b64d52e04abc715fb342..3fd37beedf4f834e479d6deb73f992ee8f11b90c 100644 (file)
 / {
        model = "NXP Layerscape 1028a QDS Board";
        compatible = "fsl,ls1028a-qds", "fsl,ls1028a";
+       aliases {
+               spi0 = &fspi;
+       };
+
 };
 
 &dspi0 {
 
 };
 
+&fspi {
+       status = "okay";
+
+       mt35xu02g0: flash@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "jedec,spi-nor";
+               spi-max-frequency = <50000000>;
+               reg = <0>;
+       };
+};
+
 &i2c0 {
        status = "okay";
        u-boot,dm-pre-reloc;
index 3d5e8ade21123d5dc88bd16ad86ddb0d61327b86..a8f40855b65d2e6e8260cb64752ece2f1f953bfa 100644 (file)
@@ -13,6 +13,9 @@
 / {
        model = "NXP Layerscape 1028a RDB Board";
        compatible = "fsl,ls1028a-rdb", "fsl,ls1028a";
+       aliases {
+               spi0 = &fspi;
+       };
 };
 
 &dspi0 {
        mmc-hs200-1_8v;
 };
 
+&fspi {
+       status = "okay";
+
+       mt35xu02g0: flash@0 {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "jedec,spi-nor";
+               spi-max-frequency = <50000000>;
+               reg = <0>;
+       };
+};
+
 &i2c0 {
        status = "okay";
        u-boot,dm-pre-reloc;