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 A65E9F588D0 for ; Mon, 20 Apr 2026 13:54:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/+5/8GtqjI8sWBN9AjqBhPUVkwTxHRu/RbAbwi1i1SM=; b=YIcTAu4EJXE+CiiAHOikVwUb69 qmCrhWUv5BDFb2WD3sNhqzzg5LK2679UAq8dSWXaAuTlY2N5YkVQ6mtvFzDs9Yp7nLlKne/8i0+Np qTpC2XnuFgC1hTaRTb9vctBFxa95q1v/dRu9+KYSM17LwXEqXMFHTQd+hcOOtbENcw9SLuN8dxRfz z/j8Jvv9H3NgcMblWzj3YhohAazUY+j6mCcNlyZjwAz6s0VZ/0pZL0ep/asNpAwrG2TqcJOrooIBy Q1XwmGj0LCNQtxGIvmeoWoL8uDQi/uSA2b/MBrUB3sRThFtATWhJ+I7AHfqWztDUGF34UFM2TWvVd wcNpK7hA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wEp5D-000000076ug-1CN2; Mon, 20 Apr 2026 13:54:39 +0000 Received: from courrier.aliel.fr ([65.21.61.41]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wEp54-000000076jm-0ZXJ; Mon, 20 Apr 2026 13:54:32 +0000 From: Ronald Claveau DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aliel.fr; s=courrier-s1; t=1776693264; bh=RBIiK8CES8R9gJcjoYTCoKw0do5/miRgk0+ffcE8qDk=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=Bqk3LylI8jz9spsXo5qoAODLjNruZyLazz96UrsETlsfWkAfRPY6utJ/xRL5Q2dWO 5lX4rvRX8iZ+HSMfU9tLrdY/moYUwmcxLKcnLDKUDrqW2hAguHUxWcqKidVvLYd4UX evoWZkGKxMiAgegVqwcDAebS27djyLVe9XgXDQEQ= Date: Mon, 20 Apr 2026 15:54:05 +0200 Subject: [PATCH v4 4/4] arm64: dts: amlogic: t7: khadas-vim4: Enable Bluetooth MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260420-add-bluetooth-t7-vim4-v4-4-9505df0e7016@aliel.fr> References: <20260420-add-bluetooth-t7-vim4-v4-0-9505df0e7016@aliel.fr> In-Reply-To: <20260420-add-bluetooth-t7-vim4-v4-0-9505df0e7016@aliel.fr> To: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ronald Claveau X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openssh-sha256; t=1776693261; l=1452; i=linux-kernel-dev@aliel.fr; s=id_ed25519; h=from:subject:message-id; bh=RBIiK8CES8R9gJcjoYTCoKw0do5/miRgk0+ffcE8qDk=; b=U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgMGec55oxeeisqykQiUedekMYyOnR9 BG9E/7rDWyqdNoAAAAGcGF0YXR0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5AAAA QJpxuZIRj3W4tnr+l9B6tbn37Ka+/vmOZd3e8M2idNXYnjh4fSQSDtqZDilNf0yv6u2Td8L37uq uitqUOdsCHwg= X-Developer-Key: i=linux-kernel-dev@aliel.fr; a=openssh; fpr=SHA256:kch4osYZ6A1BrPps5AUs6KnfdE2wm4ocMtyTc8TmZMs X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260420_065430_670878_098D0B33 X-CRM114-Status: UNSURE ( 6.98 ) X-CRM114-Notice: Please train this message. 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 Enable UART C on the Khadas VIM4 board and attach the BCM43438 compatible Bluetooth controller to it. The node configures the RTS/CTS hardware flow control, the associated pinmux, the power supplies (vddao_3v3 and vddao_1v8), the 32 kHz LPO clock shared with the wifi32k fixed clock, and the GPIO lines used for host wakeup, device wakeup and shutdown. Signed-off-by: Ronald Claveau --- .../dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts b/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts index 3227ab27de107..8ea7ae609fbd5 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts @@ -251,3 +251,22 @@ &sd_emmc_c { &uart_a { status = "okay"; }; + +&uart_c { + status = "okay"; + pinctrl-0 = <&uart_c_pins>; + pinctrl-names = "default"; + uart-has-rtscts; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>; + device-wakeup-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; + max-speed = <3000000>; + clocks = <&wifi32k>; + clock-names = "lpo"; + vbat-supply = <&vddao_3v3>; + vddio-supply = <&vddao_1v8>; + }; +}; -- 2.49.0