Skip to content

Commit

Permalink
Add binding documentation for CRIS
Browse files Browse the repository at this point in the history
Only includes the devboard 88 (CRISv32) at the moment.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
  • Loading branch information
Jesper Nilsson committed Mar 25, 2015
1 parent c8e840d commit 1eb1390
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Documentation/devicetree/bindings/cris/axis.txt
Original file line number Diff line number Diff line change
@@ -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";


8 changes: 8 additions & 0 deletions Documentation/devicetree/bindings/cris/boards.txt
Original file line number Diff line number Diff line change
@@ -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:

23 changes: 23 additions & 0 deletions Documentation/devicetree/bindings/cris/interrupts.txt
Original file line number Diff line number Diff line change
@@ -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 <u32> 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>;
};


0 comments on commit 1eb1390

Please sign in to comment.