• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1* Microchip WILC wireless SPI device
2
3The wilc1000 chips can be connected via SPI. This document describes
4the binding for the SPI connected module.
5
6Required properties:
7- compatible		: Should be "microchip,wilc1000-spi"
8- spi-max-frequency	: Maximum SPI clocking speed of device in Hz
9- reg			: Chip select address of device
10- irq-gpios		: Connect to a host IRQ
11
12Optional:
13- rtc_clk	:	Clock connected on the rtc clock line. Must be assigned
14			a frequency with assigned-clocks property, and must be
15			connected to a clock provider.
16
17Examples:
18
19spi1: spi@fc018000 {
20		cs-gpios = <&pioB 21 0>;
21		status = "okay";
22
23		wilc_spi@0 {
24			compatible = "microchip,wilc1000-spi";
25			spi-max-frequency = <48000000>;
26			reg = <0>;
27			irq-gpios = <&pioC 27 0>;
28			clocks = <&pck1>;
29			clock-names = "rtc_clk";
30			assigned-clocks = <&pck1>;
31			assigned-clock-rates = <32768>;
32			status = "okay";
33		};
34};
35