Re: [PATCH v2 3/5] arm64: dts: imx95-phyflex-libra-rdk: Add overlays

From: Frank Li

Date: Fri Nov 13 2026 - 13:00:49 EST


On Fri, Nov 13, 2026 at 05:00:05PM +0100, Benjamin Hahn wrote:

subject Add overlay for som temperature sensors and ...

> Add overlays for SoM temperature sensors and M.2 Key-E WIFI/BT cards
> that need the nxp,88w8987-bt compatible in devicetree (tested on
> IW611/IW612).
>
> Signed-off-by: Benjamin Hahn <B.Hahn@xxxxxxxxx>
> ---
> arch/arm64/boot/dts/freescale/Makefile | 9 ++++++++
> .../imx95-phyflex-fpsc-g-som-temperature.dtso | 23 +++++++++++++++++++++
> .../imx95-phyflex-libra-rdk-bluetooth-88w8987.dtso | 24 ++++++++++++++++++++++

which is independ, suggest use two patches to do that.

> 3 files changed, 56 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
> index 4eb7508193e7..17b357f4886a 100644
> --- a/arch/arm64/boot/dts/freescale/Makefile
> +++ b/arch/arm64/boot/dts/freescale/Makefile
> @@ -739,7 +739,16 @@ imx95-19x19-evk-pcie1-ep-dtbs += imx95-19x19-evk.dtb imx-pcie1-ep.dtbo
> dtb-$(CONFIG_ARCH_MXC) += imx95-19x19-evk-pcie0-ep.dtb imx95-19x19-evk-pcie1-ep.dtb
> dtb-$(CONFIG_ARCH_MXC) += imx95-libra-rdk-fpsc.dtb
>
> +imx95-phyflex-fpsc-g-som-temperature-dtbs := \
> + imx95-phyflex-libra-rdk.dtb \
> + imx95-phyflex-fpsc-g-som-temperature.dtbo
> +imx95-phyflex-libra-rdk-bluetooth-88w8987-dtbs := \
> + imx95-phyflex-libra-rdk.dtb \
> + imx95-phyflex-libra-rdk-bluetooth-88w8987.dtbo
> +
> dtb-$(CONFIG_ARCH_MXC) += imx95-phyflex-libra-rdk.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx95-phyflex-fpsc-g-som-temperature.dtb
> +dtb-$(CONFIG_ARCH_MXC) += imx95-phyflex-libra-rdk-bluetooth-88w8987.dtb
>
> dtb-$(CONFIG_ARCH_MXC) += imx95-19x19-verdin-evk.dtb
>
> diff --git a/arch/arm64/boot/dts/freescale/imx95-phyflex-fpsc-g-som-temperature.dtso b/arch/arm64/boot/dts/freescale/imx95-phyflex-fpsc-g-som-temperature.dtso
> new file mode 100644
> index 000000000000..84afe1ff9f06
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx95-phyflex-fpsc-g-som-temperature.dtso
> @@ -0,0 +1,23 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * Copyright (C) 2026 PHYTEC Messtechnik GmbH
> + */
> +
> +/dts-v1/;
> +/plugin/;
> +
> +&dram_sense {
> + status = "okay";
> +};
> +
> +&emmc_sense {
> + status = "okay";
> +};
> +
> +&ethphy_sense {
> + status = "okay";
> +};
> +
> +&pmic_sense {
> + status = "okay";
> +};
> diff --git a/arch/arm64/boot/dts/freescale/imx95-phyflex-libra-rdk-bluetooth-88w8987.dtso b/arch/arm64/boot/dts/freescale/imx95-phyflex-libra-rdk-bluetooth-88w8987.dtso
> new file mode 100644
> index 000000000000..1601e04b3940
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/imx95-phyflex-libra-rdk-bluetooth-88w8987.dtso
> @@ -0,0 +1,24 @@
> +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
> +/*
> + * Copyright (C) 2026 PHYTEC Messtechnik GmbH
> + */
> +/dts-v1/;
> +/plugin/;
> +
> +#include <dt-bindings/gpio/gpio.h>
> +
> +&lpuart8 {
> + bluetooth {

Can you add label for bluetooth at boards file, so this overlay can
reuse for other 88w8987-bt module.

> + compatible = "nxp,88w8987-bt";
> + fw-init-baudrate = <115200>;
> + };
> +};
> +
> +&gpio_expander1 {
> + uart1_bt_rs_sel: bt-rs-hog {
> + gpios = <14 GPIO_ACTIVE_HIGH>;
> + gpio-hog;

Look like it is pinmux ref gpio-mux

https://lore.kernel.org/imx/20261023-dxl_lcdif-v4-5-4ae8395a4b23@xxxxxxx/

Frank
> + line-name = "UART1_BT_RS_SEL";
> + output-high;
> + };
> +};
>
> --
> 2.53.0
>
>