2012-11-14 15:59:14 +07:00
|
|
|
Allwinner Sunxi Interrupt Controller
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
|
2013-03-24 16:10:04 +07:00
|
|
|
- compatible : should be "allwinner,sun4i-ic"
|
2012-11-14 15:59:14 +07:00
|
|
|
- reg : Specifies base physical address and size of the registers.
|
|
|
|
- interrupt-controller : Identifies the node as an interrupt controller
|
|
|
|
- #interrupt-cells : Specifies the number of cells needed to encode an
|
|
|
|
interrupt source. The value shall be 1.
|
|
|
|
|
2013-04-11 03:39:54 +07:00
|
|
|
For the valid interrupt sources for your SoC, see the documentation in
|
|
|
|
sunxi/<soc>.txt
|
2012-11-14 15:59:14 +07:00
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
intc: interrupt-controller {
|
2013-03-24 16:10:04 +07:00
|
|
|
compatible = "allwinner,sun4i-ic";
|
2012-11-14 15:59:14 +07:00
|
|
|
reg = <0x01c20400 0x400>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|