-
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
Daniel Mack
authored and
Mark Brown
committed
Sep 5, 2012
1 parent
e6bd3f8
commit 8fe236d
Showing
3 changed files
with
126 additions
and
4 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: 161c2dd3ca143f0dca50d72292bf651eabe2aa23 | ||
refs/heads/master: 38ab18caa0ad9c844ba60f9618c5de6d6954da3e |
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,29 @@ | ||
SPI-GPIO devicetree bindings | ||
|
||
Required properties: | ||
|
||
- compatible: should be set to "spi-gpio" | ||
- #address-cells: should be set to <0x1> | ||
- ranges | ||
- gpio-sck: GPIO spec for the SCK line to use | ||
- gpio-miso: GPIO spec for the MISO line to use | ||
- gpio-mosi: GPIO spec for the MOSI line to use | ||
- cs-gpios: GPIOs to use for chipselect lines | ||
- num-chipselects: number of chipselect lines | ||
|
||
Example: | ||
|
||
spi { | ||
compatible = "spi-gpio"; | ||
#address-cells = <0x1>; | ||
ranges; | ||
|
||
gpio-sck = <&gpio 95 0>; | ||
gpio-miso = <&gpio 98 0>; | ||
gpio-mosi = <&gpio 97 0>; | ||
cs-gpios = <&gpio 125 0>; | ||
num-chipselects = <1>; | ||
|
||
/* clients */ | ||
}; | ||
|
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