]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM64: zynqmp: Update the spi1 node as per the DC2 spec
authorMichal Simek <michal.simek@xilinx.com>
Wed, 21 Oct 2015 13:04:52 +0000 (15:04 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 21 Oct 2015 14:47:48 +0000 (16:47 +0200)
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 <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts

index 2550857150fac4b0bc55e9c8fe1bb8a8cf93438f..825155c48bb5e2c313de7be22cd22670ee8019a9 100644 (file)
        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>;
                };
        };
 };