OSDN Git Service

ARM: dts: brcmstb: add IRQ0 controller
authorBrian Norris <computersforpeace@gmail.com>
Thu, 19 Mar 2015 00:31:32 +0000 (17:31 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Thu, 19 Mar 2015 16:34:14 +0000 (09:34 -0700)
This L2 controller handles multiplexing a few different interrupts. We
also need it for configuring the interrupt forwarding masks for the
UART.

With this, we can *now* boot BCM7445 to a prompt using the upstream
kernel + DTB.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm7445.dtsi

index b183dc9..9eaeac8 100644 (file)
                                     "syscon";
                        reg = <0x452000 0x100>;
                };
+
+               irq0_intc: interrupt-controller@f040a780 {
+                       compatible = "brcm,bcm7120-l2-intc";
+                       interrupt-parent = <&gic>;
+                       #interrupt-cells = <1>;
+                       reg = <0x40a780 0x8>;
+                       interrupt-controller;
+                       interrupts = <GIC_SPI 0x45 0x0>,
+                                    <GIC_SPI 0x43 0x0>;
+                       brcm,int-map-mask = <0x25c>, <0x7000000>;
+                       brcm,int-fwd-mask = <0x70000>;
+               };
        };
 
        smpboot {