boards: ambiq: apollo4p_evb: add missing flash node

This commit adds the missing flash controller node in apollo4p_evb.

Signed-off-by: Aaron Ye <aye@ambiq.com>
This commit is contained in:
Aaron Ye 2024-06-15 13:59:57 +08:00 committed by Anas Nashif
commit ae37cc415a

View file

@ -14,6 +14,7 @@
zephyr,console = &uart0; zephyr,console = &uart0;
zephyr,shell-uart = &uart0; zephyr,shell-uart = &uart0;
zephyr,uart-pipe = &uart0; zephyr,uart-pipe = &uart0;
zephyr,flash-controller = &flash;
}; };
aliases { aliases {
@ -103,6 +104,23 @@
status = "okay"; status = "okay";
}; };
&flash0 {
erase-block-size = <2048>;
write-block-size = <16>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
/* Set 16KB of storage at the end of the 1952KB of flash */
storage_partition: partition@1e4000 {
label = "storage";
reg = <0x001e4000 0x4000>;
};
};
};
&gpio0_31 { &gpio0_31 {
status = "okay"; status = "okay";
}; };