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

index 5b3d6c10bd13e12c6b5233cecbde5c8323f5cf68..f1830ed387a5512ed99ea71b82cbc09876d2f8aa 100644 (file)
 &reg_vdd2p5 {
        vin-supply = <&vgen6_reg>;
 };
+
+&snvs_pwrkey {
+       status = "okay";
+};
index 10f6da834a80bd9ad3513b021e567f8d88035060..a8ee7087af5a5e769d505a048f7cc438c14a7a47 100644 (file)
        /* Transceiver EN/STBY is active low on RevB board */
        gpio = <&gpio4 27 GPIO_ACTIVE_LOW>;
 };
+
+&snvs_pwrkey {
+       status = "okay";
+};
index bbdfdd8ab655acc39cff903747e436abf6f88689..bb25add90f19a5f6d886cee7378fbc6b9f52853d 100644 (file)
                                        interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
                                        linux,keycode = <KEY_POWER>;
                                        wakeup-source;
+                                       status = "disabled";
                                };
                        };