summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/freescale/imx8mq.dtsi
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2020-02-25 16:11:59 +0000
committerShawn Guo <shawnguo@kernel.org>2020-03-11 15:58:13 +0800
commitedd91ba6b82cf5849d60c62d10042106cf15a96c (patch)
tree2bcdea7e2719c14d9bf84160a3f8b0ab56b5bfcf /arch/arm64/boot/dts/freescale/imx8mq.dtsi
parent46770eae2120ec374811070de1987752c84bd08b (diff)
downloadlinux-edd91ba6b82cf5849d60c62d10042106cf15a96c.tar.gz
linux-edd91ba6b82cf5849d60c62d10042106cf15a96c.tar.xz
arm64: dts: imx8mq: add snvs clock to pwrkey
On i.MX8MM, the SNVS requires a clock. This is similar to the clock bound to the SNVS RTC node, but if the SNVS RTC driver isn't enabled, then SNVS doesn't work, and as such the pwrkey driver doesn't work (i.e. hangs the kernel, as the clock isn't enabled). Also see commit ec2a844ef7c1 ("ARM: dts: imx7s: add snvs rtc clock") for a similar fix. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mq.dtsi')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mq.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 6a1e83922c71..460ff0acdc40 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -574,6 +574,8 @@
compatible = "fsl,sec-v4.0-pwrkey";
regmap = <&snvs>;
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk IMX8MQ_CLK_SNVS_ROOT>;
+ clock-names = "snvs-pwrkey";
linux,keycode = <KEY_POWER>;
wakeup-source;
status = "disabled";