From nobody Sat Jul 25 17:33:46 2026 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 575D934751B; Wed, 15 Jul 2026 14:22:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125379; cv=none; b=hpND0neWMeNNtkiKyqlArot94+IlNhVhKMFKA71a5g5FUCvUQNDkSb2K475enu5Kc5ybDjpzJTnpP7jFe7MEnMSpdulIHIZbrUXV+PHmLF4jVJKamBpkHwTsihd/5pJU4oAoOAO408j8Y2uXgzuonA7emzBOFNOEII9zAfiBhUg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125379; c=relaxed/simple; bh=4EldnH2ExTffP0z0gITXODHOKRoDxNq6UHbk0zExkao=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RI4DdN9vBBsVd/lGc0xojNlgACc4YPNYVJsFyGFGe/lBGqOOgcjZsHuA+4ZVF9W8xrRGJQyk1RzF68zoMglOHGcD1dqhQE+Imz51emiuCRLb7H8G8dDjInvOS8V5N+BhbjM+l93yD4Zfk9saLhOAgA4u11bveP8LUVhoF3yDk5o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=r7C1eKLS; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="r7C1eKLS" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id D49F91A101D; Wed, 15 Jul 2026 14:22:55 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id A791A6035C; Wed, 15 Jul 2026 14:22:55 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id CC25611BD1518; Wed, 15 Jul 2026 16:22:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1784125373; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=xkPDvJCyj18SKQgS56+fB0yY1lwLuFQi8fyXnXcclp0=; b=r7C1eKLS2Yo3OAp/FoJ0P/5zMJidOL2VfmZsIHbrp79XtBeFdRkutsS1NhdEPly0rQ6AGU ZmG7p3EQ0l3EptFpsHkwZM+FffAfG25YvVqRrPenVk40RjR12i2QF9OP1vvohiFfExOSxT BCgQ29e+PpVPocP/EDbRhgQtvKMszHJyevK78fBteZ7iyy9mPa8hS3OHm3agaEYxOaOAsp fmbi2PRvR6RzrMOtqHnHa43pQnIwM/jZJMHmhJyloqhvTtE4wZPdvnEG0396/Kf8TyYCyD qdMKpE0dPKnk5Yl6leW/x5pOuZkXwySddaEuzXJFe2GLeQTjcudJoP7M1zkFww== From: Mathieu Dubois-Briand Date: Wed, 15 Jul 2026 16:22:18 +0200 Subject: [PATCH v2 1/7] arm64: dts: freescale: Import optee node from u-boot i.MX91 and i.MX93 device trees Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260715-mathieu-uboot-dts-import-v2-1-bc931417bd0e@bootlin.com> References: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> In-Reply-To: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Maxime Coquelin , Alexandre Torgue , Wei Xu , Andrew Jeffery , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair Cc: Thomas Petazzoni , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, openbmc@lists.ozlabs.org, Tom Rini , Peter Robinson , Mathieu Dubois-Briand X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784125361; l=5282; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=4EldnH2ExTffP0z0gITXODHOKRoDxNq6UHbk0zExkao=; b=CzJFdxaRArl0cMxpwFzbbL5/P9a3yqG/Hgcykp8YYcWOSX4s1cPjEYsuqfHZ+H7yF0FD5mIwt /tBKKNpR8QKD3MxahEsgGYs86rN7MeXs9MIvZnQQXJcORKp8KLsx2ub X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-Last-TLS-Session-Version: TLSv1.3 U-Boot is importing kernel device trees for these platforms, but adding a firmware node to enable communication with OP-TEE. Importing changes here will allow to remove these additions in U-Boot. Signed-off-by: Mathieu Dubois-Briand --- 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-9x9-qsb.dts | 7 +++++++ arch/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dts | 7 +++++++ arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts | 7 +++++++ arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts | 7 +++++++ 8 files changed, 56 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx91-11x11-evk.dts b/arch/arm64= /boot/dts/freescale/imx91-11x11-evk.dts index 5716febb5a50..c7050bafacae 100644 --- a/arch/arm64/boot/dts/freescale/imx91-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx91-11x11-evk.dts @@ -110,6 +110,13 @@ linux,cma { }; }; =20 + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; + sound-wm8962 { compatible =3D "fsl,imx-audio-wm8962"; model =3D "wm8962-audio"; diff --git a/arch/arm64/boot/dts/freescale/imx91-11x11-frdm.dts b/arch/arm6= 4/boot/dts/freescale/imx91-11x11-frdm.dts index c25561574d3f..c0156921414f 100644 --- a/arch/arm64/boot/dts/freescale/imx91-11x11-frdm.dts +++ b/arch/arm64/boot/dts/freescale/imx91-11x11-frdm.dts @@ -152,6 +152,13 @@ linux,cma { }; }; =20 + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; + soc@0 { bootph-all; bootph-pre-ram; diff --git a/arch/arm64/boot/dts/freescale/imx91-phyboard-segin.dts b/arch/= arm64/boot/dts/freescale/imx91-phyboard-segin.dts index 022e9c6841ef..62b6eff013f1 100644 --- a/arch/arm64/boot/dts/freescale/imx91-phyboard-segin.dts +++ b/arch/arm64/boot/dts/freescale/imx91-phyboard-segin.dts @@ -35,6 +35,13 @@ chosen { stdout-path =3D &lpuart1; }; =20 + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; + flexcan1_tc: can-phy0 { /* TI SN65HVD234D CAN-CC 1MBit/s */ compatible =3D "ti,tcan1043"; diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64= /boot/dts/freescale/imx93-11x11-evk.dts index c6db9c85f2ac..0bea169d7029 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -42,6 +42,13 @@ reg_usdhc3_vmmc: regulator-usdhc3 { enable-active-high; }; =20 + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; + usdhc3_pwrseq: usdhc3_pwrseq { compatible =3D "mmc-pwrseq-simple"; reset-gpios =3D <&pcal6524 12 GPIO_ACTIVE_LOW>; diff --git a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts b/arch/arm64/b= oot/dts/freescale/imx93-9x9-qsb.dts index 01c11c517986..6b99c0594125 100644 --- a/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts +++ b/arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts @@ -147,6 +147,13 @@ reg_usdhc3_vmmc: regulator-usdhc3 { enable-active-high; }; =20 + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; + sound-bt-sco { compatible =3D "simple-audio-card"; simple-audio-card,name =3D "bt-sco-audio"; diff --git a/arch/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dts b/arc= h/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dts index 4620c070f4d7..b8fa0cda33b2 100644 --- a/arch/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dts +++ b/arch/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dts @@ -62,6 +62,13 @@ reg_vcc_panel: regulator-vcc-panel { regulator-min-microvolt =3D <3300000>; regulator-name =3D "VCC_PANEL"; }; + + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; }; =20 &eqos { /* Second ethernet (OSM-S ETH_B) */ diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts b/arch/= arm64/boot/dts/freescale/imx93-phyboard-segin.dts index d929aa9ff255..e96b8437f922 100644 --- a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts +++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts @@ -36,6 +36,13 @@ chosen { stdout-path =3D &lpuart1; }; =20 + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; + flexcan1_tc: can-phy0 { compatible =3D "ti,tcan1043"; #phy-cells =3D <0>; diff --git a/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts b/arc= h/arm64/boot/dts/freescale/imx93-var-som-symphony.dts index 409c7e74ffe3..20eaabc23b49 100644 --- a/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts +++ b/arch/arm64/boot/dts/freescale/imx93-var-som-symphony.dts @@ -125,6 +125,13 @@ ele_reserved: ele-reserved@87de0000 { }; }; =20 + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; + gpio-keys { compatible =3D "gpio-keys"; =20 --=20 2.47.3 From nobody Sat Jul 25 17:33:46 2026 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 514A43537FB for ; Wed, 15 Jul 2026 14:23:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125383; cv=none; b=rFn0XC1fHM/8+dZhaFPPV98ZdpIE0iPbztjp8drx0ARiklqkH3URpnkK+g216lxt+s6t2DGZW4huQWLDgUHIVUwselzATD9ZadtKZhjSZxtXDxtfWJ8fYdL7f2ALz1E42npnD17I50Ch3Fv7aAikiWsmT9ZS6y+Y28c64thq6lk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125383; c=relaxed/simple; bh=SDm0SYsN8Y1Zsp1HeVyZPRmleGAzxiCMbONHPuFrQZk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GT6YODxL1Gyk/nATSVK/nSC0V+c2rhEL8G2uGQd8Vj5oLA7nQdhXB0W94dWAsw9t7DFfdY1h3c3x2ku1mblC038DjvRdhLOTVWoGYKnZs4TQH//XgyhxEBGNp0mopUA4CmDdRwrHOi7kqWWsjhw535EGyT+Ib5bZ4hvbjYPsl+U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=dzjOa4dc; arc=none smtp.client-ip=185.171.202.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="dzjOa4dc" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 3425BC2B9DC; Wed, 15 Jul 2026 14:23:16 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 3FC846035C; Wed, 15 Jul 2026 14:22:59 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 84BBB11BD3B3E; Wed, 15 Jul 2026 16:22:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1784125377; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=wiubH//rJuJlxM1kqna80QmfZD6ocMKvI3ND2MAvDYc=; b=dzjOa4dc0JCXRPUwBfSLPLHOk22H9cIBhoFR0pAD4AfcUtrxtnMIna2gYShjqkToGJ1aHI 7DvFXGSzgG5nIX5qgCgADwx9Iks8FcjU3vjhloB5vKxjiLUG1icPiqXWL3DXfKT9r3SsMa Zx0r7y5Eloe+MJ//paW3DDoFVzmQpjce/9J/TyS1z17rSq6FNuI6KO7Rm/M/yRBwAg+G4V HHRt69LYaQKw7r2/B82ZxvtLenrvk9ZcxqpmfBJpuuBwQx3utl2Pn0xtDKWMYWOoHCCgv3 Kg41o0VNdV6nu5kbZd6T4VlfidI/dJ9JP6/rsQYI34Rf+2JcHP9ZLjIq9H7NHw== From: Mathieu Dubois-Briand Date: Wed, 15 Jul 2026 16:22:19 +0200 Subject: [PATCH v2 2/7] arm64: dts: freescale: Import optee node from u-boot i.MX8 device trees Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260715-mathieu-uboot-dts-import-v2-2-bc931417bd0e@bootlin.com> References: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> In-Reply-To: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Maxime Coquelin , Alexandre Torgue , Wei Xu , Andrew Jeffery , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair Cc: Thomas Petazzoni , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, openbmc@lists.ozlabs.org, Tom Rini , Peter Robinson , Mathieu Dubois-Briand X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784125361; l=2010; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=SDm0SYsN8Y1Zsp1HeVyZPRmleGAzxiCMbONHPuFrQZk=; b=/AuygC48k+sPLQzR+8mJoNMphtn+6lb0dxScAfm8jP5DINF4GocGVrL4//3bpxHttvulAVXsp NCZgiyai7rxAC0obTj/2Bax1jZBlM7C5mrQgI6I5OF2eXydjkcSivJ2 X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-Last-TLS-Session-Version: TLSv1.3 U-Boot is importing kernel device trees for these platforms, but adding a firmware node to enable communication with OP-TEE. Importing changes here will allow to remove these additions in U-Boot. Signed-off-by: Mathieu Dubois-Briand --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 7 +++++++ arch/arm64/boot/dts/freescale/imx8mn.dtsi | 7 +++++++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dt= s/freescale/imx8mm.dtsi index 5cf2998d396d..4a55464e8a6f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -233,6 +233,13 @@ timer { arm,no-tick-in-suspend; }; =20 + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; + thermal_zones: thermal-zones { cpu-thermal { polling-delay-passive =3D <250>; diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dt= s/freescale/imx8mn.dtsi index 79b169b07c4f..c3b4560ec9b4 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -265,6 +265,13 @@ timer { arm,no-tick-in-suspend; }; =20 + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; + soc: soc@0 { compatible =3D "fsl,imx8mn-soc", "simple-bus"; #address-cells =3D <1>; diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dt= s/freescale/imx8mp.dtsi index 5ce2825182fd..285b98384255 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -404,6 +404,13 @@ timer { arm,no-tick-in-suspend; }; =20 + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; + soc: soc@0 { compatible =3D "fsl,imx8mp-soc", "simple-bus"; #address-cells =3D <1>; --=20 2.47.3 From nobody Sat Jul 25 17:33:46 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 5E41035DA6C for ; Wed, 15 Jul 2026 14:23:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125384; cv=none; b=b+kcqNu3zGno2zQ+SpRYNUbzXMNBYGnw3d0++1lX5DA6BikCpYWp65QfVpUqUgox7c0bz11BixICS8hvsJIs7kb7IgswIdWqJE56P0n0v43e/B1tZ+Coolk818FzV3XDE2UkWfSD6FXjYeWCXocbWHqroi5ebnFB62aj6ZCq2t4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125384; c=relaxed/simple; bh=BiSi1t1NUOIhyg6vwnL1alqPw0iJySL8ICnheLp+aN0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OebIyx5D9RlIcktHE9Jmz5XNf5Nz1RzZu9YB8a4wayYeQcxoaMjaKuXjXTMOuMGZO3+Ho602yiK1VkqxyxUOU7K1Pw0xP1ldlt/5HBTxcXqC51yBAkEyCHonEnGweQ+AgyZils4NGZ6LZpcsK3SeW3lKrDRD8wB8GuWVoI6mELQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=CoAUdMDy; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="CoAUdMDy" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id D97BF4E40DE6; Wed, 15 Jul 2026 14:23:01 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id AB5046035C; Wed, 15 Jul 2026 14:23:01 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6EE4811BD3A7E; Wed, 15 Jul 2026 16:22:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1784125379; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=tijUZy13OY+lpBLDlS9vMkTfAAXJmYkbRtFLhtiaaxU=; b=CoAUdMDyGMRWK2M4iByKGRWXdIszyR4NfGFP//GvNNqOPryLYX8xxwr5JXu0cnIm1ypGsI JbNNhiI0VmSvCd1ERCUNsDEreA1tRenvxbxGNqinMnWOGTOp0ai6u0IirZyqgvYgP6DKL1 IY4mcO+2t1U2H5yT9as0Zl+K4FKBBot9rK4AxEF0GQ69Vxq0D2aCSMk1yvk7l+mf1BKsPG psuqlA4IvXHQ0y0ag/SgBfwLCN5YoA+g5Y+PqJUNVGApddvtHw6VRXKy4EOB6AW1O/yBFl gzuheHMXD4A3TQlfxvM+6+LRRC9LpWjrAi1kAS205Pvwi1ymq/1kaz8U6lCs1A== From: Mathieu Dubois-Briand Date: Wed, 15 Jul 2026 16:22:20 +0200 Subject: [PATCH v2 3/7] arm: dts: st: Import optee node from u-boot device trees Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260715-mathieu-uboot-dts-import-v2-3-bc931417bd0e@bootlin.com> References: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> In-Reply-To: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Maxime Coquelin , Alexandre Torgue , Wei Xu , Andrew Jeffery , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair Cc: Thomas Petazzoni , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, openbmc@lists.ozlabs.org, Tom Rini , Peter Robinson , Mathieu Dubois-Briand X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784125361; l=1640; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=BiSi1t1NUOIhyg6vwnL1alqPw0iJySL8ICnheLp+aN0=; b=3lfIuZ00pjUhesMIxFFV0/F2DdxXFfSRCymcwCVDrr+fnITDXdhCnp3HkupTtLG8i6vkRtg2t oJ250VpA0loDfzIXNb0d3A0+ATPem2Ogyp0qtebyPhQiXysfjCjLPNO X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-Last-TLS-Session-Version: TLSv1.3 U-Boot is importing kernel device trees for these platforms, but adding a firmware node to enable communication with OP-TEE. Importing changes here will allow to remove these additions in U-Boot. Also import the corresponding reserved-memory region. Signed-off-by: Mathieu Dubois-Briand --- arch/arm/boot/dts/st/stm32mp157a-dk1.dts | 17 +++++++++++++++++ arch/arm/boot/dts/st/stm32mp157c-ed1.dts | 12 ++++++++++++ 2 files changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp157a-dk1.dts b/arch/arm/boot/dts/s= t/stm32mp157a-dk1.dts index 0da3667ab1e0..236da589eb90 100644 --- a/arch/arm/boot/dts/st/stm32mp157a-dk1.dts +++ b/arch/arm/boot/dts/st/stm32mp157a-dk1.dts @@ -22,4 +22,21 @@ aliases { chosen { stdout-path =3D "serial0:115200n8"; }; + + reserved-memory { + bootph-pre-ram; + + optee@de000000 { + reg =3D <0xde000000 0x02000000>; + no-map; + bootph-pre-ram; + }; + }; + + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; }; diff --git a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts b/arch/arm/boot/dts/s= t/stm32mp157c-ed1.dts index 49dd555cc228..7da726035086 100644 --- a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts +++ b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts @@ -70,6 +70,18 @@ retram: retram@38000000 { reg =3D <0x38000000 0x10000>; no-map; }; + + optee@fe000000 { + reg =3D <0xfe000000 0x02000000>; + no-map; + }; + }; + + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; }; =20 led { --=20 2.47.3 From nobody Sat Jul 25 17:33:46 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 8D6F8371D14 for ; Wed, 15 Jul 2026 14:23:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125389; cv=none; b=XJCx22LPb64hSNX8u9dNHJNaSw7kMoMrsaQKQAwjhEkXs6XjM0gu65ndFqQH4lzYodTm1uuNKNhxnAxp35OneHnGE0Oo9CaIgqfDFcD5QgRQXubWKSqMlH9AYohvgs76gOozafipYOoRtGFREUgBNc/nvbD4Mki4uol7AYYsiLU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125389; c=relaxed/simple; bh=HOom1bxrDO/GHwXqY0qD5lhaVaSjF0F+dciyfNclTPE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FI4qjcAVUJ5l4yIW3j2Mlr7KVKWE3NFEBbT5qSa3cwP/IMJfeZfkTY2Y6xfwAQnaiDlD4ckFy9l9SgdhqfTNqjUZqAeKwl9X64jPoqNaUXT7fNQrwhEvFK+WkxCpCjfToFxlKoXdnTL1vA/jwmEviwCBOOJFJEKFWrcAI5TVD4U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=LBtXZzTq; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="LBtXZzTq" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id F1A944E40DCF; Wed, 15 Jul 2026 14:23:05 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id BFC056035C; Wed, 15 Jul 2026 14:23:05 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6556911BD3BF5; Wed, 15 Jul 2026 16:23:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1784125383; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=yoILlpMIdQMG0h6z5e/h8NeegbfAs8+0w/UxB1yV3ZQ=; b=LBtXZzTqPsjY8076vvHsITNenZZhN3Ct1xGoOb4tKz94haxgx+p1EqHsM3Wht2WS6eCzeO W68OJBOcMBnh+iBIbTsSUCmw6agoaLFewyzwW5PVCSIC5zWuRoGD4LTMMJM3IimEB1j+bm SK4L8s7IFcfUZGtlK9sVg/sfMuSawx1Ww/tkUr3EX8oHFJwfmwfUUG91rtWRRITcs3vVXK zwgga9nsGKSxEb5HDLo6fHIfWvwS5ThqeiZR6nKM0Jh3I0ir74wObv20Uu+ypYe0b0WJ/6 svnIx1LBPcYhyXLPnU6h+9dBcBPJeAUwedifWPCAAeNfQrgtxq7IAmNfdF7tMg== From: Mathieu Dubois-Briand Date: Wed, 15 Jul 2026 16:22:21 +0200 Subject: [PATCH v2 4/7] arm: dts: st: stm32mp157c-ed1: Add bootph-pre-ram tag on optee reserved memory Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260715-mathieu-uboot-dts-import-v2-4-bc931417bd0e@bootlin.com> References: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> In-Reply-To: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Maxime Coquelin , Alexandre Torgue , Wei Xu , Andrew Jeffery , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair Cc: Thomas Petazzoni , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, openbmc@lists.ozlabs.org, Tom Rini , Peter Robinson , Mathieu Dubois-Briand , Sashiko X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784125361; l=997; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=HOom1bxrDO/GHwXqY0qD5lhaVaSjF0F+dciyfNclTPE=; b=mAiPNP5DfX7wuIjQ0yqQikVNtsTgizsMceV5ShTy0brhE9vMlpuKroXPZBEr+g5pkuR/8K/S/ SgNqYCMvu6FC8ySLhZY2pTwuzzquK0XVLdITpKUPiycOJreSa+OMdqB X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-Last-TLS-Session-Version: TLSv1.3 Add bootph-pre-ram property to bind optee reserved-memory during the SPL phase. Reported-by: Sashiko Link: https://sashiko.dev/#/patchset/20260710-mathieu-uboot-dts-import-v1-0= -ffe0210e50c9@bootlin.com?part=3D2 Signed-off-by: Mathieu Dubois-Briand --- arch/arm/boot/dts/st/stm32mp157c-ed1.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts b/arch/arm/boot/dts/s= t/stm32mp157c-ed1.dts index 7da726035086..827480e9bf7d 100644 --- a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts +++ b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts @@ -34,6 +34,7 @@ reserved-memory { #address-cells =3D <1>; #size-cells =3D <1>; ranges; + bootph-pre-ram; =20 mcuram2: mcuram2@10000000 { compatible =3D "shared-dma-pool"; @@ -74,6 +75,7 @@ retram: retram@38000000 { optee@fe000000 { reg =3D <0xfe000000 0x02000000>; no-map; + bootph-pre-ram; }; }; =20 --=20 2.47.3 From nobody Sat Jul 25 17:33:46 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 4326C3644C9; Wed, 15 Jul 2026 14:23:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125390; cv=none; b=k4uUcqd5bTm9gE2KNrZPGu3qD/ZxZCecrt4HTcxsgSMLmYkPMZsz4aOnz+tv2vLy2EdisFSZ3Y+Ju26pozZjEWFUx1hzSQ3VzU9gTeCGH1gvZUYenVjM8l4pK3DP47vAlPP7CPk8gPQP+lhcf5zS5kOV/eEJEVD3wOH/mpjJ+8w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125390; c=relaxed/simple; bh=bQvA7RaITKm0leFu4CsMz36juYaBIh9nm8WiAQHba6s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hKiMqiE8IuxyUTjWImxY6QmWCtEpE0C2bRznpf39ZVl/li2ESTi1NdZC/ob396jOm8nHZ12VM68aWAhoTwUsGfO/9PPh7tIdORlcxVvgiKLhF93wmJbtLQ7bV9ffg+OBOGgYzPpCV7AVqT6yeV8OuS19NXGW1ZMdGBJe+y8GfN4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=bpyJVEVD; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="bpyJVEVD" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id A38E24E40DE6; Wed, 15 Jul 2026 14:23:07 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 769566035C; Wed, 15 Jul 2026 14:23:07 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id A18FE11BD3C2A; Wed, 15 Jul 2026 16:23:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1784125386; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=a9IuIIWMF3nn6MhJn3nVioRG/vLkyDShB0IZOzPkMNg=; b=bpyJVEVDRQcCuY7bgy4f1zEOx/PzX9swqY44GNzAO/Rxye/iPSn+R+3b3uiK3rKEaJ6NGP qqzBZn4hRodDBJYjRSRimupCI/zbro/5gVwCmaZQ2g/RAgARWEJSzVE9+x3iRS7sZ4XCQ8 p0u2SFv+rk1zx0AK/4FoJnkfjJmWjeFnaDcmcXGj9fEY2Ku6Gsj5kXUEIqIq7wihHQl6fj CfzPV0qJUxvj85lAkoP6bKJYkwyricp2NjajB0I4KydKRxT5fFnYk5x9MS4y9Wbbmo0zFG Sc/mdVU3WiPS6tHV2Svbpm1V2p+867kBJiwsm7/Ae/QlZmhSn0lfPuU7GVnKIQ== From: Mathieu Dubois-Briand Date: Wed, 15 Jul 2026 16:22:22 +0200 Subject: [PATCH v2 5/7] arm64: dts: hisilicon: hi3798cv200-poplar: Import optee node from u-boot device tree Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260715-mathieu-uboot-dts-import-v2-5-bc931417bd0e@bootlin.com> References: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> In-Reply-To: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Maxime Coquelin , Alexandre Torgue , Wei Xu , Andrew Jeffery , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair Cc: Thomas Petazzoni , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, openbmc@lists.ozlabs.org, Tom Rini , Peter Robinson , Mathieu Dubois-Briand X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784125361; l=911; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=bQvA7RaITKm0leFu4CsMz36juYaBIh9nm8WiAQHba6s=; b=Y2p/yYf552wB6F+3f88xBut8s30oCKUbtMj+A0QRzGsASLKbwSWWM+CqICzmC5KCUiWnWdGsv /IdpeHYxmBtBv4IFWFix7v9Twjws8P3Xd31cSw4WySJ9C9N/ahMDCWi X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-Last-TLS-Session-Version: TLSv1.3 U-Boot is defining its own device tree for this platform. Among all differences, a firmware node to enable communication with OP-TEE is added. Importing this node here will reduce these differences. Signed-off-by: Mathieu Dubois-Briand --- arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts b/arch/ar= m64/boot/dts/hisilicon/hi3798cv200-poplar.dts index 579d55daa7d0..f20fbfc1c954 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dts @@ -70,6 +70,13 @@ reg_pcie: regulator-pcie { gpio =3D <&gpio6 7 0>; enable-active-high; }; + + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; }; =20 &ehci { --=20 2.47.3 From nobody Sat Jul 25 17:33:46 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 B3EEA34DCF3; Wed, 15 Jul 2026 14:23:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125394; cv=none; b=rSzwAVjJ9DDTPbTKtx0lSzeO1NkZ0pKD4KngJY8yjAmnR+1nQVSin0xoHa62elPdRzU3jNtTp6TgdHU7pAO7VEpDQYG1481EC65+xSwzhXfKGXFutfPs2+xXEAcSia1TDkXG8hpiFLfynMKtu6mphjQQG8ak7PzOiw+CtJwNmUE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125394; c=relaxed/simple; bh=IHC3taB/c1hjjbHV78+MpFaKPexGySK661G3gH5QQQ8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dJodKhg4l2/iBCPelOxZORhHpOkwtyg/wopyaoXtgVKIO9fSz53mH3VPKwtBCO4YcoczvBeqbQRbtXeC/0yi2PjtFp4QPf0O6ItHodkds+9dBC/IZCGTqebTsho21YKf8Go3dpstGBFAdPhWDaPfeikrgjWqs5Q1w9SZjlN1qk8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=jCHh+5mS; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="jCHh+5mS" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 2FF7D4E40DEB; Wed, 15 Jul 2026 14:23:11 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 043626035C; Wed, 15 Jul 2026 14:23:11 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 6B13B11BD3C48; Wed, 15 Jul 2026 16:23:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1784125389; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=vqW9/RH3UDRT9Qj8/JqT5f9mnBCAvdontHcYO/WHgd0=; b=jCHh+5mSqWJGPEMJCW2ZdS+hBNKqYUUIvmvD/r5Z3kKVCIMpFuLVM7LglyXS3hYez0zC7Q lgzvKjHzRsoxs1M/J9LHI2G9OASSGx5lZRH5ch/3gt/URR5qdFew7QHX8zTR/q5gUCtA0y 9OcCIG7xVLbiBzEyJabvO/aIrEpXIpFhlDSU+z2tEu1Z71DBTyWZWckBxBt6DlnFfvlgzV ozLJMv0Ex6uWKB374KCz01Laez/H+06iaNu4YYNW5ZpYRGy9sO7TYTNsqrIKTaDXPEkDqc 3f+OkZLafYTvt/SdD/D9yfqWXLdcPbh/S8sJQIN7pBYSj9vorF620JhRi8qbMQ== From: Mathieu Dubois-Briand Date: Wed, 15 Jul 2026 16:22:23 +0200 Subject: [PATCH v2 6/7] arm64: dts: nuvoton: npcm845-evb: Import optee node from u-boot device tree Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260715-mathieu-uboot-dts-import-v2-6-bc931417bd0e@bootlin.com> References: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> In-Reply-To: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Maxime Coquelin , Alexandre Torgue , Wei Xu , Andrew Jeffery , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair Cc: Thomas Petazzoni , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, openbmc@lists.ozlabs.org, Tom Rini , Peter Robinson , Mathieu Dubois-Briand X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784125361; l=914; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=IHC3taB/c1hjjbHV78+MpFaKPexGySK661G3gH5QQQ8=; b=bgWqx8KohO0XJrnfz+GLlQpVE6GEn8Z93UF4IF2roK3EhSVFxBk37S1KardQDiqfU77GWz0DV L/kDBBfUD2jDqGn7tTv+Br97x5FKS88gkcUNYqdJaY2vbbKnW65ABzJ X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-Last-TLS-Session-Version: TLSv1.3 U-Boot is defining its own device tree for this platform. Among all differences, a firmware node to enable communication with OP-TEE is added. Importing this node here will reduce these differences. Signed-off-by: Mathieu Dubois-Briand --- arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts b/arch/arm= 64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts index 5edf5d13342d..6be771e581df 100644 --- a/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts +++ b/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts @@ -26,6 +26,13 @@ refclk: refclk-25mhz { clock-frequency =3D <25000000>; #clock-cells =3D <0>; }; + + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; }; =20 &serial0 { --=20 2.47.3 From nobody Sat Jul 25 17:33:46 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 A2B9D376A04 for ; Wed, 15 Jul 2026 14:23:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125396; cv=none; b=nIvm6Lu7yvBNeVpo0hI/hZBjfp43zs+3r+U+pZ/r1M9a+FM6HcP4zPcfMUYBx+GNWkQDz4sm8X2YyMSzIO7byUvrmNoIITvjkOUGVb9oKNFJuGkKHTzluDjT7Y4LNkcfsgbNlLG211D0L6dMnxJy8SKsDIgVKT1ipOo64yY04O4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784125396; c=relaxed/simple; bh=+pXpwbDFKXObiXFKtLc8N/VwCyU4CpbIpalQxRbGp0U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=k5dEsgR0/Stn/HNrMVvkmThRgqD45Zs0AhLbLj3OEsz/ss9fKRsiMU3bXETADeM1Gq87Z5cLb5g3ktiQS+y7SwIsP0e4wT4OfZXBNUAtsAaYgLokLOzjyoCqFW0f5spI9Rrq+dTSSUlHXpoIoqFineG+3YwC+/Jyy/nHsNbM30w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=veErst9B; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="veErst9B" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 628494E40DCF; Wed, 15 Jul 2026 14:23:13 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 361936035C; Wed, 15 Jul 2026 14:23:13 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5D5C111BD3C42; Wed, 15 Jul 2026 16:23:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1784125391; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=IL51/pID62YlF9u7PwGo05/ugBph7LsRcUIyFPiTV3Y=; b=veErst9B4b3J/mqHoJcplPPXQFEMeFAJLVVzbyfMUFfwzUtgN0unKKwWwQbwctJvHu8Pr1 TdMcllObh4tiIFiMV5hy6Ofxz4loafFjY28Le4VqEtsUTw6mgA83lIDH4I1qLg9zIbOKbU DG96JuuP29S1WA2JFVr1YxohblAXcIPuyRxK3r7MP4os8BAN3YwT63HwKmE4mA/Zn1siS/ V42CF+4dv6ww9tLFWzmq6nO3XVoJMTlxLEl1qfCart30qQ4CeWwTThBPbOjXCYqUigOWu6 jTsEWgV8D5OATUfMLro4NMWQPhPbdPUPT6P2U/Ym51j3EM6Y5JUuAqwAOvN/jA== From: Mathieu Dubois-Briand Date: Wed, 15 Jul 2026 16:22:24 +0200 Subject: [PATCH v2 7/7] arm64: dts: freescale: imx93-frdm: Add OP-TEE device tree node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260715-mathieu-uboot-dts-import-v2-7-bc931417bd0e@bootlin.com> References: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> In-Reply-To: <20260715-mathieu-uboot-dts-import-v2-0-bc931417bd0e@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Maxime Coquelin , Alexandre Torgue , Wei Xu , Andrew Jeffery , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair Cc: Thomas Petazzoni , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, openbmc@lists.ozlabs.org, Tom Rini , Peter Robinson , Mathieu Dubois-Briand X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1784125361; l=820; i=mathieu.dubois-briand@bootlin.com; s=20241219; h=from:subject:message-id; bh=+pXpwbDFKXObiXFKtLc8N/VwCyU4CpbIpalQxRbGp0U=; b=lN2ZaiqEbAX/cIN0f3L0Arvnqur1xdhLKFEORJrLS7m5rMoK8eUkYlNss2SDzJZXtdUaNm9eC +vb4GEG30dIADPfINOUyWvwrI7PzM7/yQauEI0+LIp74yd7D7fo3u8f X-Developer-Key: i=mathieu.dubois-briand@bootlin.com; a=ed25519; pk=1PVTmzPXfKvDwcPUzG0aqdGoKZJA3b9s+3DqRlm0Lww= X-Last-TLS-Session-Version: TLSv1.3 Add missing firmware/optee node, so the kernel can communicate with the OP-TEE firmware. Signed-off-by: Mathieu Dubois-Briand --- arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts b/arch/arm6= 4/boot/dts/freescale/imx93-11x11-frdm.dts index bd14ba28690c..8aba7ed4c535 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-frdm.dts @@ -121,6 +121,13 @@ vdevbuffer: vdevbuffer@a4020000 { }; }; =20 + firmware { + optee: optee { + compatible =3D "linaro,optee-tz"; + method =3D "smc"; + }; + }; + sound-mqs { compatible =3D "fsl,imx-audio-mqs"; model =3D "mqs-audio"; --=20 2.47.3