Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp668504pxa; Wed, 5 Aug 2020 09:57:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJych6Z/0Ei2enzmJfknaWp2aM7eIyecrA2r3X51hPQrKpEtZT34GTzx30ZS3f9OLRyx/Huz X-Received: by 2002:a17:906:3c02:: with SMTP id h2mr151374ejg.437.1596646676893; Wed, 05 Aug 2020 09:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596646676; cv=none; d=google.com; s=arc-20160816; b=mjHh7lmS+tb/xfhNV/k/UMLWNFYYxjyJ7WQSRVLMZ7GN1QYqQI0zCSjkH1q6KpSRmi QygZ+VSBmP8KUzAqrjHLRM1EfGXvKxtjXwsU0IIIlSq4dKr5oYCGAzsebaLPBWJVEBVm S1V0mYBsugS9Oiv/x/x/bjY5zrRM5ut4W2+0QhW9/sgXuHAy3Als199j1TjhFanx3Yp8 /SS7hOKQFEUOaedv2iZMo1ZUq7CyjeKFrQyxklEASOBEy+Kc7xSbpdD5FFvxuH28hmgo 17eNYeDdnp9ihgYsBBQfY0xPdPOmpUM/otYHS2qwB5rciQ7JtEQUZ3Xt1WbP0vEVxpEi 3V7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Az+AszYcHQWzYCnqT/5thfyfYHza99FgAVuo6NVwe5o=; b=psGjr9V37775xfYZgK+tlfy1cXhqt1J9/DA/FjujuT1b6gOWHwDrwM7QtGVHyS44r8 e2SF1JCrKv7nBQEyxgUI1j2oylLXoX0YATpDKH3bMjSOYOi8+NWMuz1+CfH53aQMtXKl x/601WcMvDHN8E2JrJGsPF8O1HWyfPzCnI6R/9UVWfioFrCn4ASDQXEPF548NJOgdpZF lxxAT0KpWbcCY1CnJKi19GseO385dHG0sSq2vH6osQ6kyOvQ0teT+9CYHvW+RRlMUeKs 6o91/vs2CHBtSbuT1/uWOwTA5fdeKmO0fInS8r3dtOS1vApZD/palCVC3+cjDYmpyZh7 X9Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=YRCgWsJ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y24si1497414eds.240.2020.08.05.09.57.25; Wed, 05 Aug 2020 09:57:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@0x0f.com header.s=google header.b=YRCgWsJ8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728287AbgHEQ4n (ORCPT + 99 others); Wed, 5 Aug 2020 12:56:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728127AbgHEQxw (ORCPT ); Wed, 5 Aug 2020 12:53:52 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE2C1C0611E0 for ; Wed, 5 Aug 2020 04:01:32 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id u10so15552557plr.7 for ; Wed, 05 Aug 2020 04:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Az+AszYcHQWzYCnqT/5thfyfYHza99FgAVuo6NVwe5o=; b=YRCgWsJ8pGTf9hSUA+n2UAu2tevH60z+ftxm0yHShwRstP9B0a1upVpRfJz9WDL68j l8yEHTiQCLSdNiS/bRbYfVZ+rUErAa9vmbTXK3h+gByDGPVvEMF7jquoke5sRJfn1vME CoeVdQYK0iRon/IxKtqOxQkQ8hb7nxsG5ig+U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Az+AszYcHQWzYCnqT/5thfyfYHza99FgAVuo6NVwe5o=; b=B1+J1rrW1gB64YN8+mK+Wxp4696y+Q/mL1EkvSNWVPJ8qJ7iyYaeShrGHoutEykSgR 3BFixAq3wLSLMKhr05FH0WEBVdLrNOb/RX8u3HQSbAK25bqu24yVpwvs5ST/gYPeKQw0 4XpMPr878NqbLzPtSlKQEpEnmuhpR7BL28saHqv8sFbxOb64ihycFujBzaz7KdG/PfD5 47ag4RpmK96DNCIuJy55BebFr2jkkFXxsiJisUgvmuzejHYLvOMZ+IDE+th/FdFKsTdk iHlbcF0dkpi6LjERpH0CQSBJHVep81xyhodWyfwd6GvXnLRKpECS0884l8SSi04IiHSy WP7g== X-Gm-Message-State: AOAM531CI8KBlH7momWg4EtmYg8zAiDaKvye7jc1b4prxhwqOBfJauEI w22zDUnbb/aqepKYNL8CaNStBA== X-Received: by 2002:a17:90a:e643:: with SMTP id ep3mr2780313pjb.18.1596625292189; Wed, 05 Aug 2020 04:01:32 -0700 (PDT) Received: from shiro.work (p532183-ipngn200506sizuokaden.shizuoka.ocn.ne.jp. [153.199.2.183]) by smtp.googlemail.com with ESMTPSA id fv21sm2583142pjb.16.2020.08.05.04.01.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Aug 2020 04:01:31 -0700 (PDT) From: Daniel Palmer To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, tglx@linutronix.de, jason@lakedaemon.net, maz@kernel.org, robh+dt@kernel.org, arnd@arndb.de, Daniel Palmer , Willy Tarreau Subject: [PATCH 3/3] ARM: mstar: Add interrupt controller to base dtsi Date: Wed, 5 Aug 2020 20:00:52 +0900 Message-Id: <20200805110052.2655487-4-daniel@0x0f.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200805110052.2655487-1-daniel@0x0f.com> References: <20200805110052.2655487-1-daniel@0x0f.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the IRQ and FIQ intc instances to the base MStar/SigmaStar v7 dtsi. All of the known SoCs have both and at the same place with their common IPs using the same interrupt lines. Signed-off-by: Daniel Palmer Tested-by: Willy Tarreau --- arch/arm/boot/dts/mstar-v7.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index 3b7b9b793736..2b3bb0886d1a 100644 --- a/arch/arm/boot/dts/mstar-v7.dtsi +++ b/arch/arm/boot/dts/mstar-v7.dtsi @@ -85,6 +85,26 @@ reboot { mask = <0x79>; }; + intc_fiq: intc@201310 { + compatible = "mstar,msc313-intc-fiq"; + interrupt-controller; + reg = <0x201310 0x40>; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + mstar,gic-offset = <96>; + mstar,nr-interrupts = <32>; + }; + + intc_irq: intc@201350 { + compatible = "mstar,msc313-intc-irq"; + interrupt-controller; + reg = <0x201350 0x40>; + #interrupt-cells = <2>; + interrupt-parent = <&gic>; + mstar,gic-offset = <32>; + mstar,nr-interrupts = <64>; + }; + l3bridge: l3bridge@204400 { compatible = "mstar,l3bridge"; reg = <0x204400 0x200>; -- 2.27.0