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:
parent
b49fb0d289
commit
23964234ac
|
@ -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 {
|
||||
|
|
|
@ -77,6 +77,7 @@
|
|||
mcuboot-button0 = &button1;
|
||||
mcuboot-led0 = &led1;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &mx25r64;
|
||||
};
|
||||
|
||||
mag1: mag_1 {
|
||||
|
|
|
@ -65,6 +65,7 @@
|
|||
mcuboot-button0 = &button1;
|
||||
mcuboot-led0 = &led1;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &mx25r64;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -81,6 +81,7 @@
|
|||
mcuboot-button0 = &button1;
|
||||
mcuboot-led0 = &led1;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &mx25r64;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -129,6 +129,7 @@
|
|||
sw2 = &button2;
|
||||
sw3 = &button3;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &mx25r64;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -141,6 +141,7 @@
|
|||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &mx25r64;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -90,6 +90,7 @@
|
|||
sw2 = &button2;
|
||||
sw3 = &button3;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &mx25r64;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue