diff options
author | Michal Simek <michal.simek@xilinx.com> | 2018-03-27 13:49:05 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-04-09 12:14:50 +0200 |
commit | 5510d637863d9f39e2446c7f1d40308e4d5ff8ea (patch) | |
tree | 80370462728f34ebf1ec3cd23107c1e92ba7782d | |
parent | 99a2e34d770bfcb1373211b2d629457c31a55a60 (diff) |
arm: zynq: Use fixed partitions for spi flash for zc770 xm010
Sync with mainline.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | arch/arm/dts/zynq-zc770-xm010.dts | 15 |
1 files 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>; + }; }; }; }; |