zephyr/boards: Add nrf9151dk board configuration.

Add support for the nrf9151dk.  This DK has a GD25WB256 32mb external QSPI
flash chip.

Signed-off-by: Patrick Joy <patrick@thinktransit.com.au>
This commit is contained in:
Patrick Joy
2025-03-08 23:55:53 +11:00
committed by Damien George
parent e3d9d8ef51
commit 62479f2cb6
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# Enable external flash
CONFIG_SPI=y
CONFIG_SPI_NOR=y
CONFIG_SPI_NOR_SFDP_DEVICETREE=y
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y

View File

@@ -0,0 +1,22 @@
/ {
/* Configure partition manager to use gd25wb256 as the external flash */
chosen {
nordic,pm-ext-flash = &gd25wb256;
};
};
/delete-node/ &storage_partition;
&gd25wb256 {
status = "okay";
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@0 {
reg = <0x00000000 0x2000000>;
label = "storage";
};
};
};