]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - Documentation/devicetree/bindings/spi/efm32-spi.txt
spi: s3c64xx: Let spi core handle validating transfer length
[mirror_ubuntu-jammy-kernel.git] / Documentation / devicetree / bindings / spi / efm32-spi.txt
1 * Energy Micro EFM32 SPI
2
3 Required properties:
4 - #address-cells: see spi-bus.txt
5 - #size-cells: see spi-bus.txt
6 - compatible: should be "efm32,spi"
7 - reg: Offset and length of the register set for the controller
8 - interrupts: pair specifying rx and tx irq
9 - clocks: phandle to the spi clock
10 - cs-gpios: see spi-bus.txt
11 - location: Value to write to the ROUTE register's LOCATION bitfield to configure the pinmux for the device, see datasheet for values.
12
13 Example:
14
15 spi1: spi@0x4000c400 { /* USART1 */
16 #address-cells = <1>;
17 #size-cells = <0>;
18 compatible = "efm32,spi";
19 reg = <0x4000c400 0x400>;
20 interrupts = <15 16>;
21 clocks = <&cmu 20>;
22 cs-gpios = <&gpio 51 1>; // D3
23 location = <1>;
24 status = "ok";
25
26 ks8851@0 {
27 compatible = "ks8851";
28 spi-max-frequency = <6000000>;
29 reg = <0>;
30 interrupt-parent = <&boardfpga>;
31 interrupts = <4>;
32 status = "ok";
33 };
34 };