zephyr/dts/arm/st/l1/stm32l151X8-a.dtsi
Noelle Clement b9d45ecf27 dts: arm: stm32: stm32l1x remove eeprom reg attribute & add eeprom sizes
'reg' attribute removed from overall stm32l1 dts,
so eeprom size has to be specified for each SoC
in stm32l1x series.
Adds remaining stm32l1x SoCs that didn't have eeprom size specified yet.
Eeprom size added in stm32l151Xb-a & stm32l151X8-a dtsi files,
(based on device overview in datasheet DocID024330 Rev 5).
Eeprom size added in stm32l151Xb dtsi file (based on
device overview in datasheet DocID17659 Rev 12).

Signed-off-by: Noelle Clement <noelleclement@hotmail.com>
2021-01-15 12:15:40 -05:00

26 lines
393 B
Plaintext

/*
* Copyright (c) 2019 eTactica ehf
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <st/l1/stm32l151.dtsi>
/ {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(32)>;
};
soc {
flash-controller@40023c00 {
flash0: flash@8000000 {
reg = <0x08000000 DT_SIZE_K(64)>;
};
};
eeprom: eeprom@8080000{
reg = <0x08080000 DT_SIZE_K(4)>;
};
};
};