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

arm64: dts: imx8mm: 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 3c3a8e50
...@@ -65,6 +65,10 @@ ethphy0: ethernet-phy@0 { ...@@ -65,6 +65,10 @@ ethphy0: ethernet-phy@0 {
}; };
}; };
&snvs_pwrkey {
status = "okay";
};
&uart2 { /* console */ &uart2 { /* console */
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart2>; pinctrl-0 = <&pinctrl_uart2>;
......
...@@ -432,6 +432,7 @@ snvs_pwrkey: snvs-powerkey { ...@@ -432,6 +432,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