Skip to content

Commit 956284a

Browse files
Dilip Kotabroonie
authored andcommitted
spi: Add bindings for Lightning Mountain SoC
Add support to SPI controller on Intel Atom based Lightning Mountain SoC which reuses the Lantiq SPI controller IP. Signed-off-by: Dilip Kota <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/7d644e5d03ef534f719763e5c823c1673e53d1a5.1594957019.git.eswara.kota@linux.intel.com Signed-off-by: Mark Brown <[email protected]>
1 parent 040f7f9 commit 956284a

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

Documentation/devicetree/bindings/spi/spi-lantiq-ssc.txt

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
Lantiq Synchronous Serial Controller (SSC) SPI master driver
22

33
Required properties:
4-
- compatible: "lantiq,ase-spi", "lantiq,falcon-spi", "lantiq,xrx100-spi"
4+
- compatible: "lantiq,ase-spi", "lantiq,falcon-spi", "lantiq,xrx100-spi",
5+
"intel,lgm-spi"
56
- #address-cells: see spi-bus.txt
67
- #size-cells: see spi-bus.txt
78
- reg: address and length of the spi master registers
8-
- interrupts: should contain the "spi_rx", "spi_tx" and "spi_err" interrupt.
9+
- interrupts:
10+
For compatible "intel,lgm-ssc" - the common interrupt number for
11+
all of tx rx & err interrupts.
12+
or
13+
For rest of the compatibles, should contain the "spi_rx", "spi_tx" and
14+
"spi_err" interrupt.
915

1016

1117
Optional properties:
@@ -27,3 +33,14 @@ spi: spi@e100800 {
2733
num-cs = <6>;
2834
base-cs = <1>;
2935
};
36+
37+
ssc0: spi@e0800000 {
38+
compatible = "intel,lgm-spi";
39+
reg = <0xe0800000 0x400>;
40+
interrupt-parent = <&ioapic1>;
41+
interrupts = <35 1>;
42+
#address-cells = <1>;
43+
#size-cells = <0>;
44+
clocks = <&cgu0 LGM_CLK_NGI>, <&cgu0 LGM_GCLK_SSC0>;
45+
clock-names = "freq", "gate";
46+
};

0 commit comments

Comments
 (0)