From 5510d637863d9f39e2446c7f1d40308e4d5ff8ea Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 27 Mar 2018 13:49:05 +0200 Subject: [PATCH] arm: zynq: Use fixed partitions for spi flash for zc770 xm010 Sync with mainline. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc770-xm010.dts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/zynq-zc770-xm010.dts b/arch/arm/dts/zynq-zc770-xm010.dts index 2c594b7ecc..a779672f3a 100644 --- a/arch/arm/dts/zynq-zc770-xm010.dts +++ b/arch/arm/dts/zynq-zc770-xm010.dts @@ -74,14 +74,17 @@ 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>; + }; }; }; }; -- 2.39.5