diff options
author | Abel Vesa <abel.vesa@nxp.com> | 2019-01-31 15:01:22 +0000 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-02-11 10:13:43 +0800 |
commit | 3ea95c31351946b4a50742fb6907f4c9706ac98f (patch) | |
tree | 39347977b0d42b1fd9311f9f08a7f7feab9f4bd6 /arch/arm64/boot/dts/freescale/imx8mq.dtsi | |
parent | f9f818cf256a60268acdf0daddc8e4a1b5177823 (diff) | |
download | linux-3ea95c31351946b4a50742fb6907f4c9706ac98f.tar.bz2 |
arm64: dts: imx8mq: Add RTC support
Add RTC support for i.MX8MQ.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Tested-by: Chris Spencer <christopher.spencer@sea.co.uk>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
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.dtsi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 8e98c664d54c..1dc3f05e3199 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -242,6 +242,20 @@ interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; }; + snvs: snvs@30370000 { + compatible = "fsl,sec-v4.0-mon", "syscon", "simple-mfd"; + reg = <0x30370000 0x10000>; + + snvs_rtc: snvs-rtc-lp{ + compatible = "fsl,sec-v4.0-mon-rtc-lp"; + regmap =<&snvs>; + offset = <0x34>; + interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; + }; + + }; + clk: clock-controller@30380000 { compatible = "fsl,imx8mq-ccm"; reg = <0x30380000 0x10000>; |