-
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.
Merge remote-tracking branches 'spi/topic/bfin-sport', 'spi/topic/bfi…
…n5xx', 'spi/topic/clps711x', 'spi/topic/doc' and 'spi/topic/dt' into spi-next
- Loading branch information
Showing
7 changed files
with
87 additions
and
84 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
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,33 @@ | ||
Serial Peripheral Interface on Cirrus Logic CL-PS71xx, EP72xx, EP73xx | ||
|
||
Required properties | ||
- #address-cells: must be <1> | ||
- #size-cells: must be <0> | ||
- compatible: should include "cirrus,ep7209-spi" | ||
- reg: Address and length of one register range | ||
- interrupts: one interrupt line | ||
- clocks: One entry, refers to the SPI bus clock | ||
- cs-gpios: Specifies the gpio pins to be used for chipselects. | ||
See: Documentation/devicetree/bindings/spi/spi-bus.txt | ||
|
||
An additional register is present in the system controller, | ||
which is assumed to be in the same device tree, with and marked | ||
as compatible with "cirrus,ep7209-syscon3". | ||
|
||
Example: | ||
|
||
spi@80000500 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
compatible = "cirrus,ep7209-spi"; | ||
reg = <0x80000500 0x4>; | ||
interrupts = <15>; | ||
clocks = <&clks CLPS711X_CLK_SPI>; | ||
status = "disabled"; | ||
}; | ||
|
||
syscon3: syscon@80002200 { | ||
compatible = "cirrus,ep7209-syscon3", "syscon"; | ||
reg = <0x80002200 0x40>; | ||
}; | ||
|
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