tn3399_openwrt/target/linux/mvebu
Daniel González Cabanelas b8362c20e7 mvebu: LS421DE: use the RTC as a wakeup source
The Buffalo Linkstation LS421DE comes with a Ricoh RS5C372A real time
clock. This RTC has the INTRA pin connected to the power management
circuit, allowing to wake up the device from the power off state when an
alarm is scheduled.

Add the "wakeup-source" property in the RTC dts node to allow the use
of the alarm.

Example of use, the device is powered off and it comes to life after 5
minutes:
echo $(expr $(date '+%s') + 60 * 5) > /sys/class/rtc/rtc0/wakealarm
poweroff

This feature isn't available in the stock firmware.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
2020-12-22 18:59:10 +01:00
..
base-files/lib mvebu: sysupgrade: write additional information to log output 2020-12-01 19:39:08 +01:00
cortexa9 mvebu: sysupgrade: use v function for writing logs 2020-12-01 19:38:43 +01:00
cortexa53 mvebu: add initial support for Globalscale ESPRESSObin-Ultra 2020-11-23 22:53:15 +01:00
cortexa72 kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
files/arch mvebu: LS421DE: use the RTC as a wakeup source 2020-12-22 18:59:10 +01:00
image mvebu: macchiatobin-singleshot: enable heartbeat LED 2020-12-20 00:00:33 +01:00
patches-5.4 mvebu: macchiatobin-singleshot: enable heartbeat LED 2020-12-20 00:00:33 +01:00
config-5.4 kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2020-10-09 23:20:19 +01:00
Makefile mvebu: switch to kernel 5.4 2020-06-03 20:34:14 +02:00
modules.mk mvebu: backport linkstation-poweroff upstream driver 2020-08-28 10:44:29 +01:00