xref: /linux/Documentation/devicetree/bindings/net/wireless/marvell,sd8787.yaml (revision c7546e2c3cb739a3c1a2f5acaf9bb629d401afe5)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/wireless/marvell,sd8787.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Marvell 8787/8897/8978/8997 (sd8787/sd8897/sd8978/sd8997/pcie8997) SDIO/PCIE devices
8
9maintainers:
10  - Brian Norris <briannorris@chromium.org>
11  - Frank Li <Frank.Li@nxp.com>
12
13description:
14  This node provides properties for describing the Marvell SDIO/PCIE wireless device.
15  The node is expected to be specified as a child node to the SDIO/PCIE controller that
16  connects the device to the system.
17
18properties:
19  compatible:
20    enum:
21      - marvell,sd8787
22      - marvell,sd8897
23      - marvell,sd8978
24      - marvell,sd8997
25      - nxp,iw416
26      - pci11ab,2b42
27      - pci1b4b,2b42
28
29  reg:
30    maxItems: 1
31
32  interrupts:
33    maxItems: 1
34
35  wakeup-source: true
36
37  marvell,caldata-txpwrlimit-2g:
38    $ref: /schemas/types.yaml#/definitions/uint8-array
39    description: Calibration data for the 2GHz band.
40    maxItems: 566
41
42  marvell,caldata-txpwrlimit-5g-sub0:
43    $ref: /schemas/types.yaml#/definitions/uint8-array
44    description: Calibration data for sub-band 0 in the 5GHz band.
45    maxItems: 502
46
47  marvell,caldata-txpwrlimit-5g-sub1:
48    $ref: /schemas/types.yaml#/definitions/uint8-array
49    description: Calibration data for sub-band 1 in the 5GHz band.
50    maxItems: 688
51
52  marvell,caldata-txpwrlimit-5g-sub2:
53    $ref: /schemas/types.yaml#/definitions/uint8-array
54    description: Calibration data for sub-band 2 in the 5GHz band.
55    maxItems: 750
56
57  marvell,caldata-txpwrlimit-5g-sub3:
58    $ref: /schemas/types.yaml#/definitions/uint8-array
59    description: Calibration data for sub-band 3 in the 5GHz band.
60    maxItems: 502
61
62  marvell,wakeup-pin:
63    $ref: /schemas/types.yaml#/definitions/uint32
64    description:
65      Provides the pin number for the wakeup pin from the device's point of
66      view. The wakeup pin is used for the device to wake the host system
67      from sleep. This property is only necessary if the wakeup pin is
68      wired in a non-standard way, such that the default pin assignments
69      are invalid.
70
71required:
72  - compatible
73  - reg
74
75additionalProperties: false
76
77examples:
78  - |
79    #include <dt-bindings/interrupt-controller/irq.h>
80
81    mmc {
82         #address-cells = <1>;
83         #size-cells = <0>;
84
85         wifi@1 {
86             compatible = "marvell,sd8897";
87             reg = <1>;
88             interrupt-parent = <&pio>;
89             interrupts = <38 IRQ_TYPE_LEVEL_LOW>;
90             marvell,wakeup-pin = <3>;
91        };
92    };
93
94