arm64: dts: hi3660: Add pl031 rtc node
authorChen Feng <puck.chen@hisilicon.com>
Thu, 15 Jun 2017 03:04:06 +0000 (11:04 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Thu, 15 Jun 2017 10:50:22 +0000 (11:50 +0100)
Add dts node to enable pl031 rtc.

Signed-off-by: Chen Feng <puck.chen@hisilicon.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3660.dtsi

index 7a90c92d17550d4d36ee2524e26aee0a4c0bd5ff..3b2a3a7e3facf7cf2b2dc02cdb312fa01cda294e 100644 (file)
                        status = "disabled";
                };
 
+               rtc0: rtc@fff04000 {
+                       compatible = "arm,pl031", "arm,primecell";
+                       reg = <0x0 0Xfff04000 0x0 0x1000>;
+                       interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&crg_ctrl HI3660_PCLK>;
+                       clock-names = "apb_pclk";
+               };
+
                gpio0: gpio@e8a0b000 {
                        compatible = "arm,pl061", "arm,primecell";
                        reg = <0 0xe8a0b000 0 0x1000>;