]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
Xilinx: ARM: BSP: Updating SPI and QSPI flash for ZC770/XM010
authorJohn Linn <john.linn@xilinx.com>
Fri, 16 Dec 2011 02:28:04 +0000 (18:28 -0800)
committerJohn Linn <john.linn@xilinx.com>
Fri, 16 Dec 2011 02:28:04 +0000 (18:28 -0800)
These are still not working well yet, but the SPI flash part is
now recognized (other commit also for m25 driver).

The max frequency #s are conservative based on talking to the
other teams who are seeing it work.

arch/arm/mach-zynq/board_zc770_xm010.c

index c638bb954a5ccbfafd21800f6709677f2068a51b..4a614e49d02528e3e929e4a8eab8db046eb1c07c 100644 (file)
@@ -63,7 +63,7 @@ static struct flash_platform_data spi_flash_pdata = {
        .name                   = "serial_flash",
        .parts                  = spi_flash_partitions,
        .nr_parts               = ARRAY_SIZE(spi_flash_partitions),
-       .type                   = "sst25wf040"  /* should be 080, but not supported yet */
+       .type                   = "sst25wf080"  
 };
 
 
@@ -134,7 +134,7 @@ static struct spi_board_info __initdata xilinx_spipss_0_boardinfo[] = {
                .platform_data          = &spi_flash_pdata,
 #endif
                .irq                    = IRQ_SPI1,
-               .max_speed_hz           = 75000000, /* max sample rate at 3V */
+               .max_speed_hz           = 40000000, /* max sample rate at 3V */
                .bus_num                = 0,
                .chip_select            = 1,
        },
@@ -147,7 +147,7 @@ static struct spi_board_info __initdata xilinx_spipss_0_boardinfo[] = {
                .platform_data          = &qspi_flash_pdata,
 #endif
                .irq                    = IRQ_QSPI0,
-               .max_speed_hz           = 50000000, /* max sample rate at 3V */
+               .max_speed_hz           = 100000000, /* max sample rate at 3V */
                .bus_num                = 1,
                .chip_select            = 0,
        },