-
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: 282859 b: refs/heads/master c: 775c322 h: refs/heads/master i: 282857: ab1653b 282855: a110d76 v: v3
- Loading branch information
Jamie Iles
authored and
David Woodhouse
committed
Jan 9, 2012
1 parent
47b7b9c
commit 9a99d72
Showing
3 changed files
with
153 additions
and
8 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: f98872fc14ecb96f796443911b6bc4767e58e885 | ||
refs/heads/master: 775c32208708de3e2e2379c85e429ab11957f864 |
44 changes: 44 additions & 0 deletions
44
trunk/Documentation/devicetree/bindings/mtd/gpio-control-nand.txt
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,44 @@ | ||
GPIO assisted NAND flash | ||
|
||
The GPIO assisted NAND flash uses a memory mapped interface to | ||
read/write the NAND commands and data and GPIO pins for the control | ||
signals. | ||
|
||
Required properties: | ||
- compatible : "gpio-control-nand" | ||
- reg : should specify localbus chip select and size used for the chip. The | ||
resource describes the data bus connected to the NAND flash and all accesses | ||
are made in native endianness. | ||
- #address-cells, #size-cells : Must be present if the device has sub-nodes | ||
representing partitions. | ||
- gpios : specifies the gpio pins to control the NAND device. nwp is an | ||
optional gpio and may be set to 0 if not present. | ||
|
||
Optional properties: | ||
- bank-width : Width (in bytes) of the device. If not present, the width | ||
defaults to 1 byte. | ||
- chip-delay : chip dependent delay for transferring data from array to | ||
read registers (tR). If not present then a default of 20us is used. | ||
- gpio-control-nand,io-sync-reg : A 64-bit physical address for a read | ||
location used to guard against bus reordering with regards to accesses to | ||
the GPIO's and the NAND flash data bus. If present, then after changing | ||
GPIO state and before and after command byte writes, this register will be | ||
read to ensure that the GPIO accesses have completed. | ||
|
||
Examples: | ||
|
||
gpio-nand@1,0 { | ||
compatible = "gpio-control-nand"; | ||
reg = <1 0x0000 0x2>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
gpios = <&banka 1 0 /* rdy */ | ||
&banka 2 0 /* nce */ | ||
&banka 3 0 /* ale */ | ||
&banka 4 0 /* cle */ | ||
0 /* nwp */>; | ||
|
||
partition@0 { | ||
... | ||
}; | ||
}; |
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