xref: /linux/Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7921s-bluetooth.yaml (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/bluetooth/mediatek,mt7921s-bluetooth.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MediaTek MT7921S Bluetooth
8
9maintainers:
10  - Sean Wang <sean.wang@mediatek.com>
11
12description:
13  MT7921S is an SDIO-attached dual-radio WiFi+Bluetooth Combo chip; each
14  function is its own SDIO function on a shared SDIO interface. The chip
15  has two dedicated reset lines, one for each function core.
16  This binding only covers the Bluetooth SDIO function, with one device
17  node describing only this SDIO function.
18
19allOf:
20  - $ref: bluetooth-controller.yaml#
21
22properties:
23  compatible:
24    enum:
25      - mediatek,mt7921s-bluetooth
26
27  reg:
28    const: 2
29
30  reset-gpios:
31    maxItems: 1
32    description:
33      An active-low reset line for the Bluetooth core; on typical M.2
34      key E modules this is the W_DISABLE2# pin.
35
36required:
37  - compatible
38  - reg
39
40unevaluatedProperties: false
41
42examples:
43  - |
44    #include <dt-bindings/gpio/gpio.h>
45
46    mmc {
47        #address-cells = <1>;
48        #size-cells = <0>;
49
50        bluetooth@2 {
51            compatible = "mediatek,mt7921s-bluetooth";
52            reg = <2>;
53            reset-gpios = <&pio 8 GPIO_ACTIVE_LOW>;
54        };
55    };
56