-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 347136 b: refs/heads/master c: 12ad2be h: refs/heads/master v: v3
- Loading branch information
Marek Vasut
authored and
Artem Bityutskiy
committed
Nov 15, 2012
1 parent
64d6a26
commit a591649
Showing
3 changed files
with
51 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 2d350e5adb44b3fbc3b6d7ff5b8d086e7730c9b4 | ||
refs/heads/master: 12ad2be9d1db3dcce08f29bdc5415db3af58fa60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
* MTD SPI driver for ST M25Pxx (and similar) 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 | ||
the DT binding is not Linux-only, but in case of Linux, see the | ||
"m25p_ids" table in drivers/mtd/devices/m25p80.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: | ||
- m25p,fast-read : Use the "fast read" opcode to read data from the chip instead | ||
of the usual "read" opcode. This opcode is not supported by | ||
all chips and support for it can not be detected at runtime. | ||
Refer to your chips' datasheet to check if this is supported | ||
by your chip. | ||
|
||
Example: | ||
|
||
flash: m25p80@0 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "spansion,m25p80"; | ||
reg = <0>; | ||
spi-max-frequency = <40000000>; | ||
m25p,fast-read; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters