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 <[email protected]>
---
 arch/arm/boot/dts/bcm7445.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/bcm7445.dtsi b/arch/arm/boot/dts/bcm7445.dtsi
index b183dc99111a..9eaeac8dce1b 100644
--- a/arch/arm/boot/dts/bcm7445.dtsi
+++ b/arch/arm/boot/dts/bcm7445.dtsi
@@ -96,6 +96,18 @@
                                     "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 {
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to