projects/linux·commit a73c7305

ARM: mvebu: add Device Tree description of RTC on Armada 38x

a73c7305 · Gregory CLEMENT <[email protected]> · 2015-02-13 14:41:18 -08:00

The Marvell Armada 38x SoCs contains an RTC which differs from the RTC
used in the other mvebu SoCs until now.  This commit adds the Device Tree
description of this interface at the SoC level.

Signed-off-by: Gregory CLEMENT <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Sebastian Hesselbarth <[email protected]>
Cc: Arnaud Ebalard <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Cc: Ezequiel Garcia <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Boris BREZILLON <[email protected]>
Cc: Lior Amsalem <[email protected]>
Cc: Tawfik Bayouk <[email protected]>
Cc: Nadav Haklai <[email protected]>
Cc: Mark Rutland <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
a73c730541f63bca2b8c15403be4e085348ea35c
Parents
c6a95dbe

Changes

1 files changed · +7 −0

FileStatusAddDelContent
arch/arm/boot/dts/armada-38x.dtsimodified+7−0View file

arch/arm/boot/dts/armada-38x.dtsi

View file
diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index 74391da..2a9f4ca 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -381,6 +381,13 @@
clocks = <&gateclk 4>;
};
+ rtc@a3800 {
+ compatible = "marvell,armada-380-rtc";
+ reg = <0xa3800 0x20>, <0x184a0 0x0c>;
+ reg-names = "rtc", "rtc-soc";
+ interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
sata@a8000 {
compatible = "marvell,armada-380-ahci";
reg = <0xa8000 0x2000>;