dts: arm: st: l1: Add RTC BBRAM to DTS
All STM32L1 devices have 4-byte battery-backed RTC registers, but they have different number of registers: STM32L151Xb-a has 5 registers. STM32L151Xb has 20 registers. STM32L151Xc, STM32L152Xc, STM32L152Xe have 32 registers. Signed-off-by: Patryk Duda <pdk@semihalf.com>
This commit is contained in:
parent
6268bde897
commit
70ef405b3b
|
@ -21,5 +21,13 @@
|
|||
eeprom: eeprom@8080000{
|
||||
reg = <0x08080000 DT_SIZE_K(4)>;
|
||||
};
|
||||
|
||||
rtc@40002800 {
|
||||
bbram: backup_regs {
|
||||
compatible = "st,stm32-bbram";
|
||||
st,backup-regs = <5>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -21,5 +21,13 @@
|
|||
eeprom: eeprom@8080000{
|
||||
reg = <0x08080000 DT_SIZE_K(4)>;
|
||||
};
|
||||
|
||||
rtc@40002800 {
|
||||
bbram: backup_regs {
|
||||
compatible = "st,stm32-bbram";
|
||||
st,backup-regs = <20>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -38,5 +38,13 @@
|
|||
eeprom: eeprom@8080000{
|
||||
reg = <0x08080000 DT_SIZE_K(8)>;
|
||||
};
|
||||
|
||||
rtc@40002800 {
|
||||
bbram: backup_regs {
|
||||
compatible = "st,stm32-bbram";
|
||||
st,backup-regs = <32>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -38,5 +38,13 @@
|
|||
eeprom: eeprom@8080000{
|
||||
reg = <0x08080000 DT_SIZE_K(8)>;
|
||||
};
|
||||
|
||||
rtc@40002800 {
|
||||
bbram: backup_regs {
|
||||
compatible = "st,stm32-bbram";
|
||||
st,backup-regs = <32>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -38,5 +38,13 @@
|
|||
eeprom: eeprom@8080000{
|
||||
reg = <0x08080000 DT_SIZE_K(16)>;
|
||||
};
|
||||
|
||||
rtc@40002800 {
|
||||
bbram: backup_regs {
|
||||
compatible = "st,stm32-bbram";
|
||||
st,backup-regs = <32>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue