xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/csky,apb-intc.txt (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1==============================
2C-SKY APB Interrupt Controller
3==============================
4
5C-SKY APB Interrupt Controller is a simple soc interrupt controller
6on 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=============================
13intc 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
40Examples:
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	};
63