From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj2-f0.google.com (mail-pj2-f0.google.com [74.125.227.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2297C3385BC for ; Wed, 1 Jul 2026 18:57:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.227.128 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782932266; cv=none; b=pdeagUMb0GROzfFhJ8KdJOVBitLHSrheVsK4MwLgFXboUMY3Hah/0g+RmpRWMb3se3pxBFxcI7xin5MJgkzB/q8CfNV2JZLI6iX4ob4vvzmab8V7H6ShZRHiyk4330MIDcVumSLWxk9lBEMRxBSdG8cz0JRgM0iiiSU42/Smlhk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782932266; c=relaxed/simple; bh=y19ZDGfw+4L/hG1JEdClhtzvR3C4pXf5YiUIfrBfq5Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hnfBR+hytp5QTpGhHrBoW2wxbCvrNJK28z8dWZb9wb666LvlDllhjDVT/nN1pk7ZgYu89TB1lrT4l3rEk3qpd/d2cu9HbDpUqUBEu6XQ6YHtA4YDoOsLmh+t4AzPUlXU5DxoI/OkhNdXg7j858bFm3/N4G4jJv4k4r5LtaLsolk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nBiGXrO8; arc=none smtp.client-ip=74.125.227.128 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nBiGXrO8" Received: by mail-pj2-f0.google.com with SMTP id d9443c01a7336-2c9b43d55a0so5742995ad.1 for ; Wed, 01 Jul 2026 11:57:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782932264; x=1783537064; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DGzU+Kdxs/bDIK7sn0qzmTZSoK/NatWbELETWz34JKY=; b=nBiGXrO8u8OiU7EcI/7j1gydDiSSaRbUCq4KNM67Q3XGJb+8uI2dkbDVzS7QvhYo5i OvCRbuG4Q2rqfCHp6sklmO1v9t+hhEG/5J1z7yIOs7+QGwAM5aHkmYD3T8qEuDUOy2pQ Djqd/R2YvR6abDCLcOZdMQlksahggMSMVUy1IaGWV4Nmeo9tMPOzgtcBVPKiDG4A/yy4 bA6sGoXW+jPhmox6skaD6juLILoJu9HVDDqN6rB+SvrxhBBeMqXDG5+umLJzImHt0hql BBd4GzJ8WtI/zxvJC2zsq37w5PgzAFdP5PkCZuWJv/z3jOBSpQ6But79SXJjHKOfcOC3 HyjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782932264; x=1783537064; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=DGzU+Kdxs/bDIK7sn0qzmTZSoK/NatWbELETWz34JKY=; b=XIOuOT+bVc0B1t1c9T33i1GwyHC68TwCEWUFlS0UAI0WcjV+PSvM/mComtxxNmR7Jb w1kr5auVe0oty3qQwIB146avsfEmwIrVqU1ywyg3iPSOKt5vYr9dXCu/R7TvQzNttbZx LjdL606E1xFbI+WGkOYDqP0BBd2aURY6TjeFXZMzAvd3IrXVFS9fmAe0a4zlLylquSF/ CAH9UAttPeHESDV8yb2MrYjuXVccckniCzccsXu7GT8Qv3PpfXE5kT9IPn1RU3ITszrT 253kParT3hTZagu5ifZppAPsU9OPzd6uXEP/meUq9nv4kGy7LpG/7KvGPtt1NpUjndrj NDFg== X-Forwarded-Encrypted: i=1; AHgh+RqRwsxTLTe3hlQ3sF+NsiKONWfbJwM3RxsrXc4mKSH9CgDRfpKK9zmPhGGjIyPVjLqqDtOAzCSNMiOEuOc=@vger.kernel.org X-Gm-Message-State: AOJu0YwtHdKtV4su6AQaUsixr90a5bBfP4Vr6ZpiGc+laNsh7ZvGJWmo FJYj3EiCSNhBAZ3zsqSU13ge8abpLn0dbGoYZksEdtrWJ7WllSxjeeF/ X-Gm-Gg: AfdE7cnnFZhVuFztbUNUtsGNdClobbS/JQSQE8ZSn0EO/RwR0GRP/1GYXm+bs8MFsXa D1ueNGX8iRzlJrwc0GZV1Cb11KYyKEFBXhj1IAhgEWyuidnN+xIIkyHBVB7A03u1ORnSsxg5hmo Jwlxj917O39SKe60YwVw0UeO7u6txnNSsIlGBecnlceHgtIl35AkZZvKLUixWPqFhSOgt5rTQe2 8c2FVZZ1Q3wbMMgEZh6zcDqZpAy+Xn6xUnc66FVr0kjj8PcBrLOcyi5Gbbuz1Eox1mic5/Mkx96 vV7mpLSNVxSTQJXzhtxQ8EDzMOglA5RroTR+l752ad0dJBP0WPLIWBVBGcH9AHHKTxBZo3jir/1 XQrXIj6+PoUs9H1Q5nrtZpT4T+N/3gIHF6JFgKWFvzHGs3w0YVpKJzJPuhYr11M9Xe2FlZE5Bgx R6s8kqAaZQ9fWOajxbAM/wjg== X-Received: by 2002:a17:903:26d0:b0:2ca:5a0f:d0c9 with SMTP id d9443c01a7336-2ca7e8cb82cmr29597415ad.43.1782932264354; Wed, 01 Jul 2026 11:57:44 -0700 (PDT) Received: from server.lan ([150.230.217.250]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ca9a8dadaasm2624205ad.14.2026.07.01.11.57.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2026 11:57:43 -0700 (PDT) From: Coia Prant To: Heiko Stuebner Cc: linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Coia Prant Subject: [PATCH 1/2] arm64: dts: rockchip: Add AP6275S support for 9Tripod X3568 v4 Date: Thu, 2 Jul 2026 02:56:56 +0800 Message-ID: <20260701185657.4092955-1-coiaprant@gmail.com> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the missing Broadcom Wi-Fi and Bluetooth child nodes for the 9Tripod X3568 v4 board. The Bluetooth subnode is attached to uart8 with hardware flow control enabled via RTS/CTS pins. The Wi-Fi subnode is connected via the sdmmc2 bus. Additionally, change the status of the i2s3_2ch node to "disabled" since the required rk3568-codec-digital driver for Bluetooth audio is currently unavailable in the mainline tree. Signed-off-by: Coia Prant --- .../dts/rockchip/rk3568-9tripod-x3568-v4.dts | 57 +++++++++++++++++-- 1 file changed, 53 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts b/arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts index 4db00489be40f..c3ffb3fd51cd4 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-9tripod-x3568-v4.dts @@ -582,9 +582,9 @@ &i2s1_8ch { status = "okay"; }; -/* used for AP6275S Bluetooth Sound */ +/* required rk3568-codec-digital for AP6275S Bluetooth Sound */ &i2s3_2ch { - status = "okay"; + status = "disabled"; }; &mdio0 { @@ -664,6 +664,20 @@ &pdm { }; &pinctrl { + bluetooth { + bt_reg_on_h: bt-reg-on-h { + rockchip,pins = <3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; + }; + + bt_wake_host_h: bt-wake-host-h { + rockchip,pins = <3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_down>; + }; + + host_wake_bt_h: host-wake-bt-h { + rockchip,pins = <3 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + leds { led_work_en: led_work_en { rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>; @@ -699,6 +713,12 @@ vcc3v3_pcie_en_pin: vcc3v3-pcie-en-pin { rockchip,pins = <3 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; }; }; + + wifi-irq { + wifi_host_wake_irq: wifi-host-wake-irq { + rockchip,pins = <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_down>; + }; + }; }; &pmu_io_domains { @@ -759,6 +779,9 @@ &sdmmc0 { /* used for AP6275S WiFi */ &sdmmc2 { + #address-cells = <1>; + #size-cells = <0>; + bus-width = <4>; cap-sd-highspeed; cap-sdio-irq; @@ -771,6 +794,16 @@ &sdmmc2 { vmmc-supply = <&vcc3v3_sys>; vqmmc-supply = <&vcc_1v8>; status = "okay"; + + wifi@1 { + compatible = "brcm,bcm43752-fmac", "brcm,bcm4329-fmac"; + reg = <1>; + interrupt-parent = <&gpio3>; + interrupts = ; + interrupt-names = "host-wake"; + pinctrl-names = "default"; + pinctrl-0 = <&wifi_host_wake_irq>; + }; }; &spdif { @@ -798,10 +831,26 @@ &uart4 { status = "okay"; }; -/* used for WiFi/BT AP6275S */ +/* used for AP6275S Bluetooth */ &uart8 { - pinctrl-0 = <&uart8m0_xfer &uart8m0_ctsn>; + dma-names = "tx", "rx"; + pinctrl-names = "default"; + pinctrl-0 = <&uart8m0_xfer &uart8m0_ctsn &uart8m0_rtsn>; + uart-has-rtscts; status = "okay"; + + bluetooth { + compatible = "brcm,bcm43438-bt"; + clocks = <&rk809 1>; + clock-names = "lpo"; + device-wakeup-gpios = <&gpio3 RK_PA2 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>; + max-speed = <1500000>; + pinctrl-names = "default"; + pinctrl-0 = <&bt_reg_on_h &bt_wake_host_h &host_wake_bt_h>; + shutdown-gpios = <&gpio3 RK_PA0 GPIO_ACTIVE_HIGH>; + vddio-supply = <&vcc_1v8>; + }; }; &uart9 { -- 2.47.3