Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+18 -9
-9
arch/arm/boot/dts/stm32mp151.dtsi
··· 1255 1255 status = "disabled"; 1256 1256 }; 1257 1257 1258 - cryp1: cryp@54001000 { 1259 - compatible = "st,stm32mp1-cryp"; 1260 - reg = <0x54001000 0x400>; 1261 - interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 1262 - clocks = <&rcc CRYP1>; 1263 - resets = <&rcc CRYP1_R>; 1264 - status = "disabled"; 1265 - }; 1266 - 1267 1258 hash1: hash@54002000 { 1268 1259 compatible = "st,stm32f756-hash"; 1269 1260 reg = <0x54002000 0x400>;
+18
arch/arm/boot/dts/stm32mp15xc.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 + /* 3 + * Copyright (C) STMicroelectronics 2019 - All Rights Reserved 4 + * Author: Alexandre Torgue <alexandre.torgue@st.com> for STMicroelectronics. 5 + */ 6 + 7 + / { 8 + soc { 9 + cryp1: cryp@54001000 { 10 + compatible = "st,stm32mp1-cryp"; 11 + reg = <0x54001000 0x400>; 12 + interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>; 13 + clocks = <&rcc CRYP1>; 14 + resets = <&rcc CRYP1_R>; 15 + status = "disabled"; 16 + }; 17 + }; 18 + };