]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
devicetree: bindings: update DT bindings for Marvell EBU clock support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 3 Mar 2015 14:41:05 +0000 (15:41 +0100)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 4 Mar 2015 14:18:43 +0000 (15:18 +0100)
With the introduction of the Marvell Armada 39x SoC, the DT bindings
for Marvell EBU clocks need to be extended. This commit include the
corresponding update to the Device Tree bindings documentation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Documentation/devicetree/bindings/clock/mvebu-core-clock.txt
Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt

index dc5ea5b22da90dbf43f0d5e15b28141d3c7e0e4d..670c2af3e931a779adbe3bbdd06674181e82cf8d 100644 (file)
@@ -23,6 +23,14 @@ The following is a list of provided IDs and clock names on Armada 380/385:
  2 = l2clk   (L2 Cache clock)
  3 = ddrclk  (DDR clock)
 
+The following is a list of provided IDs and clock names on Armada 39x:
+ 0 = tclk    (Internal Bus clock)
+ 1 = cpuclk  (CPU clock)
+ 2 = nbclk   (Coherent Fabric clock)
+ 3 = hclk    (SDRAM Controller Internal Clock)
+ 4 = dclk    (SDRAM Interface Clock)
+ 5 = refclk  (Reference Clock)
+
 The following is a list of provided IDs and clock names on Kirkwood and Dove:
  0 = tclk   (Internal Bus clock)
  1 = cpuclk (CPU0 clock)
@@ -39,6 +47,7 @@ Required properties:
        "marvell,armada-370-core-clock" - For Armada 370 SoC core clocks
        "marvell,armada-375-core-clock" - For Armada 375 SoC core clocks
        "marvell,armada-380-core-clock" - For Armada 380/385 SoC core clocks
+       "marvell,armada-390-core-clock" - For Armada 39x SoC core clocks
        "marvell,armada-xp-core-clock" - For Armada XP SoC core clocks
        "marvell,dove-core-clock" - for Dove SoC core clocks
        "marvell,kirkwood-core-clock" - for Kirkwood SoC (except mv88f6180)
index 76477be742b21c016e06d59f2a67c28b9ffdabf0..31c7c0c1ce8f6b47a625f8b6f41eafc6a35d402a 100644 (file)
@@ -1,6 +1,6 @@
 * Gated Clock bindings for Marvell EBU SoCs
 
-Marvell Armada 370/375/380/385/XP, Dove and Kirkwood allow some
+Marvell Armada 370/375/380/385/39x/XP, Dove and Kirkwood allow some
 peripheral clocks to be gated to save some power. The clock consumer
 should specify the desired clock by having the clock ID in its
 "clocks" phandle cell. The clock ID is directly mapped to the
@@ -77,6 +77,18 @@ ID   Clock           Peripheral
 28     xor1            XOR 1
 30     sata1           SATA 1
 
+The following is a list of provided IDs for Armada 39x:
+ID     Clock           Peripheral
+-----------------------------------
+5      pex1            PCIe 1
+6      pex2            PCIe 2
+7      pex3            PCIe 3
+8      pex0            PCIe 0
+9      usb3h0          USB3 Host 0
+17     sdio            SDIO
+22     xor0            XOR 0
+28     xor1            XOR 1
+
 The following is a list of provided IDs for Armada XP:
 ID     Clock   Peripheral
 -----------------------------------
@@ -152,6 +164,7 @@ Required properties:
        "marvell,armada-370-gating-clock" - for Armada 370 SoC clock gating
        "marvell,armada-375-gating-clock" - for Armada 375 SoC clock gating
        "marvell,armada-380-gating-clock" - for Armada 380/385 SoC clock gating
+       "marvell,armada-390-gating-clock" - for Armada 39x SoC clock gating
        "marvell,armada-xp-gating-clock" - for Armada XP SoC clock gating
        "marvell,dove-gating-clock" - for Dove SoC clock gating
        "marvell,kirkwood-gating-clock" - for Kirkwood SoC clock gating