xref: /openbmc/linux/Documentation/devicetree/bindings/pci/altera-pcie-msi.txt (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1*af1169b4SLey Foon Tan* Altera PCIe MSI controller
2*af1169b4SLey Foon Tan
3*af1169b4SLey Foon TanRequired properties:
4*af1169b4SLey Foon Tan- compatible:	should contain "altr,msi-1.0"
5*af1169b4SLey Foon Tan- reg:		specifies the physical base address of the controller and
6*af1169b4SLey Foon Tan		the length of the memory mapped region.
7*af1169b4SLey Foon Tan- reg-names:	must include the following entries:
8*af1169b4SLey Foon Tan		"csr": CSR registers
9*af1169b4SLey Foon Tan		"vector_slave": vectors slave port region
10*af1169b4SLey Foon Tan- interrupts:	specifies the interrupt source of the parent interrupt
11*af1169b4SLey Foon Tan		controller. The format of the interrupt specifier depends on the
12*af1169b4SLey Foon Tan		parent interrupt controller.
13*af1169b4SLey Foon Tan- num-vectors:	number of vectors, range 1 to 32.
14*af1169b4SLey Foon Tan- msi-controller:	indicates that this is MSI controller node
15*af1169b4SLey Foon Tan
16*af1169b4SLey Foon Tan
17*af1169b4SLey Foon TanExample
18*af1169b4SLey Foon Tanmsi0: msi@0xFF200000 {
19*af1169b4SLey Foon Tan	compatible = "altr,msi-1.0";
20*af1169b4SLey Foon Tan	reg = <0xFF200000 0x00000010
21*af1169b4SLey Foon Tan		0xFF200010 0x00000080>;
22*af1169b4SLey Foon Tan	reg-names = "csr", "vector_slave";
23*af1169b4SLey Foon Tan	interrupt-parent = <&hps_0_arm_gic_0>;
24*af1169b4SLey Foon Tan	interrupts = <0 42 4>;
25*af1169b4SLey Foon Tan	msi-controller;
26*af1169b4SLey Foon Tan	num-vectors = <32>;
27*af1169b4SLey Foon Tan};
28