From: Michal Simek Date: Wed, 21 Oct 2015 13:04:52 +0000 (+0200) Subject: ARM64: zynqmp: Update the spi1 node as per the DC2 spec X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dbbefe70cc7618ce1ed5d324f8353280324ec38c;p=thirdparty%2Fu-boot.git ARM64: zynqmp: Update the spi1 node as per the DC2 spec Updated the spi1 node with the flash details that is available on DC2 card. Currently the frequency is limited the freq to 20Mhz and this can be increased later. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Michal Simek --- diff --git a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts index 2550857150f..825155c48bb 100644 --- a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts +++ b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts @@ -227,15 +227,15 @@ num-cs = <1>; clocks = <&clk200 &clk200>; spi1_flash0: spi1_flash0@0 { - compatible = "m25p80"; /* AT45DB041E 4Mbit */ + compatible = "mtd_dataflash"; #address-cells = <1>; #size-cells = <1>; - spi-max-frequency = <85000000>; + spi-max-frequency = <20000000>; reg = <0>; spi1_flash0@00000000 { label = "spi1_flash0"; - reg = <0x0 0x400000>; + reg = <0x0 0x84000>; }; }; };