ARM: dts: stm32: Update part number NVMEM description on stm32mp131
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 18 Jan 2023 12:49:51 +0000 (13:49 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 2 Feb 2023 12:20:42 +0000 (13:20 +0100)
commit366384e495511bea8583e44173629a3012d62db0
tree90af65ac3f7cf541e3d69d17f8d4b4a51b36364c
parent2f33df889e998c6e5eb35bfef56cf2c72d053c9a
ARM: dts: stm32: Update part number NVMEM description on stm32mp131

The STM32MP13x Device Part Number (also named RPN in reference manual)
only uses the first 12 bits in OTP4, all the other bit are reserved and
they can be different of zero; they must be masked in NVMEM result, so
the number of bits must be defined in the nvmem cell description.

Fixes: 1da8779c0029 ("ARM: dts: stm32: add STM32MP13 SoCs support")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp131.dtsi