Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp2608978rwl; Sat, 5 Nov 2022 09:01:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Za43Il6zZ4V7sDLdMjFIbqsUDi4RQCLMx4dTR9+rM0Bvl2m0YOwg0/uft4HD5VeemyaME X-Received: by 2002:a63:f801:0:b0:46f:fe3f:ea87 with SMTP id n1-20020a63f801000000b0046ffe3fea87mr18761386pgh.10.1667664109467; Sat, 05 Nov 2022 09:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667664109; cv=none; d=google.com; s=arc-20160816; b=hCWtuLv7p/+pt69XrJQ7aocIx1gRK2iGUw2VWjzDtyADq5bJTAvndAgMW0TZdqO9L5 VZ5iFaeNBF/XZhH48X0rwcXZPMF9dUvWqgr7t5eskloRw1ryddi0bsQqhUwAVo29LkvS QLYdMkLpMImfdx71U6zq4/3PWf1h+enASCbnjetGqzf9DlL0fj7ZCCAyDVZ4Z0zBwD/X Wa23aE2X1qqRCcBk40+vluoWQ6zrhHS0MGOFMDtgjeszETXygNB50LgrKCxLDQPpHCeO 1e6sYFYAC2HYe+EU/j26XiJXiqmP9748LvRiMe4UdCyJUVQd+IS8FH9fRt6LJ6T1lNx8 5KjA== 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=XqHpqs8kOpAGqjTe6Cxdek+b0q7L48oS3swMyp4A1Kg=; b=u8s9VlhvFoRYA8R+QhpVM/Aisg6j02PSQyKfHr1xJth4QDE7O65H+gZ9RFcfOGYR5i +vjytDru6z1wObhIr/HzdaffwZc3fMDuxERWe+m1RHDPjZMyD3uudRLSkjkezXdzVdQt AJtH9j7dCHX3ZLcqfHqBCshJlcJaAPjflUvtbaR1tPospKzamwv9j8NOF1OIvfjMz13c FA/nj9p4DZMr4NLStjw86ogoapZAFb46T4RhsntzPa6EApW5C8wVa1hAmantThC4elpw +CgQPN5/nnrDKvnnwaFhkxRy8cZSGXomiZ3EO5fDhnZgj+qh3ydTanhC00wUhh/433D0 PPEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=TWjb1YEm; 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 b15-20020a056a000a8f00b0056bb3281494si3548588pfl.138.2022.11.05.09.01.36; Sat, 05 Nov 2022 09:01:49 -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=TWjb1YEm; 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 S230001AbiKEPdo (ORCPT + 96 others); Sat, 5 Nov 2022 11:33:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbiKEPdk (ORCPT ); Sat, 5 Nov 2022 11:33:40 -0400 Received: from stravinsky.debian.org (stravinsky.debian.org [IPv6:2001:41b8:202:deb::311:108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68E58C76B; Sat, 5 Nov 2022 08:33:39 -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=XqHpqs8kOpAGqjTe6Cxdek+b0q7L48oS3swMyp4A1Kg=; b=TWjb1YEmfOpNLBpw6cgQaAq34G LIBBrziYiG1Xpv7XNw4i866DsRfc5iFQ+azH8216/o0adKnnxz8HX0Oxsxul6GI3lPm91rMM3Kwky ZZaNeyCIWKtIm/zSpCGG7gKhFuz4stZcaHDaQE0GR1JfmfZoUnlJZ+1M0BrijmtbQTbpIh/Cdggww 7FS24JSOfJUa3xjJ2Vc7yd5xpAlX4Sv3AtbbJSZ82dJgdxDlHIqUCRH6bAuu5fLE5PzOzDwP686OL IU+3D6iy2Dc1kL+4jVt2MsmY8hnjCJtCa44J5vEmkdNRbepglDpU83KxI2whrB0IbZyLNT/hcP5vU SU/L3v+g==; 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 1orLAp-004CNe-Po; Sat, 05 Nov 2022 15:33:30 +0000 From: Bastian Germann To: Samuel Holland Cc: Vasily Khoruzhick , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Bastian Germann Subject: [PATCH v2 1/1] arm64: dts: allwinner: a64: enable Bluetooth on Pinebook Date: Sat, 5 Nov 2022 16:33:19 +0100 Message-Id: <20221105153319.19345-2-bage@debian.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221105153319.19345-1-bage@debian.org> References: <20221105153319.19345-1-bage@debian.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Debian-User: bage X-Spam-Status: No, score=-5.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=ham 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. Enable it in the device tree. Signed-off-by: Vasily Khoruzhick Signed-off-by: Bastian Germann --- .../boot/dts/allwinner/sun50i-a64-pinebook.dts | 14 ++++++++++++++ 1 file changed, 14 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..50ed2e9f10ed 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts @@ -406,6 +406,20 @@ &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 */ + enable-gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */ + host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ + }; +}; + &usb_otg { dr_mode = "host"; }; -- 2.38.1