-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 360148 b: refs/heads/master c: abe11dd h: refs/heads/master v: v3
- Loading branch information
Vineet Gupta
committed
Feb 15, 2013
1 parent
209fc5b
commit 3ccac16
Showing
7 changed files
with
171 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 450dd430bf45ab212a91acfb9bed2528d17f30cd | ||
refs/heads/master: abe11ddea1d759f9995a9a4636c28c9b40856ca8 |
24 changes: 24 additions & 0 deletions
24
trunk/Documentation/devicetree/bindings/arc/interrupts.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
* ARC700 incore Interrupt Controller | ||
|
||
The core interrupt controller provides 32 prioritised interrupts (2 levels) | ||
to ARC700 core. | ||
|
||
Properties: | ||
|
||
- compatible: "snps,arc700-intc" | ||
- interrupt-controller: This is an interrupt controller. | ||
- #interrupt-cells: Must be <1>. | ||
|
||
Single Cell "interrupts" property of a device specifies the IRQ number | ||
between 0 to 31 | ||
|
||
intc accessed via the special ARC AUX register interface, hence "reg" property | ||
is not specified. | ||
|
||
Example: | ||
|
||
intc: interrupt-controller { | ||
compatible = "snps,arc700-intc"; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
/dts-v1/; | ||
|
||
/include/ "skeleton.dtsi" | ||
|
||
/ { | ||
compatible = "snps,arc-angel4"; | ||
clock-frequency = <80000000>; /* 80 MHZ */ | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
interrupt-parent = <&intc>; | ||
|
||
chosen { | ||
bootargs = "console=ttyARC0,115200n8"; | ||
}; | ||
|
||
aliases { | ||
serial0 = &arcuart0; | ||
}; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x00000000 0x10000000>; /* 256M */ | ||
}; | ||
|
||
fpga { | ||
compatible = "simple-bus"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
/* child and parent address space 1:1 mapped */ | ||
ranges; | ||
|
||
intc: interrupt-controller { | ||
compatible = "snps,arc700-intc"; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
}; | ||
|
||
arcuart0: serial@c0fc1000 { | ||
compatible = "snps,arc-uart"; | ||
reg = <0xc0fc1000 0x100>; | ||
interrupts = <5>; | ||
clock-frequency = <80000000>; | ||
baud = <115200>; | ||
status = "okay"; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters