summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/net/wireless/ti,wl1251.txt
blob: bb2fcde6f7ffb62fc2cf37617b332501d4c0625e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
* Texas Instruments wl1251 wireless lan controller

The wl1251 chip can be connected via SPI or via SDIO. This
document describes the binding for the SPI connected chip.

Required properties:
- compatible :        Should be "ti,wl1251"
- reg :               Chip select address of device
- spi-max-frequency : Maximum SPI clocking speed of device in Hz
- interrupts :        Should contain interrupt line
- vio-supply :        phandle to regulator providing VIO
- ti,power-gpio :     GPIO connected to chip's PMEN pin

Optional properties:
- ti,wl1251-has-eeprom : boolean, the wl1251 has an eeprom connected, which
                         provides configuration data (calibration, MAC, ...)
- Please consult Documentation/devicetree/bindings/spi/spi-bus.txt
  for optional SPI connection related properties,

Examples:

&spi1 {
	wl1251@0 {
		compatible = "ti,wl1251";

		reg = <0>;
		spi-max-frequency = <48000000>;
		spi-cpol;
		spi-cpha;

		interrupt-parent = <&gpio2>;
		interrupts = <10 IRQ_TYPE_NONE>; /* gpio line 42 */

		vio-supply = <&vio>;
		ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */
	};
};