From nobody Thu Oct 9 08:51:58 2025 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 728532472A4; Thu, 19 Jun 2025 06:40:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750315206; cv=none; b=qKVyOl3UjGLMTuCsOR1f0KULDLV1qe+GNAjlyMmwYIbz9u6S8ESQg2mFi5N/PZzn1d1TehzVvbhMQXxlxXxMCiMwR6J0NIhw8u8sQ/cYIMsAzNW16Bt1Oi0Pu0frLDH9y47gkgl6DTGRZ9TR7+SqNEISh5RKI1tvq2baWtfzrHc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750315206; c=relaxed/simple; bh=B86THT0PXcOn8xm+Sj1/pwGdP/825A5GAtFkH/cue4E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=e6rHSUalX6LMac5OQ4jhfAxSTIflzgnd5fPqY7uTiXzbdV+FCQOTrG6Sgx8yY5iTCqP+/epIeGi76S0hK5AX/2UcBQ9nwbznkZX0E612d/fPqlm88HJAaoj30CMtbZRR2OmFbhCL4qq2lun4ffTmCHymSEhClYKWmIC+A2p1hBE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=Tbmbjp+C; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="Tbmbjp+C" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=MdtJuUSyYFoQpkY3gZQ3DL/JZPXVrwJylxxi2w+UrIY=; b=Tbmbjp+CgXtQD60jIitKkWYPOx xOeQBXqwWt9fNVLORCqcBKoPbbOHijuuchsYTm2jMLZOpbvYBpafKWzSRexQzg+21GJgwybaOPOlM i7OnAqpj6oBuohW8qfDLGp7fHkyFcwok/DaXt02mkC+WmiYz/8VA9YGqaVbLv363YaTnQMtUeYKSR 5VMZe1HiBEfBdJA9uE3BmC1o+A+PeTrhR9B6NzVMbzCp4akxz3UeoKj6E9BbxB//GzNs0CkKH604p +0IthHyDxX5gaAbdAghwxzhxEbSTwz7WKk79xMv6SzDpVgykKYRFFoPatISYzb6ZSdR8UzSExn9AW p+0E/YTQ==; Received: from [89.212.21.243] (port=44058 helo=localhost.localdomain) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1uS8wG-00EVcY-2U; Thu, 19 Jun 2025 08:39:56 +0200 From: Primoz Fiser To: Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: imx93-phyboard-nash: Add PEB-WLBT-07 overlay Date: Thu, 19 Jun 2025 08:39:54 +0200 Message-Id: <20250619063954.1730231-5-primoz.fiser@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250619063954.1730231-1-primoz.fiser@norik.com> References: <20250619063954.1730231-1-primoz.fiser@norik.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: primoz.fiser@norik.com X-Authenticated-Sender: cpanel.siel.si: primoz.fiser@norik.com X-Source: X-Source-Args: X-Source-Dir: Content-Type: text/plain; charset="utf-8" Add overlay to support PHYTEC PEB-WLBT-07 WiFi/Bluetooth evaluation adapter on phyBOARD-Nash-i.MX93 board. Adapter uses the u-blox MAYA-W2 module (IW612 chipset) which is capable of Wi-Fi 6 and Bluetooth 5.4 LE. Signed-off-by: Primoz Fiser --- arch/arm64/boot/dts/freescale/Makefile | 2 + .../imx93-phyboard-nash-peb-wlbt-07.dtso | 88 +++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx93-phyboard-nash-peb-w= lbt-07.dtso diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/f= reescale/Makefile index 3166684ab558..699c3b1d80b2 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -325,9 +325,11 @@ dtb-$(CONFIG_ARCH_MXC) +=3D imx93-kontron-bl-osm-s.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx93-phyboard-nash.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx93-phyboard-segin.dtb =20 +imx93-phyboard-nash-peb-wlbt-07-dtbs +=3D imx93-phyboard-nash.dtb imx93-ph= yboard-nash-peb-wlbt-07.dtbo imx93-phyboard-segin-peb-eval-01-dtbs +=3D imx93-phyboard-segin.dtb imx93-= phyboard-segin-peb-eval-01.dtbo imx93-phyboard-segin-peb-wlbt-05-dtbs +=3D imx93-phyboard-segin.dtb imx93-= phyboard-segin-peb-wlbt-05.dtbo imx93-phycore-rpmsg-dtbs +=3D imx93-phyboard-nash.dtb imx93-phyboard-segin= .dtb imx93-phycore-rpmsg.dtbo +dtb-$(CONFIG_ARCH_MXC) +=3D imx93-phyboard-nash-peb-wlbt-07.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx93-phyboard-segin-peb-eval-01.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx93-phyboard-segin-peb-wlbt-05.dtb dtb-$(CONFIG_ARCH_MXC) +=3D imx93-phycore-rpmsg.dtb diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-nash-peb-wlbt-07.= dtso b/arch/arm64/boot/dts/freescale/imx93-phyboard-nash-peb-wlbt-07.dtso new file mode 100644 index 000000000000..c7553e39e763 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-nash-peb-wlbt-07.dtso @@ -0,0 +1,88 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2025 PHYTEC Messtechnik GmbH + * Author: Primoz Fiser + */ + +/dts-v1/; +/plugin/; + +#include +#include "imx93-pinfunc.h" + +&{/} { + usdhc3_pwrseq: usdhc3-pwrseq { + compatible =3D "mmc-pwrseq-simple"; + reset-gpios =3D <&gpio4 29 GPIO_ACTIVE_LOW>; + }; +}; + +&lpuart5 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_uart5>; + status =3D "okay"; + + bluetooth { + compatible =3D "nxp,88w8987-bt"; + }; +}; + +/* + * NOTE: When uSDHC3 port is multiplexed on GPIO_IO[27:22] pads, it only + * supports 50 MHz mode, due to introduction of potential variations in + * trace impedance, drive strength, and timing skew. Refer to i.MX 93 + * Application Processors Data Sheet, Rev. 3, page 60 for more details. + */ +&usdhc3 { + pinctrl-names =3D "default", "sleep"; + pinctrl-0 =3D <&pinctrl_usdhc3>, <&pinctrl_wlbt>; + pinctrl-1 =3D <&pinctrl_usdhc3_sleep>, <&pinctrl_wlbt>; + mmc-pwrseq =3D <&usdhc3_pwrseq>; + bus-width =3D <4>; + keep-power-in-suspend; + non-removable; + wakeup-source; + status =3D "okay"; +}; + +&iomuxc { + pinctrl_uart5: uart5grp { + fsl,pins =3D < + MX93_PAD_DAP_TDO_TRACESWO__LPUART5_TX 0x31e + MX93_PAD_DAP_TDI__LPUART5_RX 0x31e + MX93_PAD_DAP_TCLK_SWCLK__LPUART5_CTS_B 0x31e + MX93_PAD_DAP_TMS_SWDIO__LPUART5_RTS_B 0x31e + >; + }; + + /* need to config the SION for data and cmd pad, refer to ERR052021 */ + pinctrl_usdhc3: usdhc3grp { + fsl,pins =3D < + MX93_PAD_GPIO_IO22__USDHC3_CLK 0x179e + MX93_PAD_SD3_CMD__USDHC3_CMD 0x4000178e + MX93_PAD_SD3_DATA0__USDHC3_DATA0 0x4000138e + MX93_PAD_SD3_DATA1__USDHC3_DATA1 0x4000138e + MX93_PAD_SD3_DATA2__USDHC3_DATA2 0x4000138e + MX93_PAD_SD3_DATA3__USDHC3_DATA3 0x4000138e + >; + }; + + pinctrl_usdhc3_sleep: usdhc3sleepgrp { + fsl,pins =3D < + MX93_PAD_GPIO_IO22__USDHC3_CLK 0x31e + MX93_PAD_SD3_CMD__USDHC3_CMD 0x31e + MX93_PAD_SD3_DATA0__USDHC3_DATA0 0x31e + MX93_PAD_SD3_DATA1__USDHC3_DATA1 0x31e + MX93_PAD_SD3_DATA2__USDHC3_DATA2 0x31e + MX93_PAD_SD3_DATA3__USDHC3_DATA3 0x31e + >; + }; + + pinctrl_wlbt: wlbtgrp { + fsl,pins =3D < + MX93_PAD_CCM_CLKO2__GPIO3_IO27 0x31e /* WAKE_DEV */ + MX93_PAD_CCM_CLKO3__GPIO4_IO28 0x31e /* WAKE_HOST */ + MX93_PAD_CCM_CLKO4__GPIO4_IO29 0x31e /* PDn */ + >; + }; +}; --=20 2.34.1