diff options
author | Alexandre Torgue <alexandre.torgue@st.com> | 2019-11-19 11:03:58 +0100 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2019-12-09 09:19:15 +0100 |
commit | 0eda69b6c5f90321c4fefbaee1360cb99dc14a65 (patch) | |
tree | cc9fadf18fb7b67dcd986738cac86f30f3e7cd91 /arch/arm/boot/dts | |
parent | 95e395c881b35101578f8a7e1041cebcf21d7d79 (diff) | |
download | linux-0eda69b6c5f90321c4fefbaee1360cb99dc14a65.tar.gz |
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>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/stm32mp151.dtsi | 9 | ||||
-rw-r--r-- | arch/arm/boot/dts/stm32mp15xc.dtsi | 18 |
2 files changed, 18 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi index 9a0b55be134d..072fc7025987 100644 --- a/arch/arm/boot/dts/stm32mp151.dtsi +++ b/arch/arm/boot/dts/stm32mp151.dtsi @@ -1255,15 +1255,6 @@ 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 { compatible = "st,stm32f756-hash"; reg = <0x54002000 0x400>; diff --git a/arch/arm/boot/dts/stm32mp15xc.dtsi b/arch/arm/boot/dts/stm32mp15xc.dtsi new file mode 100644 index 000000000000..b06a55a2fa18 --- /dev/null +++ b/arch/arm/boot/dts/stm32mp15xc.dtsi @@ -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"; + }; + }; +}; |