WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / net / wireless / ti,wlcore,spi.txt
blobcb5c9e1569ca530098e9422481b4edb8a7bb19a9
1 * Texas Instruments wl12xx/wl18xx wireless lan controller
3 The wl12xx/wl18xx chips can be connected via SPI or via SDIO. This
4 document describes the binding for the SPI connected chip.
6 Required properties:
7 - compatible :          Should be one of the following:
8     * "ti,wl1271"
9     * "ti,wl1273"
10     * "ti,wl1281"
11     * "ti,wl1283"
12     * "ti,wl1801"
13     * "ti,wl1805"
14     * "ti,wl1807"
15     * "ti,wl1831"
16     * "ti,wl1835"
17     * "ti,wl1837"
18 - reg :                 Chip select address of device
19 - spi-max-frequency :   Maximum SPI clocking speed of device in Hz
20 - interrupts :          Should contain parameters for 1 interrupt line.
21 - vwlan-supply :        Point the node of the regulator that powers/enable the
22                         wl12xx/wl18xx chip
24 Optional properties:
25 - ref-clock-frequency : Reference clock frequency (should be set for wl12xx)
26 - clock-xtal :          boolean, clock is generated from XTAL
28 - Please consult Documentation/devicetree/bindings/spi/spi-bus.txt
29   for optional SPI connection related properties,
31 Examples:
33 For wl12xx family:
34 &spi1 {
35         wlcore: wlcore@1 {
36                 compatible = "ti,wl1271";
37                 reg = <1>;
38                 spi-max-frequency = <48000000>;
39                 interrupt-parent = <&gpio3>;
40                 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
41                 vwlan-supply = <&vwlan_fixed>;
42                 clock-xtal;
43                 ref-clock-frequency = <38400000>;
44         };
47 For wl18xx family:
48 &spi0 {
49         wlcore: wlcore@0 {
50                 compatible = "ti,wl1835";
51                 reg = <0>;
52                 spi-max-frequency = <48000000>;
53                 interrupt-parent = <&gpio0>;
54                 interrupts = <27 IRQ_TYPE_EDGE_RISING>;
55                 vwlan-supply = <&vwlan_fixed>;
56         };