···11+* Energy Micro EFM32 SPI22+33+Required properties:44+- #address-cells: see spi-bus.txt55+- #size-cells: see spi-bus.txt66+- compatible: should be "efm32,spi"77+- reg: Offset and length of the register set for the controller88+- interrupts: pair specifying rx and tx irq99+- clocks: phandle to the spi clock1010+- cs-gpios: see spi-bus.txt1111+- location: Value to write to the ROUTE register's LOCATION bitfield to configure the pinmux for the device, see datasheet for values.1212+1313+Example:1414+1515+spi1: spi@0x4000c400 { /* USART1 */1616+ #address-cells = <1>;1717+ #size-cells = <0>;1818+ compatible = "efm32,spi";1919+ reg = <0x4000c400 0x400>;2020+ interrupts = <15 16>;2121+ clocks = <&cmu 20>;2222+ cs-gpios = <&gpio 51 1>; // D32323+ location = <1>;2424+ status = "ok";2525+2626+ ks8851@0 {2727+ compatible = "ks8851";2828+ spi-max-frequency = <6000000>;2929+ reg = <0>;3030+ interrupt-parent = <&boardfpga>;3131+ interrupts = <4>;3232+ status = "ok";3333+ };3434+};
+7
drivers/spi/Kconfig
···157157 help158158 SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.159159160160+config SPI_EFM32161161+ tristate "EFM32 SPI controller"162162+ depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)163163+ select SPI_BITBANG164164+ help165165+ Driver for the spi controller found on Energy Micro's EFM32 SoCs.166166+160167config SPI_EP93XX161168 tristate "Cirrus Logic EP93xx SPI controller"162169 depends on ARCH_EP93XX