162306a36Sopenharmony_ci* AppliedMicro X-Gene v1 PCIe MSI controller
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciRequired properties:
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci- compatible: should be "apm,xgene1-msi" to identify
662306a36Sopenharmony_ci	      X-Gene v1 PCIe MSI controller block.
762306a36Sopenharmony_ci- msi-controller: indicates that this is an X-Gene v1 PCIe MSI controller node
862306a36Sopenharmony_ci- reg: physical base address (0x79000000) and length (0x900000) for controller
962306a36Sopenharmony_ci       registers. These registers include the MSI termination address and data
1062306a36Sopenharmony_ci       registers as well as the MSI interrupt status registers.
1162306a36Sopenharmony_ci- reg-names: not required
1262306a36Sopenharmony_ci- interrupts: A list of 16 interrupt outputs of the controller, starting from
1362306a36Sopenharmony_ci	      interrupt number 0x10 to 0x1f.
1462306a36Sopenharmony_ci- interrupt-names: not required
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciEach PCIe node needs to have property msi-parent that points to an MSI
1762306a36Sopenharmony_cicontroller node
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciExamples:
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ciSoC DTSI:
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci	+ MSI node:
2462306a36Sopenharmony_ci	msi@79000000 {
2562306a36Sopenharmony_ci		compatible = "apm,xgene1-msi";
2662306a36Sopenharmony_ci		msi-controller;
2762306a36Sopenharmony_ci		reg = <0x00 0x79000000 0x0 0x900000>;
2862306a36Sopenharmony_ci		interrupts = 	<0x0 0x10 0x4>
2962306a36Sopenharmony_ci				<0x0 0x11 0x4>
3062306a36Sopenharmony_ci				<0x0 0x12 0x4>
3162306a36Sopenharmony_ci				<0x0 0x13 0x4>
3262306a36Sopenharmony_ci				<0x0 0x14 0x4>
3362306a36Sopenharmony_ci				<0x0 0x15 0x4>
3462306a36Sopenharmony_ci				<0x0 0x16 0x4>
3562306a36Sopenharmony_ci				<0x0 0x17 0x4>
3662306a36Sopenharmony_ci				<0x0 0x18 0x4>
3762306a36Sopenharmony_ci				<0x0 0x19 0x4>
3862306a36Sopenharmony_ci				<0x0 0x1a 0x4>
3962306a36Sopenharmony_ci				<0x0 0x1b 0x4>
4062306a36Sopenharmony_ci				<0x0 0x1c 0x4>
4162306a36Sopenharmony_ci				<0x0 0x1d 0x4>
4262306a36Sopenharmony_ci				<0x0 0x1e 0x4>
4362306a36Sopenharmony_ci				<0x0 0x1f 0x4>;
4462306a36Sopenharmony_ci	};
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ci	+ PCIe controller node with msi-parent property pointing to MSI node:
4762306a36Sopenharmony_ci	pcie0: pcie@1f2b0000 {
4862306a36Sopenharmony_ci		device_type = "pci";
4962306a36Sopenharmony_ci		compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
5062306a36Sopenharmony_ci		#interrupt-cells = <1>;
5162306a36Sopenharmony_ci		#size-cells = <2>;
5262306a36Sopenharmony_ci		#address-cells = <3>;
5362306a36Sopenharmony_ci		reg = < 0x00 0x1f2b0000 0x0 0x00010000   /* Controller registers */
5462306a36Sopenharmony_ci			0xe0 0xd0000000 0x0 0x00040000>; /* PCI config space */
5562306a36Sopenharmony_ci		reg-names = "csr", "cfg";
5662306a36Sopenharmony_ci		ranges = <0x01000000 0x00 0x00000000 0xe0 0x10000000 0x00 0x00010000   /* io */
5762306a36Sopenharmony_ci			  0x02000000 0x00 0x80000000 0xe1 0x80000000 0x00 0x80000000>; /* mem */
5862306a36Sopenharmony_ci		dma-ranges = <0x42000000 0x80 0x00000000 0x80 0x00000000 0x00 0x80000000
5962306a36Sopenharmony_ci			      0x42000000 0x00 0x00000000 0x00 0x00000000 0x80 0x00000000>;
6062306a36Sopenharmony_ci		interrupt-map-mask = <0x0 0x0 0x0 0x7>;
6162306a36Sopenharmony_ci		interrupt-map = <0x0 0x0 0x0 0x1 &gic 0x0 0xc2 0x1
6262306a36Sopenharmony_ci				 0x0 0x0 0x0 0x2 &gic 0x0 0xc3 0x1
6362306a36Sopenharmony_ci				 0x0 0x0 0x0 0x3 &gic 0x0 0xc4 0x1
6462306a36Sopenharmony_ci				 0x0 0x0 0x0 0x4 &gic 0x0 0xc5 0x1>;
6562306a36Sopenharmony_ci		dma-coherent;
6662306a36Sopenharmony_ci		clocks = <&pcie0clk 0>;
6762306a36Sopenharmony_ci		msi-parent= <&msi>;
6862306a36Sopenharmony_ci	};
69