arm: zynq: Use fixed partitions for spi flash for zc770 xm010

Sync with mainline.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Michal Simek 2018-03-27 13:49:05 +02:00
parent 99a2e34d77
commit 5510d63786

View File

@ -74,14 +74,17 @@
num-cs = <4>; num-cs = <4>;
is-decoded-cs = <0>; is-decoded-cs = <0>;
flash@0 { flash@0 {
compatible = "sst25wf080"; compatible = "sst25wf080", "jedec,spi-nor";
reg = <1>; reg = <1>;
spi-max-frequency = <1000000>; spi-max-frequency = <1000000>;
#address-cells = <1>; partitions {
#size-cells = <1>; compatible = "fixed-partitions";
partition@test { #address-cells = <1>;
label = "spi-flash"; #size-cells = <1>;
reg = <0x0 0x100000>; partition@0 {
label = "data";
reg = <0x0 0x100000>;
};
}; };
}; };
}; };