Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt: bindings: add TI's wilink wireless device

Add device tree binding documentation for TI's wilink
(wl12xx and wl18xx) wlan chip.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Eliad Peller and committed by
Tony Lindgren
d96c8b77 44486b48

+47
+47
Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt
··· 1 + TI Wilink 6/7/8 (wl12xx/wl18xx) SDIO devices 2 + 3 + This node provides properties for controlling the wilink wireless device. The 4 + node is expected to be specified as a child node to the SDIO controller that 5 + connects the device to the system. 6 + 7 + Required properties: 8 + - compatible: should be one of the following: 9 + * "ti,wl1271" 10 + * "ti,wl1273" 11 + * "ti,wl1281" 12 + * "ti,wl1283" 13 + * "ti,wl1801" 14 + * "ti,wl1805" 15 + * "ti,wl1807" 16 + * "ti,wl1831" 17 + * "ti,wl1835" 18 + * "ti,wl1837" 19 + - interrupts : specifies attributes for the out-of-band interrupt. 20 + 21 + Optional properties: 22 + - interrupt-parent : the phandle for the interrupt controller to which the 23 + device interrupts are connected. 24 + - ref-clock-frequency : ref clock frequency in Hz 25 + - tcxo-clock-frequency : tcxo clock frequency in Hz 26 + 27 + Note: the *-clock-frequency properties assume internal clocks. In case of external 28 + clock, new bindings (for parsing the clock nodes) have to be added. 29 + 30 + Example: 31 + 32 + &mmc3 { 33 + status = "okay"; 34 + vmmc-supply = <&wlan_en_reg>; 35 + bus-width = <4>; 36 + cap-power-off-card; 37 + keep-power-in-suspend; 38 + 39 + #address-cells = <1>; 40 + #size-cells = <0>; 41 + wlcore: wlcore@2 { 42 + compatible = "ti,wl1835"; 43 + reg = <2>; 44 + interrupt-parent = <&gpio0>; 45 + interrupts = <19 IRQ_TYPE_LEVEL_HIGH>; 46 + }; 47 + };