RTL8723BS/RTL8723CS/RTL8821CS/RTL8822CS Bluetooth

Schema identifier ($id): "http://devicetree.org/schemas/net/bluetooth/realtek,bluetooth.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Vasily Khoruzhick <anarsoul@gmail.com>", "Alistair Francis <alistair@alistair23.me>"

RTL8723BS/RTL8723CS/RTL8821CS/RTL8822CS is a WiFi + BT chip. WiFi part is connected over SDIO, while BT is connected over serial. It speaks H5 protocol with few extra commands to upload firmware and change module speed.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "realtek,rtl8723bs-bt", "realtek,rtl8723cs-bt", "realtek,rtl8723ds-bt", "realtek,rtl8822cs-bt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "realtek,rtl8821cs-bt"

Item 2

Exact value (const): "realtek,rtl8723bs-bt"

device-wake-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO specifier, used to wakeup the BT module

enable-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO specifier, used to enable the BT module

host-wake-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO specifier, used to wakeup the host processor

max-speed — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/serial/serial-peripheral-props.yaml#

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

uart1 {
    pinctrl-names = "default";
    pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
    uart-has-rtscts;

    bluetooth {
        compatible = "realtek,rtl8723bs-bt";
        device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */
        host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page