xref: /freebsd/sys/contrib/device-tree/Bindings/misc/aspeed,cvic.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* ASPEED AST2400 and AST2500 coprocessor interrupt controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThis file describes the bindings for the interrupt controller present
4*c66ec88fSEmmanuel Vadotin the AST2400 and AST2500 BMC SoCs which provides interrupt to the
5*c66ec88fSEmmanuel VadotColdFire coprocessor.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotIt is not a normal interrupt controller and it would be rather
8*c66ec88fSEmmanuel Vadotinconvenient to create an interrupt tree for it as it somewhat shares
9*c66ec88fSEmmanuel Vadotsome of the same sources as the main ARM interrupt controller but with
10*c66ec88fSEmmanuel Vadotdifferent numbers.
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotThe AST2500 supports a SW generated interrupt
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotRequired properties:
15*c66ec88fSEmmanuel Vadot- reg: address and length of the register for the device.
16*c66ec88fSEmmanuel Vadot- compatible: "aspeed,cvic" and one of:
17*c66ec88fSEmmanuel Vadot		"aspeed,ast2400-cvic"
18*c66ec88fSEmmanuel Vadot	      or
19*c66ec88fSEmmanuel Vadot		"aspeed,ast2500-cvic"
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot- valid-sources: One cell, bitmap of supported sources for the implementation
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel VadotOptional properties;
24*c66ec88fSEmmanuel Vadot- copro-sw-interrupts: List of interrupt numbers that can be used as
25*c66ec88fSEmmanuel Vadot		       SW interrupts from the ARM to the coprocessor.
26*c66ec88fSEmmanuel Vadot		       (AST2500 only)
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel VadotExample:
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadot	cvic: copro-interrupt-controller@1e6c2000 {
31*c66ec88fSEmmanuel Vadot		compatible = "aspeed,ast2500-cvic";
32*c66ec88fSEmmanuel Vadot		valid-sources = <0xffffffff>;
33*c66ec88fSEmmanuel Vadot		copro-sw-interrupts = <1>;
34*c66ec88fSEmmanuel Vadot		reg = <0x1e6c2000 0x80>;
35*c66ec88fSEmmanuel Vadot	};
36