From 7c1b02cfe60c58c647d2a4c06ff906e1f466ec3d Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 15 Jan 2013 19:55:19 +0000 Subject: mvebu: add support for RTC Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35176 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...rm_mvebu_add_rtc_support_for_a370_and_axp.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 target/linux/mvebu/patches-3.8/020-arm_mvebu_add_rtc_support_for_a370_and_axp.patch (limited to 'target/linux/mvebu/patches-3.8/020-arm_mvebu_add_rtc_support_for_a370_and_axp.patch') diff --git a/target/linux/mvebu/patches-3.8/020-arm_mvebu_add_rtc_support_for_a370_and_axp.patch b/target/linux/mvebu/patches-3.8/020-arm_mvebu_add_rtc_support_for_a370_and_axp.patch new file mode 100644 index 000000000..c517b4222 --- /dev/null +++ b/target/linux/mvebu/patches-3.8/020-arm_mvebu_add_rtc_support_for_a370_and_axp.patch @@ -0,0 +1,29 @@ +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 +Acked-by: Andrew Lunn +--- + arch/arm/boot/dts/armada-370-xp.dtsi | 6 ++++++ + 1 file changed, 6 insertions(+) + +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>; ++ }; + }; + }; + +-- +1.7.9.5 -- cgit v1.2.3