Skip to content

Commit

Permalink
dts: silabs: Fix invalid nodes in gpio node
Browse files Browse the repository at this point in the history
The watchdog and rng nodes were a sub-node of the gpio node.
This commits corrects this issue for the relevant socs.

Signed-off-by: Christian Taedcke <hacking@taedcke.com>
  • Loading branch information
chrta authored and MaureenHelm committed Jan 7, 2021
1 parent 712ff32 commit 0c17b36
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
46 changes: 23 additions & 23 deletions dts/arm/silabs/efm32_jg_pg_12b.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -225,32 +225,32 @@
#gpio-cells = <2>;
status = "disabled";
};
};

wdog0: wdog@40052000 {
compatible = "silabs,gecko-wdog";
reg = <0x40052000 0x2C>;
peripheral-id = <0>;
label = "WDOG0";
interrupts = <2 0>;
status = "disabled";
};
wdog0: wdog@40052000 {
compatible = "silabs,gecko-wdog";
reg = <0x40052000 0x2C>;
peripheral-id = <0>;
label = "WDOG0";
interrupts = <2 0>;
status = "disabled";
};

wdog1: wdog@40052400 {
compatible = "silabs,gecko-wdog";
reg = <0x40052400 0x2C>;
peripheral-id = <1>;
label = "WDOG1";
interrupts = <3 0>;
status = "disabled";
};
wdog1: wdog@40052400 {
compatible = "silabs,gecko-wdog";
reg = <0x40052400 0x2C>;
peripheral-id = <1>;
label = "WDOG1";
interrupts = <3 0>;
status = "disabled";
};

trng0: trng@4001d000 {
compatible = "silabs,gecko-trng";
reg = <0x4001d000 0x400>;
interrupts = <49 0>;
label = "TRNG0";
status = "disabled";
};
trng0: trng@4001d000 {
compatible = "silabs,gecko-trng";
reg = <0x4001d000 0x400>;
interrupts = <49 0>;
label = "TRNG0";
status = "disabled";
};
};
};
Expand Down
15 changes: 7 additions & 8 deletions dts/arm/silabs/efm32gg11b.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -289,15 +289,14 @@
#gpio-cells = <2>;
status = "disabled";
};
};


trng0: trng@4001d000 {
compatible = "silabs,gecko-trng";
reg = <0x4001d000 0x400>;
interrupts = <66 0>;
label = "TRNG0";
status = "disabled";
};
trng0: trng@4001d000 {
compatible = "silabs,gecko-trng";
reg = <0x4001d000 0x400>;
interrupts = <66 0>;
label = "TRNG0";
status = "disabled";
};

wdog0: wdog@40052000 {
Expand Down

0 comments on commit 0c17b36

Please sign in to comment.