Skip to content

Commit 62479f2

Browse files
ThinkTransitdpgeorge
authored andcommitted
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 <[email protected]>
1 parent e3d9d8e commit 62479f2

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Enable external flash
2+
CONFIG_SPI=y
3+
CONFIG_SPI_NOR=y
4+
CONFIG_SPI_NOR_SFDP_DEVICETREE=y
5+
6+
CONFIG_FLASH=y
7+
CONFIG_FLASH_MAP=y
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/ {
2+
/* Configure partition manager to use gd25wb256 as the external flash */
3+
chosen {
4+
nordic,pm-ext-flash = &gd25wb256;
5+
};
6+
};
7+
8+
/delete-node/ &storage_partition;
9+
10+
&gd25wb256 {
11+
status = "okay";
12+
partitions {
13+
compatible = "fixed-partitions";
14+
#address-cells = <1>;
15+
#size-cells = <1>;
16+
17+
storage_partition: partition@0 {
18+
reg = <0x00000000 0x2000000>;
19+
label = "storage";
20+
};
21+
};
22+
};

0 commit comments

Comments
 (0)