-
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: 332644 b: refs/heads/master c: 2944a44 h: refs/heads/master v: v3
- Loading branch information
Roland Stigge
authored and
David Woodhouse
committed
Jul 6, 2012
1 parent
6d68b29
commit 73c1e02
Showing
5 changed files
with
1,130 additions
and
1 deletion.
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: fdbad98dff8007f2b8bee6698b5d25ebba0471c9 | ||
refs/heads/master: 2944a44da09e46b6db2fd2c3334f242b09e05c43 |
52 changes: 52 additions & 0 deletions
52
trunk/Documentation/devicetree/bindings/mtd/lpc32xx-slc.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,52 @@ | ||
NXP LPC32xx SoC NAND SLC controller | ||
|
||
Required properties: | ||
- compatible: "nxp,lpc3220-slc" | ||
- reg: Address and size of the controller | ||
- nand-on-flash-bbt: Use bad block table on flash | ||
- gpios: GPIO specification for NAND write protect | ||
|
||
The following required properties are very controller specific. See the LPC32xx | ||
User Manual: | ||
- nxp,wdr-clks: Delay before Ready signal is tested on write (W_RDY) | ||
- nxp,rdr-clks: Delay before Ready signal is tested on read (R_RDY) | ||
(The following values are specified in Hz, to make them independent of actual | ||
clock speed:) | ||
- nxp,wwidth: Write pulse width (W_WIDTH) | ||
- nxp,whold: Write hold time (W_HOLD) | ||
- nxp,wsetup: Write setup time (W_SETUP) | ||
- nxp,rwidth: Read pulse width (R_WIDTH) | ||
- nxp,rhold: Read hold time (R_HOLD) | ||
- nxp,rsetup: Read setup time (R_SETUP) | ||
|
||
Optional subnodes: | ||
- Partitions, see Documentation/devicetree/bindings/mtd/partition.txt | ||
|
||
Example: | ||
|
||
slc: flash@20020000 { | ||
compatible = "nxp,lpc3220-slc"; | ||
reg = <0x20020000 0x1000>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
nxp,wdr-clks = <14>; | ||
nxp,wwidth = <40000000>; | ||
nxp,whold = <100000000>; | ||
nxp,wsetup = <100000000>; | ||
nxp,rdr-clks = <14>; | ||
nxp,rwidth = <40000000>; | ||
nxp,rhold = <66666666>; | ||
nxp,rsetup = <100000000>; | ||
nand-on-flash-bbt; | ||
gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */ | ||
|
||
mtd0@00000000 { | ||
label = "phy3250-boot"; | ||
reg = <0x00000000 0x00064000>; | ||
read-only; | ||
}; | ||
|
||
... | ||
|
||
}; |
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
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
Oops, something went wrong.