Skip to content

Commit

Permalink
ARM: mvebu: Fix the Armada 370/XP timer compatible strings
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
  • Loading branch information
ezequielgarcia authored and Jason Cooper committed Aug 16, 2013
1 parent 3d0ed75 commit 5d3b883
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/armada-370-xp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,8 @@
};

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 {
Expand Down
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/armada-370.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@
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>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/armada-xp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
};

timer@20300 {
marvell,timer-25Mhz;
compatible = "marvell,armada-xp-timer";
};

coreclk: mvebu-sar@18230 {
Expand Down

0 comments on commit 5d3b883

Please sign in to comment.