arm64: dts: allwinner: h6: tanix-tx6: Enable bluetooth
authorJernej Skrabec <jernej.skrabec@gmail.com>
Wed, 1 Dec 2021 18:21:18 +0000 (19:21 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 3 Dec 2021 09:55:13 +0000 (10:55 +0100)
Tanix TX6 comes either with RTL8822BS or RTL8822CS wifi+bt combo module.
Wifi part is already enabled in tanix DTSI. Let's enable also bluetooth.

Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts

index a6e69f4b2666b51cac60d516b959b13bd8c6d173..9a38ff9b3fc751a6658cafd87b91745fd11ec550 100644 (file)
 &r_ir {
        linux,rc-map-name = "rc-tanix-tx5max";
 };
+
+&uart1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
+       uart-has-rtscts;
+       status = "okay";
+
+       bluetooth {
+               compatible = "realtek,rtl8822cs-bt";
+               device-wake-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
+               host-wake-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */
+               enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */
+       };
+};