From patchwork Fri Aug 26 22:02:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Diogo Ivo X-Patchwork-Id: 600420 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6023FC0502C for ; Fri, 26 Aug 2022 22:12:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231629AbiHZWM1 (ORCPT ); Fri, 26 Aug 2022 18:12:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230436AbiHZWM0 (ORCPT ); Fri, 26 Aug 2022 18:12:26 -0400 Received: from smtp1.tecnico.ulisboa.pt (smtp1.tecnico.ulisboa.pt [193.136.128.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9AE42E1163 for ; Fri, 26 Aug 2022 15:12:24 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.tecnico.ulisboa.pt (Postfix) with ESMTP id 1F5D96007C1E; Fri, 26 Aug 2022 23:02:20 +0100 (WEST) X-Virus-Scanned: by amavisd-new-2.11.0 (20160426) (Debian) at tecnico.ulisboa.pt Received: from smtp1.tecnico.ulisboa.pt ([127.0.0.1]) by localhost (smtp1.tecnico.ulisboa.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id 6_Qd847GxDqz; Fri, 26 Aug 2022 23:02:17 +0100 (WEST) Received: from mail2.tecnico.ulisboa.pt (mail2.ist.utl.pt [IPv6:2001:690:2100:1::4750:b5b4]) by smtp1.tecnico.ulisboa.pt (Postfix) with ESMTPS id AA140600087B; Fri, 26 Aug 2022 23:02:17 +0100 (WEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tecnico.ulisboa.pt; s=mail; t=1661551337; bh=pBW9/6ZWzjlfBYVewQv7OgakWHFw5D0L/WyojUAzzW8=; h=Date:From:To:Cc:Subject; b=aAbu+86kadOAXTMTHYuRWjd+giU5LCOkKiwMgs3nOLA0kcimEkbuY1JZdpbqmXbwz 0tGzyOLMYZ8Hry0HmERNOljDb0PI4pBayspiCfH94v9nyTLXnK3NpUDA1sbztAbsrY tjWULiT5kWcoZswmixuru0Nj7dKKQ3JCLbxXzAog= Received: from archlinux (unknown [IPv6:2001:818:dcb5:dc00:7a88:7f12:8ed8:518d]) (Authenticated sender: ist187313) by mail2.tecnico.ulisboa.pt (Postfix) with ESMTPSA id 0B7385600BD; Fri, 26 Aug 2022 23:02:17 +0100 (WEST) Date: Fri, 26 Aug 2022 23:02:18 +0100 From: Diogo Ivo To: diogo.ivo@tecnico.ulisboa.pt Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, thierry.reding@gmail.com, jonathanh@nvidia.com, arnd@arndb.de, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: tegra: smaug: Add Bluetooth node Message-ID: <20220826220218.abgj6zplibwqvqc7@archlinux> MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Google Pixel C contains a BRCM4354 Bluetooth module. Add a DT node for it. Tested on Pixel C. Signed-off-by: Diogo Ivo --- arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts index 8a8ca9c48f42..afd05391e78a 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts @@ -17,6 +17,7 @@ / { aliases { serial0 = &uarta; + serial3 = &uartd; }; chosen { @@ -1340,6 +1341,22 @@ serial@70006000 { status = "okay"; }; + uartd: serial@70006300 { + compatible = "nvidia,tegra30-hsuart"; + status = "okay"; + + bluetooth { + compatible = "brcm,bcm43540-bt"; + max-speed = <4000000>; + brcm,bt-pcm-int-params = [01 02 00 01 01]; + device-wakeup-gpios = <&gpio TEGRA_GPIO(H, 3) GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpio TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>; + interrupt-parent = <&gpio>; + interrupts = ; + interrupt-names = "host-wakeup"; + }; + }; + i2c@7000c400 { status = "okay"; clock-frequency = <1000000>;