Skip to content

Commit

Permalink
nxp_s32k344: add WKPU external sources to GPIO nodes
Browse files Browse the repository at this point in the history
Add WKPU controller node and external wake-up sources to GPIO nodes that
support it.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
  • Loading branch information
manuargue committed Sep 14, 2023
1 parent 7a69ed9 commit 6529ed8
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions dts/arm/nxp/nxp_s32k344_m7.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
<5 5>, <6 6>, <7 7>, <8 16>, <9 17>,
<10 18>, <11 19>, <12 20>, <13 21>,
<14 22>, <15 23>;
wakeup-parent = <&wkpu>;
wakeups = <1 9>, <2 4>, <6 19>, <8 27>, <9 25>,
<13 8>, <15 24>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
Expand All @@ -121,6 +124,8 @@
interrupt-parent = <&eirq0>;
interrupts = <0 4>, <2 0>, <3 1>, <4 2>,
<5 3>, <9 5>, <12 6>, <14 7>;
wakeup-parent = <&wkpu>;
wakeups = <0 35>, <4 63>, <9 38>, <10 39>, <14 41>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
Expand All @@ -135,6 +140,9 @@
interrupts = <0 8>, <1 9>, <2 10>, <3 11>, <4 12>,
<5 13>, <8 14>, <9 15>, <10 24>, <11 25>,
<12 26>, <13 27>, <14 28>, <15 29>;
wakeup-parent = <&wkpu>;
wakeups = <0 11>, <2 12>, <8 29>, <9 21>, <11 20>,
<12 16>, <13 15>, <15 37>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
Expand All @@ -149,6 +157,9 @@
interrupt-parent = <&eirq0>;
interrupts = <0 30>, <1 31>, <5 8>, <6 9>, <7 10>,
<8 11>, <9 12>, <10 13>, <12 14>, <15 15>;
wakeup-parent = <&wkpu>;
wakeups = <0 17>, <1 18>, <3 42>, <5 43>, <7 44>,
<10 45>, <12 46>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
Expand All @@ -164,6 +175,8 @@
<5 5>, <6 6>, <7 7>, <8 16>, <9 17>,
<10 18>, <11 19>, <12 20>, <13 21>,
<14 22>, <15 23>;
wakeup-parent = <&wkpu>;
wakeups = <6 7>, <7 6>, <9 14>, <11 22>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
Expand All @@ -177,6 +190,9 @@
interrupt-parent = <&eirq0>;
interrupts = <4 16>, <5 17>, <7 18>, <8 19>,
<9 20>, <10 21>, <11 22>, <13 23>;
wakeup-parent = <&wkpu>;
wakeups = <2 40>, <4 47>, <7 48>, <8 50>, <9 49>,
<10 52>, <13 51>, <15 53>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
Expand All @@ -192,6 +208,8 @@
<5 13>, <6 14>, <7 15>, <8 24>,
<9 25>, <10 26>, <11 27>, <12 28>,
<13 29>, <14 30>, <15 31>;
wakeup-parent = <&wkpu>;
wakeups = <0 10>, <2 13>, <3 5>, <4 26>, <13 28>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
Expand All @@ -205,6 +223,8 @@
interrupt-parent = <&eirq0>;
interrupts = <1 24>, <4 25>, <5 26>, <6 27>,
<7 28>, <8 29>, <11 30>, <12 31>;
wakeup-parent = <&wkpu>;
wakeups = <4 58>, <7 54>, <11 55>, <13 56>, <15 57>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
Expand All @@ -220,6 +240,9 @@
<4 4>, <5 5>, <6 6>, <8 7>,
<9 8>, <10 9>, <11 10>, <12 11>,
<13 12>, <14 13>, <15 14>;
wakeup-parent = <&wkpu>;
wakeups = <0 30>, <2 31>, <5 36>, <6 33>,
<11 32>, <14 34>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
Expand All @@ -232,6 +255,8 @@
reg-names = "pgpdo", "mscr";
interrupt-parent = <&eirq0>;
interrupts = <0 15>;
wakeup-parent = <&wkpu>;
wakeups = <0 23>, <2 59>, <5 60>, <7 61>, <9 62>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
Expand Down Expand Up @@ -289,6 +314,14 @@
};
};

wkpu: wkpu@402b4000 {
compatible = "nxp,s32-wkpu";
reg = <0x402b4000 0x4000>;
interrupts = <83 0>;
wakeup-controller;
status = "disabled";
};

lpuart0: uart@40328000 {
compatible = "nxp,kinetis-lpuart";
reg = <0x40328000 0x4000>;
Expand Down

0 comments on commit 6529ed8

Please sign in to comment.