[PATCH 0/5] Import optee node from u-boot device trees
From: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Date: 2026-07-10 15:32:02
Also in:
imx, linux-devicetree, lkml, openbmc
In a recent discussion on the U-Boot mailing list [1], it was found out that several platforms were adding the OP-TEE device tree-node thanks to some U-Boot specific dtsi. This was deemed as a bad solution, as this should instead be added in the DTS files hosted in Linux sources, particularly for platforms already using the "upstream" (Linux) device tree. Most i.MX8 and i.MX9 platforms are already using OF_UPSTREAM configuration in U-Boot. Some are not, but are fairly new, so we can expect them to use the Linux device tree once their support is a bit more stable. So they will benefit from these changes once upstream device trees are refreshed in U-Boot. STM32MP157 platforms are using OF_UPSTREAM, with similar consequences. The two other platforms are using an U-Boot specific device tree, yet adding these nodes on the kernel side will help to reduce the differences. The zynqmp platform was ignored, as a similar change was previously reverted [2]. I also ignored a few platforms without direct match between U-Boot and Linux dts files. Also add the OP-TEE node on the imx93 FRDM platform device tree: while this is not part of U-Boot code today, it is the change that triggered the U-Boot discussion. [1]: https://lore.kernel.org/all/20260706145906.GW749385@bill-the-cat/ (local) [2]: https://lore.kernel.org/all/20251125-revert-zynqmp-optee-v1-1-d2ce4c0fcaf6@vaisala.com/ (local) Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> --- Mathieu Dubois-Briand (5): arm64: dts: freescale: Import optee node from u-boot device trees arm: dts: st: Import optee node from u-boot device trees arm64: dts: hisilicon: hi3798cv200-poplar: Import optee node from u-boot device tree arm64: dts: nuvoton: npcm845-evb: Import optee node from u-boot device tree arm64: dts: freescale: imx93-frdm: Add OP-TEE device tree node arch/arm/boot/dts/st/stm32mp157a-dk1.dts | 17 +++++++++++++++++ arch/arm/boot/dts/st/stm32mp157c-ed1.dts | 12 ++++++++++++ arch/arm64/boot/dts/freescale/imx8mm.dtsi | 7 +++++++ arch/arm64/boot/dts/freescale/imx8mn.dtsi | 7 +++++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 7 +++++++ arch/arm64/boot/dts/freescale/imx91-11x11-evk.dts | 7 +++++++ arch/arm64/boot/dts/freescale/imx91-11x11-frdm.dts | 7 +++++++ arch/arm64/boot/dts/freescale/imx91-phyboard-segin.dts | 7 +++++++ arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 7 +++++++ arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts | 7 +++++++ arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts | 7 +++++++ .../arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dts | 7 +++++++ arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts | 7 +++++++ .../arm64/boot/dts/freescale/imx93-var-som-symphony.dts | 7 +++++++ arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts | 7 +++++++ arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts | 7 +++++++ 16 files changed, 127 insertions(+) --- base-commit: 8cdeaa50eae8dad34885515f62559ee83e7e8dda change-id: 20260710-mathieu-uboot-dts-import-69f51bc097d7 Best regards, -- Mathieu Dubois-Briand [off-list ref]