Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boards: nxp: Add Serial Recovery button alias #79374

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions boards/nxp/frdm_k22f/frdm_k22f.dts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
red-pwm-led = &red_pwm_led;
magn0 = &fxos8700;
accel0 = &fxos8700;
mcuboot-button0 = &user_button_3;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/frdm_k64f/frdm_k64f.dts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
sw1 = &user_button_2;
magn0 = &fxos8700;
accel0 = &fxos8700;
mcuboot-button0 = &user_button_3;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, how did you decide which button to use.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, how did you decide which button to use.

All these boards have at least one button and it is sw0.

Copy link
Member

@henrikbrixandersen henrikbrixandersen Oct 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choosing the wrong button can cause this feature to not work at all. See e.g. #79715

Were these configurations tested?

};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/frdm_k82f/frdm_k82f.dts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
sw1 = &user_button_1;
magn0 = &fxos8700;
accel0 = &fxos8700;
mcuboot-button0 = &user_button_0;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/frdm_ke17z/frdm_ke17z.dts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
pwm-led0 = &red_pwm_led;
pwm-led1 = &green_pwm_led;
pwm-led2 = &blue_pwm_led;
mcuboot-button0 = &user_button_0;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/frdm_ke17z512/frdm_ke17z512.dts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
pwm-led0 = &red_pwm_led;
pwm-led1 = &green_pwm_led;
pwm-led2 = &blue_pwm_led;
mcuboot-button0 = &user_button_2;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/frdm_mcxn947/frdm_mcxn947.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
sw0 = &user_button_2;
sw1 = &user_button_3;
sdhc0 = &usdhc0;
mcuboot-button0 = &user_button_2;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/lpcxpresso55s06/lpcxpresso55s06_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
sw1 = &btn_usr;
sw2 = &btn_isp;
usart-0 = &flexcomm0;
mcuboot-button0 = &btn_wk;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/lpcxpresso55s16/lpcxpresso55s16_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
usart-0 = &flexcomm0;
magn0 = &fxos8700;
accel0 = &fxos8700;
mcuboot-button0 = &btn_wk;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/lpcxpresso55s28/lpcxpresso55s28.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
sw2 = &user_button_3;
watchdog0 = &wwdt0;
accel0 = &mma8652fc;
mcuboot-button0 = &user_button_1;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/lpcxpresso55s36/lpcxpresso55s36.dts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
sw1 = &btn_usr;
usart-0 = &flexcomm0;
pwm-0 = &flexpwm1_pwm0;
mcuboot-button0 = &btn_wk;
};

leds {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
sdhc0 = &sdhc0;
accel0 = &mma8652fc;
sdhc0 = &sdif;
mcuboot-button0 = &user_button_1;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt1010_evk/mimxrt1010_evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
aliases {
led0 = &green_led;
sw0 = &user_button;
mcuboot-button0 = &user_button;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt1015_evk/mimxrt1015_evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
aliases {
led0 = &green_led;
sw0 = &user_button;
mcuboot-button0 = &user_button;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt1020_evk/mimxrt1020_evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
led0 = &green_led;
sw0 = &user_button;
sdhc0 = &usdhc1;
mcuboot-button0 = &user_button;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt1024_evk/mimxrt1024_evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
magn0 = &fxos8700;
accel0 = &fxos8700;
sdhc0 = &usdhc1;
mcuboot-button0 = &user_button;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt1040_evk/mimxrt1040_evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
sw0 = &user_button;
pwm-0 = &flexpwm1_pwm3;
accel0 = &fxls8974;
mcuboot-button0 = &user_button;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt1050_evk/mimxrt1050_evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
magn0 = &fxos8700;
accel0 = &fxos8700;
sdhc0 = &usdhc1;
mcuboot-button0 = &user_button;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt1060_evk/mimxrt1060_evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
sw0 = &user_button;
watchdog0 = &wdog0;
sdhc0 = &usdhc1;
mcuboot-button0 = &user_button;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt1064_evk/mimxrt1064_evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
sw0 = &user_button;
watchdog0 = &wdog0;
sdhc0 = &usdhc1;
mcuboot-button0 = &user_button;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt1160_evk/mimxrt1160_evk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
magn0 = &fxos8700;
accel0 = &fxos8700;
sdhc0 = &usdhc1;
mcuboot-button0 = &user_button;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt1170_evk/mimxrt1170_evk.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
accel0 = &fxos8700;
sdhc0 = &usdhc1;
pwm-led0 = &green_pwm_led;
mcuboot-button0 = &user_button;
};

leds {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt595_evk/mimxrt595_evk_mimxrt595s_cm33.dts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
sdhc0 = &usdhc0;
pwm-0 = &sc_timer;
dmic-dev = &dmic0;
mcuboot-button0 = &user_button_1;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/mimxrt685_evk/mimxrt685_evk_mimxrt685s_cm33.dts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
accel0 = &fxos8700;
sdhc0 = &usdhc0;
dmic-dev = &dmic0;
mcuboot-button0 = &user_button_1;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/rd_rw612_bga/rd_rw612_bga.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
i2c-0 = &flexcomm2;
watchdog0 = &wwdt;
dmic-dev = &dmic0;
mcuboot-button0 = &sw_4;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/twr_ke18f/twr_ke18f.dts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
sw1 = &user_button_2;
magn0 = &fxos8700;
accel0 = &fxos8700;
mcuboot-button0 = &user_button_3;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/twr_kv58f220m/twr_kv58f220m.dts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
sw3 = &user_button_3;
magn0 = &fxos8700;
accel0 = &fxos8700;
mcuboot-button0 = &user_button_0;
};

chosen {
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/vmu_rt1170/vmu_rt1170_mimxrt1176_cm7.dts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
sdhc0 = &usdhc1;
sw0 = &arming_button;
pwm-led0 = &buzzer0;
mcuboot-button0 = &arming_button;
};

chosen {
Expand Down
Loading