diff options
author | Haojian Zhuang <haojian.zhuang@linaro.org> | 2013-01-30 09:07:15 +0800 |
---|---|---|
committer | Zhangfei Gao <zhangfei.gao@linaro.org> | 2013-08-13 14:33:09 +0800 |
commit | ecc15813b4d246303e85e513699810bea31f9534 (patch) | |
tree | 52dffd2f542184742364def7f6a48b9369b2b302 | |
parent | 25369458488cb05a0c0dea06d1592ed73cfcf10b (diff) |
ARM: dts: append rtc into hi4511 platform
Enable rtc device in hi4511 platform.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
-rw-r--r-- | arch/arm/boot/dts/hi3620.dtsi | 9 | ||||
-rw-r--r-- | arch/arm/boot/dts/hi4511.dts | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/hi3620.dtsi b/arch/arm/boot/dts/hi3620.dtsi index 547a93b4f017..00685310dcb4 100644 --- a/arch/arm/boot/dts/hi3620.dtsi +++ b/arch/arm/boot/dts/hi3620.dtsi @@ -59,6 +59,15 @@ clock-output-names = "timer1"; }; + rtc0: rtc@fc804000 { + compatible = "arm,rtc-pl031", "arm,primecell"; + reg = <0xfc804000 0x1000>; + interrupts = <0 9 0x4>; + clocks = <&pclk>; /* need to be replaced by rtcclk */ + clock-names = "apb_pclk"; + status = "disabled"; + }; + l2: l2-cache { compatible = "arm,pl310-cache"; reg = <0xfc10000 0x100000>; diff --git a/arch/arm/boot/dts/hi4511.dts b/arch/arm/boot/dts/hi4511.dts index b415a87787b0..718df1e72b62 100644 --- a/arch/arm/boot/dts/hi4511.dts +++ b/arch/arm/boot/dts/hi4511.dts @@ -62,6 +62,10 @@ status = "ok"; }; + rtc0: rtc@fc804000 { + status = "ok"; + }; + gpio0: gpio@fc806000 { status = "ok"; }; |