mvebu: add support for RTC
[openwrt/svn-archive/archive.git] / target / linux / mvebu / patches-3.8 / 020-arm_mvebu_add_rtc_support_for_a370_and_axp.patch
1 The Armada 370 and Armada XP Socs have the same controller that the
2 one used in the orion platforms. This patch updates the device tree
3 for these SoCs.
4
5 Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
6 Acked-by: Andrew Lunn <andrew@lunn.ch>
7 ---
8 arch/arm/boot/dts/armada-370-xp.dtsi | 6 ++++++
9 1 file changed, 6 insertions(+)
10
11 diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
12 index cf6c48a..86dccfa 100644
13 --- a/arch/arm/boot/dts/armada-370-xp.dtsi
14 +++ b/arch/arm/boot/dts/armada-370-xp.dtsi
15 @@ -129,6 +129,12 @@
16 clocks = <&coreclk 0>;
17 status = "disabled";
18 };
19 +
20 + rtc@10300 {
21 + compatible = "marvell,orion-rtc";
22 + reg = <0xd0010300 0x20>;
23 + interrupts = <50>;
24 + };
25 };
26 };
27
28 --
29 1.7.9.5