ARM: dts: imx6sll: Enable SNVS poweroff according to board design
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 13 Jun 2019 03:35:27 +0000 (11:35 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 18 Jun 2019 07:15:04 +0000 (15:15 +0800)
The SNVS poweroff depends on board design, by default it should
be disabled in SoC DT and ONLY be enabled on board DT if it is
wired up to external PMIC.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6sll-evk.dts
arch/arm/boot/dts/imx6sll.dtsi

index 61aa074..3e1d32f 100644 (file)
        vin-supply = <&sw2_reg>;
 };
 
+&snvs_poweroff {
+       status = "okay";
+};
+
 &snvs_pwrkey {
        status = "okay";
 };
index 4384023..b0a77ff 100644 (file)
                                        regmap = <&snvs>;
                                        offset = <0x38>;
                                        mask = <0x61>;
+                                       status = "disabled";
                                };
 
                                snvs_pwrkey: snvs-powerkey {