xref: /linux/Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1*2347e7e1SGuo Ren==============================
2*2347e7e1SGuo RenC-SKY APB Interrupt Controller
3*2347e7e1SGuo Ren==============================
4*2347e7e1SGuo Ren
5*2347e7e1SGuo RenC-SKY APB Interrupt Controller is a simple soc interrupt controller
6*2347e7e1SGuo Renon the apb bus and we only use it as root irq controller.
7*2347e7e1SGuo Ren
8*2347e7e1SGuo Ren - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums.
9*2347e7e1SGuo Ren - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported.
10*2347e7e1SGuo Ren - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums.
11*2347e7e1SGuo Ren
12*2347e7e1SGuo Ren=============================
13*2347e7e1SGuo Renintc node bindings definition
14*2347e7e1SGuo Ren=============================
15*2347e7e1SGuo Ren
16*2347e7e1SGuo Ren	Description: Describes APB interrupt controller
17*2347e7e1SGuo Ren
18*2347e7e1SGuo Ren	PROPERTIES
19*2347e7e1SGuo Ren
20*2347e7e1SGuo Ren	- compatible
21*2347e7e1SGuo Ren		Usage: required
22*2347e7e1SGuo Ren		Value type: <string>
23*2347e7e1SGuo Ren		Definition: must be "csky,apb-intc"
24*2347e7e1SGuo Ren				    "csky,dual-apb-intc"
25*2347e7e1SGuo Ren				    "csky,gx6605s-intc"
26*2347e7e1SGuo Ren	- #interrupt-cells
27*2347e7e1SGuo Ren		Usage: required
28*2347e7e1SGuo Ren		Value type: <u32>
29*2347e7e1SGuo Ren		Definition: must be <1>
30*2347e7e1SGuo Ren	- reg
31*2347e7e1SGuo Ren		Usage: required
32*2347e7e1SGuo Ren		Value type: <u32 u32>
33*2347e7e1SGuo Ren		Definition: <phyaddr size> in soc from cpu view
34*2347e7e1SGuo Ren	- interrupt-controller:
35*2347e7e1SGuo Ren		Usage: required
36*2347e7e1SGuo Ren	- csky,support-pulse-signal:
37*2347e7e1SGuo Ren		Usage: select
38*2347e7e1SGuo Ren		Description: to support pulse signal flag
39*2347e7e1SGuo Ren
40*2347e7e1SGuo RenExamples:
41*2347e7e1SGuo Ren---------
42*2347e7e1SGuo Ren
43*2347e7e1SGuo Ren	intc: interrupt-controller@500000 {
44*2347e7e1SGuo Ren		compatible = "csky,apb-intc";
45*2347e7e1SGuo Ren		#interrupt-cells = <1>;
46*2347e7e1SGuo Ren		reg = <0x00500000 0x400>;
47*2347e7e1SGuo Ren		interrupt-controller;
48*2347e7e1SGuo Ren	};
49*2347e7e1SGuo Ren
50*2347e7e1SGuo Ren	intc: interrupt-controller@500000 {
51*2347e7e1SGuo Ren		compatible = "csky,dual-apb-intc";
52*2347e7e1SGuo Ren		#interrupt-cells = <1>;
53*2347e7e1SGuo Ren		reg = <0x00500000 0x400>;
54*2347e7e1SGuo Ren		interrupt-controller;
55*2347e7e1SGuo Ren	};
56*2347e7e1SGuo Ren
57*2347e7e1SGuo Ren	intc: interrupt-controller@500000 {
58*2347e7e1SGuo Ren		compatible = "csky,gx6605s-intc";
59*2347e7e1SGuo Ren		#interrupt-cells = <1>;
60*2347e7e1SGuo Ren		reg = <0x00500000 0x400>;
61*2347e7e1SGuo Ren		interrupt-controller;
62*2347e7e1SGuo Ren	};
63