Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame] | 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 | |
| 7 | title: MediaTek MT7921S Bluetooth |
| 8 | |
| 9 | maintainers: |
| 10 | - Sean Wang <sean.wang@mediatek.com> |
| 11 | |
| 12 | description: |
| 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 | |
| 19 | allOf: |
| 20 | - $ref: bluetooth-controller.yaml# |
| 21 | |
| 22 | properties: |
| 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 | |
| 36 | required: |
| 37 | - compatible |
| 38 | - reg |
| 39 | |
| 40 | unevaluatedProperties: false |
| 41 | |
| 42 | examples: |
| 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 | }; |