arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth
authorJernej Skrabec <jernej.skrabec@siol.net>
Sun, 10 Jan 2021 21:16:06 +0000 (22:16 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 13 Jan 2021 08:57:16 +0000 (09:57 +0100)
PineH64 model B has wifi+bt combo module. Wifi is already supported, so
lets add also bluetooth node.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210110211606.3733056-1-jernej.skrabec@siol.net
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts

index 7fea1e4..645bd87 100644 (file)
        non-removable;
        status = "okay";
 };
+
+&uart1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
+       uart-has-rtscts;
+       status = "okay";
+
+       bluetooth {
+               compatible = "realtek,rtl8723bs-bt";
+               device-wakeup-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
+               host-wakeup-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */
+               enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */
+               max-speed = <1500000>;
+       };
+};