18c2ecf20Sopenharmony_ci============================== 28c2ecf20Sopenharmony_ciC-SKY APB Interrupt Controller 38c2ecf20Sopenharmony_ci============================== 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciC-SKY APB Interrupt Controller is a simple soc interrupt controller 68c2ecf20Sopenharmony_cion the apb bus and we only use it as root irq controller. 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums. 98c2ecf20Sopenharmony_ci - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported. 108c2ecf20Sopenharmony_ci - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums. 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci============================= 138c2ecf20Sopenharmony_ciintc node bindings definition 148c2ecf20Sopenharmony_ci============================= 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci Description: Describes APB interrupt controller 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci PROPERTIES 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci - compatible 218c2ecf20Sopenharmony_ci Usage: required 228c2ecf20Sopenharmony_ci Value type: <string> 238c2ecf20Sopenharmony_ci Definition: must be "csky,apb-intc" 248c2ecf20Sopenharmony_ci "csky,dual-apb-intc" 258c2ecf20Sopenharmony_ci "csky,gx6605s-intc" 268c2ecf20Sopenharmony_ci - #interrupt-cells 278c2ecf20Sopenharmony_ci Usage: required 288c2ecf20Sopenharmony_ci Value type: <u32> 298c2ecf20Sopenharmony_ci Definition: must be <1> 308c2ecf20Sopenharmony_ci - reg 318c2ecf20Sopenharmony_ci Usage: required 328c2ecf20Sopenharmony_ci Value type: <u32 u32> 338c2ecf20Sopenharmony_ci Definition: <phyaddr size> in soc from cpu view 348c2ecf20Sopenharmony_ci - interrupt-controller: 358c2ecf20Sopenharmony_ci Usage: required 368c2ecf20Sopenharmony_ci - csky,support-pulse-signal: 378c2ecf20Sopenharmony_ci Usage: select 388c2ecf20Sopenharmony_ci Description: to support pulse signal flag 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ciExamples: 418c2ecf20Sopenharmony_ci--------- 428c2ecf20Sopenharmony_ci 438c2ecf20Sopenharmony_ci intc: interrupt-controller@500000 { 448c2ecf20Sopenharmony_ci compatible = "csky,apb-intc"; 458c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 468c2ecf20Sopenharmony_ci reg = <0x00500000 0x400>; 478c2ecf20Sopenharmony_ci interrupt-controller; 488c2ecf20Sopenharmony_ci }; 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_ci intc: interrupt-controller@500000 { 518c2ecf20Sopenharmony_ci compatible = "csky,dual-apb-intc"; 528c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 538c2ecf20Sopenharmony_ci reg = <0x00500000 0x400>; 548c2ecf20Sopenharmony_ci interrupt-controller; 558c2ecf20Sopenharmony_ci }; 568c2ecf20Sopenharmony_ci 578c2ecf20Sopenharmony_ci intc: interrupt-controller@500000 { 588c2ecf20Sopenharmony_ci compatible = "csky,gx6605s-intc"; 598c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 608c2ecf20Sopenharmony_ci reg = <0x00500000 0x400>; 618c2ecf20Sopenharmony_ci interrupt-controller; 628c2ecf20Sopenharmony_ci }; 63