Re: [PATCH v3 1/1] arm64: dts: qcom: lemans-evk: Add Mezzanine

From: Krzysztof Kozlowski

Date: Mon Feb 23 2026 - 08:15:03 EST


On 03/02/2026 20:38, Umang Chheda wrote:
> The Mezzanine is an hardware expansion add-on board designed
> to be stacked on top of Lemans EVK.
>
> It has following peripherals :
>
> - 4x Type A USB ports in host mode.
> - TC9563 PCIe switch, which has following three downstream ports (DSP) :
> - 1st DSP connects M.2 E-key connector for connecting WLAN endpoints.
> - 2nd DSP connects M.2 B-key connector for connecting cellular modems.
> - 3rd DSP with support for Dual Ethernet ports.
> - eMMC.
> - Additional 2.5GbE Ethernet PHY connected to native EMAC with support for
> MAC Address configuration via NVMEM.
> - EEPROM.
> - LVDS Display.
> - 2*mini DP.
>
> Add support for following peripherals :
> - TC9563 PCIe Switch.
> - Additional 2.5GbE Ethernet Port.
> - EEPROM.
>
> Written with inputs from :
> Mohd Ayaan Anwar <mohd.anwar@xxxxxxxxxxxxxxxx> - Ethernet.
> Krishna Chaitanya Chundru <krishna.chundru@xxxxxxxxxxxxxxxx> - PCIe
> Monish Chunara <monish.chunara@xxxxxxxxxxxxxxxx> - EEPROM.
>
> Signed-off-by: Umang Chheda <umang.chheda@xxxxxxxxxxxxxxxx>
> ---
> arch/arm64/boot/dts/qcom/Makefile | 4 +
> .../boot/dts/qcom/lemans-evk-mezzanine.dtso | 301 ++++++++++++++++++
> 2 files changed, 305 insertions(+)
> create mode 100644 arch/arm64/boot/dts/qcom/lemans-evk-mezzanine.dtso
>
> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
> index f80b5d9cf1e8..79449004adfd 100644
> --- a/arch/arm64/boot/dts/qcom/Makefile
> +++ b/arch/arm64/boot/dts/qcom/Makefile
> @@ -43,6 +43,10 @@ dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-camera.dtb
> lemans-evk-el2-dtbs := lemans-evk.dtb lemans-el2.dtbo
>
> dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-el2.dtb
> +
> +lemans-evk-mezzanine-dtbs := lemans-evk.dtb lemans-evk-mezzanine.dtbo
> +
> +dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-mezzanine.dtb
> dtb-$(CONFIG_ARCH_QCOM) += milos-fairphone-fp6.dtb
> dtb-$(CONFIG_ARCH_QCOM) += monaco-evk.dtb
> dtb-$(CONFIG_ARCH_QCOM) += msm8216-samsung-fortuna3g.dtb
> diff --git a/arch/arm64/boot/dts/qcom/lemans-evk-mezzanine.dtso b/arch/arm64/boot/dts/qcom/lemans-evk-mezzanine.dtso
> new file mode 100644
> index 000000000000..4fab96ba873c
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/lemans-evk-mezzanine.dtso
> @@ -0,0 +1,301 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> + */
> +
> +/dts-v1/;
> +/plugin/;
> +
> +#include <dt-bindings/gpio/gpio.h>
> +
> +&{/} {
> + model = "Qualcomm Technologies, Inc. Lemans-evk Mezzanine";
> +
> + vreg_0p9: regulator-vreg-0p9 {
> + compatible = "regulator-fixed";
> + regulator-name = "VREG_0P9";
> +
> + regulator-min-microvolt = <900000>;
> + regulator-max-microvolt = <900000>;
> + regulator-always-on;
> + regulator-boot-on;
> +
> + vin-supply = <&vreg_3p3>;
> + };
> +
> + vreg_1p8: regulator-vreg-1p8 {
> + compatible = "regulator-fixed";
> + regulator-name = "VREG_1P8";
> +
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + regulator-always-on;
> + regulator-boot-on;
> +
> + vin-supply = <&vreg_4p2>;
> + };
> +
> + vreg_3p3: regulator-vreg-3p3 {
> + compatible = "regulator-fixed";
> + regulator-name = "VREG_3P3";
> +
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + regulator-always-on;
> + regulator-boot-on;
> +
> + vin-supply = <&vreg_4p2>;
> + };
> +
> + vreg_4p2: regulator-vreg-4p2 {
> + compatible = "regulator-fixed";
> + regulator-name = "VREG_4P2";
> +
> + regulator-min-microvolt = <4200000>;
> + regulator-max-microvolt = <4200000>;
> + regulator-always-on;
> + regulator-boot-on;
> +
> + vin-supply = <&vreg_sys_pwr>;
> + };
> +
> + vreg_sys_pwr: regulator-vreg-sys-pwr {

And here the same pattern as in Monaco EVK. This is pointless, you just
inflate the kernel and DTS with dummies.


Best regards,
Krzysztof