-
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: 374127 b: refs/heads/master c: eed4855 h: refs/heads/master i: 374125: 915aac9 374123: f48ea59 374119: 944c769 374111: 86e28cf v: v3
- Loading branch information
Murali Karicheri
authored and
Sekhar Nori
committed
Apr 17, 2013
1 parent
31da1e1
commit c557aa8
Showing
2 changed files
with
52 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: 804413f2dd0bcef6d1aef7c8b3be749be9024eee | ||
refs/heads/master: eed48556a789d2c7fd2dacbc0060e463ed72e449 |
51 changes: 51 additions & 0 deletions
51
trunk/Documentation/devicetree/bindings/spi/spi-davinci.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 @@ | ||
Davinci SPI controller device bindings | ||
|
||
Required properties: | ||
- #address-cells: number of cells required to define a chip select | ||
address on the SPI bus. Should be set to 1. | ||
- #size-cells: should be zero. | ||
- compatible: | ||
- "ti,dm6441-spi" for SPI used similar to that on DM644x SoC family | ||
- "ti,da830-spi" for SPI used similar to that on DA8xx SoC family | ||
- reg: Offset and length of SPI controller register space | ||
- num-cs: Number of chip selects | ||
- ti,davinci-spi-intr-line: interrupt line used to connect the SPI | ||
IP to the interrupt controller within the SoC. Possible values | ||
are 0 and 1. Manual says one of the two possible interrupt | ||
lines can be tied to the interrupt controller. Set this | ||
based on a specifc SoC configuration. | ||
- interrupts: interrupt number mapped to CPU. | ||
- clocks: spi clk phandle | ||
|
||
Example of a NOR flash slave device (n25q032) connected to DaVinci | ||
SPI controller device over the SPI bus. | ||
|
||
spi0:spi@20BF0000 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
compatible = "ti,dm6446-spi"; | ||
reg = <0x20BF0000 0x1000>; | ||
num-cs = <4>; | ||
ti,davinci-spi-intr-line = <0>; | ||
interrupts = <338>; | ||
clocks = <&clkspi>; | ||
|
||
flash: n25q032@0 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "st,m25p32"; | ||
spi-max-frequency = <25000000>; | ||
reg = <0>; | ||
|
||
partition@0 { | ||
label = "u-boot-spl"; | ||
reg = <0x0 0x80000>; | ||
read-only; | ||
}; | ||
|
||
partition@1 { | ||
label = "test"; | ||
reg = <0x80000 0x380000>; | ||
}; | ||
}; | ||
}; |