| 1 |
Serial Peripheral Interface on Cirrus Logic CL-PS71xx, EP72xx, EP73xx |
| 2 |
|
| 3 |
Required properties |
| 4 |
- #address-cells: must be <1> |
| 5 |
- #size-cells: must be <0> |
| 6 |
- compatible: should include "cirrus,ep7209-spi" |
| 7 |
- reg: Address and length of one register range |
| 8 |
- interrupts: one interrupt line |
| 9 |
- clocks: One entry, refers to the SPI bus clock |
| 10 |
- cs-gpios: Specifies the gpio pins to be used for chipselects. |
| 11 |
See: Documentation/devicetree/bindings/spi/spi-bus.txt |
| 12 |
|
| 13 |
An additional register is present in the system controller, |
| 14 |
which is assumed to be in the same device tree, with and marked |
| 15 |
as compatible with "cirrus,ep7209-syscon3". |
| 16 |
|
| 17 |
Example: |
| 18 |
|
| 19 |
spi@80000500 { |
| 20 |
#address-cells = <1>; |
| 21 |
#size-cells = <0>; |
| 22 |
compatible = "cirrus,ep7209-spi"; |
| 23 |
reg = <0x80000500 0x4>; |
| 24 |
interrupts = <15>; |
| 25 |
clocks = <&clks CLPS711X_CLK_SPI>; |
| 26 |
}; |
| 27 |
|
| 28 |
syscon3: syscon@80002200 { |
| 29 |
compatible = "cirrus,ep7209-syscon3", "syscon"; |
| 30 |
reg = <0x80002200 0x40>; |
| 31 |
}; |
| 32 |
|