From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BA99EC4332F for ; Fri, 7 Oct 2022 23:47:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Oo3cjnW5bG090zMO1DiTbAiXNLp8qhxzznU7gxGVOhw=; b=VoT8qUpcCve5nT kgLP8yqbJj+Pkf3FP6QhiPCS88HRPtMsbMBBV3pbIux2kxMuOtPEpVcSCHFsB4SQFbDWM2M2IlsJX zR2ytv9d89QVXUbnrHV7zuJ6UOegI2nLgj3JD1Ncg+BcZrLMvf5Es/I/iTD/KXk1zI0l+41W4bALn +ycr9K7zUtA8VqdOmz1C+zRsFHcTFCi0LOtGmapMygrFnUIRpy18p2+FvD9NkMRkHMVj59QLOKr6j yos5vmRT8BBJfsrKqOVfxjX+9yC/6Dex7C+o/jfqhuu7oUlDmWmTLZc7BwYwlTpSrwKKCyUogMXGl xweshPsKXypPwlo3O22A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogx3Y-00B3ru-LQ; Fri, 07 Oct 2022 23:47:04 +0000 Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ogx3T-00B3ot-30 for linux-arm-kernel@lists.infradead.org; Fri, 07 Oct 2022 23:47:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-Type:Content-ID:Content-Description; bh=eR+NXbMh3/vLaZ91+a3etBbDh8A2NsKZ4EZHQPgJfxk=; b=VzuxhddR0YEMAAoajLtBWxOyP4 9HRXlm0qE7NhJuFgdRaQJThTd+aC5EVn7KWv0xmjjrPXNh4P70/DdhOzFAjDFKv82Q00mh1xybNmI Au6kx7bg3r8xo+KeK8V7wy7k2NvYelMVEnWr1lHHWqHpgu/Wh5ckk/qWhoCe7S9aiGpl9h6yZEYRf /V1M5clEGT5yM5rSSHqicw6cyq/qqdeHR8cdc2WOQYP2pGfZWko1jvtL1Iyvzm5ZF5gxpQZF2kC5N B8wS3whsSA0hf5oY30PXLI4M27ukv2EEXTgBSuP6DJcNe4RyGu4ZS87PelRxrQTqxeWgdtCq1fK6q coJ+CP/A==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1ogx3K-000AIf-2o; Fri, 07 Oct 2022 23:46:49 +0000 From: Bastian Germann To: Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Vasily Khoruzhick , Bastian Germann Subject: [PATCH 1/1] arm64: allwinner: a64: enable Bluetooth on Pinebook Date: Sat, 8 Oct 2022 01:45:53 +0200 Message-Id: <20221007234553.12328-2-bage@debian.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221007234553.12328-1-bage@debian.org> References: <20221007234553.12328-1-bage@debian.org> MIME-Version: 1.0 X-Debian-User: bage X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221007_164659_162250_B20587C0 X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Vasily Khoruzhick Pinebook has an RTL8723CS WiFi + BT chip. BT is connected to UART1 and uses PL5 as device wake GPIO and PL6 as host wake GPIO. The I2C controlling signals are connected to R_I2C bus. Enable it in the device tree. Signed-off-by: Vasily Khoruzhick Signed-off-by: Bastian Germann --- .../boot/dts/allwinner/sun50i-a64-pinebook.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts index 620cb3ef5f6c..19ba87c411ed 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts @@ -406,6 +406,19 @@ &uart0 { status = "okay"; }; +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "realtek,rtl8723cs-bt"; + device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */ + host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ + }; +}; + &usb_otg { dr_mode = "host"; }; -- 2.37.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel