From: Michal Simek Date: Tue, 27 Mar 2018 11:49:05 +0000 (+0200) Subject: arm: zynq: Use fixed partitions for spi flash for zc770 xm010 X-Git-Tag: v2018.05-rc2~44^2~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5510d637863d9f39e2446c7f1d40308e4d5ff8ea;p=u-boot arm: zynq: Use fixed partitions for spi flash for zc770 xm010 Sync with mainline. Signed-off-by: Michal Simek --- 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>; + }; }; }; };