boards/arm: Add mcuboot's led alias to nRF boards
Added alias (mcuboot-led0) for the LED gpio pin which might be used by MCUboot. So far this pin assignments for MCUboot was configured by bootloader-led0 alias. New alias will replace the bootloader-led0. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
This commit is contained in:
parent
35b6e65d19
commit
b937f0315b
30 changed files with 30 additions and 0 deletions
|
@ -75,6 +75,7 @@
|
|||
sw0 = &button0;
|
||||
bootloader-led0 = &green_pwm_led;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &green_pwm_led;
|
||||
};
|
||||
|
||||
vbatt {
|
||||
|
|
|
@ -75,6 +75,7 @@
|
|||
sw0 = &button0;
|
||||
bootloader-led0 = &green_pwm_led;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &green_pwm_led;
|
||||
};
|
||||
|
||||
sim_select: sim-select {
|
||||
|
|
|
@ -85,6 +85,7 @@
|
|||
sw2 = &button3;
|
||||
sw3 = &button4;
|
||||
mcuboot-button0 = &button1;
|
||||
mcuboot-led0 = &led1;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
sw0 = &button1;
|
||||
sw1 = &button2;
|
||||
mcuboot-button0 = &button1;
|
||||
mcuboot-led0 = &led1;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
sw2 = &button3;
|
||||
sw3 = &button4;
|
||||
mcuboot-button0 = &button1;
|
||||
mcuboot-led0 = &led1;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
sw2 = &button3;
|
||||
sw3 = &button4;
|
||||
mcuboot-button0 = &button1;
|
||||
mcuboot-led0 = &led1;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
led0 = &led1;
|
||||
sw0 = &button1;
|
||||
mcuboot-button0 = &button1;
|
||||
mcuboot-led0 = &led1;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -82,6 +82,7 @@
|
|||
led1 = &led1b;
|
||||
sw0 = &button0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led1a;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -194,6 +194,7 @@
|
|||
sw1 = &button2;
|
||||
sw2 = &mag1;
|
||||
mcuboot-button0 = &button1;
|
||||
mcuboot-led0 = &led1;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
pwm-led0 = &pwm_led0;
|
||||
sw0 = &button0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &blue_led;
|
||||
};
|
||||
|
||||
/* Used for accessing other pins */
|
||||
|
|
|
@ -134,6 +134,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -82,6 +82,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -112,6 +112,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -123,6 +123,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
green-pwm-led = &green_pwm_led;
|
||||
blue-pwm-led = &blue_pwm_led;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0_green;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -75,6 +75,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -77,6 +77,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -124,6 +124,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -124,6 +124,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -105,6 +105,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -148,6 +148,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
sw2 = &button3;
|
||||
sw3 = &button4;
|
||||
mcuboot-button0 = &button1;
|
||||
mcuboot-led0 = &led1;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
pwm-led0 = &pwm_led0;
|
||||
sw0 = &button0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &blue_led;
|
||||
};
|
||||
|
||||
/* Used for accessing other pins */
|
||||
|
|
|
@ -127,6 +127,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -127,6 +127,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -137,6 +137,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -127,6 +127,7 @@
|
|||
sw3 = &button3;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
sw0 = &button0;
|
||||
bootloader-led0 = &led0;
|
||||
mcuboot-button0 = &button0;
|
||||
mcuboot-led0 = &led0;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue