]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: allwinner: pinephone: Add Bluetooth support
authorOndrej Jirman <megous@megous.com>
Thu, 5 Nov 2020 05:41:35 +0000 (23:41 -0600)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 5 Nov 2020 11:25:06 +0000 (12:25 +0100)
The PinePhone has a Realtek rtl8723cs Bluetooth controller.

Signed-off-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20201105054135.24860-7-samuel@sholland.org
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi

index 07f66f4cefac63e0d0355fcdb30b6d5933198086..2da69450eec140184af62302c06a46ce245ca275 100644 (file)
        status = "okay";
 };
 
+&uart1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>;
+       status = "okay";
+
+       bluetooth {
+               compatible = "realtek,rtl8723cs-bt";
+               device-wake-gpios = <&pio 7 6 GPIO_ACTIVE_LOW>; /* PH6 */
+               enable-gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
+               host-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */
+       };
+};
+
 /* Connected to the modem (hardware flow control can't be used) */
 &uart3 {
        pinctrl-names = "default";