| # 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>; | |
| }; | |
| }; |