boards/arm: stm32l562e_dk: Enabling flash support in device tree

This commit enables flash support in stm32l562e_dk platform
in device tree.

Signed-off-by: Krishna Mohan Dani <krishnamohan.d@hcl.com>
This commit is contained in:
Krishna Mohan Dani 2021-07-27 15:08:36 +05:30 committed by Kumar Gala
commit ba644c3d64

View file

@ -52,3 +52,17 @@
&aes { &aes {
status = "okay"; status = "okay";
}; };
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
/* 2KB at the end of 512KB flash is set for storage */
storage_partition: partition@7f800 {
label = "storage";
reg = <0x0007f800 0x00000800>;
};
};
};