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