Back to home page

OSCL-LXR

 
 

    


0001 ==============================
0002 C-SKY APB Interrupt Controller
0003 ==============================
0004 
0005 C-SKY APB Interrupt Controller is a simple soc interrupt controller
0006 on the apb bus and we only use it as root irq controller.
0007 
0008  - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums.
0009  - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported.
0010  - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums.
0011 
0012 =============================
0013 intc node bindings definition
0014 =============================
0015 
0016         Description: Describes APB interrupt controller
0017 
0018         PROPERTIES
0019 
0020         - compatible
0021                 Usage: required
0022                 Value type: <string>
0023                 Definition: must be "csky,apb-intc"
0024                                     "csky,dual-apb-intc"
0025                                     "csky,gx6605s-intc"
0026         - #interrupt-cells
0027                 Usage: required
0028                 Value type: <u32>
0029                 Definition: must be <1>
0030         - reg
0031                 Usage: required
0032                 Value type: <u32 u32>
0033                 Definition: <phyaddr size> in soc from cpu view
0034         - interrupt-controller:
0035                 Usage: required
0036         - csky,support-pulse-signal:
0037                 Usage: select
0038                 Description: to support pulse signal flag
0039 
0040 Examples:
0041 ---------
0042 
0043         intc: interrupt-controller@500000 {
0044                 compatible = "csky,apb-intc";
0045                 #interrupt-cells = <1>;
0046                 reg = <0x00500000 0x400>;
0047                 interrupt-controller;
0048         };
0049 
0050         intc: interrupt-controller@500000 {
0051                 compatible = "csky,dual-apb-intc";
0052                 #interrupt-cells = <1>;
0053                 reg = <0x00500000 0x400>;
0054                 interrupt-controller;
0055         };
0056 
0057         intc: interrupt-controller@500000 {
0058                 compatible = "csky,gx6605s-intc";
0059                 #interrupt-cells = <1>;
0060                 reg = <0x00500000 0x400>;
0061                 interrupt-controller;
0062         };