From patchwork Wed Dec 1 18:21:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 12694378 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 2B580C4332F for ; Wed, 1 Dec 2021 18:25:28 +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=VxzGnl+xii9upFH4K/j6QfdIBV+RG97xQ0Kwux6sat4=; b=xn4UXdk1EAQYXR Odr/9Ed8DinMaUw0NNDHYwNGIHEEhfvGn1lDOFbh/Fg9JMB6DH+4MCbsaH7U8Xt1gvvtEc3kCIiZ4 Zis1VYXTZdbj2m3mAycRGFJjE7KEPL71Jg6JHng9BwdEoIzIKT2xK12Mhr1Y/cDpLxHDnudb0R0K6 pqWcBGwfdqTR82tukHwdk4xjQHzHWWcZxo22oMod4LHt3hF3MAsHmSqNhU4ghLpo4JwQH0SraXZP9 I3nYhGpGcAKfll9CvorTzN8i8TIR50jtjegvEulKLfAwNIFugK30rC3Rg8jTtDsHmMFqTAFMoV11J HXmew3mbD5olKCgVYSNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msUGz-009kum-41; Wed, 01 Dec 2021 18:24:05 +0000 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msUEt-009jw8-BD for linux-arm-kernel@lists.infradead.org; Wed, 01 Dec 2021 18:21:56 +0000 Received: by mail-wm1-x32f.google.com with SMTP id g191-20020a1c9dc8000000b0032fbf912885so1819543wme.4 for ; Wed, 01 Dec 2021 10:21:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0znfekrUInn5HV1vA+VAV/rcSYZjyQOcwwYpPx9vb0c=; b=qQm5NiCFVGKxg2ccCKmwp5W8k1nsd/J2wfjXDa8iUyIz0D67VPHMn0pI11aUE/QPmK Dc44HdjJw7MQFOxEAD6mqoB8XVSN3cR9TJjneDBDecLsVYuV4IWSV4v9pmfOKsUHGk/0 d9UK+D17jD10gEKT1ifKjKeQgBAhquZMnwctWq+sEyxn2+LkOp7VV41AFmVRsrFM8dfN 6ASlyuAX6BoxZMSMjwiv0jW34bvFbnCqofmmgcVpvcLFQXGvwat5LnQ6eH8wlWOYnvLq 33ReiiWIiXS1NAASeIH8wP47Ri610zHLGoJ05pKDkOvOZaIdNpQDc+sd1rqfDxNDhav6 dnJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0znfekrUInn5HV1vA+VAV/rcSYZjyQOcwwYpPx9vb0c=; b=h8EQZ6XI+/s/7S4RAJl+Mvz0ft0g8A663XxLL/5ccu4/qArM596bt4PeCpXkWh3ABb qKa5PH6yBb3WpO3W4ldlEN/Yz/Da79CsA/Qr4Z45pV0xLsQbVlrbY9kZeecinVtdm9WN 9REXMf6/OURpHzZ7RB1pkl/PVA7UxjNjNmlc1XkQ4jsaRALtZvIWBlE3z/NQ0u1rOyoi oe2S2e0BanrAR79tCVbaypETmby8hcmHEgiDEuUJ9vXMIYIsPtHoYIgURYakj9pD5SR9 v8RUWAZMJbCsXpudNtbFKIC63BUw/m8El0Pe0+r4Jde4SZvQkvHUo/H354GlcVsUxQZq AqLg== X-Gm-Message-State: AOAM530LZU77ow9CCf0tWUYeEUidRVU6n0ZGZzGbDcuM9hRFs4pSxnmQ ekwkPC64RiwZtNV/qxzET3k= X-Google-Smtp-Source: ABdhPJzrKzPCMz5gik93CwtDXbaqyj6tOPCbkZhxB4yRL/zcWPPLgGW8dLsEpVoOv7BFWWTNZI5qIA== X-Received: by 2002:a1c:ac46:: with SMTP id v67mr9069048wme.182.1638382913573; Wed, 01 Dec 2021 10:21:53 -0800 (PST) Received: from kista.localdomain (cpe-86-58-29-253.static.triera.net. [86.58.29.253]) by smtp.gmail.com with ESMTPSA id f7sm604705wri.74.2021.12.01.10.21.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 10:21:53 -0800 (PST) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Jernej Skrabec Subject: [PATCH 5/5] arm64: dts: allwinner: h6: tanix-tx6: Enable bluetooth Date: Wed, 1 Dec 2021 19:21:18 +0100 Message-Id: <20211201182118.1213806-6-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211201182118.1213806-1-jernej.skrabec@gmail.com> References: <20211201182118.1213806-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_102155_411301_71DB421F X-CRM114-Status: GOOD ( 10.57 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Tanix TX6 comes either with RTL8822BS or RTL8822CS wifi+bt combo module. Wifi part is already enabled in tanix DTSI. Let's enable also bluetooth. Signed-off-by: Jernej Skrabec --- .../boot/dts/allwinner/sun50i-h6-tanix-tx6.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts index a6e69f4b2666..9a38ff9b3fc7 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts @@ -13,3 +13,17 @@ / { &r_ir { linux,rc-map-name = "rc-tanix-tx5max"; }; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "realtek,rtl8822cs-bt"; + device-wake-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */ + host-wake-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */ + enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */ + }; +};