Commit ee279588 authored by Anson Huang's avatar Anson Huang Committed by Shawn Guo

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: default avatarAnson Huang <Anson.Huang@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 770856f0
...@@ -166,3 +166,7 @@ &reg_vdd3p0 { ...@@ -166,3 +166,7 @@ &reg_vdd3p0 {
&reg_vdd2p5 { &reg_vdd2p5 {
vin-supply = <&vgen6_reg>; vin-supply = <&vgen6_reg>;
}; };
&snvs_pwrkey {
status = "okay";
};
...@@ -153,3 +153,7 @@ &reg_can_stby { ...@@ -153,3 +153,7 @@ &reg_can_stby {
/* Transceiver EN/STBY is active low on RevB board */ /* Transceiver EN/STBY is active low on RevB board */
gpio = <&gpio4 27 GPIO_ACTIVE_LOW>; gpio = <&gpio4 27 GPIO_ACTIVE_LOW>;
}; };
&snvs_pwrkey {
status = "okay";
};
...@@ -738,6 +738,7 @@ snvs_pwrkey: snvs-powerkey { ...@@ -738,6 +738,7 @@ snvs_pwrkey: snvs-powerkey {
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
linux,keycode = <KEY_POWER>; linux,keycode = <KEY_POWER>;
wakeup-source; wakeup-source;
status = "disabled";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment