Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1727093rwb; Fri, 7 Oct 2022 17:58:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6qmDS6y5ubvmC4iwGrbbT7LKxzJFNv0HEen8UhSf0DYaoQYt9t+cHNne/C6S5/K/EvXb4M X-Received: by 2002:a17:902:7081:b0:178:6154:9d79 with SMTP id z1-20020a170902708100b0017861549d79mr7448543plk.79.1665190705646; Fri, 07 Oct 2022 17:58:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665190705; cv=none; d=google.com; s=arc-20160816; b=nUDJ68WUU6Dy4U3v2upHuPNzbwRTTbyzkBYC4GIh7aJwx3MTmDsGSyx+PDXA9YIZbD iHa5NJgedGONtxkWQG3wEa1zCDJD4MHSdKyCQcjeH4ww2UftGQ0RAXP7xlZPPquKRxaQ PteVJIeP+4ZLGRyYyQfsuU6ShDxdK3kvt7nhSPhFweTxUMpNh4IlZA/Cd2EcFfLAmJhO UM89BOeygg+ucOUJQhC4LNLmGHIDoJgmeNWe1PM/pbosoZyThTdLiq4qwifmIP6PGyFx O5b9R+CBkvLzqp0bp88MnJtfW2P4tuKRddrFHBBtcskHc49HclIKLyJAV4Dcc0kszrUM 0IaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eR+NXbMh3/vLaZ91+a3etBbDh8A2NsKZ4EZHQPgJfxk=; b=ObNLHApL2mYLhzz9iFLCFI+ZOx1nRabS+0FMGB2eQTGECeFhnoZDl34KblQGUY8X91 +lxgYsY2cGD2hI6GPRrcPxXZHXhQdt64b9IC0g5Lqt2eR7VDieJK25fg8e2OEas4VzVa hgKkIGwr3TP5lJicXyKFU1tbzGTc1TXbrFX8aWSW/2InxOvC8KoVnDCyu9o3txFWb2/b NZOYtLuGll0Us9oc1UL9HnHRMea1AkBzCh4SyjvzOjr9+NtXiZ8zQyzvCf+8CTGDQNZf 33hX/8T0f/TTrOWQCyJkwPQEM84aSkihtppHzZKx7XRVUYro5722KAVkhO0pQlxKIpeD l7eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=VzuxhddR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nu5-20020a17090b1b0500b0020ab51b78a2si10565213pjb.127.2022.10.07.17.58.14; Fri, 07 Oct 2022 17:58:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=VzuxhddR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229642AbiJHAlW (ORCPT + 99 others); Fri, 7 Oct 2022 20:41:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbiJHAlU (ORCPT ); Fri, 7 Oct 2022 20:41:20 -0400 X-Greylist: delayed 1800 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 07 Oct 2022 17:41:19 PDT Received: from stravinsky.debian.org (stravinsky.debian.org [IPv6:2001:41b8:202:deb::311:108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 690A989AD2 for ; Fri, 7 Oct 2022 17:41:19 -0700 (PDT) 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 Content-Transfer-Encoding: 8bit X-Debian-User: bage X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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