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