xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/amazon,al-fic.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotAmazon's Annapurna Labs Fabric Interrupt Controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel Vadot- compatible: should be "amazon,al-fic"
6*c66ec88fSEmmanuel Vadot- reg: physical base address and size of the registers
7*c66ec88fSEmmanuel Vadot- interrupt-controller: identifies the node as an interrupt controller
8*c66ec88fSEmmanuel Vadot- #interrupt-cells : must be 2. Specifies the number of cells needed to encode
9*c66ec88fSEmmanuel Vadot  an interrupt source. Supported trigger types are low-to-high edge
10*c66ec88fSEmmanuel Vadot  triggered and active high level-sensitive.
11*c66ec88fSEmmanuel Vadot- interrupts: describes which input line in the interrupt parent, this
12*c66ec88fSEmmanuel Vadot  fic's output is connected to. This field property depends on the parent's
13*c66ec88fSEmmanuel Vadot  binding
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotPlease refer to interrupts.txt in this directory for details of the common
16*c66ec88fSEmmanuel VadotInterrupt Controllers bindings used by client devices.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadotamazon_fic: interrupt-controller@fd8a8500 {
21*c66ec88fSEmmanuel Vadot	compatible = "amazon,al-fic";
22*c66ec88fSEmmanuel Vadot	interrupt-controller;
23*c66ec88fSEmmanuel Vadot	#interrupt-cells = <2>;
24*c66ec88fSEmmanuel Vadot	reg = <0x0 0xfd8a8500 0x0 0x1000>;
25*c66ec88fSEmmanuel Vadot	interrupt-parent = <&gic>;
26*c66ec88fSEmmanuel Vadot	interrupts = <GIC_SPI 0x0 IRQ_TYPE_LEVEL_HIGH>;
27*c66ec88fSEmmanuel Vadot};
28