Commit | Line | Data |
---|---|---|
367b9559 AS |
1 | * Microchip WILC wireless SPI device |
2 | ||
3 | The wilc1000 chips can be connected via SPI. This document describes | |
4 | the binding for the SPI connected module. | |
5 | ||
6 | Required 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 | ||
ae8779e1 EH |
12 | Optional: |
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. | |
367b9559 AS |
16 | |
17 | Examples: | |
18 | ||
19 | spi1: 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>; | |
ae8779e1 EH |
28 | clocks = <&pck1>; |
29 | clock-names = "rtc_clk"; | |
30 | assigned-clocks = <&pck1>; | |
31 | assigned-clock-rates = <32768>; | |
367b9559 AS |
32 | status = "okay"; |
33 | }; | |
34 | }; |