dts: arm: stm32: add dts support for EEPROM of STM32L1

Add eeprom to STM32L1 series.
Currently supported L1 series EEPROM size is 4Kbyte.

Signed-off-by: Kwon Tae-young <tykwon@m2i.co.kr>
This commit is contained in:
Kwon Tae-young 2019-12-10 11:13:02 +09:00 committed by Kumar Gala
parent bed6eb9ed9
commit a6f5c1bbf6
2 changed files with 21 additions and 0 deletions

View file

@ -205,6 +205,13 @@
write-block-size = <4>;
};
};
eeprom: eeprom@8080000{
compatible = "st,stm32-eeprom";
reg = <0x08080000 DT_SIZE_K(4)>;
status = "disabled";
label = "EEPROM_0";
};
};
};

View file

@ -0,0 +1,14 @@
# Copyright (c) 2019 Kwon Tae-young <tykwon@m2i.co.kr>
# SPDX-License-Identifier: Apache-2.0
include: eeprom-base.yaml
title: STM32 EEPROM devices
description: STM32 on-chip EEPROM
compatible: "st,stm32-eeprom"
properties:
reg:
required: true