summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2019-06-13 05:35:27 +0200
committerShawn Guo <shawnguo@kernel.org>2019-06-18 09:15:04 +0200
commit6869114832b71f357f63b3a3d4bac32e05f244d1 (patch)
treee7e28233bf7f2b2d2db90ecea8e8f45bfc02d523
parentARM: dts: imx7s: Enable SNVS power key according to board design (diff)
downloadlinux-6869114832b71f357f63b3a3d4bac32e05f244d1.tar.xz
linux-6869114832b71f357f63b3a3d4bac32e05f244d1.zip
ARM: dts: imx6sll: Enable SNVS poweroff according to board design
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>
-rw-r--r--arch/arm/boot/dts/imx6sll-evk.dts4
-rw-r--r--arch/arm/boot/dts/imx6sll.dtsi1
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sll-evk.dts b/arch/arm/boot/dts/imx6sll-evk.dts
index 61aa074af19d..3e1d32fdf4b8 100644
--- a/arch/arm/boot/dts/imx6sll-evk.dts
+++ b/arch/arm/boot/dts/imx6sll-evk.dts
@@ -269,6 +269,10 @@
vin-supply = <&sw2_reg>;
};
+&snvs_poweroff {
+ status = "okay";
+};
+
&snvs_pwrkey {
status = "okay";
};
diff --git a/arch/arm/boot/dts/imx6sll.dtsi b/arch/arm/boot/dts/imx6sll.dtsi
index 438402326b02..b0a77ff70b67 100644
--- a/arch/arm/boot/dts/imx6sll.dtsi
+++ b/arch/arm/boot/dts/imx6sll.dtsi
@@ -568,6 +568,7 @@
regmap = <&snvs>;
offset = <0x38>;
mask = <0x61>;
+ status = "disabled";
};
snvs_pwrkey: snvs-powerkey {