Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3216792pxu; Sun, 29 Nov 2020 19:26:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJxypSN1mKThHkhvl0NjPaKn+xHq3x4pohfbwqh1lxbecYuAmI/j9Od+j12YiJ+Wd0q0CMmq X-Received: by 2002:a05:6402:1748:: with SMTP id v8mr113939edx.136.1606706817151; Sun, 29 Nov 2020 19:26:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606706817; cv=none; d=google.com; s=arc-20160816; b=JDc/dcvgh/RDUZgPyfP/iYGBWaYAFTamUVKhEs7hx7GF9oE3WwcFRFaIwFuyImLgcl Fvzkxoh4wWQo5ZjnBcnXOiamXdvzWMSvWwFJO+yoAvhhgHNEQ0F6NMG1mWX9Q5YypVta kC8WLmZ2oGWgmY+Ev8DC+rH3QGW9WdM1lju7fSKKhrPtTD6vY5hC8T1TixHw4mUTVYnU p83HDkL2cwA3zq4ePrJ5moVybXZzFILU4TpLkIHBbWRAQlB0MUXCy9IeDeUOEY+mSLqJ aPN9TtKJRYWz/xuguedPDXoMAilFuLookIsbD2y2tPkA/cCaNUpInFsEb1+Ha8ng7xpl W7TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=Oc8u8qBv9AE1yc/uzEFvsY49Ay8EpjU+D8jMVv0rmGw=; b=QnBd+Djj65g9fPCcz8m/kBFh4Qwt/8hEaUeX0vVKFG2UvkGmhloNhx3AtSAPjICMUf 3GlT+7xy96iXrGzDoXLf5oMH3WoH2MREAd+aWy1tWYUcEx9u4u/Am5c1khCyTIhbEEE4 3YwGZrfBqfphnqFFSWHktFExR0Q/kKVHg1jrG7lTr3hdAQxxRZyrbhXNpTy6r52zcrI0 mCcIw54JRIvY1ZK57FJsT2nq8LQDqQ5E/Sv/R514Dku4bbtOcScrh/9AHFKQ9kIwOFkw f3As2T/vXP09bp2n2XueLPq53bZkS7Wipn5ZBq3jmNOOHtSqDEEaV9WcL6K/4HlD2iT6 OOvA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v8si7683070eda.78.2020.11.29.19.26.35; Sun, 29 Nov 2020 19:26:57 -0800 (PST) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728095AbgK3DYD (ORCPT + 99 others); Sun, 29 Nov 2020 22:24:03 -0500 Received: from inva021.nxp.com ([92.121.34.21]:51428 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727072AbgK3DXo (ORCPT ); Sun, 29 Nov 2020 22:23:44 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5FEAF20071A; Mon, 30 Nov 2020 04:22:57 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 900192006E6; Mon, 30 Nov 2020 04:22:51 +0100 (CET) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 1B5854030D; Mon, 30 Nov 2020 04:22:44 +0100 (CET) From: Biwen Li To: linux@rasmusvillemoes.dk, shawnguo@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, leoyang.li@nxp.com, zhiqiang.hou@nxp.com, tglx@linutronix.de, jason@lakedaemon.net, maz@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, jiafei.pan@nxp.com, xiaobo.xie@nxp.com, linux-arm-kernel@lists.infradead.org, Biwen Li Subject: [v3 03/11] arm64: dts: ls1046a: add DT node for external interrupt lines Date: Mon, 30 Nov 2020 11:30:47 +0800 Message-Id: <20201130033055.38462-3-biwen.li@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201130033055.38462-1-biwen.li@oss.nxp.com> References: <20201130033055.38462-1-biwen.li@oss.nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Biwen Li Add device-tree node for external interrupt lines IRQ0-IRQ11. Signed-off-by: Biwen Li --- Change in v3: - none Change in v2: - none .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 0246d975a206..dff3ee84c294 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -3,7 +3,7 @@ * Device Tree Include file for Freescale Layerscape-1046A family SoC. * * Copyright 2016 Freescale Semiconductor, Inc. - * Copyright 2018 NXP + * Copyright 2018-2020 NXP * * Mingkai Hu */ @@ -314,6 +314,31 @@ compatible = "fsl,ls1046a-scfg", "syscon"; reg = <0x0 0x1570000 0x0 0x10000>; big-endian; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x1570000 0x10000>; + + extirq: interrupt-controller@1ac { + compatible = "fsl,ls1046a-extirq", "fsl,ls1043a-extirq"; + #interrupt-cells = <2>; + #address-cells = <0>; + interrupt-controller; + reg = <0x1ac 4>; + interrupt-map = + <0 0 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, + <1 0 &gic GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>, + <2 0 &gic GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>, + <3 0 &gic GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>, + <4 0 &gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, + <5 0 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, + <6 0 &gic GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, + <7 0 &gic GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>, + <8 0 &gic GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, + <9 0 &gic GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>, + <10 0 &gic GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>, + <11 0 &gic GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>; + interrupt-map-mask = <0xffffffff 0x0>; + }; }; crypto: crypto@1700000 { -- 2.17.1