From 1eb1390bb21b1aa3b303627eb254296f097988cb Mon Sep 17 00:00:00 2001 From: Jesper Nilsson Date: Wed, 25 Mar 2015 10:06:21 +0100 Subject: Add binding documentation for CRIS Only includes the devboard 88 (CRISv32) at the moment. Signed-off-by: Jesper Nilsson --- Documentation/devicetree/bindings/cris/axis.txt | 9 +++++++++ Documentation/devicetree/bindings/cris/boards.txt | 8 ++++++++ .../devicetree/bindings/cris/interrupts.txt | 23 ++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/cris/axis.txt create mode 100644 Documentation/devicetree/bindings/cris/boards.txt create mode 100644 Documentation/devicetree/bindings/cris/interrupts.txt (limited to 'Documentation/devicetree/bindings/cris') diff --git a/Documentation/devicetree/bindings/cris/axis.txt b/Documentation/devicetree/bindings/cris/axis.txt new file mode 100644 index 000000000000..d209ca2a47c0 --- /dev/null +++ b/Documentation/devicetree/bindings/cris/axis.txt @@ -0,0 +1,9 @@ +Axis Communications AB +ARTPEC series SoC Device Tree Bindings + + +CRISv32 based SoCs are ETRAX FS and ARTPEC-3: + + - compatible = "axis,crisv32"; + + diff --git a/Documentation/devicetree/bindings/cris/boards.txt b/Documentation/devicetree/bindings/cris/boards.txt new file mode 100644 index 000000000000..533dd273ccf7 --- /dev/null +++ b/Documentation/devicetree/bindings/cris/boards.txt @@ -0,0 +1,8 @@ +Boards based on the CRIS SoCs: + +Required root node properties: + - compatible = should be one or more of the following: + - "axis,dev88" - for Axis devboard 88 with ETRAX FS + +Optional: + diff --git a/Documentation/devicetree/bindings/cris/interrupts.txt b/Documentation/devicetree/bindings/cris/interrupts.txt new file mode 100644 index 000000000000..e8b123b0a5e6 --- /dev/null +++ b/Documentation/devicetree/bindings/cris/interrupts.txt @@ -0,0 +1,23 @@ +* CRISv32 Interrupt Controller + +Interrupt controller for the CRISv32 SoCs. + +Main node required properties: + +- compatible : should be: + "axis,crisv32-intc" +- interrupt-controller : Identifies the node as an interrupt controller +- #interrupt-cells : Specifies the number of cells needed to encode an + interrupt source. The type shall be a and the value shall be 1. +- reg: physical base address and size of the intc registers map. + +Example: + + intc: interrupt-controller { + compatible = "axis,crisv32-intc"; + reg = <0xb001c000 0x1000>; + interrupt-controller; + #interrupt-cells = <1>; + }; + + -- cgit v1.2.3