Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp525030ybc; Tue, 12 Nov 2019 05:22:27 -0800 (PST) X-Google-Smtp-Source: APXvYqxMDI8Tr/X89dY+z4r7tZ+aUEOC8SYmRx/HfYV9DgGAz3lz7q66Vq4nipSqEXlnEBxwDXen X-Received: by 2002:a05:6402:104c:: with SMTP id e12mr26210512edu.199.1573564947814; Tue, 12 Nov 2019 05:22:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573564947; cv=none; d=google.com; s=arc-20160816; b=FIuytZSQP0EBSge8jncVY/xQemqr7JIXXEoWleBWO9W2mfD3MaceuA2ZchhphS+/5N gjS5FFu5FWxEESuXhQNf50o/BM6BVaGzqWILygYk8QDQCyQdw3Ursz4e8Ba3BoQjVh/r vp8sUX108Os8IWyKQB9BLvONF2sl4F7EhOYV3UdZFKGiDIoGsAMl3Y9iWUkd6erL5i9Z nbVG7/YWjAAUqylt8/RS6NFYdeCwWsbxiTmeEfE2MS1RmGgcjx1dvhG3GLa2gf6c+8dJ Fdnvcbj1RSDjMI10ZMHJs32blQKT+7yJtNanBzw0eyHcOtsME43HcQ3kec8lAdDkMWjP r3Nw== 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=U/A2f9kHIFOCYbqEWyI5d4hToF+Uq4/YnGy8bo4uWSk=; b=hOXpgCbjdDAAhgwEF2qrAG+NZJgVpcZb6DC6jpyO6FXBNjjgXFvO0ahfybZj0WSWKu ZXk+3jLH+anOL+EuVFHi5BhAzFcUt+8VErptDMu/KcRzD82jXkcAb7Hitg5qJKLXuem3 q3I+VLbJrVJkFUttttdU8cfhe94HYS0i7AdTFeWQr9UPr7M1esXFk6hxPWqvbzQ4DTo8 lQ+ZJCGTX1LbYDioNG7JstdNWxm2cUpU4aHHBpULig/II3E2IkJ2HLMfbENGlC1Y0vBp vv52G9PaMFdA+J1DSCsKPYzfOB15Mnu6+/mdhIm2o9tqFEgeFq8xzB81NLTCS35hdqWI FsOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=gM8MrR8f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si10920664ejn.288.2019.11.12.05.22.02; Tue, 12 Nov 2019 05:22:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=gM8MrR8f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727159AbfKLNUU (ORCPT + 99 others); Tue, 12 Nov 2019 08:20:20 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:44894 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725847AbfKLNUT (ORCPT ); Tue, 12 Nov 2019 08:20:19 -0500 Received: by mail-lf1-f65.google.com with SMTP id z188so5612212lfa.11 for ; Tue, 12 Nov 2019 05:20:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=U/A2f9kHIFOCYbqEWyI5d4hToF+Uq4/YnGy8bo4uWSk=; b=gM8MrR8fpyn4D3f/S9EA8B8+euhGtgB+lGz82qjsDCTe1bJ1kiHnsQYFbiW/5akGyH 0mp2q9cT8A/OkZQgMiiVMsZSMYP7lzx+i0+PscS5YENMZjpxjMRfriZdcUEGItBE4t1y tuIfz4VW5ZZL40S/NoLsb+KAqWW86ZFGdIV1s= 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=U/A2f9kHIFOCYbqEWyI5d4hToF+Uq4/YnGy8bo4uWSk=; b=jQjatp2PQyOjxMBcQI96wTtssjKgN7YY2dOjXBiwTEdCrx4OzQ5JI925oDHJx9U9by GSNNN6xek9aBLHZ83DpgZo+KJ6/BNnD+GjdVjNUoVhtsdzk+IBjhmYfklL9GHSh8Og0H 4OxrRCoxmylWNkHEyghXOP1XPDr3IGpwyNnP5hI1gGu5Vz9++QLYUSRAegRWF3SIjOZj VHl/QtWCBhmviNyIiZHehUeaAwdRPNf7bJtyD23CzLDDxgCYb9/i+EZnVY4i7bo6ulug JHZpBsKlPJEUweZPJXekZgOUXbo07Gqw5bF6t9DI2voV1dFtiJ7dVmLhatYo+E3FK5iM znZg== X-Gm-Message-State: APjAAAWYQb6kyusSLjVpL42mBgyVkZxJmAu9AtIs+fJfs3QpUgOt1RtN s7ARxBhWIRW7hwpyT29pTuzHnX47zqBglEEA X-Received: by 2002:a19:c514:: with SMTP id w20mr19905250lfe.143.1573564815900; Tue, 12 Nov 2019 05:20:15 -0800 (PST) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id f20sm869050lfc.75.2019.11.12.05.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2019 05:20:15 -0800 (PST) From: Rasmus Villemoes To: Shawn Guo , Li Yang , Rob Herring , Mark Rutland Cc: Vladimir Oltean , Marc Zyngier , Rasmus Villemoes , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: ls1021a: add node describing external interrupt lines Date: Tue, 12 Nov 2019 14:20:09 +0100 Message-Id: <20191112132010.18274-2-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191112132010.18274-1-linux@rasmusvillemoes.dk> References: <20191112132010.18274-1-linux@rasmusvillemoes.dk> 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 This adds a node describing the six external interrupt lines IRQ0-IRQ5 with configurable polarity. Signed-off-by: Rasmus Villemoes --- arch/arm/boot/dts/ls1021a.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 2f6977ada447..0855b1fe98e0 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -216,6 +216,25 @@ compatible = "fsl,ls1021a-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,ls1021a-extirq"; + #interrupt-cells = <2>; + #address-cells = <0>; + interrupt-controller; + reg = <0x1ac 4>; + interrupt-map = + <0 0 &gic GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>, + <1 0 &gic GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>, + <2 0 &gic GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>, + <3 0 &gic GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>, + <4 0 &gic GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>, + <5 0 &gic GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; + interrupt-map-mask = <0xffffffff 0x0>; + }; }; crypto: crypto@1700000 { -- 2.23.0