ARM: mvebu: Fix the Armada 370/XP timer compatible strings
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 13 Aug 2013 14:43:15 +0000 (11:43 -0300)
committerJason Cooper <jason@lakedaemon.net>
Fri, 16 Aug 2013 13:02:11 +0000 (13:02 +0000)
The "marvell,armada-370-xp-timer" compatible string, together with
the "marvell,timer-25Mhz" property are deprecated and should be
removed from current DT.

Instead, the timer DT nodes are now required to have an appropriate
compatible string, which should be either "marvell,armada-370-timer"
or "marvell,armada-xp-timer", depending on SoC.

The clock property is now required only for Armada 370 so move it accordingly.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-xp.dtsi
arch/arm/boot/dts/armada-370.dtsi
arch/arm/boot/dts/armada-xp.dtsi

index 90b1176..442c84e 100644 (file)
                        };
 
                        timer@20300 {
-                               compatible = "marvell,armada-370-xp-timer";
                                reg = <0x20300 0x30>, <0x21040 0x30>;
                                interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
-                               clocks = <&coreclk 2>;
                        };
 
                        sata@a0000 {
index e8deeab..472433c 100644 (file)
                                interrupts = <91>;
                        };
 
+                       timer@20300 {
+                               compatible = "marvell,armada-370-timer";
+                               clocks = <&coreclk 2>;
+                       };
+
                        coreclk: mvebu-sar@18230 {
                                compatible = "marvell,armada-370-core-clock";
                                reg = <0x18230 0x08>;
index 416eb94..549151e 100644 (file)
@@ -62,7 +62,7 @@
                        };
 
                        timer@20300 {
-                               marvell,timer-25Mhz;
+                               compatible = "marvell,armada-xp-timer";
                        };
 
                        coreclk: mvebu-sar@18230 {