Skip to content

Commit ba644c3

Browse files
ikmdanigalak
authored andcommitted
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 <[email protected]>
1 parent db75db2 commit ba644c3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

boards/arm/stm32l562e_dk/stm32l562e_dk.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,17 @@
5252
&aes {
5353
status = "okay";
5454
};
55+
56+
&flash0 {
57+
partitions {
58+
compatible = "fixed-partitions";
59+
#address-cells = <1>;
60+
#size-cells = <1>;
61+
62+
/* 2KB at the end of 512KB flash is set for storage */
63+
storage_partition: partition@7f800 {
64+
label = "storage";
65+
reg = <0x0007f800 0x00000800>;
66+
};
67+
};
68+
};

0 commit comments

Comments
 (0)