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:
parent
bed6eb9ed9
commit
a6f5c1bbf6
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
14
dts/bindings/mtd/st,stm32-eeprom.yaml
Normal file
14
dts/bindings/mtd/st,stm32-eeprom.yaml
Normal 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
|
Loading…
Reference in a new issue