diff options
author | Chen Feng <puck.chen@hisilicon.com> | 2017-06-15 11:04:06 +0800 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2017-06-15 11:50:22 +0100 |
commit | 0a0698f689084261e7ea9e6639b1ac42291a2d9f (patch) | |
tree | 6ff8cffc58dddc458a494b0e61f8800862db182d /arch | |
parent | 2e9b4447db425bf0e015ea8c04e26d65dd0a1249 (diff) |
arm64: dts: hi3660: Add pl031 rtc node
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 7a90c92d1755..3b2a3a7e3fac 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -326,6 +326,14 @@ 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>; |