Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2783628imw; Wed, 6 Jul 2022 11:40:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1scRQ00oaniKRuzIpyK8Mi8fKc9M6BC5YhpFwfz4AiPJRGcjwquy74f0RGLniJBOCVNjfF1 X-Received: by 2002:a05:6402:5192:b0:435:b3c3:af89 with SMTP id q18-20020a056402519200b00435b3c3af89mr55905519edd.390.1657132840424; Wed, 06 Jul 2022 11:40:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657132840; cv=none; d=google.com; s=arc-20160816; b=RSCJUr0RhjofrDF9p0+7Th8JPp/Q9fQJuUYw5lr5V++276+08+PnwBlhUpS7teBcFa 88gIJxwXviQvQXFcrSWcrQFwfDEKeEuOHLfBR8Ex0o6a5Sc+14yImaP2in59SV5ahZax rZ0rVNoqwh+FcJsVwL/K5tMbqb/HZCNroqzrcZ0tt9s/2dGmiEbo+/iao986wspIJxOd RaL2Qsq2/FkNuMxYBidkJmKpZMYwPQhrQvwht9bEKxlKI3oVFMYxkNMB/T/svAyM0t9H +lhW8sJmGpXhCL3dZrFNMLjUXnWI5EGy4+RVBape4PF9Qlv0rRkoKhlneV71YZdDL/WQ X1CQ== 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=ZeCeF2AeGkdruCZIdhDLo0+dxkhbmrSIqFJ67lasSR4=; b=KE4Cr2u6+ReaqX9FyGNdxuXQD+hPVcgtr/F6eCrKDl4nr5gexPax0sVaou8fBr7pZA gBecXI8TIwhfnxYFdfgVlJ7kYb/nhos0IpDJJ+35UEjLJf7kFpO2Ao4b9GW0RYH7oNZs F8vj6yNaiMQdqMIcMcJMI/E5Yj8sYskqePCzunkXEfFXNw1WVYVz8RprSe79UMvDmFuA Y2oidysVKi0kkxTU4qWw0Jj1Dd+l1qp0ZpyJ+7mdoi1ok/8/3Po2lelbum9squAt7Yu2 UoqFOLeoLcSqJiQCvUAcDSYm3UP63xjzyXxukX148rITFP7QFDA2GmlsjPrFYUE8tqBI yFPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="n2JVBR/e"; 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 d6-20020a50cd46000000b004396de7fe60si17994399edj.270.2022.07.06.11.40.14; Wed, 06 Jul 2022 11:40:40 -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="n2JVBR/e"; 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 S234521AbiGFSe4 (ORCPT + 99 others); Wed, 6 Jul 2022 14:34:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234243AbiGFSex (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 4C5CB2183C; 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 06000B81E50; Wed, 6 Jul 2022 18:34:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95CDDC3411C; 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=1657132489; bh=0kaDjFlQpaNPpt/jh7oUp7rSYdbsRMWmer7H8Dsx7kY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n2JVBR/edIuG4wlNIPvpHW2OjjhjdxQ8KL9dhhkTOd2laihACA10QNuruugSTBslh e/LdrVmC3suWghwAabxo8NWZZFXkApNCHW/2wzuRMxyo8kHC70FrWCHvWn+vWnAblh 1zGDA6HFFACxjwlum2kC29TKVMvTNiHCCs5fo9T7TyoDhVrUZJ9/Hk0+/o+B3ZjKko mIq/9otsHVa4H0rPubAgQHJ34Y+uuSlL7/zVPOQBBeiL8XGSjUWKyAIRL9QIMNDYS0 MG72Moug/1Wl8UuH0Ez+s6HB07EzBXg8m1Hei9UUGy2Hu7OlIkemG2k7rfM7z7lzsm pbPwR343fKZ0Q== Received: by pali.im (Postfix) id 4B7867BA; Wed, 6 Jul 2022 20:34:49 +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 04/11] ARM: dts: armada-xp-98dx3236.dtsi: Add definitions for PCIe legacy INTx interrupts Date: Wed, 6 Jul 2022 20:31:07 +0200 Message-Id: <20220706183114.30783-5-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-xp-98dx3236.dtsi | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi index 38a052a0312d..b21ffb819b1d 100644 --- a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi +++ b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi @@ -76,16 +76,26 @@ reg = <0x0800 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; + interrupt-names = "intx"; + interrupts-extended = <&mpic 58>; #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 &mpic 58>; + 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 = <0>; clocks = <&gateclk 5>; status = "disabled"; + + pcie1_intc: interrupt-controller { + interrupt-controller; + #interrupt-cells = <1>; + }; }; }; -- 2.20.1