xref: /freebsd/sys/contrib/device-tree/Bindings/spi/spi-clps711x.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1Serial Peripheral Interface on Cirrus Logic CL-PS71xx, EP72xx, EP73xx
2
3Required 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
13An additional register is present in the system controller,
14which is assumed to be in the same device tree, with and marked
15as compatible with "cirrus,ep7209-syscon3".
16
17Example:
18
19spi@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
28syscon3: syscon@80002200 {
29	compatible = "cirrus,ep7209-syscon3", "syscon";
30	reg = <0x80002200 0x40>;
31};
32
33