]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: st: add bsec support to stm32mp21
authorPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 11 Feb 2026 13:55:01 +0000 (14:55 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 25 Mar 2026 16:37:47 +0000 (17:37 +0100)
Add BSEC support to STM32MP21 SoC family with SoC information:
- RPN = Device part number (BSEC_OTP_DATA9)
- PKG = package data register (Bits 2:0 of BSEC_OTP_DATA122)

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20260211-upstream_stm32mp21_bsec_nodes-v1-1-8379bf97b0bc@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp211.dtsi

index cd078a16065e64ca7b321b1dfc207bdf65897797..4bfd58b26b51b74e44c180969cc117c65e2146c3 100644 (file)
                        };
                };
 
+               bsec: efuse@44000000 {
+                       compatible = "st,stm32mp25-bsec";
+                       reg = <0x44000000 0x0 0x1000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       part_number_otp@24 {
+                               reg = <0x24 0x4>;
+                       };
+
+                       package_otp@1e8 {
+                               reg = <0x1e8 0x1>;
+                               bits = <0 3>;
+                       };
+               };
+
                syscfg: syscon@44230000 {
                        compatible = "st,stm32mp21-syscfg", "syscon";
                        reg = <0x44230000 0x0 0x10000>;