Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1* Texas Instruments wl1251 wireless lan controller
2
3The wl1251 chip can be connected via SPI or via SDIO. This
4document describes the binding for the SPI connected chip.
5
6Required 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
14Optional 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
20Examples:
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};