@@ -295,6 +295,18 @@
clocks = <&xtal_32k>, <&xtal>;
clock-names = "xtal_32k", "xtal";
};
+
+ wakeup_int: wakeup-controller@20 {
+ compatible = "nxp,lpc3220-wakeup";
+ reg = <0x20 0x10>;
+ #wakeup-cells = <2>;
+ };
+
+ wakeup_pin: wakeup-controller@30 {
+ compatible = "nxp,lpc3220-wakeup";
+ reg = <0x30 0x10>;
+ #wakeup-cells = <2>;
+ };
};
/*
@@ -305,9 +317,13 @@
*/
mic: interrupt-controller@40008000 {
compatible = "nxp,lpc3220-mic";
- interrupt-controller;
reg = <0x40008000 0xC000>;
+ interrupt-controller;
+ interrupt-controller-name = "mic";
#interrupt-cells = <2>;
+
+ wakeup-sources = <&wakeup_int 7 29>,
+ <&wakeup_int 25 27>;
};
uart1: serial@40014000 {
The change adds System Control Block simple bus device tree node and populates it with two first subdevices, wakeup controllers connected to LPC32xx interrupt controllers MIC, SIC1 and SIC2. The change also assigns a name to MIC controller and set its wakeup sources. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> --- arch/arm/boot/dts/lpc32xx.dtsi | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)