xref: /freebsd-src/sys/contrib/device-tree/Bindings/interrupt-controller/openrisc,ompic.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotOpen Multi-Processor Interrupt Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible : This should be "openrisc,ompic"
6*c66ec88fSEmmanuel Vadot- reg : Specifies base physical address and size of the register space. The
7*c66ec88fSEmmanuel Vadot  size is based on the number of cores the controller has been configured
8*c66ec88fSEmmanuel Vadot  to handle, this should be set to 8 bytes per cpu core.
9*c66ec88fSEmmanuel Vadot- interrupt-controller : Identifies the node as an interrupt controller.
10*c66ec88fSEmmanuel Vadot- #interrupt-cells : This should be set to 0 as this will not be an irq
11*c66ec88fSEmmanuel Vadot  parent.
12*c66ec88fSEmmanuel Vadot- interrupts : Specifies the interrupt line to which the ompic is wired.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExample:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadotompic: interrupt-controller@98000000 {
17*c66ec88fSEmmanuel Vadot	compatible = "openrisc,ompic";
18*c66ec88fSEmmanuel Vadot	reg = <0x98000000 16>;
19*c66ec88fSEmmanuel Vadot	interrupt-controller;
20*c66ec88fSEmmanuel Vadot	#interrupt-cells = <0>;
21*c66ec88fSEmmanuel Vadot	interrupts = <1>;
22*c66ec88fSEmmanuel Vadot};
23