]>
Commit | Line | Data |
---|---|---|
1cc2d0e0 VK |
1 | # SPDX-License-Identifier: GPL-2.0 |
2 | %YAML 1.2 | |
3 | --- | |
4 | $id: http://devicetree.org/schemas/net/realtek-bluetooth.yaml# | |
5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | |
6 | ||
7 | title: RTL8723BS/RTL8723CS/RTL8822CS Bluetooth Device Tree Bindings | |
8 | ||
9 | maintainers: | |
10 | - Vasily Khoruzhick <anarsoul@gmail.com> | |
11 | - Alistair Francis <alistair@alistair23.me> | |
12 | ||
13 | description: | |
14 | RTL8723CS/RTL8723CS/RTL8822CS is WiFi + BT chip. WiFi part is connected over | |
15 | SDIO, while BT is connected over serial. It speaks H5 protocol with few | |
16 | extra commands to upload firmware and change module speed. | |
17 | ||
18 | properties: | |
19 | compatible: | |
1c3ac086 RH |
20 | enum: |
21 | - realtek,rtl8723bs-bt | |
22 | - realtek,rtl8723cs-bt | |
23 | - realtek,rtl8822cs-bt | |
1cc2d0e0 VK |
24 | |
25 | device-wake-gpios: | |
26 | maxItems: 1 | |
27 | description: GPIO specifier, used to wakeup the BT module | |
28 | ||
29 | enable-gpios: | |
30 | maxItems: 1 | |
31 | description: GPIO specifier, used to enable the BT module | |
32 | ||
33 | host-wake-gpios: | |
34 | maxItems: 1 | |
35 | description: GPIO specifier, used to wakeup the host processor | |
36 | ||
37 | required: | |
38 | - compatible | |
39 | ||
5be478f9 RH |
40 | additionalProperties: false |
41 | ||
1cc2d0e0 VK |
42 | examples: |
43 | - | | |
44 | #include <dt-bindings/gpio/gpio.h> | |
45 | ||
46 | uart1 { | |
47 | pinctrl-names = "default"; | |
48 | pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; | |
343ad396 | 49 | uart-has-rtscts; |
1cc2d0e0 VK |
50 | |
51 | bluetooth { | |
52 | compatible = "realtek,rtl8723bs-bt"; | |
53 | device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */ | |
5be478f9 | 54 | host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ |
1cc2d0e0 VK |
55 | }; |
56 | }; |