aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan McDowell <[email protected]>2023-05-10 13:01:43 +0100
committerJernej Skrabec <[email protected]>2023-05-31 23:13:10 +0200
commitefb09e4ea81a7d513e3c4c81b8108c2b8066bc66 (patch)
tree4f5b059a745a541707d3ecbe65c850d346cc5c12
parentc1b2093dce23158e758818443e059e3fcd54633e (diff)
ARM: dts: sun5i: chip: Enable bluetooth
The C.H.I.P has an rtl8723bs device with the bluetooth interface hooked up on UART3. Support for this didn't exist in mainline when the DTS was initially added, but it does now, so enable it. Signed-off-by: Jonathan McDowell <[email protected]> Acked-by: Jernej Skrabec <[email protected]> Link: https://lore.kernel.org/r/49ff7f3cc79838a55a89baae09a4ba12c88573fb.1683719613.git.noodles@earth.li Signed-off-by: Jernej Skrabec <[email protected]>
-rw-r--r--arch/arm/boot/dts/sun5i-r8-chip.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun5i-r8-chip.dts b/arch/arm/boot/dts/sun5i-r8-chip.dts
index fd37bd1f3920..4192c23848c3 100644
--- a/arch/arm/boot/dts/sun5i-r8-chip.dts
+++ b/arch/arm/boot/dts/sun5i-r8-chip.dts
@@ -255,6 +255,12 @@
pinctrl-0 = <&uart3_pg_pins>,
<&uart3_cts_rts_pg_pins>;
status = "okay";
+
+ bluetooth {
+ compatible = "realtek,rtl8723bs-bt";
+ device-wake-gpios = <&axp_gpio 3 GPIO_ACTIVE_HIGH>;
+ host-wake-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */
+ };
};
&usb_otg {