summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Niestroj <m.niestroj@grinn-global.com>2016-04-13 10:44:17 +0200
committerTony Lindgren <tony@atomide.com>2016-04-14 13:39:34 -0700
commit1ae5762dd67710626248097eb89d165535c8cdd5 (patch)
treee25aa3d065ef12ec025a252d228148625ebde196
parentce07a9bd9c6ade102fc57ec562db8eed7c7db1ad (diff)
downloadlinux-1ae5762dd67710626248097eb89d165535c8cdd5.tar.gz
linux-1ae5762dd67710626248097eb89d165535c8cdd5.tar.bz2
linux-1ae5762dd67710626248097eb89d165535c8cdd5.zip
ARM: dts: am335x-chilisom: Enable poweroff PMIC sequence using RTC signal
ChiliSOM has TPS65217's PWR_EN pin connected to AM335x PMIC_POWER_EN pin. Processor's PMIC_POWER_EN is controlled by it's internal RTC, hence RTC subsystem is responsible for proper board poweroff sequence. This change enables complete poweroff sequence for ChiliBoard, switching PMIC's state from ACTIVE to SLEEP. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/boot/dts/am335x-chilisom.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-chilisom.dtsi b/arch/arm/boot/dts/am335x-chilisom.dtsi
index 5ae8434b7508..1d647358f1c1 100644
--- a/arch/arm/boot/dts/am335x-chilisom.dtsi
+++ b/arch/arm/boot/dts/am335x-chilisom.dtsi
@@ -122,6 +122,10 @@
};
};
+&rtc {
+ system-power-controller;
+};
+
/* NAND Flash */
&elm {
status = "okay";