boards: Add alias to boards with spi-flash node

This is continuation of the 64fbbd9a44
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 <adam.wojasinski@nordicsemi.no>
This commit is contained in:
Adam Wojasinski 2023-12-07 15:11:27 +01:00 committed by Fabio Baltieri
parent b49fb0d289
commit 23964234ac
7 changed files with 6 additions and 5 deletions

View file

@ -17,11 +17,6 @@
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_ns_partition;
};
/* Aliases for deleted nodes must be removed */
aliases {
/delete-property/ spi-flash0;
};
};
zephyr_udc0: &usbd {

View file

@ -77,6 +77,7 @@
mcuboot-button0 = &button1;
mcuboot-led0 = &led1;
watchdog0 = &wdt0;
spi-flash0 = &mx25r64;
};
mag1: mag_1 {

View file

@ -65,6 +65,7 @@
mcuboot-button0 = &button1;
mcuboot-led0 = &led1;
watchdog0 = &wdt0;
spi-flash0 = &mx25r64;
};
};

View file

@ -81,6 +81,7 @@
mcuboot-button0 = &button1;
mcuboot-led0 = &led1;
watchdog0 = &wdt0;
spi-flash0 = &mx25r64;
};
};

View file

@ -129,6 +129,7 @@
sw2 = &button2;
sw3 = &button3;
watchdog0 = &wdt0;
spi-flash0 = &mx25r64;
};
};

View file

@ -141,6 +141,7 @@
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
spi-flash0 = &mx25r64;
};
};

View file

@ -90,6 +90,7 @@
sw2 = &button2;
sw3 = &button3;
watchdog0 = &wdt0;
spi-flash0 = &mx25r64;
};
};