aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/wireless
diff options
context:
space:
mode:
authorUri Mashiach <uri.mashiach@compulab.co.il>2015-12-30 08:35:32 -0500
committerKalle Valo <kvalo@codeaurora.org>2016-01-29 04:10:10 -0500
commit04654c386145239c8bcb35878b0b0537ce916766 (patch)
tree5b47238b7db91e4df8e406356ffddc41f1f723ab /Documentation/devicetree/bindings/net/wireless
parent4c1ce07bcf62536ed42a4ba43e5fb580be61ac48 (diff)
wlcore/wl12xx: spi: add device tree support
Add DT support for the wl1271 SPI WiFi. Add documentation file for the wl1271 SPI WiFi. Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il> Acked-by: Rob Herring <robh@kernel.org> Tested-By: Sebastian Reichel <sre@kernel.org> Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'Documentation/devicetree/bindings/net/wireless')
-rw-r--r--Documentation/devicetree/bindings/net/wireless/ti,wlcore,spi.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/wireless/ti,wlcore,spi.txt b/Documentation/devicetree/bindings/net/wireless/ti,wlcore,spi.txt
new file mode 100644
index 000000000000..9180724e182c
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/wireless/ti,wlcore,spi.txt
@@ -0,0 +1,36 @@
1* Texas Instruments wl1271 wireless lan controller
2
3The wl1271 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,wl1271"
8- reg : Chip select address of device
9- spi-max-frequency : Maximum SPI clocking speed of device in Hz
10- ref-clock-frequency : Reference clock frequency
11- interrupt-parent, interrupts :
12 Should contain parameters for 1 interrupt line.
13 Interrupt parameters: parent, line number, type.
14- vwlan-supply : Point the node of the regulator that powers/enable the wl1271 chip
15
16Optional properties:
17- clock-xtal : boolean, clock is generated from XTAL
18
19- Please consult Documentation/devicetree/bindings/spi/spi-bus.txt
20 for optional SPI connection related properties,
21
22Examples:
23
24&spi1 {
25 wl1271@1 {
26 compatible = "ti,wl1271";
27
28 reg = <1>;
29 spi-max-frequency = <48000000>;
30 clock-xtal;
31 ref-clock-frequency = <38400000>;
32 interrupt-parent = <&gpio3>;
33 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
34 vwlan-supply = <&vwlan_fixed>;
35 };
36};