1
0
Fork 0

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>
pull/10/head
Peng Fan 2018-11-09 14:13:57 +08:00
parent a9c2aa010d
commit 022e1590f3
1 changed files with 20 additions and 0 deletions

View File

@ -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;