ARM: dts: imx6: add pm_power_off support for i.mx6 chips
authorRobin Gong <b38343@freescale.com>
Wed, 12 Nov 2014 08:20:37 +0000 (16:20 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 23 Nov 2014 07:08:16 +0000 (15:08 +0800)
All chips of i.mx6 can be powered off by programming SNVS.
For example :
On i.mx6q-sabresd board, PMIC_ON_REQ connect with external
pmic ON/OFF pin, that will cause the whole PMIC powered off
except VSNVS. And system can restart once PMIC_ON_REQ goes
high by push POWRER key.

Signed-off-by: Robin Gong <b38343@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx6qdl-sabresd.dtsi
arch/arm/boot/dts/imx6qdl.dtsi
arch/arm/boot/dts/imx6sl-evk.dts
arch/arm/boot/dts/imx6sl.dtsi
arch/arm/boot/dts/imx6sx-sdb.dts
arch/arm/boot/dts/imx6sx.dtsi

index baf2f00d519adf8e763129509b1dd912535d4f5f..05f5ff75c0ea6cee5c5e541a1c126206321c1f7d 100644 (file)
        status = "okay";
 };
 
+&snvs_poweroff {
+       status = "okay";
+};
+
 &ssi2 {
        status = "okay";
 };
index e529308811e6030676d8611488180fb8dc2990f6..4fc03b7f1ceec52fe5d327974cd2929127de21f9 100644 (file)
                                        interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
                                                     <0 20 IRQ_TYPE_LEVEL_HIGH>;
                                };
+
+                               snvs_poweroff: snvs-poweroff@38 {
+                                       compatible = "fsl,sec-v4.0-poweroff";
+                                       reg = <0x38 0x4>;
+                                       status = "disabled";
+                               };
                        };
 
                        epit1: epit@020d0000 { /* EPIT1 */
index 898d14fd765f75ef41196a216f143e39505afd2e..fda4932faefda2f0b847547f15954a94347d5c40 100644 (file)
        status = "okay";
 };
 
+&snvs_poweroff {
+       status = "okay";
+};
+
 &ssi2 {
        status = "okay";
 };
index dfd83e6d80879f9be696a3a065b8756d549d6f14..36ab8e054cee0a8ff5fcc1fb6938dc1d62a1e09f 100644 (file)
                                        interrupts = <0 19 IRQ_TYPE_LEVEL_HIGH>,
                                                     <0 20 IRQ_TYPE_LEVEL_HIGH>;
                                };
+
+                               snvs_poweroff: snvs-poweroff@38 {
+                                       compatible = "fsl,sec-v4.0-poweroff";
+                                       reg = <0x38 0x4>;
+                                       status = "disabled";
+                               };
                        };
 
                        epit1: epit@020d0000 {
index 448489be00764b67d1e93d6e09151c2394b8c24b..1e6e5cc1c14cf283fb8b3bd9321f44218fbe4fb3 100644 (file)
        status = "okay";
 };
 
+&snvs_poweroff {
+       status = "okay";
+};
+
 &ssi2 {
        status = "okay";
 };
index 422fc5acdd646220118e3742e8f90ba1b3750b6f..7a24fee1e7aecf7bc16df8c241e42a5ba5e5e561 100644 (file)
                                        reg = <0x34 0x58>;
                                        interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
                                };
+
+                               snvs_poweroff: snvs-poweroff@38 {
+                                       compatible = "fsl,sec-v4.0-poweroff";
+                                       reg = <0x38 0x4>;
+                                       status = "disabled";
+                               };
                        };
 
                        epit1: epit@020d0000 {