Commit 1746a61a authored by Valentin Caron's avatar Valentin Caron Committed by Alexandre Belloni

dt-bindings: rtc: stm32: introduce new st,stm32mp25-rtc compatible

Introduce new st,stm32mp25-rtc compatible. It is based on st,stm32mp1-rtc.

Difference is that stm32mp25 soc implements a triple protection on RTC
registers:
- Secure bit based protection
- Privileged context based protection
- Compartment ID filtering based protection
This driver will now check theses configurations before probing to avoid
exceptions and fake reads on register.

Link: https://www.st.com/resource/en/reference_manual/rm0457-stm32mp25xx-advanced-armbased-3264bit-mpus-stmicroelectronics.pdf#page=4081Signed-off-by: default avatarValentin Caron <valentin.caron@foss.st.com>
Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240708153434.416287-2-valentin.caron@foss.st.comSigned-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent a47d377e
...@@ -15,6 +15,7 @@ properties: ...@@ -15,6 +15,7 @@ properties:
- st,stm32-rtc - st,stm32-rtc
- st,stm32h7-rtc - st,stm32h7-rtc
- st,stm32mp1-rtc - st,stm32mp1-rtc
- st,stm32mp25-rtc
reg: reg:
maxItems: 1 maxItems: 1
...@@ -90,7 +91,9 @@ allOf: ...@@ -90,7 +91,9 @@ allOf:
properties: properties:
compatible: compatible:
contains: contains:
const: st,stm32mp1-rtc enum:
- st,stm32mp1-rtc
- st,stm32mp25-rtc
then: then:
properties: properties:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment