aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValentin Longchamp <valentin.longchamp@keymile.com>2014-04-22 05:30:30 -0400
committerScott Wood <scottwood@freescale.com>2014-05-22 19:08:18 -0400
commitbfee31f5bb9bb37aaa2bcb29c00e6ca976161dc7 (patch)
tree64c6ff14991876579ee5fdfbaacee598d328aa7d
parente8640b79a7607b4aab2956eea0e3538e826ea5b1 (diff)
devcietree: bindings: add some MFD Keymile FPGAs
These are the bindings for 2 MFD devices used on some of the Keymile boards. The first one is the chassis managmenet bfticu FPGA. The second one is the board controller (reset, LEDs, GPIOs) QRIO CPDL. These FPGAs are used in the kmcoge4 board. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
-rw-r--r--Documentation/devicetree/bindings/mfd/bfticu.txt25
-rw-r--r--Documentation/devicetree/bindings/mfd/qriox.txt17
2 files changed, 42 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/bfticu.txt b/Documentation/devicetree/bindings/mfd/bfticu.txt
new file mode 100644
index 000000000000..65c90776c620
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/bfticu.txt
@@ -0,0 +1,25 @@
1KEYMILE bfticu Chassis Management FPGA
2
3The bfticu is a multifunction device that manages the whole chassis.
4Its main functionality is to collect IRQs from the whole chassis and signals
5them to a single controller.
6
7Required properties:
8- compatible: "keymile,bfticu"
9- interrupt-controller: the bfticu FPGA is an interrupt controller
10- interrupts: the main IRQ line to signal the collected IRQs
11- #interrupt-cells : is 2 and their usage is compliant to the 2 cells variant
12 of Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
13- interrupt-parent: the parent IRQ ctrl the main IRQ is connected to
14- reg: access on the parent local bus (chip select, offset in chip select, size)
15
16Example:
17
18 chassis-mgmt@3,0 {
19 compatible = "keymile,bfticu";
20 interrupt-controller;
21 #interrupt-cells = <2>;
22 reg = <3 0 0x100>;
23 interrupt-parent = <&mpic>;
24 interrupts = <6 1 0 0>;
25 };
diff --git a/Documentation/devicetree/bindings/mfd/qriox.txt b/Documentation/devicetree/bindings/mfd/qriox.txt
new file mode 100644
index 000000000000..f301e2d4ce76
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/qriox.txt
@@ -0,0 +1,17 @@
1KEYMILE qrio Board Control CPLD
2
3The qrio is a multifunction device that controls the KEYMILE boards based on
4the kmp204x design.
5It is consists of a reset controller, watchdog timer, LEDs, and 2 IRQ capable
6GPIO blocks.
7
8Required properties:
9- compatible: "keymile,qriox"
10- reg: access on the parent local bus (chip select, offset in chip select, size)
11
12Example:
13
14 board-control@1,0 {
15 compatible = "keymile,qriox";
16 reg = <1 0 0x80>;
17 };