diff options
author | Haojian Zhuang <haojian.zhuang@linaro.org> | 2013-01-30 09:07:15 +0800 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@linaro.org> | 2013-01-30 09:07:15 +0800 |
commit | d383fdce437896fd876ce87d3cfb848af165ff57 (patch) | |
tree | 8ba95bc45e31cb8d7c894ebd1fef3a20d8ec50ab | |
parent | 929ddd89634a892a4125f062831ab1cb24fd87e7 (diff) |
ARM: dts: append rtc into hi4511 platformtopic/rtc
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 27a50393aa41..f257b8563ba6 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"; }; |