Minghuan Lian | 5e79cb2 | 2016-03-23 19:08:19 +0800 | [diff] [blame] | 1 | * Freescale Layerscape SCFG PCIe MSI controller |
| 2 | |
| 3 | Required properties: |
| 4 | |
| 5 | - compatible: should be "fsl,<soc-name>-msi" to identify |
| 6 | Layerscape PCIe MSI controller block such as: |
Minghuan Lian | d35b2c9 | 2017-07-05 14:58:55 +0800 | [diff] [blame] | 7 | "fsl,ls1021a-msi" |
| 8 | "fsl,ls1043a-msi" |
Minghuan Lian | cb34216 | 2017-07-05 14:59:00 +0800 | [diff] [blame^] | 9 | "fsl,ls1046a-msi" |
Minghuan Lian | 5e79cb2 | 2016-03-23 19:08:19 +0800 | [diff] [blame] | 10 | - msi-controller: indicates that this is a PCIe MSI controller node |
| 11 | - reg: physical base address of the controller and length of memory mapped. |
| 12 | - interrupts: an interrupt to the parent interrupt controller. |
| 13 | |
| 14 | Optional properties: |
| 15 | - interrupt-parent: the phandle to the parent interrupt controller. |
| 16 | |
| 17 | This interrupt controller hardware is a second level interrupt controller that |
| 18 | is hooked to a parent interrupt controller: e.g: ARM GIC for ARM-based |
| 19 | platforms. If interrupt-parent is not provided, the default parent interrupt |
| 20 | controller will be used. |
| 21 | Each PCIe node needs to have property msi-parent that points to |
| 22 | MSI controller node |
| 23 | |
| 24 | Examples: |
| 25 | |
| 26 | msi1: msi-controller@1571000 { |
Minghuan Lian | d35b2c9 | 2017-07-05 14:58:55 +0800 | [diff] [blame] | 27 | compatible = "fsl,ls1043a-msi"; |
Minghuan Lian | 5e79cb2 | 2016-03-23 19:08:19 +0800 | [diff] [blame] | 28 | reg = <0x0 0x1571000 0x0 0x8>, |
| 29 | msi-controller; |
| 30 | interrupts = <0 116 0x4>; |
| 31 | }; |