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