xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/socionext,synquacer-exiu.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotSocionext SynQuacer External Interrupt Unit (EXIU)
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe Socionext Synquacer SoC has an external interrupt unit (EXIU)
4*c66ec88fSEmmanuel Vadotthat forwards a block of 32 configurable input lines to 32 adjacent
5*c66ec88fSEmmanuel Vadotlevel-high type GICv3 SPIs.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotRequired properties:
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot- compatible           : Should be "socionext,synquacer-exiu".
10*c66ec88fSEmmanuel Vadot- reg                  : Specifies base physical address and size of the
11*c66ec88fSEmmanuel Vadot                         control registers.
12*c66ec88fSEmmanuel Vadot- interrupt-controller : Identifies the node as an interrupt controller.
13*c66ec88fSEmmanuel Vadot- #interrupt-cells     : Specifies the number of cells needed to encode an
14*c66ec88fSEmmanuel Vadot                         interrupt source. The value must be 3.
15*c66ec88fSEmmanuel Vadot- socionext,spi-base   : The SPI number of the first SPI of the 32 adjacent
16*c66ec88fSEmmanuel Vadot                         ones the EXIU forwards its interrups to.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotNotes:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot- Only SPIs can use the EXIU as an interrupt parent.
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel VadotExample:
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot	exiu: interrupt-controller@510c0000 {
25*c66ec88fSEmmanuel Vadot		compatible = "socionext,synquacer-exiu";
26*c66ec88fSEmmanuel Vadot		reg = <0x0 0x510c0000 0x0 0x20>;
27*c66ec88fSEmmanuel Vadot		interrupt-controller;
28*c66ec88fSEmmanuel Vadot		interrupt-parent = <&gic>;
29*c66ec88fSEmmanuel Vadot		#interrupt-cells = <3>;
30*c66ec88fSEmmanuel Vadot		socionext,spi-base = <112>;
31*c66ec88fSEmmanuel Vadot	};
32