Commit e4b9a21b authored by Nicolas Ferre's avatar Nicolas Ferre

ARM: dts: at91: sama5d2: add shutdown controller node

Add the SAMA5D2-Compatible Shutdown Controller node to sama5d2.dtsi
and the use of it in the sama5d2 Xplained board dts file.

Enable the RTC wakeup event and the "wake up" button support through the
input "0" that is present on the board.
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 20ce8513
......@@ -234,6 +234,15 @@ uart5: serial@200 {
};
};
shdwc@f8048010 {
atmel,shdwc-debouncer = <976>;
input@0 {
reg = <0>;
atmel,wakeup-type = "low";
};
};
watchdog@f8048040 {
status = "okay";
};
......
......@@ -1030,6 +1030,15 @@ rstc@f8048000 {
clocks = <&clk32k>;
};
shdwc@f8048010 {
compatible = "atmel,sama5d2-shdwc";
reg = <0xf8048010 0x10>;
clocks = <&clk32k>;
#address-cells = <1>;
#size-cells = <0>;
atmel,wakeup-rtc-timer;
};
pit: timer@f8048030 {
compatible = "atmel,at91sam9260-pit";
reg = <0xf8048030 0x10>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment