ARM: dts: am335x-chilisom: Wakeup from RTC-only state by power on event
authorMarcin Niestroj <m.niestroj@grinn-global.com>
Fri, 9 Dec 2016 11:33:27 +0000 (12:33 +0100)
committerTony Lindgren <tony@atomide.com>
Thu, 5 Jan 2017 16:53:29 +0000 (08:53 -0800)
commitca244a83ecc7f0a9242ee2116e622cb6d7ec2a90
tree5d17d6b909423dee6dba60bf7265afbdf92d5d54
parentf585a15cb094606f0bdfb8926826e0ca27f64af6
ARM: dts: am335x-chilisom: Wakeup from RTC-only state by power on event

On chiliSOM TPS65217 nWAKEUP pin is connected to AM335x internal RTC
EXT_WAKEUP input. In RTC-only state TPS65217 is notifying about power on
events (such as power buton presses) by setting nWAKEUP output
low. After that it waits 5s for proper device boot. Currently it doesn't
happen, as the processor doesn't listen for such events. Consequently
TPS65217 changes state from SLEEP (RTC-only state) to OFF.

Enable EXT_WAKEUP input of AM335x's RTC, so the processor can properly
detect power on events and recover immediately from RTC-only states,
without powering off RTC and losing time.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-chilisom.dtsi