aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-10-28 16:42:02 -0400
committerOlof Johansson <olof@lixom.net>2013-10-28 16:42:02 -0400
commit7a54698fa6c5ee066f5b7a621a07ca4cd494a667 (patch)
tree1044055de7931b6b515a7c250fbfe15e69b7af6b
parent0f56438038e08e4daa460e1fdccae6d29f13e874 (diff)
parentf039dfb51b36a2d7e4ac25e65ffbd03e3ac77a0c (diff)
Merge tag 'dt-3.13-4' of git://git.infradead.org/linux-mvebu into next/dt
From Jason Cooper, mvebu dt changes for v3.13 (round 4): - mvebu - core divider clock driver dt binding and nodes * tag 'dt-3.13-4' of git://git.infradead.org/linux-mvebu: ARM: mvebu: Add the core-divider clock to Armada 370/XP ARM: mvebu: Add a 2 GHz fixed-clock Armada 370/XP ARM: mvebu: Add Core Divider clock device-tree binding
-rw-r--r--Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt19
-rw-r--r--arch/arm/boot/dts/armada-370-xp.dtsi17
2 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt b/Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt
new file mode 100644
index 000000000000..c62391fc0e39
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/mvebu-corediv-clock.txt
@@ -0,0 +1,19 @@
1* Core Divider Clock bindings for Marvell MVEBU SoCs
2
3The following is a list of provided IDs and clock names on Armada 370/XP:
4 0 = nand (NAND clock)
5
6Required properties:
7- compatible : must be "marvell,armada-370-corediv-clock"
8- reg : must be the register address of Core Divider control register
9- #clock-cells : from common clock binding; shall be set to 1
10- clocks : must be set to the parent's phandle
11
12Example:
13
14corediv_clk: corediv-clocks@18740 {
15 compatible = "marvell,armada-370-corediv-clock";
16 reg = <0x18740 0xc>;
17 #clock-cells = <1>;
18 clocks = <&pll>;
19};
diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index 534e1be80df2..00d6a798c705 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -138,6 +138,14 @@
138 status = "disabled"; 138 status = "disabled";
139 }; 139 };
140 140
141 coredivclk: corediv-clock@18740 {
142 compatible = "marvell,armada-370-corediv-clock";
143 reg = <0x18740 0xc>;
144 #clock-cells = <1>;
145 clocks = <&mainpll>;
146 clock-output-names = "nand";
147 };
148
141 timer@20300 { 149 timer@20300 {
142 reg = <0x20300 0x30>, <0x21040 0x30>; 150 reg = <0x20300 0x30>, <0x21040 0x30>;
143 interrupts = <37>, <38>, <39>, <40>, <5>, <6>; 151 interrupts = <37>, <38>, <39>, <40>, <5>, <6>;
@@ -251,4 +259,13 @@
251 259
252 }; 260 };
253 }; 261 };
262
263 clocks {
264 /* 2 GHz fixed main PLL */
265 mainpll: mainpll {
266 compatible = "fixed-clock";
267 #clock-cells = <0>;
268 clock-frequency = <2000000000>;
269 };
270 };
254 }; 271 };