]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: mvebu: armada-39x: enable rtc for all Armada-39x SoCs
authorGrzegorz Jaszczyk <jaz@semihalf.com>
Thu, 4 Aug 2016 10:14:15 +0000 (12:14 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 8 Aug 2016 14:28:54 +0000 (16:28 +0200)
Despite that FS states that rtc is present only in A395 and A398 and not in
A390, the rtc is working with A390.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-39x.dtsi

index c521378e239f1c87e631e930046b4c277ba99b68..34cba87f920062185f6f230f2f038478b1959f1c 100644 (file)
                                };
                        };
 
+                       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>;
+                       };
+
                        flash@d0000 {
                                compatible = "marvell,armada370-nand";
                                reg = <0xd0000 0x54>;