]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: zynq: Use fixed partitions for spi flash for zc770 xm010
authorMichal Simek <michal.simek@xilinx.com>
Tue, 27 Mar 2018 11:49:05 +0000 (13:49 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 9 Apr 2018 10:14:50 +0000 (12:14 +0200)
Sync with mainline.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynq-zc770-xm010.dts

index 2c594b7ecc6c15299c7e2cbb7b1b823a06fdf0ce..a779672f3add58e9843fbc40956e1b7dd6797d5f 100644 (file)
        num-cs = <4>;
        is-decoded-cs = <0>;
        flash@0 {
-               compatible = "sst25wf080";
+               compatible = "sst25wf080", "jedec,spi-nor";
                reg = <1>;
                spi-max-frequency = <1000000>;
-               #address-cells = <1>;
-               #size-cells = <1>;
-               partition@test {
-                       label = "spi-flash";
-                       reg = <0x0 0x100000>;
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+                       partition@0 {
+                               label = "data";
+                               reg = <0x0 0x100000>;
+                       };
                };
        };
 };