arm64: zynqmp: Fix spi flash partition definition for zc1751 dc2
authorMichal Simek <michal.simek@xilinx.com>
Tue, 27 Mar 2018 11:09:15 +0000 (13:09 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 9 Apr 2018 10:14:48 +0000 (12:14 +0200)
Using different node name and label partitions as data.
Also use latest compatible strings based on mainline review.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts

index 22a3c1ebecccd6cc27f8f1ed783ac408bdf6a05b..afa90a8a5b09df60fa4230c4ce64e5175898d2a8 100644 (file)
 &spi0 {
        status = "okay";
        num-cs = <1>;
-       spi0_flash0: spi0_flash0@0 {
-               compatible = "m25p80";
+       spi0_flash0: flash@0 {
                #address-cells = <1>;
                #size-cells = <1>;
+               compatible = "sst,sst25wf080", "jedec,spi-nor";
                spi-max-frequency = <50000000>;
                reg = <0>;
 
-               spi0_flash0@0 {
-                       label = "spi0_flash0";
+               partition@0 {
+                       label = "data";
                        reg = <0x0 0x100000>;
                };
        };
 &spi1 {
        status = "okay";
        num-cs = <1>;
-       spi1_flash0: spi1_flash0@0 {
-               compatible = "mtd_dataflash";
+       spi1_flash0: flash@0 {
                #address-cells = <1>;
                #size-cells = <1>;
+               compatible = "atmel,at45db041e", "atmel,at45", "atmel,dataflash";
                spi-max-frequency = <20000000>;
                reg = <0>;
 
-               spi1_flash0@0 {
-                       label = "spi1_flash0";
+               partition@0 {
+                       label = "data";
                        reg = <0x0 0x84000>;
                };
        };