Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3038131ybc; Thu, 14 Nov 2019 03:04:38 -0800 (PST) X-Google-Smtp-Source: APXvYqwb0NzjFJjlVruxE61tDp3AYt4BlaMxg29rUPbbySAi0SIoQ4XxCjk8/9+qoHFoo6ByiiDM X-Received: by 2002:a17:906:5959:: with SMTP id g25mr7657985ejr.248.1573729478213; Thu, 14 Nov 2019 03:04:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573729478; cv=none; d=google.com; s=arc-20160816; b=J1XSSRhz/fJC3YaQRBOkzxgRTuJPzmCgSNeF5zdo5xb1LqQgK6tRstm+QFNKfsBNRc YRGXXkOPOwFZMF7qsDOoFpW6ke5d9grvJ7CDvgYwSO77k28aoX5bmfZi6b4ZY/FfxG4B N6JhoJKTn3S504WLjd8/Rq8rINsnhuaErCctYC/UHFTUGy99/81QizWX1JkuxMuwLyDJ n17MsLCh9csP5m/Te7Gs9YGMfLYtv4VIc57agnXTv7BLZ7nd5lIX+hda/AOen5hqXFqF Ae6vKG0mYmlJY1kDe6yHZoBRzGgDYR25FVSz+DVCgpHUENCbVd4qALN7JKpgauvNWoSi YGYQ== 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=zLF5W0Cf2fl/AiBDzlBbfSm6NFgNRDYwbQuAnEQpfeMgnNC8Xj/ztY2vIKXynVooAb +eGswv2C1qrhTHSFRLfgyd3wXJJa6gdwYJ7o4qF9mSlYyHpXJ3nLo222laBannkEVtv6 IexTnwIr4VLF/YML7GiaYAZeD/zb0igHPSbJjMIJ4T6+3pIFMNzckXnwZOvdMXOmTt8H O2+Ddd98uYcl9SG0uCytTvvgNssgF+Nkr+2YyU+0MhsHO5gcg2SeIVFSIDu0NrpjftuY IBDwdnqBaUysO95pYZEmhhd13LFsi9+QJKEgeXfaAlSzxTpDWXIXrgBxWVvAIcAi58r6 dckA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=SAME1HQB; 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 95si3719836edq.244.2019.11.14.03.04.11; Thu, 14 Nov 2019 03:04:38 -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=SAME1HQB; 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 S1725977AbfKNLDB (ORCPT + 99 others); Thu, 14 Nov 2019 06:03:01 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:35121 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726142AbfKNLDA (ORCPT ); Thu, 14 Nov 2019 06:03:00 -0500 Received: by mail-lf1-f67.google.com with SMTP id i26so4718557lfl.2 for ; Thu, 14 Nov 2019 03:02:58 -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=SAME1HQB5rY5pUNyNZsdPmdctskGsxNP86PGXuOQvqwHZitiEqwgM65CFboMlUfOo7 Gze5msi1z8T9q8JRe5/BrQDm8YBynytpYR6QM5e8fYB/UknphcTyNeBUHn54xd8JiffI yHJWSOWGah1xzsTPJCxnZENQecaEXAsjxr/pk= 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=J/0rTnGtcQAvgULwWNoQacOA7qcZxsnxBUZ9kO/yzRNDXCI3Z55ZzafZNU7suQTImw 3tAL8gstWGegKaujZIggiVzvDK1C2eyKPf+8QaKUo2jYfux1BZdnfb2TjEYCTBfb7u/f QjaU1V56iSESbyvbx/2icP6AzTDc4KoKrwSR4V1VoVXFZnsnaOm1gGXaxaHVtOetY3vh ISeZu5somytGM+893D51D07XgRuOwQDo7sSPnTXJioKZ8sujn0+dEszIpUcLhRZaLvDp qK2sNytcS3Kkfm5EfuFINBYH4YRn7+jjzTTlzdHTmPQixBgRgeQHeojwQEawo8CjpuCC wQnw== X-Gm-Message-State: APjAAAXeG1kAfLbxIlP34U+LLUNHjY6HRX0bKxQJag/M5Au2EmNIJ3Sq u6jViWdozgtRMLszEm7NLNlZAw== X-Received: by 2002:a19:ee17:: with SMTP id g23mr6353744lfb.121.1573729378062; Thu, 14 Nov 2019 03:02:58 -0800 (PST) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id x5sm2498795lfg.71.2019.11.14.03.02.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2019 03:02:57 -0800 (PST) From: Rasmus Villemoes To: Shawn Guo , Li Yang , Rob Herring , Mark Rutland Cc: Vladimir Oltean , Marc Zyngier , netdev@vger.kernel.org, Andrew Lunn , Rasmus Villemoes , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] ARM: dts: ls1021a: add node describing external interrupt lines Date: Thu, 14 Nov 2019 12:02:52 +0100 Message-Id: <20191114110254.32171-2-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191114110254.32171-1-linux@rasmusvillemoes.dk> References: <20191114110254.32171-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