1*c66ec88fSEmmanuel VadotLantiq Synchronous Serial Controller (SSC) SPI master driver
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: "lantiq,ase-spi", "lantiq,falcon-spi", "lantiq,xrx100-spi",
5*c66ec88fSEmmanuel Vadot  "intel,lgm-spi"
6*c66ec88fSEmmanuel Vadot- #address-cells: see spi-bus.txt
7*c66ec88fSEmmanuel Vadot- #size-cells: see spi-bus.txt
8*c66ec88fSEmmanuel Vadot- reg: address and length of the spi master registers
9*c66ec88fSEmmanuel Vadot- interrupts:
10*c66ec88fSEmmanuel Vadot  For compatible "intel,lgm-ssc" - the common interrupt number for
11*c66ec88fSEmmanuel Vadot  all of tx rx & err interrupts.
12*c66ec88fSEmmanuel Vadot       or
13*c66ec88fSEmmanuel Vadot  For rest of the compatibles, should contain the "spi_rx", "spi_tx" and
14*c66ec88fSEmmanuel Vadot  "spi_err" interrupt.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotOptional properties:
18*c66ec88fSEmmanuel Vadot- clocks: spi clock phandle
19*c66ec88fSEmmanuel Vadot- num-cs: see spi-bus.txt, set to 8 if unset
20*c66ec88fSEmmanuel Vadot- base-cs: the number of the first chip select, set to 1 if unset.
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel VadotExample:
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel Vadotspi: spi@e100800 {
26*c66ec88fSEmmanuel Vadot	compatible = "lantiq,xrx200-spi", "lantiq,xrx100-spi";
27*c66ec88fSEmmanuel Vadot	reg = <0xE100800 0x100>;
28*c66ec88fSEmmanuel Vadot	interrupt-parent = <&icu0>;
29*c66ec88fSEmmanuel Vadot	interrupts = <22 23 24>;
30*c66ec88fSEmmanuel Vadot	interrupt-names = "spi_rx", "spi_tx", "spi_err";
31*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
32*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
33*c66ec88fSEmmanuel Vadot	num-cs = <6>;
34*c66ec88fSEmmanuel Vadot	base-cs = <1>;
35*c66ec88fSEmmanuel Vadot};
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadotssc0: spi@e0800000 {
38*c66ec88fSEmmanuel Vadot	compatible = "intel,lgm-spi";
39*c66ec88fSEmmanuel Vadot	reg = <0xe0800000 0x400>;
40*c66ec88fSEmmanuel Vadot	interrupt-parent = <&ioapic1>;
41*c66ec88fSEmmanuel Vadot	interrupts = <35 1>;
42*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
43*c66ec88fSEmmanuel Vadot	#size-cells = <0>;
44*c66ec88fSEmmanuel Vadot	clocks = <&cgu0 LGM_CLK_NGI>, <&cgu0 LGM_GCLK_SSC0>;
45*c66ec88fSEmmanuel Vadot	clock-names = "freq", "gate";
46*c66ec88fSEmmanuel Vadot};
47