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:
parent
db75db2bcf
commit
ba644c3d64
1 changed files with 14 additions and 0 deletions
|
@ -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>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue