diff options
| author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2012-06-01 12:33:17 -0400 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2012-07-10 09:47:49 -0400 |
| commit | 0d01b7a153561eee6f878238caf76c53bb1dc0d5 (patch) | |
| tree | 6d5d0eac03dc17348f38089d7fb8b5279f41063f | |
| parent | 9ae6f740b49f933eeff972a79fd2a8b7e4592cf5 (diff) | |
arm: mach-mvebu: add documentation for new device tree bindings
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Lior Amsalem <alior@marvell.com>
Tested-by: Yehuda Yitschak <yehuday@marvell.com>
Tested-by: Lior Amsalem <alior@marvell.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
4 files changed, 75 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/armada-370-xp-mpic.txt b/Documentation/devicetree/bindings/arm/armada-370-xp-mpic.txt new file mode 100644 index 000000000000..70c0dc5f00ed --- /dev/null +++ b/Documentation/devicetree/bindings/arm/armada-370-xp-mpic.txt | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | Marvell Armada 370 and Armada XP Interrupt Controller | ||
| 2 | ----------------------------------------------------- | ||
| 3 | |||
| 4 | Required properties: | ||
| 5 | - compatible: Should be "marvell,mpic" | ||
| 6 | - interrupt-controller: Identifies the node as an interrupt controller. | ||
| 7 | - #interrupt-cells: The number of cells to define the interrupts. Should be 1. | ||
| 8 | The cell is the IRQ number | ||
| 9 | - reg: Should contain PMIC registers location and length. First pair | ||
| 10 | for the main interrupt registers, second pair for the per-CPU | ||
| 11 | interrupt registers | ||
| 12 | |||
| 13 | Example: | ||
| 14 | |||
| 15 | mpic: interrupt-controller@d0020000 { | ||
| 16 | compatible = "marvell,mpic"; | ||
| 17 | #interrupt-cells = <1>; | ||
| 18 | #address-cells = <1>; | ||
| 19 | #size-cells = <1>; | ||
| 20 | interrupt-controller; | ||
| 21 | reg = <0xd0020000 0x1000>, | ||
| 22 | <0xd0021000 0x1000>; | ||
| 23 | }; | ||
diff --git a/Documentation/devicetree/bindings/arm/armada-370-xp-timer.txt b/Documentation/devicetree/bindings/arm/armada-370-xp-timer.txt new file mode 100644 index 000000000000..8b6ea2267c94 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/armada-370-xp-timer.txt | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | Marvell Armada 370 and Armada XP Global Timers | ||
| 2 | ---------------------------------------------- | ||
| 3 | |||
| 4 | Required properties: | ||
| 5 | - compatible: Should be "marvell,armada-370-xp-timer" | ||
| 6 | - interrupts: Should contain the list of Global Timer interrupts | ||
| 7 | - reg: Should contain the base address of the Global Timer registers | ||
| 8 | |||
| 9 | Optional properties: | ||
| 10 | - marvell,timer-25Mhz: Tells whether the Global timer supports the 25 | ||
| 11 | Mhz fixed mode (available on Armada XP and not on Armada 370) | ||
diff --git a/Documentation/devicetree/bindings/arm/armada-370-xp.txt b/Documentation/devicetree/bindings/arm/armada-370-xp.txt new file mode 100644 index 000000000000..c6ed90ea6e17 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/armada-370-xp.txt | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | Marvell Armada 370 and Armada XP Platforms Device Tree Bindings | ||
| 2 | --------------------------------------------------------------- | ||
| 3 | |||
| 4 | Boards with a SoC of the Marvell Armada 370 and Armada XP families | ||
| 5 | shall have the following property: | ||
| 6 | |||
| 7 | Required root node property: | ||
| 8 | |||
| 9 | compatible: must contain "marvell,armada-370-xp" | ||
| 10 | |||
| 11 | In addition, boards using the Marvell Armada 370 SoC shall have the | ||
| 12 | following property: | ||
| 13 | |||
| 14 | Required root node property: | ||
| 15 | |||
| 16 | compatible: must contain "marvell,armada370" | ||
| 17 | |||
| 18 | In addition, boards using the Marvell Armada XP SoC shall have the | ||
| 19 | following property: | ||
| 20 | |||
| 21 | Required root node property: | ||
| 22 | |||
| 23 | compatible: must contain "marvell,armadaxp" | ||
| 24 | |||
diff --git a/Documentation/devicetree/bindings/arm/mvebu-system-controller.txt b/Documentation/devicetree/bindings/arm/mvebu-system-controller.txt new file mode 100644 index 000000000000..081c6a786c8a --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mvebu-system-controller.txt | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | MVEBU System Controller | ||
| 2 | ----------------------- | ||
| 3 | MVEBU (Marvell SOCs: Armada 370/XP, Dove, mv78xx0, Kirkwood, Orion5x) | ||
| 4 | |||
| 5 | Required properties: | ||
| 6 | |||
| 7 | - compatible: one of: | ||
| 8 | - "marvell,orion-system-controller" | ||
| 9 | - "marvell,armada-370-xp-system-controller" | ||
| 10 | - reg: Should contain system controller registers location and length. | ||
| 11 | |||
| 12 | Example: | ||
| 13 | |||
| 14 | system-controller@d0018200 { | ||
| 15 | compatible = "marvell,armada-370-xp-system-controller"; | ||
| 16 | reg = <0xd0018200 0x500>; | ||
| 17 | }; | ||
