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:
parent
b584e2c6d0
commit
ae37cc415a
1 changed files with 18 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
zephyr,console = &uart0;
|
||||
zephyr,shell-uart = &uart0;
|
||||
zephyr,uart-pipe = &uart0;
|
||||
zephyr,flash-controller = &flash;
|
||||
};
|
||||
|
||||
aliases {
|
||||
|
@ -103,6 +104,23 @@
|
|||
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 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue