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 <[email protected]>
---
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>;
};
--
2.25.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 <[email protected]>
> ---
>
> 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