Skip to content

Commit

Permalink
arm: dts: define OP-TEE resources for STM32MP1 ED1 and EV1
Browse files Browse the repository at this point in the history
This change fixes EV1 configuration which lacked OP-TEE
reserved memory. This change also makes ED1 board ready
the host OP-TEE by enabling OP-TEE node and defining the
OP-TEE reserved memory for that board. This change defines
these resources in ED1 DTS file which is included in EV1 DTS
file.

Signed-off-by: Etienne Carriere <[email protected]>
Acked-by: Jerome Forissier <[email protected]>
  • Loading branch information
etienne-lms authored and jforissier committed Jun 28, 2021
1 parent e0ab2bb commit e2c060f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 9 additions & 0 deletions arch/arm/boot/dts/stm32mp157c-ed1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@
reg = <0xe8000000 0x8000000>;
no-map;
};

optee_memory: optee@fe000000 {
reg = <0xfe000000 0x2000000>;
no-map;
};
};

aliases {
Expand Down Expand Up @@ -320,6 +325,10 @@
status = "okay";
};

&optee {
status = "okay";
};

&pwr_regulators {
vdd-supply = <&vdd>;
vdd_3v3_usbfs-supply = <&vdd_usb>;
Expand Down
4 changes: 0 additions & 4 deletions arch/arm/boot/dts/stm32mp157c-ev1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,3 @@
&usbphyc {
status = "okay";
};

&optee {
status = "okay";
};

0 comments on commit e2c060f

Please sign in to comment.