-
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.
- Loading branch information
David Woodhouse
authored and
David Woodhouse
committed
Oct 9, 2012
1 parent
6fc9f3d
commit 7cc167b
Showing
112 changed files
with
6,352 additions
and
3,234 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: 4a8e43feeac7996b8de2d5b2823e316917493df4 | ||
refs/heads/master: ffe315012510165ce82e4dd4767f0a5dba9edbf7 |
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
51 changes: 51 additions & 0 deletions
51
trunk/Documentation/devicetree/bindings/arm/davinci/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,51 @@ | ||
* Texas Instruments Davinci NAND | ||
|
||
This file provides information, what the device node for the | ||
davinci nand interface contain. | ||
|
||
Required properties: | ||
- compatible: "ti,davinci-nand"; | ||
- reg : contain 2 offset/length values: | ||
- offset and length for the access window | ||
- offset and length for accessing the aemif control registers | ||
- ti,davinci-chipselect: Indicates on the davinci_nand driver which | ||
chipselect is used for accessing the nand. | ||
|
||
Recommended properties : | ||
- ti,davinci-mask-ale: mask for ale | ||
- ti,davinci-mask-cle: mask for cle | ||
- ti,davinci-mask-chipsel: mask for chipselect | ||
- ti,davinci-ecc-mode: ECC mode valid values for davinci driver: | ||
- "none" | ||
- "soft" | ||
- "hw" | ||
- ti,davinci-ecc-bits: used ECC bits, currently supported 1 or 4. | ||
- ti,davinci-nand-buswidth: buswidth 8 or 16 | ||
- ti,davinci-nand-use-bbt: use flash based bad block table support. | ||
|
||
Example (enbw_cmc board): | ||
aemif@60000000 { | ||
compatible = "ti,davinci-aemif"; | ||
#address-cells = <2>; | ||
#size-cells = <1>; | ||
reg = <0x68000000 0x80000>; | ||
ranges = <2 0 0x60000000 0x02000000 | ||
3 0 0x62000000 0x02000000 | ||
4 0 0x64000000 0x02000000 | ||
5 0 0x66000000 0x02000000 | ||
6 0 0x68000000 0x02000000>; | ||
nand@3,0 { | ||
compatible = "ti,davinci-nand"; | ||
reg = <3 0x0 0x807ff | ||
6 0x0 0x8000>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
ti,davinci-chipselect = <1>; | ||
ti,davinci-mask-ale = <0>; | ||
ti,davinci-mask-cle = <0>; | ||
ti,davinci-mask-chipsel = <0>; | ||
ti,davinci-ecc-mode = "hw"; | ||
ti,davinci-ecc-bits = <4>; | ||
ti,davinci-nand-use-bbt; | ||
}; | ||
}; |
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
50 changes: 50 additions & 0 deletions
50
trunk/Documentation/devicetree/bindings/mtd/lpc32xx-mlc.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,50 @@ | ||
NXP LPC32xx SoC NAND MLC controller | ||
|
||
Required properties: | ||
- compatible: "nxp,lpc3220-mlc" | ||
- reg: Address and size of the controller | ||
- interrupts: The NAND interrupt specification | ||
- gpios: GPIO specification for NAND write protect | ||
|
||
The following required properties are very controller specific. See the LPC32xx | ||
User Manual 7.5.14 MLC NAND Timing Register (the values here are specified in | ||
Hz, to make them independent of actual clock speed and to provide for good | ||
accuracy:) | ||
- nxp,tcea_delay: TCEA_DELAY | ||
- nxp,busy_delay: BUSY_DELAY | ||
- nxp,nand_ta: NAND_TA | ||
- nxp,rd_high: RD_HIGH | ||
- nxp,rd_low: RD_LOW | ||
- nxp,wr_high: WR_HIGH | ||
- nxp,wr_low: WR_LOW | ||
|
||
Optional subnodes: | ||
- Partitions, see Documentation/devicetree/bindings/mtd/partition.txt | ||
|
||
Example: | ||
|
||
mlc: flash@200A8000 { | ||
compatible = "nxp,lpc3220-mlc"; | ||
reg = <0x200A8000 0x11000>; | ||
interrupts = <11 0>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
nxp,tcea-delay = <333333333>; | ||
nxp,busy-delay = <10000000>; | ||
nxp,nand-ta = <18181818>; | ||
nxp,rd-high = <31250000>; | ||
nxp,rd-low = <45454545>; | ||
nxp,wr-high = <40000000>; | ||
nxp,wr-low = <83333333>; | ||
gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */ | ||
|
||
mtd0@00000000 { | ||
label = "boot"; | ||
reg = <0x00000000 0x00064000>; | ||
read-only; | ||
}; | ||
|
||
... | ||
|
||
}; |
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
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
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
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
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
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
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.