Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2785593imw; Wed, 6 Jul 2022 11:43:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vi6FJfJupfgA87sqlHqZa8Sak3MOcySxdsKsmfKIlP/bqSRoMFldhOiQvfxjetP2wuwEsl X-Received: by 2002:a17:907:a059:b0:72a:c7a2:7249 with SMTP id gz25-20020a170907a05900b0072ac7a27249mr17120469ejc.690.1657132993951; Wed, 06 Jul 2022 11:43:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657132993; cv=none; d=google.com; s=arc-20160816; b=zWOYyN2Y5wWND0792TfJa6s/zCcJp8AEpPlM6gWl2whk7Z5N8YajoIAxJI9LvILuvD I3ZMpqx4LhGiyISDx/h350RykJK0xkRNU8Sk879Iw829o7bJrTPhuHCBU8aBWB3tY2Ak t2RRNUxQvan2ZN/R2j4N66mEij43WOgQPEXbbyRPG1kJ3w+KHxj/qcR/hoG0nlNlRZob LkQ5xWUR/X03eOZJrUwF36XqFUdBSHzM8jmNE6a70kCAisb2R302nOWOKblC3fey0g/k u8WmWhN2kNVepRlS9zQN6EyTw/JxwAuONVCiznDPhTAi4M5HlnfJKE+wmx4K3Npug7Ez h1AQ== 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=67qPOA3h301ZhD1f/tt1oXpCP/6nHpDCQF2vNq76tvo=; b=0dmhzaoDKWvWMk1vqVkjmwS9THG9PLVfcSKtAErygXQeN2FDO5otVIfTsrC+HQ14lx 4LRKy8aJsascvZXNKyr/hoZ9hAMVvZy78sLSm1iN0S3rcmxxcIv+Z+5ue/ktgyaeMmO3 67naeavRj3FeQV/54IOC2GSz2aVlsOcZ6MBKrL6D8w3ePIct5Vpmp5LjQu3mfDI5WssS NQH/XK2cv97UaFFSYwGnoWIhPV0uT/Tfbdz64Ghz29Z66/fxCJZOwiXbqLYlbvLdbnj8 HxiGCDf1t2KrXQ3LzHBmxIoJ4+YZt/6qpdcs0t5BE1miZRR1Q3EmGe1/R/ELeWknd1iI zFOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O0lXWCXv; 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 cs13-20020a170906dc8d00b0072ab62adfe9si4905324ejc.237.2022.07.06.11.42.48; Wed, 06 Jul 2022 11:43:13 -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=O0lXWCXv; 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 S234568AbiGFSfC (ORCPT + 99 others); Wed, 6 Jul 2022 14:35:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234190AbiGFSex (ORCPT ); Wed, 6 Jul 2022 14:34:53 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B840D220D3; Wed, 6 Jul 2022 11:34:52 -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 ams.source.kernel.org (Postfix) with ESMTPS id 55397B81E8A; Wed, 6 Jul 2022 18:34:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5C1BC341D2; Wed, 6 Jul 2022 18:34:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657132490; bh=6emB0shZlqkchDlQ5/5uGI3aqBajl0+i59MWBCmXheY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=O0lXWCXvPsAiXdqh83oHQQwIt9N95gR+Ux321VGt8KfEB0AZoXKmBVtM4mMqkhakp 5hQcNttUGRnj19PvWycBIBffKERViuuDFlv83wMpHAwGPp9oZ3JcAWjs5DdSK7SWoO IDI5vnc9sMvcj5GrCNrNdDS1H2NWUSRr97Hn6/vp+JDC3UYz4s+RXcmGWdOP7T7J4F bU2nW7TiwLkbrCmKzx3zxNdC+MJj5kzGRd94XDXaENdywxVgrY4Z2gaPnpScjyQw9/ +tMaKm3qZIdYmA4mWacpWeT6hDpSParlPxc64JceUKIo9bQbRtQ73gOv5AtGpfTzbk OMicIJdhz4q5w== Received: by pali.im (Postfix) id 60885821; Wed, 6 Jul 2022 20:34:47 +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 02/11] ARM: dts: dove: Add definitions for PCIe legacy INTx interrupts Date: Wed, 6 Jul 2022 20:31:05 +0200 Message-Id: <20220706183114.30783-3-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/dove.dtsi | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi index 89e0bdaf3a85..96ba47c061a7 100644 --- a/arch/arm/boot/dts/dove.dtsi +++ b/arch/arm/boot/dts/dove.dtsi @@ -122,8 +122,18 @@ bus-range = <0x00 0xff>; #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &intc 16>; + interrupt-names = "intx"; + interrupts = <16>; + 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>; + + pcie0_intc: interrupt-controller { + interrupt-controller; + #interrupt-cells = <1>; + }; }; pcie1: pcie@2 { @@ -141,8 +151,18 @@ bus-range = <0x00 0xff>; #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &intc 18>; + interrupt-names = "intx"; + interrupts = <18>; + 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>; + + pcie1_intc: interrupt-controller { + interrupt-controller; + #interrupt-cells = <1>; + }; }; }; -- 2.20.1