11cc2d0e0SVasily Khoruzhick# SPDX-License-Identifier: GPL-2.0 21cc2d0e0SVasily Khoruzhick%YAML 1.2 31cc2d0e0SVasily Khoruzhick--- 41cc2d0e0SVasily Khoruzhick$id: http://devicetree.org/schemas/net/realtek-bluetooth.yaml# 51cc2d0e0SVasily Khoruzhick$schema: http://devicetree.org/meta-schemas/core.yaml# 61cc2d0e0SVasily Khoruzhick 71cc2d0e0SVasily Khoruzhicktitle: RTL8723BS/RTL8723CS/RTL8822CS Bluetooth Device Tree Bindings 81cc2d0e0SVasily Khoruzhick 91cc2d0e0SVasily Khoruzhickmaintainers: 101cc2d0e0SVasily Khoruzhick - Vasily Khoruzhick <anarsoul@gmail.com> 111cc2d0e0SVasily Khoruzhick - Alistair Francis <alistair@alistair23.me> 121cc2d0e0SVasily Khoruzhick 131cc2d0e0SVasily Khoruzhickdescription: 141cc2d0e0SVasily Khoruzhick RTL8723CS/RTL8723CS/RTL8822CS is WiFi + BT chip. WiFi part is connected over 151cc2d0e0SVasily Khoruzhick SDIO, while BT is connected over serial. It speaks H5 protocol with few 161cc2d0e0SVasily Khoruzhick extra commands to upload firmware and change module speed. 171cc2d0e0SVasily Khoruzhick 181cc2d0e0SVasily Khoruzhickproperties: 191cc2d0e0SVasily Khoruzhick compatible: 201cc2d0e0SVasily Khoruzhick oneOf: 211cc2d0e0SVasily Khoruzhick - const: "realtek,rtl8723bs-bt" 221cc2d0e0SVasily Khoruzhick - const: "realtek,rtl8723cs-bt" 231cc2d0e0SVasily Khoruzhick - const: "realtek,rtl8822cs-bt" 241cc2d0e0SVasily Khoruzhick 251cc2d0e0SVasily Khoruzhick device-wake-gpios: 261cc2d0e0SVasily Khoruzhick maxItems: 1 271cc2d0e0SVasily Khoruzhick description: GPIO specifier, used to wakeup the BT module 281cc2d0e0SVasily Khoruzhick 291cc2d0e0SVasily Khoruzhick enable-gpios: 301cc2d0e0SVasily Khoruzhick maxItems: 1 311cc2d0e0SVasily Khoruzhick description: GPIO specifier, used to enable the BT module 321cc2d0e0SVasily Khoruzhick 331cc2d0e0SVasily Khoruzhick host-wake-gpios: 341cc2d0e0SVasily Khoruzhick maxItems: 1 351cc2d0e0SVasily Khoruzhick description: GPIO specifier, used to wakeup the host processor 361cc2d0e0SVasily Khoruzhick 371cc2d0e0SVasily Khoruzhickrequired: 381cc2d0e0SVasily Khoruzhick - compatible 391cc2d0e0SVasily Khoruzhick 401cc2d0e0SVasily Khoruzhickexamples: 411cc2d0e0SVasily Khoruzhick - | 421cc2d0e0SVasily Khoruzhick #include <dt-bindings/gpio/gpio.h> 431cc2d0e0SVasily Khoruzhick 441cc2d0e0SVasily Khoruzhick uart1 { 451cc2d0e0SVasily Khoruzhick pinctrl-names = "default"; 461cc2d0e0SVasily Khoruzhick pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; 47343ad396SMartin Blumenstingl uart-has-rtscts; 481cc2d0e0SVasily Khoruzhick 491cc2d0e0SVasily Khoruzhick bluetooth { 501cc2d0e0SVasily Khoruzhick compatible = "realtek,rtl8723bs-bt"; 511cc2d0e0SVasily Khoruzhick device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */ 521cc2d0e0SVasily Khoruzhick host-wakeup-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ 531cc2d0e0SVasily Khoruzhick }; 541cc2d0e0SVasily Khoruzhick }; 55