arm64: dts: imx8mm: Enable SNVS power key according to board design
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 13 Jun 2019 02:01:04 +0000 (10:01 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 18 Jun 2019 07:06:01 +0000 (15:06 +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/arm64/boot/dts/freescale/imx8mm-evk.dts
arch/arm64/boot/dts/freescale/imx8mm.dtsi

index f8ff0a4b89614e7a81aa6f49cdec79f2a7ef282a..594f15820c17b7950d2e9c683f41479265a4e5b3 100644 (file)
        };
 };
 
+&snvs_pwrkey {
+       status = "okay";
+};
+
 &uart2 { /* console */
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart2>;
index dcae59d6ea6874b2b620099b432803655cd7af8d..8cd01634b6dcc9fc2ca1fdcfaa877e9c17827c99 100644 (file)
                                        interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
                                        linux,keycode = <KEY_POWER>;
                                        wakeup-source;
+                                       status = "disabled";
                                };
                        };