diff mbox series

ARM: dts: stm32: add part number for STM32MP15x

Message ID 20230407203151.1.Ia16c922b77242e5832106fedc76d27f7ed4dd952@changeid
State Accepted
Commit 3db59e1ca693455d0710dc217455fe81d0d32dce
Headers show
Series ARM: dts: stm32: add part number for STM32MP15x | expand

Commit Message

Patrick Delaunay April 7, 2023, 6:31 p.m. UTC
The STM32MP15x Device Part Number is located in the first 8 bits of OTP4,
this patch add its description as the NVMEM cell.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---

 arch/arm/boot/dts/stm32mp151.dtsi | 3 +++
 1 file changed, 3 insertions(+)

Comments

Alexandre TORGUE May 16, 2023, 10:15 a.m. UTC | #1
Hi Patrick

On 4/7/23 20:31, Patrick Delaunay wrote:
> The STM32MP15x Device Part Number is located in the first 8 bits of OTP4,
> this patch add its description as the NVMEM cell.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
> 
>   arch/arm/boot/dts/stm32mp151.dtsi | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
> index 4e437d3f2ed6..3cf78f706400 100644
> --- a/arch/arm/boot/dts/stm32mp151.dtsi
> +++ b/arch/arm/boot/dts/stm32mp151.dtsi
> @@ -1620,6 +1620,9 @@ bsec: efuse@5c005000 {
>   			reg = <0x5c005000 0x400>;
>   			#address-cells = <1>;
>   			#size-cells = <1>;
> +			part_number_otp: part-number-otp@4 {
> +				reg = <0x4 0x1>;
> +			};
>   			ts_cal1: calib@5c {
>   				reg = <0x5c 0x2>;
>   			};

Applied on stm32-next.

Thanks.
Alex
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index 4e437d3f2ed6..3cf78f706400 100644
--- a/arch/arm/boot/dts/stm32mp151.dtsi
+++ b/arch/arm/boot/dts/stm32mp151.dtsi
@@ -1620,6 +1620,9 @@  bsec: efuse@5c005000 {
 			reg = <0x5c005000 0x400>;
 			#address-cells = <1>;
 			#size-cells = <1>;
+			part_number_otp: part-number-otp@4 {
+				reg = <0x4 0x1>;
+			};
 			ts_cal1: calib@5c {
 				reg = <0x5c 0x2>;
 			};