]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: fsl-lx2160a: wdt0 for watchdog node
authorVincent Jardin <vjardin@free.fr>
Wed, 20 May 2026 21:48:41 +0000 (23:48 +0200)
committerPeng Fan <peng.fan@nxp.com>
Tue, 9 Jun 2026 15:16:28 +0000 (23:16 +0800)
The SBSA generic watchdog node is currently declared without a
label, so any per-board DTS that wants to override one of its
properties has to use path syntax &{/soc/watchdog@23a0000}.

It fails with
  Label or path /soc/watchdog@23a0000 not found
when the path contains an `@`, forcing to duplicate the node.

Adding a one-line
  wdt0:
label allows to override the node with
  &wdt0 { ... };
(for example to change timeout-sec).

Zero impact on existing boards.

Signed-off-by: Vincent Jardin <vjardin@free.fr>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/dts/fsl-lx2160a.dtsi

index 4b4b1c100b8ffb0c19fa25851ac638e2fb911990..551efda8fe4ff2694c0873cd52fe5a43a91cc43a 100644 (file)
                #interrupt-cells = <2>;
        };
 
-       watchdog@23a0000 {
+       wdt0: watchdog@23a0000 {
                compatible = "arm,sbsa-gwdt";
                reg = <0x0 0x23a0000 0 0x1000>,
                      <0x0 0x2390000 0 0x1000>;