summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7921s-bluetooth.yaml
blob: 67ff7caad599fdf348c36dbcf15aa528450a309c (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
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/bluetooth/mediatek,mt7921s-bluetooth.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MediaTek MT7921S Bluetooth

maintainers:
  - Sean Wang <sean.wang@mediatek.com>

description:
  MT7921S is an SDIO-attached dual-radio WiFi+Bluetooth Combo chip; each
  function is its own SDIO function on a shared SDIO interface. The chip
  has two dedicated reset lines, one for each function core.
  This binding only covers the Bluetooth SDIO function, with one device
  node describing only this SDIO function.

allOf:
  - $ref: bluetooth-controller.yaml#

properties:
  compatible:
    enum:
      - mediatek,mt7921s-bluetooth

  reg:
    const: 2

  reset-gpios:
    maxItems: 1
    description:
      An active-low reset line for the Bluetooth core; on typical M.2
      key E modules this is the W_DISABLE2# pin.

required:
  - compatible
  - reg

unevaluatedProperties: false

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

    mmc {
        #address-cells = <1>;
        #size-cells = <0>;

        bluetooth@2 {
            compatible = "mediatek,mt7921s-bluetooth";
            reg = <2>;
            reset-gpios = <&pio 8 GPIO_ACTIVE_LOW>;
        };
    };