Skip to content

Commit 5973cd5

Browse files
etienne-lmsjforissier
authored andcommitted
ARM: dts: stm32: Define OP-TEE resources on stm32mp15 and enable on DK2
Define OP-TEE firmware node for stm32mp15 based platforms. The node if disable by default. Enable the OP-TEE node and define OP-TEE reserved memory for stm32mp157c-dk2. Signed-off-by: Etienne Carriere <[email protected]>
1 parent b7b9d31 commit 5973cd5

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

arch/arm/boot/dts/stm32mp157c-dk2.dts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
/ {
1212
model = "STMicroelectronics STM32MP157C-DK2 Discovery Board";
1313
compatible = "st,stm32mp157c-dk2", "st,stm32mp157";
14+
15+
reserved-memory {
16+
optee_memory: optee@0xde000000 {
17+
reg = <0xde000000 0x02000000>;
18+
no-map;
19+
};
20+
};
1421
};
1522

1623
&dsi {
@@ -79,3 +86,7 @@
7986
};
8087
};
8188
};
89+
90+
&optee {
91+
status = "okay";
92+
};

arch/arm/boot/dts/stm32mp157c.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@
3333
method = "smc";
3434
};
3535

36+
firmware {
37+
optee: optee {
38+
compatible = "linaro,optee-tz";
39+
method = "smc";
40+
status = "disabled";
41+
};
42+
};
43+
3644
intc: interrupt-controller@a0021000 {
3745
compatible = "arm,cortex-a7-gic";
3846
#interrupt-cells = <3>;

0 commit comments

Comments
 (0)