boards: Add alias to boards with spi-flash node
Add alias to boards with spi-flash to facilitate the update of samples/drivers/spi_flash. Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
This commit is contained in:
parent
2764c277b9
commit
64fbbd9a44
34 changed files with 44 additions and 0 deletions
|
@ -77,6 +77,7 @@
|
|||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &green_pwm_led;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &w25q64;
|
||||
};
|
||||
|
||||
sim_select: sim-select {
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
led1 = &led1;
|
||||
sw0 = &button0;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &gd25q16;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
|
||||
aliases {
|
||||
led0 = &led;
|
||||
spi-flash0 = &gd25q16;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
aliases {
|
||||
sw0 = &user_button;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &mx25r1635f;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
sw1 = &sw1;
|
||||
sw2 = &sw2;
|
||||
sw3 = &sw3;
|
||||
spi-flash0 = &flash0;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
|
||||
aliases {
|
||||
watchdog0 = &iwdg;
|
||||
spi-flash0 = &mx25lm51245;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
led0 = &green_led_1;
|
||||
led1 = &green_led_2;
|
||||
sw0 = &user_button_UP;
|
||||
spi-flash0 = &w25q16cv;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &blue_led;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &w25q32jv;
|
||||
};
|
||||
|
||||
/* Used for accessing other pins */
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
sw0 = &user_button;
|
||||
eswifi0 = &wifi0;
|
||||
watchdog0 = &iwdg;
|
||||
spi-flash0 = &mx25r6435f;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
sw0 = &button0;
|
||||
sw1 = &button1;
|
||||
watchdog0 = &wdog0;
|
||||
spi-flash0 = &mx25r80;
|
||||
};
|
||||
|
||||
leds {
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
model = "Silicon Labs BRD4104A (Blue Gecko Radio Board)";
|
||||
compatible = "silabs,efr32_radio_brd4104a", "silabs,efr32bg13p";
|
||||
|
||||
aliases {
|
||||
spi-flash0 = &mx25r80;
|
||||
};
|
||||
};
|
||||
|
||||
&cpu0 {
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
aliases {
|
||||
pwm-led0 = &pwm_led0;
|
||||
spi-flash0 = &mx25r80;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
sw1 = &button1;
|
||||
watchdog0 = &wdog0;
|
||||
watchdog1 = &wdog1;
|
||||
spi-flash0 = &mx25r80;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
sw0 = &user_button_0;
|
||||
sw1 = &user_button_1;
|
||||
magn0 = &fxos8700;
|
||||
spi-flash0 = &mx25u32;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
sw0 = &user_key;
|
||||
pwm-led0 = &pwm_led;
|
||||
eeprom-0 = &eeprom0;
|
||||
spi-flash0 = &nor_flash;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
sw0 = &user_key;
|
||||
pwm-led0 = &pwm_led;
|
||||
eeprom-0 = &eeprom0;
|
||||
spi-flash0 = &nor_flash;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
sw0 = &user_key;
|
||||
pwm-led0 = &pwm_led;
|
||||
eeprom-0 = &eeprom0;
|
||||
spi-flash0 = &nor_flash;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
aliases {
|
||||
watchdog0 = &iwdg;
|
||||
spi-flash0 = &spi_nor;
|
||||
};
|
||||
|
||||
board_id: brd-id {
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
/* For i2c test suites */
|
||||
i2c-0 = &i2c0_0;
|
||||
watchdog0 = &twd0;
|
||||
/* For samples/drivers/spi_flash */
|
||||
spi-flash0 = &int_flash;
|
||||
};
|
||||
|
||||
pwmleds {
|
||||
|
|
|
@ -29,6 +29,8 @@
|
|||
i2c-0 = &i2c0_0;
|
||||
/* For watchdog sample */
|
||||
watchdog0 = &twd0;
|
||||
/* For samples/drivers/spi_flash */
|
||||
spi-flash0 = &int_flash;
|
||||
};
|
||||
|
||||
leds-pwm {
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
red-pwm-led = &pwm_led1_red;
|
||||
blue-pwm-led = &pwm_led2_blue;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &mx25r64;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -125,6 +125,7 @@
|
|||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &mx25r64;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -126,6 +126,7 @@
|
|||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &mx25r64;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
led3 = &status_blue;
|
||||
sw0 = &mode_button;
|
||||
sw1 = &reset_button;
|
||||
spi-flash0 = &mx25l32;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
led3 = &status_blue;
|
||||
sw0 = &mode_button;
|
||||
sw1 = &reset_button;
|
||||
spi-flash0 = &mx25l32;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
aliases {
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &mx25l32;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
sw0 = &button2;
|
||||
lora0 = &lora0;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &at25;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
led0 = &green_led_1;
|
||||
sw0 = &user_button;
|
||||
kscan0 = &touch_controller;
|
||||
spi-flash0 = &n25q128a1;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
led0 = &green_led_1;
|
||||
sw0 = &user_button;
|
||||
kscan0 = &touch_controller;
|
||||
spi-flash0 = &n25q128a1;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
led3 = &red_led_4;
|
||||
sw0 = &user_button;
|
||||
kscan0 = &touch_controller;
|
||||
spi-flash0 = &mx25l51245g;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -49,6 +49,10 @@
|
|||
min-residency-us = <900>;
|
||||
};
|
||||
};
|
||||
|
||||
aliases {
|
||||
spi-flash0 = &mx25lm51245;
|
||||
};
|
||||
};
|
||||
|
||||
&clk_msi {
|
||||
|
|
|
@ -57,6 +57,7 @@
|
|||
bootloader-led0 = &led0;
|
||||
mcuboot-led0 = &led0;
|
||||
watchdog0 = &wdt0;
|
||||
spi-flash0 = &p25q16h_spi;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -77,6 +77,7 @@
|
|||
led1 = &led2;
|
||||
sw0 = &key_cet;
|
||||
pwm-led0 = &pwm_led;
|
||||
spi-flash0 = &nor_flash;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -20,6 +20,10 @@
|
|||
zephyr,uart-pipe = &lpuart0;
|
||||
zephyr,code-partition = &slot0_partition;
|
||||
};
|
||||
|
||||
aliases {
|
||||
spi-flash0 = &mx25r32;
|
||||
};
|
||||
};
|
||||
|
||||
&m4_flash {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue