summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/wireless/nxp,wifi-wake-host.yaml
blob: 9565b0e8e7d32c13dcdb32032673d40b1e5eed19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/wireless/nxp,wifi-wake-host.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NXP 89xx wireless devices

maintainers:
  - Sherry Sun <sherry.sun@nxp.com>

description:
  This node provides properties for controlling the NXP 89XX wireless device.
  The node is expected to be specified as a child node to the PCIE/SDIO
  controller that connects the device to the system.

properties:
  compatible:
    const: nxp,wifi-wake-host

  interrupts:
    maxItems: 1
    description: |
      Specifies attributes for the out-of-band interrupt (host-wake).

  interrupt-names:
    const: host-wake
    description: |
      Name of the out-of-band interrupt, which must be set to "host-wake".

required:
  - compatible
  - interrupts
  - interrupt-names

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/imx8mq-clock.h>

    pcie1 {
      pinctrl-names = "default";
      pinctrl-0 = <&pinctrl_pcie1>;
      disable-gpio = <&gpio5 10 1>;
      reset-gpio = <&gpio5 12 1>;
      clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>,
               <&clk IMX8MQ_CLK_PCIE2_AUX>,
               <&clk IMX8MQ_CLK_PCIE2_PHY>,
               <&pcie1_refclk>;
      clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus";
      assigned-clocks = <&clk IMX8MQ_CLK_PCIE2_AUX>,
                        <&clk IMX8MQ_CLK_PCIE1_PHY>,
                        <&clk IMX8MQ_CLK_PCIE1_CTRL>;
      assigned-clock-rates = <10000000>, <100000000>, <250000000>;
      assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_50M>,
                               <&clk IMX8MQ_SYS2_PLL_100M>,
                               <&clk IMX8MQ_SYS2_PLL_250M>;
      vph-supply = <&vgen5_reg>;
      status = "okay";

      wifi_wake_host {
        compatible = "nxp,wifi-wake-host";
        interrupt-parent = <&gpio5>;
        interrupts = <11 8>;
        interrupt-names = "host-wake";
      };
    };