aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2014-02-14 18:05:56 -0500
committerJohn W. Linville <linville@tuxdriver.com>2014-02-28 14:08:27 -0500
commitedb6e3ec374d5630dfc7a93ddd5c0f4864e98a9d (patch)
tree69c79e6d05fc9998f08a56b830df2891267c6049 /Documentation/devicetree/bindings/net
parent07bbca6f142d02b4b09d66ed3c2cde36c77057ad (diff)
Documentation: dt: wireless: Add wl1251
Add device tree binding documentation for Texas Instrument's wl1251 wireless lan chip. For now only the SPI binding is documented. Signed-off-by: Sebastian Reichel <sre@debian.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r--Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt b/Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt
new file mode 100644
index 000000000000..189ae5cad8f7
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/wireless/ti,wl1251.txt
@@ -0,0 +1,39 @@
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- interrupt-parent : Should be the phandle for the interrupt controller
12 that services interrupts for this device
13- vio-supply : phandle to regulator providing VIO
14- ti,power-gpio : GPIO connected to chip's PMEN pin
15
16Optional properties:
17- ti,wl1251-has-eeprom : boolean, the wl1251 has an eeprom connected, which
18 provides configuration data (calibration, MAC, ...)
19- Please consult Documentation/devicetree/bindings/spi/spi-bus.txt
20 for optional SPI connection related properties,
21
22Examples:
23
24&spi1 {
25 wl1251@0 {
26 compatible = "ti,wl1251";
27
28 reg = <0>;
29 spi-max-frequency = <48000000>;
30 spi-cpol;
31 spi-cpha;
32
33 interrupt-parent = <&gpio2>;
34 interrupts = <10 IRQ_TYPE_NONE>; /* gpio line 42 */
35
36 vio-supply = <&vio>;
37 ti,power-gpio = <&gpio3 23 GPIO_ACTIVE_HIGH>; /* 87 */
38 };
39};