1
0
Fork 0

arm64: allwinner: a64: enable Bluetooth On Pinebook

Pinebook has an RTL8723CS WiFi + BT chip, BT is connected to UART1
and uses PL4 as BT reset, PL5 as device wake GPIO, PL6 as host wake GPIO
the I2C controlling signals are connected to R_I2C bus.

Enable it in the device tree.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
alistair/sunxi64-5.5-dsi
Vasily Khoruzhick 2018-10-31 20:43:26 -07:00 committed by Alistair Francis
parent e8924acd0d
commit e9a58f84d3
1 changed files with 14 additions and 0 deletions

View File

@ -344,6 +344,20 @@
status = "okay";
};
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
status = "okay";
bluetooth {
compatible = "realtek,rtl8723cs-bt";
reset-gpios = <&r_pio 0 4 GPIO_ACTIVE_LOW>; /* PL4 */
device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */
host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
firmware-postfix = "pinebook";
};
};
&usb_otg {
dr_mode = "host";
};