Message ID | 20231117153310.4.I8fa60abf176f777721ee5beb2bad216f833ed31a@changeid (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | stm32: add support for STM32MP25 BSEC to control OTP data | expand |
Hi Patrick On 11/17/23 15:33, Patrick Delaunay wrote: > Add BSEC support to STM32MP25 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: Patrick Delaunay <patrick.delaunay@foss.st.com> > --- DT looks good for me, and yaml verification is passed. Only thing to fix is the commit title. If you don't have to send a V2 for other remarks then I will fix during merge else fix it in your v2. Thanks Alex > > arch/arm64/boot/dts/st/stm32mp251.dtsi | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi > index 124403f5f1f4..96859d098ef8 100644 > --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi > +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi > @@ -140,6 +140,22 @@ sdmmc1: mmc@48220000 { > }; > }; > > + bsec: efuse@44000000 { > + compatible = "st,stm32mp25-bsec"; > + reg = <0x44000000 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,stm32mp25-syscfg", "syscon"; > reg = <0x44230000 0x10000>;
diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi index 124403f5f1f4..96859d098ef8 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -140,6 +140,22 @@ sdmmc1: mmc@48220000 { }; }; + bsec: efuse@44000000 { + compatible = "st,stm32mp25-bsec"; + reg = <0x44000000 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,stm32mp25-syscfg", "syscon"; reg = <0x44230000 0x10000>;
Add BSEC support to STM32MP25 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: Patrick Delaunay <patrick.delaunay@foss.st.com> --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)