diff options
author | Guo Ren <ren_guo@c-sky.com> | 2018-09-05 02:25:23 -0400 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2018-10-25 12:54:31 -0400 |
commit | 2347e7e1aea410865e3c3f92014b07ff7d4c5b02 (patch) | |
tree | 818185be61ccc9974162e1c5c5d4d4189fd6b5a8 | |
parent | edff1b4835b71e14538d3a48568fa513ee9f7931 (diff) |
dt-bindings: interrupt-controller: C-SKY APB intc
- Dt-bindings doc about C-SKY apb bus interrupt controller.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Reviewed-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt new file mode 100644 index 000000000000..44286dcbac62 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt | |||
@@ -0,0 +1,62 @@ | |||
1 | ============================== | ||
2 | C-SKY APB Interrupt Controller | ||
3 | ============================== | ||
4 | |||
5 | C-SKY APB Interrupt Controller is a simple soc interrupt controller | ||
6 | on the apb bus and we only use it as root irq controller. | ||
7 | |||
8 | - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums. | ||
9 | - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported. | ||
10 | - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums. | ||
11 | |||
12 | ============================= | ||
13 | intc node bindings definition | ||
14 | ============================= | ||
15 | |||
16 | Description: Describes APB interrupt controller | ||
17 | |||
18 | PROPERTIES | ||
19 | |||
20 | - compatible | ||
21 | Usage: required | ||
22 | Value type: <string> | ||
23 | Definition: must be "csky,apb-intc" | ||
24 | "csky,dual-apb-intc" | ||
25 | "csky,gx6605s-intc" | ||
26 | - #interrupt-cells | ||
27 | Usage: required | ||
28 | Value type: <u32> | ||
29 | Definition: must be <1> | ||
30 | - reg | ||
31 | Usage: required | ||
32 | Value type: <u32 u32> | ||
33 | Definition: <phyaddr size> in soc from cpu view | ||
34 | - interrupt-controller: | ||
35 | Usage: required | ||
36 | - csky,support-pulse-signal: | ||
37 | Usage: select | ||
38 | Description: to support pulse signal flag | ||
39 | |||
40 | Examples: | ||
41 | --------- | ||
42 | |||
43 | intc: interrupt-controller@500000 { | ||
44 | compatible = "csky,apb-intc"; | ||
45 | #interrupt-cells = <1>; | ||
46 | reg = <0x00500000 0x400>; | ||
47 | interrupt-controller; | ||
48 | }; | ||
49 | |||
50 | intc: interrupt-controller@500000 { | ||
51 | compatible = "csky,dual-apb-intc"; | ||
52 | #interrupt-cells = <1>; | ||
53 | reg = <0x00500000 0x400>; | ||
54 | interrupt-controller; | ||
55 | }; | ||
56 | |||
57 | intc: interrupt-controller@500000 { | ||
58 | compatible = "csky,gx6605s-intc"; | ||
59 | #interrupt-cells = <1>; | ||
60 | reg = <0x00500000 0x400>; | ||
61 | interrupt-controller; | ||
62 | }; | ||