Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Valentin Longchamp and committed by
Scott Wood
bfee31f5 e8640b79

+42
+25
Documentation/devicetree/bindings/mfd/bfticu.txt
··· 1 + KEYMILE bfticu Chassis Management FPGA 2 + 3 + The bfticu is a multifunction device that manages the whole chassis. 4 + Its main functionality is to collect IRQs from the whole chassis and signals 5 + them to a single controller. 6 + 7 + Required 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 + 16 + Example: 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 + };
+17
Documentation/devicetree/bindings/mfd/qriox.txt
··· 1 + KEYMILE qrio Board Control CPLD 2 + 3 + The qrio is a multifunction device that controls the KEYMILE boards based on 4 + the kmp204x design. 5 + It is consists of a reset controller, watchdog timer, LEDs, and 2 IRQ capable 6 + GPIO blocks. 7 + 8 + Required properties: 9 + - compatible: "keymile,qriox" 10 + - reg: access on the parent local bus (chip select, offset in chip select, size) 11 + 12 + Example: 13 + 14 + board-control@1,0 { 15 + compatible = "keymile,qriox"; 16 + reg = <1 0 0x80>; 17 + };