diff options
author | Peng Fan <peng.fan@nxp.com> | 2018-11-09 14:13:57 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:35:09 +0800 |
commit | 29904be6434f881d6468b134b0829da236df6e7c (patch) | |
tree | 81684104ddde1521e80838d39af8e954d3dabe28 /arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-domu.dts | |
parent | 9a856666f85022ff43c6f4c9adbf8e0e8ec56be2 (diff) |
MLK-20302-1 ARM64: dts: imx8qm: add pl031 node
Add rtc pl031 and a dummy clock node.
The pl031 is emulated by XEN, the address and interrupt is fixed in XEN.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Flynn xu <flynn.xu@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-domu.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-domu.dts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-domu.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-domu.dts index daccc8adf99e..b0dc5b3cef1a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-domu.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-domu.dts @@ -170,6 +170,26 @@ interrupt-parent = <&gic>; }; + clocks { + #address-cells = <1>; + #size-cells = <0>; + + clk0: clock@0 { + compatible = "fixed-clock"; + reg = <0>; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; + }; + + rtc0: rtc@23000000 { + compatible = "arm,pl031", "arm,primecell"; + reg = <0x0 0x23000000 0x0 0x1000>; + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk0>; + clock-names = "apb_pclk"; + }; + passthrough { compatible = "simple-bus"; ranges; |