Skip to content

Commit

Permalink
dtb: lichee-pi-4a: Add 8723ds BT support
Browse files Browse the repository at this point in the history
config: enable BT_HCIUART_RTL for 8723ds BT

Signed-off-by: NekoRouter <[email protected]>
  • Loading branch information
nekorouter authored and RevySR committed Jan 27, 2025
1 parent 39bfa82 commit ed2ac04
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,16 @@
input-schmitt-enable;
slew-rate = <0>;
};

ctrl-pins {
pins = "UART4_CTSN", "UART4_RTSN";
function = "uart";
bias-disable;
drive-strength = <3>;
input-enable;
input-schmitt-disable;
slew-rate = <0>;
};
};

pinctrl_wifi_wake: wifi_grp {
Expand Down Expand Up @@ -1079,6 +1089,14 @@
pinctrl-names = "default";
pinctrl-0 = <&uart4_pins>;
status = "okay";
uart-has-rtscts;

bluetooth {
compatible = "realtek,rtl8723ds-bt";
device-wake-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; /* GPIO02 */
host-wake-gpios = <&ioexp2 7 GPIO_ACTIVE_HIGH>;
enable-gpios = <&ioexp2 5 GPIO_ACTIVE_HIGH>;
};
};

&usb {
Expand Down
2 changes: 1 addition & 1 deletion arch/riscv/configs/revyos_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,8 @@ CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y
CONFIG_BT_HCIBTUSB_MTK=y
CONFIG_BT_HCIBTSDIO=m
CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_RTL3WIRE=y
CONFIG_BT_HCIUART_BCM=y
CONFIG_BT_HCIUART_RTL=y
CONFIG_BT_MRVL=m
CONFIG_BT_MRVL_SDIO=m
CONFIG_BT_ATH3K=m
Expand Down

0 comments on commit ed2ac04

Please sign in to comment.