]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - Documentation/devicetree/bindings/net/wireless/marvell-8xxx.txt
Merge branches 'for-4.11/upstream-fixes', 'for-4.12/accutouch', 'for-4.12/cp2112...
[mirror_ubuntu-artful-kernel.git] / Documentation / devicetree / bindings / net / wireless / marvell-8xxx.txt
CommitLineData
e3fffc1f 1Marvell 8787/8897/8997 (sd8787/sd8897/sd8997/pcie8997) SDIO/PCIE devices
84039920
XH
2------
3
6b4480d1
XH
4This node provides properties for controlling the Marvell SDIO/PCIE wireless device.
5The node is expected to be specified as a child node to the SDIO/PCIE controller that
84039920
XH
6connects the device to the system.
7
8Required properties:
9
10 - compatible : should be one of the following:
e3fffc1f 11 * "marvell,sd8787"
84039920
XH
12 * "marvell,sd8897"
13 * "marvell,sd8997"
6b4480d1
XH
14 * "pci11ab,2b42"
15 * "pci1b4b,2b42"
84039920
XH
16
17Optional properties:
18
19 - marvell,caldata* : A series of properties with marvell,caldata prefix,
20 represent calibration data downloaded to the device during
21 initialization. This is an array of unsigned 8-bit values.
22 the properties should follow below property name and
23 corresponding array length:
24 "marvell,caldata-txpwrlimit-2g" (length = 566).
25 "marvell,caldata-txpwrlimit-5g-sub0" (length = 502).
26 "marvell,caldata-txpwrlimit-5g-sub1" (length = 688).
27 "marvell,caldata-txpwrlimit-5g-sub2" (length = 750).
28 "marvell,caldata-txpwrlimit-5g-sub3" (length = 502).
29 - marvell,wakeup-pin : a wakeup pin number of wifi chip which will be configured
30 to firmware. Firmware will wakeup the host using this pin
31 during suspend/resume.
32 - interrupt-parent: phandle of the parent interrupt controller
33 - interrupts : interrupt pin number to the cpu. driver will request an irq based on
34 this interrupt number. during system suspend, the irq will be enabled
35 so that the wifi chip can wakeup host platform under certain condition.
36 during system resume, the irq will be disabled to make sure
37 unnecessary interrupt is not received.
e3fffc1f
MR
38 - vmmc-supply: a phandle of a regulator, supplying VCC to the card
39 - mmc-pwrseq: phandle to the MMC power sequence node. See "mmc-pwrseq-*"
40 for documentation of MMC power sequence bindings.
84039920
XH
41
42Example:
43
44Tx power limit calibration data is configured in below example.
45The calibration data is an array of unsigned values, the length
46can vary between hw versions.
47IRQ pin 38 is used as system wakeup source interrupt. wakeup pin 3 is configured
48so that firmware can wakeup host using this device side pin.
49
50&mmc3 {
51 status = "okay";
52 vmmc-supply = <&wlan_en_reg>;
e3fffc1f 53 mmc-pwrseq = <&wifi_pwrseq>;
84039920
XH
54 bus-width = <4>;
55 cap-power-off-card;
56 keep-power-in-suspend;
57
58 #address-cells = <1>;
59 #size-cells = <0>;
60 mwifiex: wifi@1 {
61 compatible = "marvell,sd8897";
62 reg = <1>;
63 interrupt-parent = <&pio>;
64 interrupts = <38 IRQ_TYPE_LEVEL_LOW>;
65
66 marvell,caldata_00_txpwrlimit_2g_cfg_set = /bits/ 8 <
67 0x01 0x00 0x06 0x00 0x08 0x02 0x89 0x01>;
68 marvell,wakeup-pin = <3>;
69 };
70};