mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 05:04:26 +00:00
6645fd2c18
Now the flash params table as renamed to spi_flash_ids structure, so rename the sf_params.c to spi_flash_ids.c and remove the legacy. Cc: Bin Meng <bmeng.cn@gmail.com> Cc: York Sun <york.sun@nxp.com> Cc: Vignesh R <vigneshr@ti.com> Cc: Mugunthan V N <mugunthanvnm@ti.com> Cc: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Jagan Teki <jagan@openedev.com> Reviewed-by: Jagan Teki <jagan@openedev.com> Tested-by: Jagan Teki <jagan@openedev.com> Reviewed-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
25 lines
890 B
Text
25 lines
890 B
Text
* MTD SPI driver for serial flash chips
|
|
|
|
Required properties:
|
|
- #address-cells, #size-cells : Must be present if the device has sub-nodes
|
|
representing partitions.
|
|
- compatible : Should be the manufacturer and the name of the chip. Bear in
|
|
mind that the DT binding is not U-Boot-only, but in case of
|
|
U-Boot, see spi_flash_params_table table in
|
|
drivers/mtd/spi/spi_flash_ids.c for the list of supported chips.
|
|
- reg : Chip-Select number
|
|
- spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at
|
|
|
|
Optional properties:
|
|
- memory-map : Address and size of the flash, if memory mapped. This may
|
|
apply to Intel chipsets, which tend to memory-map flash.
|
|
|
|
Example:
|
|
|
|
flash: m25p80@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "spansion,m25p80";
|
|
reg = <0>;
|
|
spi-max-frequency = <40000000>;
|
|
};
|