ARM: dts: am335x-chilisom: Enable poweroff PMIC sequence using RTC signal
authorMarcin Niestroj <m.niestroj@grinn-global.com>
Wed, 13 Apr 2016 08:44:17 +0000 (10:44 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 14 Apr 2016 20:39:34 +0000 (13:39 -0700)
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>
arch/arm/boot/dts/am335x-chilisom.dtsi

index 5ae8434b750852eb7dee4584c0730dc0993980a0..1d647358f1c1b83b6b5c42f3e7ff7a02ab5a9258 100644 (file)
        };
 };
 
+&rtc {
+       system-power-controller;
+};
+
 /* NAND Flash */
 &elm {
        status = "okay";