MediaTek MT7921S Bluetooth

Schema identifier ($id): "http://devicetree.org/schemas/net/bluetooth/mediatek,mt7921s-bluetooth.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sean Wang <sean.wang@mediatek.com>"

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.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): bluetooth-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt7921s-bluetooth"

reg — required here #

Exact value (const): 2

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

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

Required in this object (required): "compatible", "reg"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (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>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page