mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
ARM: dts: stm32: Manage security diversity for STM32M15x SOCs
This commit creates a new file to manage security diversity on STM32MP15x SOCs. On STM32MP15xY, "Y" gives information: -Y = A means no cryp IP and no secure boot. -Y = C means cryp IP + secure boot. Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
This commit is contained in:
parent
95e395c881
commit
0eda69b6c5
2 changed files with 18 additions and 9 deletions
|
@ -1255,15 +1255,6 @@
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
cryp1: cryp@54001000 {
|
|
||||||
compatible = "st,stm32mp1-cryp";
|
|
||||||
reg = <0x54001000 0x400>;
|
|
||||||
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
clocks = <&rcc CRYP1>;
|
|
||||||
resets = <&rcc CRYP1_R>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
hash1: hash@54002000 {
|
hash1: hash@54002000 {
|
||||||
compatible = "st,stm32f756-hash";
|
compatible = "st,stm32f756-hash";
|
||||||
reg = <0x54002000 0x400>;
|
reg = <0x54002000 0x400>;
|
||||||
|
|
18
arch/arm/boot/dts/stm32mp15xc.dtsi
Normal file
18
arch/arm/boot/dts/stm32mp15xc.dtsi
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
// 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/ {
|
||||||
|
soc {
|
||||||
|
cryp1: cryp@54001000 {
|
||||||
|
compatible = "st,stm32mp1-cryp";
|
||||||
|
reg = <0x54001000 0x400>;
|
||||||
|
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
clocks = <&rcc CRYP1>;
|
||||||
|
resets = <&rcc CRYP1_R>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
Loading…
Add table
Reference in a new issue