boards: Add alias to boards with watchdog enabled

Add alias to boards with watchdog enabled to facilitate the
move of samples/drivers/watchdog to use DT_ALIAS.

Signed-off-by: Benjamin Björnsson <benjamin.bjornsson@gmail.com>
This commit is contained in:
Benjamin Björnsson 2022-07-19 10:33:14 +02:00 committed by Kumar Gala
parent 42154a9dbd
commit ab4a926c27
162 changed files with 213 additions and 0 deletions

View file

@ -19,6 +19,10 @@
zephyr,sram = &sram0;
zephyr,flash = &flash0;
};
aliases {
watchdog0 = &wdt0;
};
};
&gpiote {

View file

@ -29,6 +29,7 @@
led1 = &led1;
bt = &led1;
sw0 = &button0;
watchdog0 = &wdt0;
};
leds {

View file

@ -76,6 +76,7 @@
bootloader-led0 = &green_pwm_led;
mcuboot-button0 = &button0;
mcuboot-led0 = &green_pwm_led;
watchdog0 = &wdt0;
};
vbatt {

View file

@ -76,6 +76,7 @@
bootloader-led0 = &green_pwm_led;
mcuboot-button0 = &button0;
mcuboot-led0 = &green_pwm_led;
watchdog0 = &wdt0;
};
sim_select: sim-select {

View file

@ -15,6 +15,10 @@
zephyr,uart-mcumgr = &uart0;
};
aliases {
watchdog0 = &wdt0;
};
sim_select: sim-select {
compatible = "sim-select";
sim-gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;

View file

@ -49,6 +49,7 @@
led0 = &led0;
led1 = &led1;
sw0 = &button0;
watchdog0 = &wdt0;
};
};

View file

@ -14,6 +14,7 @@
i2c-0 = &twi0;
i2c-1 = &twi1;
led0 = &yellow_led;
watchdog0 = &wdt;
};
chosen {

View file

@ -103,6 +103,7 @@
green-pwm-led = &green_pwm_led;
blue-pwm-led = &blue_pwm_led;
spi = &spi2;
watchdog0 = &wdt0;
};
};

View file

@ -34,6 +34,7 @@
aliases {
sw0 = &user_button;
watchdog0 = &wdt0;
};
};

View file

@ -73,6 +73,7 @@
sw2 = &joystick_down;
sw3 = &joystick_right;
sw4 = &joystick_up;
watchdog0 = &iwdg;
};
};

View file

@ -43,6 +43,7 @@
aliases {
led0 = &green_led_1;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -49,6 +49,10 @@
min-residency-us = <900>;
};
};
aliases {
watchdog0 = &iwdg;
};
};
&clk_lse {

View file

@ -17,6 +17,7 @@
sw0 = &buttonA;
sw1 = &buttonB;
magn0 = &lsm303agr_magn;
watchdog0 = &wdt0;
};
chosen {

View file

@ -17,6 +17,7 @@
sw0 = &buttonA;
sw1 = &buttonB;
magn0 = &lsm303agr_magn;
watchdog0 = &wdt0;
};
chosen {

View file

@ -87,6 +87,7 @@
mcuboot-button0 = &button1;
mcuboot-led0 = &led1;
sdhc0 = &sdhc0;
watchdog0 = &wdt0;
};
};

View file

@ -22,6 +22,10 @@
zephyr,flash = &flash1;
zephyr,code-partition = &slot0_partition;
};
aliases {
watchdog0 = &wdt0;
};
};
&gpiote {

View file

@ -55,6 +55,7 @@
sw1 = &button2;
mcuboot-button0 = &button1;
mcuboot-led0 = &led1;
watchdog0 = &wdt0;
};
};

View file

@ -75,6 +75,7 @@
sw3 = &button4;
mcuboot-button0 = &button1;
mcuboot-led0 = &led1;
watchdog0 = &wdt0;
};
};

View file

@ -75,6 +75,7 @@
sw3 = &button4;
mcuboot-button0 = &button1;
mcuboot-led0 = &led1;
watchdog0 = &wdt0;
};
};

View file

@ -45,6 +45,7 @@
sw0 = &button1;
mcuboot-button0 = &button1;
mcuboot-led0 = &led1;
watchdog0 = &wdt0;
};
};

View file

@ -42,6 +42,7 @@
aliases {
led0 = &led1;
led1pwm = &led1bluepwm;
watchdog0 = &wdt0;
};
};

View file

@ -40,6 +40,7 @@
sw0 = &button0;
sw1 = &button1;
pwm-buzzer = &pwm0;
watchdog0 = &wdt0;
};
};

View file

@ -83,6 +83,7 @@
sw0 = &button0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led1a;
watchdog0 = &wdt0;
};
};

View file

@ -195,6 +195,7 @@
sw2 = &mag1;
mcuboot-button0 = &button1;
mcuboot-led0 = &led1;
watchdog0 = &wdt0;
};
};

View file

@ -18,6 +18,7 @@
/* sw0/1 alias defined for compatibility with samples */
sw0 = &sw2;
sw1 = &sw3;
watchdog0 = &wdt0;
};
chosen {

View file

@ -22,6 +22,7 @@
/* sw0/1 alias defined for compatibility with samples */
sw0 = &sw2;
sw1 = &sw3;
watchdog0 = &wdt0;
};
chosen {

View file

@ -47,6 +47,7 @@
sw0 = &button0;
mcuboot-button0 = &button0;
mcuboot-led0 = &blue_led;
watchdog0 = &wdt0;
};
/* Used for accessing other pins */

View file

@ -19,6 +19,10 @@
zephyr,flash = &flash0;
zephyr,code-partition = &slot0_partition;
};
aliases {
watchdog0 = &wdt0;
};
};
&gpiote {

View file

@ -71,6 +71,7 @@
led2-red = &led2_red;
led3-blue = &led3_blue;
pwm-led0 = &pwm_led0_red;
watchdog0 = &wdt0;
};
};

View file

@ -81,6 +81,7 @@
sw0 = &button0;
sw1 = &button1;
sw2 = &button2;
watchdog0 = &wdt0;
};
};

View file

@ -47,6 +47,7 @@
led1 = &green_led_1;
sw0 = &user_button;
eswifi0 = &wifi0;
watchdog0 = &iwdg;
};
};

View file

@ -64,6 +64,7 @@
sw0 = &button0;
sw1 = &button1;
bootloader-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -38,6 +38,7 @@
aliases {
sw0 = &button0;
led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -47,6 +47,7 @@
sw0 = &boot_button;
sw1 = &user_button;
lora0 = &lora;
watchdog0 = &iwdg;
};
pwr_3v3: pwr-3v3-ctrl {

View file

@ -17,6 +17,7 @@
sw0 = &user_button_1;
sw1 = &user_button_2;
sw2 = &user_button_3;
watchdog0 = &wwdt0;
};
chosen {

View file

@ -22,6 +22,7 @@
sw0 = &user_button_1;
sw1 = &user_button_2;
sw2 = &user_button_3;
watchdog0 = &wwdt0;
/* For pwm test suites */
pwm-0 = &sc_timer;
pwm-led0 = &red_pwm_led;

View file

@ -21,6 +21,7 @@
sw0 = &user_button_1;
sw1 = &user_button_2;
sw2 = &user_button_3;
watchdog0 = &wwdt0;
};
chosen {

View file

@ -26,6 +26,7 @@
i2c0 = &i2c_smb_0;
i2c1 = &i2c_smb_1;
kscan0 = &kscan0;
watchdog0 = &wdog;
};
power-states {

View file

@ -29,6 +29,7 @@
i2c1 = &i2c_smb_1;
i2c7 = &i2c_smb_2;
kscan0 = &kscan0;
watchdog0 = &wdog;
};
leds {

View file

@ -27,6 +27,7 @@
i2c1 = &i2c_smb_1;
i2c7 = &i2c_smb_2;
pwm-0 = &pwm0;
watchdog0 = &wdog;
};
leds {

View file

@ -30,6 +30,10 @@
device_type = "memory";
reg = <0x80000000 DT_SIZE_M(64)>;
};
aliases {
watchdog0 = &wdog1;
};
};
&lpuart1 {

View file

@ -15,6 +15,7 @@
aliases {
mipi-dsi = &mipi_dsi;
watchdog0 = &wdog1;
};
chosen {

View file

@ -25,6 +25,7 @@
pwm-0 = &pwm6;
/* For i2c test suites */
i2c-0 = &i2c0_0;
watchdog0 = &twd0;
};
pwmleds {

View file

@ -135,6 +135,7 @@
bootloader-led0 = &led0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -30,6 +30,7 @@
led4 = &led4;
sw0 = &button0;
sw1 = &button1;
watchdog0 = &wdt0;
};
leds {

View file

@ -23,6 +23,7 @@
aliases {
led0 = &led0;
watchdog0 = &wdt0;
};
leds {

View file

@ -25,6 +25,7 @@
aliases {
led0 = &led0;
sw0 = &button0;
watchdog0 = &wdt0;
};
leds {

View file

@ -84,6 +84,7 @@
bootloader-led0 = &led0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -52,6 +52,7 @@
led1 = &led0_green;
led2 = &led0_blue;
pwm-led0 = &pwm_led0;
watchdog0 = &wdt0;
};
};

View file

@ -79,6 +79,7 @@
green-pwm-led = &pwm_led0_green;
red-pwm-led = &pwm_led1_red;
blue-pwm-led = &pwm_led2_blue;
watchdog0 = &wdt0;
};
};

View file

@ -84,6 +84,7 @@
bootloader-led0 = &led0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -113,6 +113,7 @@
bootloader-led0 = &led0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -55,6 +55,7 @@
led1 = &led1;
led2 = &led2;
sw0 = &button0;
watchdog0 = &wdt0;
};
};

View file

@ -78,6 +78,7 @@
green-pwm-led = &pwm_led0_green;
red-pwm-led = &pwm_led1_red;
blue-pwm-led = &pwm_led2_blue;
watchdog0 = &wdt0;
};
};

View file

@ -76,6 +76,7 @@
red-pwm-led = &red_pwm_led;
green-pwm-led = &green_pwm_led;
blue-pwm-led = &blue_pwm_led;
watchdog0 = &wdt0;
};
};

View file

@ -74,6 +74,7 @@
blue-pwm-led = &pwm_led1;
red-pwm-led = &pwm_led2;
sw0 = &button0;
watchdog0 = &wdt0;
};
};

View file

@ -84,6 +84,7 @@
bootloader-led0 = &led0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -124,6 +124,7 @@
bootloader-led0 = &led0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -84,6 +84,7 @@
blue-pwm-led = &blue_pwm_led;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0_green;
watchdog0 = &wdt0;
};
};

View file

@ -34,6 +34,7 @@
led0 = &led0;
led1 = &led1;
sw0 = &button0;
watchdog0 = &wdt0;
};
leds {

View file

@ -25,6 +25,7 @@
/* These aliases are provided for compatibility with samples */
aliases {
led0 = &led0;
watchdog0 = &wdt0;
};
leds {

View file

@ -27,6 +27,7 @@
aliases {
led0 = &led0;
sw0 = &button0;
watchdog0 = &wdt0;
};
leds {

View file

@ -25,6 +25,7 @@
aliases {
led0 = &led0;
sw0 = &button0;
watchdog0 = &wdt0;
};
leds {

View file

@ -76,6 +76,7 @@
bootloader-led0 = &led0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -78,6 +78,7 @@
bootloader-led0 = &led0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -125,6 +125,7 @@
bootloader-led0 = &led0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -125,6 +125,7 @@
bootloader-led0 = &led0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -106,6 +106,7 @@
bootloader-led0 = &led0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -72,6 +72,7 @@
sw0 = &button0;
rgb-pwm = &pwm0;
mode-pwm = &pwm1;
watchdog0 = &wdt0;
};
};

View file

@ -63,6 +63,7 @@
sw0 = &button0;
rgb-pwm = &pwm0;
mode-pwm = &pwm1;
watchdog0 = &wdt0;
};
};

View file

@ -133,6 +133,10 @@
status = "disabled";
};
};
aliases {
watchdog0 = &wdt0;
};
};
&gpiote {

View file

@ -149,6 +149,7 @@
bootloader-led0 = &led0;
mcuboot-button0 = &button0;
mcuboot-led0 = &led0;
watchdog0 = &wdt0;
};
};

View file

@ -39,6 +39,7 @@
aliases {
led0 = &green_led_2;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -39,6 +39,7 @@
aliases {
led0 = &green_led_2;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -50,6 +50,7 @@
led0 = &green_led_2;
sw0 = &user_button;
pwm-led0 = &green_pwm_led;
watchdog0 = &iwdg;
};
};

View file

@ -39,6 +39,7 @@
aliases {
led0 = &green_led_2;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -72,6 +72,7 @@
blue-pwm-led = &blue_pwm_led;
red-pwm-led = &red_pwm_led;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -39,6 +39,7 @@
aliases {
led0 = &green_led_2;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -49,6 +49,7 @@
led0 = &green_led_2;
sw0 = &user_button;
pwm-led0 = &green_pwm_led;
watchdog0 = &wwdg;
};
};

View file

@ -51,6 +51,7 @@
led1 = &blue_led_1;
led2 = &red_led_1;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -58,6 +58,7 @@
led1 = &blue_led;
led2 = &red_led;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -59,6 +59,7 @@
led1 = &blue_led;
led2 = &red_led;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -55,6 +55,7 @@
aliases {
led0 = &green_led_1;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -56,6 +56,7 @@
aliases {
led0 = &green_led_1;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -48,6 +48,7 @@
led0 = &green_led;
pwm-led0 = &green_pwm_led;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -49,6 +49,7 @@
led0 = &green_led;
pwm-led0 = &green_pwm_led;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -56,6 +56,7 @@
led1 = &yellow_led;
pwm-led0 = &red_pwm_led;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -51,6 +51,7 @@
led0 = &green_led_2;
sw0 = &user_button;
pwm-led0 = &green_pwm_led;
watchdog0 = &iwdg;
};
};

View file

@ -40,6 +40,7 @@
led0 = &green_led_0;
sw0 = &user_button;
eeprom-0 = &eeprom;
watchdog0 = &iwdg;
};
};

View file

@ -58,6 +58,7 @@
led2 = &red_led_3;
pwm-led0 = &red_pwm_led;
sw0 = &user_button;
watchdog0 = &wwdg;
};
};

View file

@ -80,6 +80,7 @@
sw0 = &user_button_1;
sw1 = &user_button_2;
sw2 = &user_button_3;
watchdog0 = &iwdg;
};
};

View file

@ -59,6 +59,7 @@
sw1 = &user_button_2;
sw2 = &user_button_3;
lora0 = &lora;
watchdog0 = &iwdg;
};
power-states {

View file

@ -37,6 +37,7 @@
aliases {
led0 = &green_led_2;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -39,6 +39,7 @@
aliases {
led0 = &green_led_1;
sw0 = &user_button;
watchdog0 = &iwdg;
};
};

View file

@ -52,6 +52,7 @@
led1 = &yellow_led_2;
sw0 = &user_button;
sdhc0 = &sdhc0;
watchdog0 = &iwdg;
};
};

View file

@ -123,6 +123,7 @@
sw2 = &evb_sw3;
sw3 = &evb_sw4;
bootloader-led0 = &evb_led1;
watchdog0 = &wdt0;
};
};

View file

@ -123,6 +123,7 @@
sw2 = &evb_sw3;
sw3 = &evb_sw4;
bootloader-led0 = &evb_led1;
watchdog0 = &wdt0;
};
};

View file

@ -85,6 +85,7 @@
pwm-led0 = &pwm_evb_led1;
sw0 = &evb_sw1;
sw1 = &evb_sw2;
watchdog0 = &wdt0;
};
};

View file

@ -86,6 +86,7 @@
sw0 = &evb_sw1;
sw1 = &evb_sw2;
bootloader-led0 = &evb_led1;
watchdog0 = &wdt0;
};
};

View file

@ -26,6 +26,10 @@
output-ohms = <2100000>;
full-ohms = <(2100000 + 806000)>;
};
aliases {
watchdog0 = &wdt0;
};
};
&uart1 { /* ESP32 */

Some files were not shown because too many files have changed in this diff Show more