mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
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 <eswara.kota@linux.intel.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/7d644e5d03ef534f719763e5c823c1673e53d1a5.1594957019.git.eswara.kota@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
040f7f9729
commit
956284a304
1 changed files with 19 additions and 2 deletions
|
@ -1,11 +1,17 @@
|
|||
Lantiq Synchronous Serial Controller (SSC) SPI master driver
|
||||
|
||||
Required properties:
|
||||
- compatible: "lantiq,ase-spi", "lantiq,falcon-spi", "lantiq,xrx100-spi"
|
||||
- compatible: "lantiq,ase-spi", "lantiq,falcon-spi", "lantiq,xrx100-spi",
|
||||
"intel,lgm-spi"
|
||||
- #address-cells: see spi-bus.txt
|
||||
- #size-cells: see spi-bus.txt
|
||||
- reg: address and length of the spi master registers
|
||||
- interrupts: should contain the "spi_rx", "spi_tx" and "spi_err" interrupt.
|
||||
- interrupts:
|
||||
For compatible "intel,lgm-ssc" - the common interrupt number for
|
||||
all of tx rx & err interrupts.
|
||||
or
|
||||
For rest of the compatibles, should contain the "spi_rx", "spi_tx" and
|
||||
"spi_err" interrupt.
|
||||
|
||||
|
||||
Optional properties:
|
||||
|
@ -27,3 +33,14 @@ spi: spi@e100800 {
|
|||
num-cs = <6>;
|
||||
base-cs = <1>;
|
||||
};
|
||||
|
||||
ssc0: spi@e0800000 {
|
||||
compatible = "intel,lgm-spi";
|
||||
reg = <0xe0800000 0x400>;
|
||||
interrupt-parent = <&ioapic1>;
|
||||
interrupts = <35 1>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&cgu0 LGM_CLK_NGI>, <&cgu0 LGM_GCLK_SSC0>;
|
||||
clock-names = "freq", "gate";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue