dts: Add standard alias for watchdog
Introduce a standard watchdog alias 'watchdog0' that can be utilized by sample/test code in the future. This helps remove the need for CONFIG_WDT_0_NAME in dts_fixup.h files. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
31f525fafc
commit
dc2cb92c4a
12 changed files with 32 additions and 5 deletions
|
@ -9,7 +9,6 @@
|
|||
compatible = "arduino,due", "atmel,sam3x8e", "atmel,sam3x";
|
||||
|
||||
aliases {
|
||||
wdog = &wdog;
|
||||
uart-0 = &uart0;
|
||||
i2c-0 = &i2c0;
|
||||
i2c-1 = &i2c1;
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
led0 = &yellow_led_1;
|
||||
led1 = &yellow_led_2;
|
||||
sw0 = &user_button;
|
||||
wdog = &wdog;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
i2c-2 = &i2c2;
|
||||
led0 = &green_led;
|
||||
sw0 = &sw0_user_button;
|
||||
wdog = &wdog;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include <dt-bindings/i2c/i2c.h>
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
watchdog0 = &wdog;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
watchdog0 = &wdog;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
#include <dt-bindings/i2c/i2c.h>
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
watchdog0 = &wdog;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
watchdog0 = &wdog;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
#include <dt-bindings/i2c/i2c.h>
|
||||
|
||||
/ {
|
||||
|
||||
aliases {
|
||||
watchdog0 = &wdog;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
#include <dt-bindings/i2c/i2c.h>
|
||||
|
||||
/ {
|
||||
|
||||
aliases {
|
||||
watchdog0 = &wdog;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
uart-3 = &lpuart3;
|
||||
uart-4 = &lpuart4;
|
||||
usbd-0 = &usbd;
|
||||
wdt-0 = &wdog;
|
||||
watchdog0 = &wdog;
|
||||
};
|
||||
|
||||
cpus {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
/ {
|
||||
aliases {
|
||||
rtc-0 = &rtc0;
|
||||
wdt-0 = &wdog0;
|
||||
watchdog0 = &wdog0;
|
||||
uart-0 = &uart0;
|
||||
uart-1 = &uart1;
|
||||
uart-2 = &uart2;
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include <dt-bindings/i2c/i2c.h>
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
watchdog0 = &wdog;
|
||||
};
|
||||
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue