-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: add stm32mp15*-scmi.dts files for when RCC is secure
For legacy reason and compatibility with existing platforms embedding OP-TEE with RCC secure hardening being disabled, introduce -scmi.dts for the 4 ST boards STM32MP15x: DK1, DK2, ED1 and EV1 where we enable RCC security require non-secure world to use SCMI resources. Add platform flavors 157x_XXX_SCMI to ease DTS selection. stm32mp15*-<board>.dts applies an insecure RCC configuration. stm32mp15*-<board>-scmi.dts applies the secure RCC configuration. This better reflects the configurations supported in the Linux kernel and U-Boot source trees. Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
- Loading branch information
1 parent
79f8990
commit 1f0bc2c
Showing
7 changed files
with
105 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) | ||
/* | ||
* Copyright (C) STMicroelectronics 2023 - All Rights Reserved | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "stm32mp157a-dk1.dts" | ||
|
||
/ { | ||
model = "STMicroelectronics STM32MP157A-DK1 SCMI Discovery Board"; | ||
compatible = "st,stm32mp157a-dk1-scmi", "st,stm32mp157"; | ||
}; | ||
|
||
&rcc { | ||
compatible = "st,stm32mp1-rcc-secure"; | ||
status = "okay"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) | ||
/* | ||
* Copyright (C) STMicroelectronics 2019 - All Rights Reserved | ||
* Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics. | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "stm32mp157c-dk2.dts" | ||
|
||
/ { | ||
model = "STMicroelectronics STM32MP157C-DK2 SCMI Discovery Board"; | ||
compatible = "st,stm32mp157c-dk2-scmi", "st,stm32mp157"; | ||
}; | ||
|
||
&rcc { | ||
compatible = "st,stm32mp1-rcc-secure"; | ||
status = "okay"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) | ||
/* | ||
* Copyright (C) STMicroelectronics 2017 - All Rights Reserved | ||
* Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics. | ||
*/ | ||
/dts-v1/; | ||
|
||
#include "stm32mp157c-ed1.dts" | ||
|
||
/ { | ||
model = "STMicroelectronics STM32MP157C SCMI eval daughter"; | ||
compatible = "st,stm32mp157c-ed1-scmi", "st,stm32mp157"; | ||
}; | ||
|
||
&iwdg1 { | ||
timeout-sec = <32>; | ||
}; | ||
|
||
&iwdg2 { | ||
timeout-sec = <32>; | ||
status = "okay"; | ||
secure-status = "disabled"; | ||
}; | ||
|
||
&rcc { | ||
compatible = "st,stm32mp1-rcc-secure"; | ||
status = "okay"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) | ||
/* | ||
* Copyright (C) STMicroelectronics 2017 - All Rights Reserved | ||
* Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics. | ||
*/ | ||
/dts-v1/; | ||
|
||
#include "stm32mp157c-ev1.dts" | ||
|
||
/ { | ||
model = "STMicroelectronics STM32MP157C SCMI eval daughter on eval mother"; | ||
compatible = "st,stm32mp157c-ev1-scmi", "st,stm32mp157c-ed1-scmi", "st,stm32mp157"; | ||
}; | ||
|
||
&rcc { | ||
compatible = "st,stm32mp1-rcc-secure"; | ||
status = "okay"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters