ARM: dts: imx6sx: Enable SNVS power key according to board design

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>
This commit is contained in:
Anson Huang 2019-06-13 11:35:23 +08:00 committed by Shawn Guo
parent 770856f0da
commit ee279588ac
3 changed files with 9 additions and 0 deletions

View File

@ -166,3 +166,7 @@
&reg_vdd2p5 {
vin-supply = <&vgen6_reg>;
};
&snvs_pwrkey {
status = "okay";
};

View File

@ -153,3 +153,7 @@
/* Transceiver EN/STBY is active low on RevB board */
gpio = <&gpio4 27 GPIO_ACTIVE_LOW>;
};
&snvs_pwrkey {
status = "okay";
};

View File

@ -738,6 +738,7 @@
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
linux,keycode = <KEY_POWER>;
wakeup-source;
status = "disabled";
};
};