Thread (1 message) 1 message, 1 author, 2016-07-28

[PATCH 13/18] ARM: mvebu: a39x: enable rtc for all Armada-39x SoCs

From: Gregory CLEMENT <hidden>
Date: 2016-07-28 10:53:23
Also in: linux-devicetree, lkml

Hi Grzegorz,
 
 On jeu., juil. 21 2016, Grzegorz Jaszczyk [off-list ref] wrote:
Despite that FS states that rtc is present only in A395 and A398 and not in
A390, the rtc is working with A390.
Change the prefix to "ARM: dts: mvebu: armada-39x:"

Acked-by: Gregory CLEMENT <redacted>

Thanks,

Gregory
quoted hunk
Signed-off-by: Grzegorz Jaszczyk <redacted>
---
 arch/arm/boot/dts/armada-39x.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi
index 1225cd8..5bed8b9 100644
--- a/arch/arm/boot/dts/armada-39x.dtsi
+++ b/arch/arm/boot/dts/armada-39x.dtsi
@@ -429,6 +429,13 @@
 				};
 			};
 
+			rtc at a3800 {
+				compatible = "marvell,armada-380-rtc";
+				reg = <0xa3800 0x20>, <0x184a0 0x0c>;
+				reg-names = "rtc", "rtc-soc";
+				interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+			};
+
 			flash at d0000 {
 				compatible = "marvell,armada370-nand";
 				reg = <0xd0000 0x54>;
-- 
1.8.3.1
-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help