summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorRobin Gong <yibin.gong@nxp.com>2016-01-12 15:12:03 +0800
committerNitin Garg <nitin.garg@nxp.com>2016-01-14 11:03:10 -0600
commit118dd56b0aa4ad06097b96be0577b4636c1685e3 (patch)
tree6071dc2980e4c00fd83fdd685d72656c076f1857 /arch/arm/boot
parentef30b5f7bf29c58440fc10cc75119501d64b1882 (diff)
MLK-12211-1: ARM: dts: imx6/imx7: enable snvs-poweroff
enable snvs-poweroff driver on imx6sx(except sabreauto board),imx6ul and imx7d all boards. Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/imx6sx-14x14-arm2.dts4
-rw-r--r--arch/arm/boot/dts/imx6sx-19x19-arm2.dts4
-rw-r--r--arch/arm/boot/dts/imx6ul.dtsi7
-rw-r--r--arch/arm/boot/dts/imx7d.dtsi7
4 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-14x14-arm2.dts b/arch/arm/boot/dts/imx6sx-14x14-arm2.dts
index 42a903b47951..5eeb064f2ff3 100644
--- a/arch/arm/boot/dts/imx6sx-14x14-arm2.dts
+++ b/arch/arm/boot/dts/imx6sx-14x14-arm2.dts
@@ -464,6 +464,10 @@
status = "okay";
};
+&snvs_poweroff {
+ status = "okay";
+};
+
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1_1>;
diff --git a/arch/arm/boot/dts/imx6sx-19x19-arm2.dts b/arch/arm/boot/dts/imx6sx-19x19-arm2.dts
index bcef325ad6d3..044c078b443b 100644
--- a/arch/arm/boot/dts/imx6sx-19x19-arm2.dts
+++ b/arch/arm/boot/dts/imx6sx-19x19-arm2.dts
@@ -425,6 +425,10 @@
status = "disabled";
};
+&snvs_poweroff {
+ status = "okay";
+};
+
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1_1>;
diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
index fc325490c3b5..af8bcf3cc5a5 100644
--- a/arch/arm/boot/dts/imx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul.dtsi
@@ -713,6 +713,13 @@
interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
};
+ snvs_poweroff: snvs-poweroff {
+ compatible = "syscon-poweroff";
+ regmap = <&snvs>;
+ offset = <0x38>;
+ mask = <0x60>;
+ };
+
snvs_pwrkey: snvs-powerkey {
compatible = "fsl,sec-v4.0-pwrkey";
regmap = <&snvs>;
diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi
index dc0eeabb294f..2727e305b4a3 100644
--- a/arch/arm/boot/dts/imx7d.dtsi
+++ b/arch/arm/boot/dts/imx7d.dtsi
@@ -672,6 +672,13 @@
linux,keycode = <KEY_POWER>;
wakeup;
};
+
+ snvs_poweroff: snvs-poweroff {
+ compatible = "syscon-poweroff";
+ regmap = <&snvs>;
+ offset = <0x38>;
+ mask = <0x60>;
+ };
};
clks: ccm@30380000 {