ARM: dts: imx6sll: Enable SNVS power key according to board design
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 13 Jun 2019 03:35:25 +0000 (11:35 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 18 Jun 2019 07:14:59 +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/imx6sll-evk.dts
arch/arm/boot/dts/imx6sll.dtsi

index 78809ea..61aa074 100644 (file)
        vin-supply = <&sw2_reg>;
 };
 
+&snvs_pwrkey {
+       status = "okay";
+};
+
 &uart1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_uart1>;
index 1b4899f..4384023 100644 (file)
                                        interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
                                        linux,keycode = <KEY_POWER>;
                                        wakeup-source;
+                                       status = "disabled";
                                };
                        };