Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2784238imw; Wed, 6 Jul 2022 11:41:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tw7hMXz8+alSPf9Q977zo4XJ4tFTkXRFIy7je4L3OFOJeA6euYMgpnY95J+UsV3Tg1CyWA X-Received: by 2002:a17:907:8c05:b0:726:2a09:c951 with SMTP id ta5-20020a1709078c0500b007262a09c951mr40553024ejc.143.1657132888454; Wed, 06 Jul 2022 11:41:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657132888; cv=none; d=google.com; s=arc-20160816; b=lgBN0MaltZFqcqWrXkF9HnR/3HA2ScgQZDiOV7sKCvlgWr3UdTy8sWzTx/eJqVmQj8 f9t8G/GJ0IVlkj4GIROq13OO61ohBEA/oB2Sm+IjFutFoGeuozKIcqheo64sMFyZnGP+ 7hW2Jve4+BM5loa7BHdAh/BTKGdUFjhcZ+K6paFSJgAsN4BXJHeOCd+ubvwyxyGZg90s cWg9ij7PwLTN0g1kiCWVJAzSGsCXSL9IpdMXxZUwMtfx+G5nUQk8h9lPEY/56p34yR94 cMGfKPUahv3FkjdXOqmxNLAriyPvroqSoRSyHft6pCozUEB+SMkZBBKZ6uG8LBA8DHj7 I/pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kjSAHw1nR/m7vpc67PHiMLN9QtxORga9eScMFNYJ5dU=; b=RiYtIIukG19PZUB2UHoPaZfFGMPdukBnaK9ZUjPtEhsDCW5CVZSAkyQK68lfy+TyUa 3r9/m0GlWaR6lonqT9pgzUZoOQfiipjcjPO/2+vclaHQ214ZfpwMxW+XkyDY+yTq184P 0NLAkRYaDI3M/p3WBIs9PbjGQ3zRMI6TT0gJ0nwRyhI8Q6CVDVcuJuE3y42YejZybkkt VaicJlD92r0NkmDuaSs7IR2AiIEft79ew0YBLdqBnirar0CwcJtM76mN+lLWYhXs6He7 jGSQb0UwYS2lrIivK97r3lOX65DLKxMobqH9A5QbJI1XDg+5TVVd53plOFVYiV6UZsHm EwnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lB2PE5oG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cx19-20020a05640222b300b0043a7cdfac47si5565837edb.251.2022.07.06.11.41.03; Wed, 06 Jul 2022 11:41:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lB2PE5oG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234642AbiGFSfP (ORCPT + 99 others); Wed, 6 Jul 2022 14:35:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234531AbiGFSe5 (ORCPT ); Wed, 6 Jul 2022 14:34:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 918A41EC65; Wed, 6 Jul 2022 11:34:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 306B26202D; Wed, 6 Jul 2022 18:34:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D2A9C341CD; Wed, 6 Jul 2022 18:34:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657132493; bh=s0lSRIcjvOfwP4Cp805NU2rBzxJct6jJPyOlVilwJek=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lB2PE5oG0KEqXmZem862TOYenNlWm816WPHd7CtPDidevAi4+2oJ9yXqF402Ybytb mnbc0ae6MRDtIZQG/2eO5GuB9D4Zb0xEZHvNMnX6I+yEoXB3TZxrgQFqKI52NmZWFk 3A/WUXBYnBex6jBftFB3nVDcJUvmS951/gDbJzDEiWozuY/254cZvyZPSvgs+W6lpN +gq3CtJB3exTaYTzPdTcUEKXji7VOCWypWwLZT4w93o6NufxQLcD3wpDfRzH+1KP+g GVnZIwo+cRDmXI4nU6dT0+5HYlI6CgPQIGbzMqmFvztxVecFPMz3v++cbVrbFeyudL MX05B8KG0YAmw== Received: by pali.im (Postfix) id 268A67BA; Wed, 6 Jul 2022 20:34:53 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , =?UTF-8?q?Marek=20Beh=C3=BAn?= Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/11] ARM: dts: armada-375.dtsi: Add definitions for PCIe legacy INTx interrupts Date: Wed, 6 Jul 2022 20:31:11 +0200 Message-Id: <20220706183114.30783-9-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220706183114.30783-1-pali@kernel.org> References: <20220706183114.30783-1-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Pali Rohár --- arch/arm/boot/dts/armada-375.dtsi | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi index 7f2f24a29e6c..929deaf312a5 100644 --- a/arch/arm/boot/dts/armada-375.dtsi +++ b/arch/arm/boot/dts/armada-375.dtsi @@ -568,16 +568,26 @@ reg = <0x0800 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; + interrupt-names = "intx"; + interrupts-extended = <&gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; #interrupt-cells = <1>; ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0 0x81000000 0 0 0x81000000 0x1 0 1 0>; bus-range = <0x00 0xff>; - interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &gic GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &pcie0_intc 0>, + <0 0 0 2 &pcie0_intc 1>, + <0 0 0 3 &pcie0_intc 2>, + <0 0 0 4 &pcie0_intc 3>; marvell,pcie-port = <0>; marvell,pcie-lane = <0>; clocks = <&gateclk 5>; status = "disabled"; + + pcie0_intc: interrupt-controller { + interrupt-controller; + #interrupt-cells = <1>; + }; }; pcie1: pcie@2,0 { @@ -586,16 +596,26 @@ reg = <0x1000 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; + interrupt-names = "intx"; + interrupts-extended = <&gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; #interrupt-cells = <1>; ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0 0x81000000 0 0 0x81000000 0x2 0 1 0>; bus-range = <0x00 0xff>; - interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &gic GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &pcie1_intc 0>, + <0 0 0 2 &pcie1_intc 1>, + <0 0 0 3 &pcie1_intc 2>, + <0 0 0 4 &pcie1_intc 3>; marvell,pcie-port = <0>; marvell,pcie-lane = <1>; clocks = <&gateclk 6>; status = "disabled"; + + pcie1_intc: interrupt-controller { + interrupt-controller; + #interrupt-cells = <1>; + }; }; }; -- 2.20.1