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:
committed by
Damien George
parent
e3d9d8ef51
commit
62479f2cb6
7
ports/zephyr/boards/nrf9151dk_nrf9151.conf
Normal file
7
ports/zephyr/boards/nrf9151dk_nrf9151.conf
Normal 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
|
||||
22
ports/zephyr/boards/nrf9151dk_nrf9151.overlay
Normal file
22
ports/zephyr/boards/nrf9151dk_nrf9151.overlay
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user