[RFC PATCH 5/5] arm64: dts: imx93-kontron: Add DMA memory region for ELE firmware
Frieder Schrempf
frieder at fris.de
Wed Apr 16 07:26:24 PDT 2025
From: Frieder Schrempf <frieder.schrempf at kontron.de>
The Edgelock Enclave firmware requires a small 1 MiB memory pool.
Reserving this pool makes the ELE firmware driver probe and allows
us to use the S400 API.
Signed-off-by: Frieder Schrempf <frieder.schrempf at kontron.de>
---
.../boot/dts/freescale/imx93-kontron-osm-s.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93-kontron-osm-s.dtsi b/arch/arm64/boot/dts/freescale/imx93-kontron-osm-s.dtsi
index 119a16207059..44d98cf812bf 100644
--- a/arch/arm64/boot/dts/freescale/imx93-kontron-osm-s.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93-kontron-osm-s.dtsi
@@ -24,6 +24,18 @@ chosen {
stdout-path = &lpuart1;
};
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ ele_reserved: memory at 90000000 {
+ compatible = "shared-dma-pool";
+ reg = <0 0x90000000 0 0x100000>;
+ no-map;
+ };
+ };
+
reg_usdhc2_vcc: regulator-usdhc2-vcc {
compatible = "regulator-fixed";
pinctrl-names = "default";
@@ -116,6 +128,10 @@ &gpio4 {
"GPIO_B_0", "CARRIER_PWR_EN";
};
+&hsm0 {
+ memory-region = <&ele_reserved>;
+};
+
&lpi2c1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lpi2c1>;
--
2.49.0
More information about the linux-arm-kernel
mailing list