Skip to content

Commit 01a330d

Browse files
superna9999broonie
authored andcommitted
spi: meson: Add SPICC bindings
Add the SPICC (SPI Communications Controller) bindings variant. Signed-off-by: Neil Armstrong <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 2ea659a commit 01a330d

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Documentation/devicetree/bindings/spi/spi-meson.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,34 @@ Required properties:
2020
#address-cells = <1>;
2121
#size-cells = <0>;
2222
};
23+
24+
* SPICC (SPI Communication Controller)
25+
26+
The Meson SPICC is generic SPI controller for general purpose Full-Duplex
27+
communications with dedicated 16 words RX/TX PIO FIFOs.
28+
29+
Required properties:
30+
- compatible: should be "amlogic,meson-gx-spicc" on Amlogic GX SoCs.
31+
- reg: physical base address and length of the controller registers
32+
- interrupts: The interrupt specifier
33+
- clock-names: Must contain "core"
34+
- clocks: phandle of the input clock for the baud rate generator
35+
- #address-cells: should be 1
36+
- #size-cells: should be 0
37+
38+
Optional properties:
39+
- resets: phandle of the internal reset line
40+
41+
See ../spi/spi-bus.txt for more details on SPI bus master and slave devices
42+
required and optional properties.
43+
44+
Example :
45+
spi@c1108d80 {
46+
compatible = "amlogic,meson-gx-spicc";
47+
reg = <0xc1108d80 0x80>;
48+
interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
49+
clock-names = "core";
50+
clocks = <&clk81>;
51+
#address-cells = <1>;
52+
#size-cells = <0>;
53+
};

0 commit comments

Comments
 (0)