Patchwork [V2,2/4] arm: mvebu: Add RTC support for Armada 370 and Armada XP

login
register
mail settings
Submitter Gregory CLEMENT
Date Dec. 12, 2012, 9:06 a.m.
Message ID <1355303186-9267-3-git-send-email-gregory.clement@free-electrons.com>
Download mbox | patch
Permalink /patch/205457/
State New
Headers show

Comments

Gregory CLEMENT - Dec. 12, 2012, 9:06 a.m.
The Armada 370 and Armada XP Socs have the same controller that the
one used in the orion platforms. This patch updates the device tree
for these SoCs.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
---
 arch/arm/boot/dts/armada-370-xp.dtsi |    6 ++++++
 1 file changed, 6 insertions(+)
Jason - Jan. 10, 2013, 2:03 a.m.
On Wed, Dec 12, 2012 at 10:06:24AM +0100, Gregory CLEMENT wrote:
> The Armada 370 and Armada XP Socs have the same controller that the
> one used in the orion platforms. This patch updates the device tree
> for these SoCs.
> 
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> Acked-by: Andrew Lunn <andrew@lunn.ch>
> ---
>  arch/arm/boot/dts/armada-370-xp.dtsi |    6 ++++++
>  1 file changed, 6 insertions(+)

Applied to mvebu/dt

thx,

Jason.

Patch

diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index cf6c48a..86dccfa 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -129,6 +129,12 @@ 
 			clocks = <&coreclk 0>;
 			status = "disabled";
 		};
+
+		rtc@10300 {
+			compatible = "marvell,orion-rtc";
+			reg = <0xd0010300 0x20>;
+			interrupts = <50>;
+		};
 	};
 };