brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · 7d56712 Raw
69 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/net/bluetooth/realtek,bluetooth.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: RTL8723BS/RTL8723CS/RTL8821CS/RTL8822CS Bluetooth8 9maintainers:10  - Vasily Khoruzhick <anarsoul@gmail.com>11  - Alistair Francis <alistair@alistair23.me>12 13description:14  RTL8723BS/RTL8723CS/RTL8821CS/RTL8822CS is a WiFi + BT chip. WiFi part15  is connected over SDIO, while BT is connected over serial. It speaks16  H5 protocol with few extra commands to upload firmware and change17  module speed.18 19properties:20  compatible:21    oneOf:22      - enum:23          - realtek,rtl8723bs-bt24          - realtek,rtl8723cs-bt25          - realtek,rtl8723ds-bt26          - realtek,rtl8822cs-bt27      - items:28          - enum:29              - realtek,rtl8821cs-bt30          - const: realtek,rtl8723bs-bt31 32  device-wake-gpios:33    maxItems: 134    description: GPIO specifier, used to wakeup the BT module35 36  enable-gpios:37    maxItems: 138    description: GPIO specifier, used to enable the BT module39 40  host-wake-gpios:41    maxItems: 142    description: GPIO specifier, used to wakeup the host processor43 44  max-speed: true45 46required:47  - compatible48 49allOf:50  - $ref: /schemas/serial/serial-peripheral-props.yaml#51 52additionalProperties: false53 54examples:55  - |56    #include <dt-bindings/gpio/gpio.h>57 58    uart1 {59        pinctrl-names = "default";60        pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;61        uart-has-rtscts;62 63        bluetooth {64            compatible = "realtek,rtl8723bs-bt";65            device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */66            host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */67        };68    };69