Skip to content

Commit 33418c5

Browse files
Adam Wojasinskicvinayak
authored andcommitted
[nrf fromtree] boards: Add alias to boards with spi-flash node
This is continuation of the 64fbbd9 where spi-flash0 alias was defined for some of boards' devicetrees. It's needed to turn on building samples/drivers/spi_flash for boards with "nordic,qspi-nor" compatible. Signed-off-by: Adam Wojasinski <[email protected]> (cherry picked from commit 2396423)
1 parent cc0d188 commit 33418c5

File tree

7 files changed

+6
-5
lines changed

7 files changed

+6
-5
lines changed

boards/arm/bl5340_dvk/bl5340_dvk_cpuapp_ns.dts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
zephyr,flash = &flash0;
1818
zephyr,code-partition = &slot0_ns_partition;
1919
};
20-
21-
/* Aliases for deleted nodes must be removed */
22-
aliases {
23-
/delete-property/ spi-flash0;
24-
};
2520
};
2621

2722
zephyr_udc0: &usbd {

boards/arm/bt610/bt610.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
mcuboot-button0 = &button1;
7878
mcuboot-led0 = &led1;
7979
watchdog0 = &wdt0;
80+
spi-flash0 = &mx25r64;
8081
};
8182

8283
mag1: mag_1 {

boards/arm/mg100/mg100.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
mcuboot-button0 = &button1;
5959
mcuboot-led0 = &led1;
6060
watchdog0 = &wdt0;
61+
spi-flash0 = &mx25r64;
6162
};
6263
};
6364

boards/arm/pinnacle_100_dvk/pinnacle_100_dvk.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
mcuboot-button0 = &button1;
8282
mcuboot-led0 = &led1;
8383
watchdog0 = &wdt0;
84+
spi-flash0 = &mx25r64;
8485
};
8586
};
8687

boards/arm/ubx_bmd340eval_nrf52840/ubx_bmd340eval_nrf52840.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
sw2 = &button2;
130130
sw3 = &button3;
131131
watchdog0 = &wdt0;
132+
spi-flash0 = &mx25r64;
132133
};
133134
};
134135

boards/arm/ubx_bmd345eval_nrf52840/ubx_bmd345eval_nrf52840.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
mcuboot-button0 = &button0;
142142
mcuboot-led0 = &led0;
143143
watchdog0 = &wdt0;
144+
spi-flash0 = &mx25r64;
144145
};
145146
};
146147

boards/arm/ubx_bmd380eval_nrf52840/ubx_bmd380eval_nrf52840.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
sw2 = &button2;
9191
sw3 = &button3;
9292
watchdog0 = &wdt0;
93+
spi-flash0 = &mx25r64;
9394
};
9495
};
9596

0 commit comments

Comments
 (0)