2020-04-25 23:55:29 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
|
|
|
$id: http://devicetree.org/schemas/net/realtek-bluetooth.yaml#
|
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
2022-08-25 10:04:27 +08:00
|
|
|
title: RTL8723BS/RTL8723CS/RTL8822CS Bluetooth
|
2020-04-25 23:55:29 +08:00
|
|
|
|
|
|
|
maintainers:
|
|
|
|
- Vasily Khoruzhick <anarsoul@gmail.com>
|
|
|
|
- Alistair Francis <alistair@alistair23.me>
|
|
|
|
|
|
|
|
description:
|
|
|
|
RTL8723CS/RTL8723CS/RTL8822CS is 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:
|
|
|
|
compatible:
|
2021-08-25 03:51:54 +08:00
|
|
|
enum:
|
|
|
|
- realtek,rtl8723bs-bt
|
|
|
|
- realtek,rtl8723cs-bt
|
|
|
|
- realtek,rtl8822cs-bt
|
2020-04-25 23:55:29 +08:00
|
|
|
|
|
|
|
device-wake-gpios:
|
|
|
|
maxItems: 1
|
|
|
|
description: GPIO specifier, used to wakeup the BT module
|
|
|
|
|
|
|
|
enable-gpios:
|
|
|
|
maxItems: 1
|
|
|
|
description: GPIO specifier, used to enable the BT module
|
|
|
|
|
|
|
|
host-wake-gpios:
|
|
|
|
maxItems: 1
|
|
|
|
description: GPIO specifier, used to wakeup the host processor
|
|
|
|
|
2021-09-24 15:27:54 +08:00
|
|
|
max-speed: true
|
|
|
|
|
2020-04-25 23:55:29 +08:00
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
|
2020-10-03 07:41:43 +08:00
|
|
|
additionalProperties: false
|
|
|
|
|
2020-04-25 23:55:29 +08:00
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
|
|
|
|
uart1 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
|
2020-06-30 02:05:45 +08:00
|
|
|
uart-has-rtscts;
|
2020-04-25 23:55:29 +08:00
|
|
|
|
|
|
|
bluetooth {
|
|
|
|
compatible = "realtek,rtl8723bs-bt";
|
|
|
|
device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */
|
2020-10-03 07:41:43 +08:00
|
|
|
host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
|
2020-04-25 23:55:29 +08:00
|
|
|
};
|
|
|
|
};
|