ARM: dts: Enable MSI support for Broadcom Cygnus
authorRay Jui <rjui@broadcom.com>
Fri, 4 Dec 2015 17:35:02 +0000 (09:35 -0800)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 7 Dec 2015 22:14:40 +0000 (14:14 -0800)
Enable MSI support for Broadcom Cygnus platforms

Signed-off-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Pramod KUMAR <pramodku@broadcom.com>
Reviewed-by: Vikram Prakash <vikramp@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm-cygnus.dtsi

index 815db5dd2f405283bb1c64815405cf8f2468767b..3878793364f0c23efe2213f3bf961fc36c06c168 100644 (file)
                        phy-names = "pcie-phy";
 
                        status = "disabled";
+
+                       msi-parent = <&msi0>;
+                       msi0: msi@18012000 {
+                               compatible = "brcm,iproc-msi";
+                               msi-controller;
+                               interrupt-parent = <&gic>;
+                               interrupts = <GIC_SPI 96 IRQ_TYPE_NONE>,
+                                            <GIC_SPI 97 IRQ_TYPE_NONE>,
+                                            <GIC_SPI 98 IRQ_TYPE_NONE>,
+                                            <GIC_SPI 99 IRQ_TYPE_NONE>;
+                       };
                };
 
                pcie1: pcie@18013000 {
                        phy-names = "pcie-phy";
 
                        status = "disabled";
+
+                       msi-parent = <&msi1>;
+                       msi1: msi@18013000 {
+                               compatible = "brcm,iproc-msi";
+                               msi-controller;
+                               interrupt-parent = <&gic>;
+                               interrupts = <GIC_SPI 102 IRQ_TYPE_NONE>,
+                                            <GIC_SPI 103 IRQ_TYPE_NONE>,
+                                            <GIC_SPI 104 IRQ_TYPE_NONE>,
+                                            <GIC_SPI 105 IRQ_TYPE_NONE>;
+                       };
                };
 
                uart0: serial@18020000 {