-
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.
spi: dw: document device tree binding
Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Mark Brown <broonie@linaro.org>
- Loading branch information
Baruch Siach
authored and
Mark Brown
committed
Apr 24, 2014
1 parent
ec37e8e
commit 20e5ea1
Showing
1 changed file
with
24 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Synopsys DesignWare SPI master | ||
|
||
Required properties: | ||
- compatible: should be "snps,designware-spi" | ||
- #address-cells: see spi-bus.txt | ||
- #size-cells: see spi-bus.txt | ||
- reg: address and length of the spi master registers | ||
- interrupts: should contain one interrupt | ||
- clocks: spi clock phandle | ||
- num-cs: see spi-bus.txt | ||
|
||
Optional properties: | ||
- cs-gpios: see spi-bus.txt | ||
|
||
Example: | ||
|
||
spi: spi@4020a000 { | ||
compatible = "snps,designware-spi"; | ||
interrupts = <11 1>; | ||
reg = <0x4020a000 0x1000>; | ||
clocks = <&pclk>; | ||
num-cs = <2>; | ||
cs-gpios = <&banka 0 0>; | ||
}; |