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