arm64: dts: imx8mn: Add snvs clock to powerkey
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 12 Mar 2020 07:34:09 +0000 (15:34 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 16 Mar 2020 08:16:00 +0000 (16:16 +0800)
SNVS powerkey driver needs snvs clock for proper clock management,
add support for it.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mn.dtsi

index 7428e21..fa78f01 100644 (file)
                                        compatible = "fsl,sec-v4.0-pwrkey";
                                        regmap = <&snvs>;
                                        interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+                                       clocks = <&clk IMX8MN_CLK_SNVS_ROOT>;
+                                       clock-names = "snvs-pwrkey";
                                        linux,keycode = <KEY_POWER>;
                                        wakeup-source;
                                        status = "disabled";