dts: nordic: introduce wdt0 / wdt1 distinction

Add wdt0 node labels for all watchdogs. Keep the existing wdt node
labels in place for backwards compatibility.

Add a wdt1 node to the nRF5340 application core .dtsi, but leave it
disabled. Leave the wdt node's label set to "WDT" on this core for
backwards compatibility also, in case any users are getting it with a
string literal instead of asking the devicetree. This can be changed
later after this round of watchdog changes has been shaken out and
tested more.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2020-04-16 17:08:50 -07:00 committed by Carles Cufí
commit 644f9ecbf0
10 changed files with 20 additions and 10 deletions

View file

@ -381,7 +381,7 @@
label = "USBD";
};
wdt: watchdog@40010000 {
wdt: wdt0: watchdog@40010000 {
compatible = "nordic,nrf-watchdog";
reg = <0x40010000 0x1000>;
interrupts = <16 1>;