ARM: dts: imx6: RIoTboard provide standby on power off option
authorOleksij Rempel <o.rempel@pengutronix.de>
Thu, 2 Aug 2018 10:34:25 +0000 (12:34 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 12 Sep 2018 01:02:23 +0000 (09:02 +0800)
This board, as well as some other boards with i.MX6 and a PMIC, uses a
"PMIC_STBY_REQ" line to notify the PMIC about a state change.
The PMIC is programmed for a specific state change before triggering the
line.
In this case, PMIC_STBY_REQ can be used for stand by, sleep
and power off modes.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl-riotboard.dts

index dd3226f..8e51491 100644 (file)
        status = "okay";
 };
 
+&clks {
+       fsl,pmic-stby-poweroff;
+};
+
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
                reg = <0x08>;
                interrupt-parent = <&gpio5>;
                interrupts = <16 8>;
+               fsl,pmic-stby-poweroff;
 
                regulators {
                        reg_vddcore: sw1ab {                            /* VDDARM_IN */