ARM: dts: sun5i: chip: Enable bluetooth
authorJonathan McDowell <noodles@earth.li>
Wed, 10 May 2023 12:01:43 +0000 (13:01 +0100)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Wed, 31 May 2023 21:13:10 +0000 (23:13 +0200)
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 <noodles@earth.li>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/49ff7f3cc79838a55a89baae09a4ba12c88573fb.1683719613.git.noodles@earth.li
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
arch/arm/boot/dts/sun5i-r8-chip.dts

index fd37bd1..4192c23 100644 (file)
        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 {