ARM: dts: imx6qdl: Enable SNVS power key according to board design
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 13 Jun 2019 03:35:22 +0000 (11:35 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 18 Jun 2019 07:14:39 +0000 (15:14 +0800)
The SNVS power key 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.

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

index 11103a4e40e2fc8c499b93d40458ee38f438b674..71ca76a5e4a513730c1c0c1c0fe5b832c469a24e 100644 (file)
        status = "okay";
 };
 
+&snvs_pwrkey {
+       status = "okay";
+};
+
 &ssi2 {
        status = "okay";
 };
index 929fc7db7fde018c49c31803544412fe8b6c34cb..4b801935cad11498b66dcef965a4615fbf7693ed 100644 (file)
                                        interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
                                        linux,keycode = <KEY_POWER>;
                                        wakeup-source;
+                                       status = "disabled";
                                };
 
                                snvs_lpgpr: snvs-lpgpr {