From patchwork Thu Mar 19 00:31:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 6044661 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BC0609F444 for ; Thu, 19 Mar 2015 00:34:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E376220411 for ; Thu, 19 Mar 2015 00:34:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 11D7B2041D for ; Thu, 19 Mar 2015 00:34:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YYOOC-0008EE-8v; Thu, 19 Mar 2015 00:32:44 +0000 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YYONw-00089U-Le for linux-arm-kernel@lists.infradead.org; Thu, 19 Mar 2015 00:32:29 +0000 Received: by pacwe9 with SMTP id we9so57965245pac.1 for ; Wed, 18 Mar 2015 17:32:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=miRP/87Vs2ieDL2o9uANQs2mW/odJkTrqbJBAdlewjM=; b=T1S+tAdwsImsIcGRTBxYipnwC9P13xCe0XV7WZTvY44L2YM74KmTrLxKr5PbZkmpML HOLCzXQwwRfw18iehMCMiEsN/3jzZrqPGpd2s7jcUnqwjZ2Z9+NbpMvY8v+mINaHcR8f 4VrO9/T8CYZY86PLEPJH429z4X6MOWawGBFJzH0IB4hjyXSkCfmsbpqwOLhElRGaqQpp JlkkijuFKbU5ZFxxaHnjklve3YUnBEyvNJsovIoFb+PE6v+bmqwnvfR2xtfQquHsBGcQ XtIGm563FFrnhFiqUbSr1I8sRDyReETGK/y4bakRttZ0Wj6SJtsgGmYuWnhvcCcB0NhG MJwA== X-Received: by 10.70.48.5 with SMTP id h5mr130187597pdn.58.1426725127280; Wed, 18 Mar 2015 17:32:07 -0700 (PDT) Received: from ld-irv-0074.broadcom.com (5520-maca-inet1-outside.broadcom.com. [216.31.211.11]) by mx.google.com with ESMTPSA id r8sm29491651pdp.10.2015.03.18.17.32.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Mar 2015 17:32:06 -0700 (PDT) From: Brian Norris To: Florian Fainelli Subject: [PATCH 2/2] ARM: dts: brcmstb: add IRQ0 controller Date: Wed, 18 Mar 2015 17:31:32 -0700 Message-Id: <1426725092-16392-2-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1426725092-16392-1-git-send-email-computersforpeace@gmail.com> References: <1426725092-16392-1-git-send-email-computersforpeace@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150318_173228_816267_69672491 X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: Rob Herring , Brian Norris , linux-arm-kernel@lists.infradead.org, Gregory Fong , devicetree@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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 = , + ; + brcm,int-map-mask = <0x25c>, <0x7000000>; + brcm,int-fwd-mask = <0x70000>; + }; }; smpboot {