Merge tag 'armsoc-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/arm...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / net / wireless / ti,wl1251.txt
1 * Texas Instruments wl1251 wireless lan controller
2
3 The wl1251 chip can be connected via SPI or via SDIO. This
4 document describes the binding for the SPI connected chip.
5
6 Required properties:
7 - compatible :        Should be "ti,wl1251"
8 - reg :               Chip select address of device
9 - spi-max-frequency : Maximum SPI clocking speed of device in Hz
10 - interrupts :        Should contain interrupt line
11 - vio-supply :        phandle to regulator providing VIO
12 - ti,power-gpio :     GPIO connected to chip's PMEN pin
13
14 Optional properties:
15 - ti,wl1251-has-eeprom : boolean, the wl1251 has an eeprom connected, which
16                          provides configuration data (calibration, MAC, ...)
17 - Please consult Documentation/devicetree/bindings/spi/spi-bus.txt
18   for optional SPI connection related properties,
19
20 Examples:
21
22 &spi1 {
23         wl1251@0 {
24                 compatible = "ti,wl1251";
25
26                 reg = <0>;
27                 spi-max-frequency = <48000000>;
28                 spi-cpol;
29                 spi-cpha;
30
31                 interrupt-parent = <&gpio2>;
32                 interrupts = <10 IRQ_TYPE_NONE>; /* gpio line 42 */
33
34                 vio-supply = <&vio>;
35                 ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */
36         };
37 };