can: ifi: Add DT bindings for ifi,canfd
authorMarek Vasut <marex@denx.de>
Mon, 11 Jan 2016 18:48:02 +0000 (19:48 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 20 Feb 2016 13:56:00 +0000 (14:56 +0100)
Add device tree bindings for the I/F/I CANFD controller IP core.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Documentation/devicetree/bindings/net/can/ifi_canfd.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/net/can/ifi_canfd.txt b/Documentation/devicetree/bindings/net/can/ifi_canfd.txt
new file mode 100644 (file)
index 0000000..20ea5c7
--- /dev/null
@@ -0,0 +1,15 @@
+IFI CANFD controller
+--------------------
+
+Required properties:
+  - compatible: Should be "ifi,canfd-1.0"
+  - reg: Should contain CAN controller registers location and length
+  - interrupts: Should contain IRQ line for the CAN controller
+
+Example:
+
+       canfd0: canfd@ff220000 {
+               compatible = "ifi,canfd-1.0";
+               reg = <0xff220000 0x00001000>;
+               interrupts = <0 43 0>;
+       };