mirror of https://gitee.com/openkylin/linux.git
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:
parent
770856f0da
commit
ee279588ac
|
@ -166,3 +166,7 @@ ®_vdd3p0 {
|
|||
®_vdd2p5 {
|
||||
vin-supply = <&vgen6_reg>;
|
||||
};
|
||||
|
||||
&snvs_pwrkey {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -153,3 +153,7 @@ ®_can_stby {
|
|||
/* Transceiver EN/STBY is active low on RevB board */
|
||||
gpio = <&gpio4 27 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
&snvs_pwrkey {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -738,6 +738,7 @@ snvs_pwrkey: snvs-powerkey {
|
|||
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
|
||||
linux,keycode = <KEY_POWER>;
|
||||
wakeup-source;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue