Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp906487ybl; Mon, 2 Dec 2019 20:58:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzCVDeRNTWFohwi+NgjWmh2xnZJvYC2aHM19JsWOQ4WHqBYn9fK0XCtWmwujwyFGsoLrUhW X-Received: by 2002:aca:ad47:: with SMTP id w68mr2170619oie.63.1575349119602; Mon, 02 Dec 2019 20:58:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575349119; cv=none; d=google.com; s=arc-20160816; b=NbutceA6F0SyCNLYNRVGws0SQ2zox7np3utuOiU6LElpbCfO5B2fkBKIqR7ADrGgPY ziawMUib0CavSQxeITr/scOgnlrlrf2Etx7MUnyUPtrdX1AGYGyW1koh+NLz2hSPqntx EE3NafG0nBzaAAlQ/nUFjvfJYI/FE5ntPSygmtNSbbmaXp05vfNbGVgHub02O7/WZOeS 0oOxM5+TFiZie2tG2Hb16m5vAs79ZuN7Ms6zAcT5IcCy1Zzl+ZyisvV3My9PmnGR2CVe M2XtXwYRn96C6ebQsPUi3DxNdsX4BSeLFaFOiQkGfAUBIuofA5k5QgdZUVa386LoYCPv Rzpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=csAZpz1aDlZN19GUotv3truaMbqTwx/sneZlPvFv09g=; b=g99fvQuUFu/fcFEFcJNqncbKAIoVIjbzLCTJV8CpBqB5HTuMAqYrv5PsTFzK+7w+x8 z5+1VWHkkocuVOb3lqN0nenw6gaYPZ+tDkjYT1g0OFEkDM/+mKrUPDzHLv2udcljy3ZG v4cvs9tGumEA/I4sw5Xf+41h5nx6Rf44J4Lkijw6P4qpvar9dTfU2D/tBGKnXHOlUFen niRqCvwrobeHHMClscNH7SGWDkgPSPk/QFo2cSOb1ZZ4ko42GhslODWhEUPmBUP8Zujg /uxyPJryT3uEUrjnn8gofBMx54o7GRjDxrmJ87iHq5m/hgXOKNVbhmwRuwqK5N5+Cra0 MWNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=DsnYNBcD; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l9si107562otn.301.2019.12.02.20.58.27; Mon, 02 Dec 2019 20:58:39 -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=@broadcom.com header.s=google header.b=DsnYNBcD; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727194AbfLCE5t (ORCPT + 99 others); Mon, 2 Dec 2019 23:57:49 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:37162 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727184AbfLCE5r (ORCPT ); Mon, 2 Dec 2019 23:57:47 -0500 Received: by mail-wr1-f67.google.com with SMTP id w15so1989038wru.4 for ; Mon, 02 Dec 2019 20:57:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=csAZpz1aDlZN19GUotv3truaMbqTwx/sneZlPvFv09g=; b=DsnYNBcDcy1taP30XJlBdVsFPL9jy6RWNpzX75AhPfWYul/QuFpfbVqYYO7c66IzfP kyY/KyskIGSRnqXWce5CCqlkjNwJIYwXz7rKuk9b4A/olAGgf0/qfCwpLiCkoX/oGZhz upNdFy7UpTbABhu+Ov0An7o2hpbS3L38a1gkw= 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; bh=csAZpz1aDlZN19GUotv3truaMbqTwx/sneZlPvFv09g=; b=iTdUvtveooZky1dGZQXYmwAF7zfdQWThKaRhBnkioCpuq3pYXBMJcqdwcfXDv4FA2m wpg3ZD3emCvKg1uwq47O4PrS1wWPDFNJwfsduz9h8VZjftQ7076aEml2QqpC4WI4wkLp jx6bbWRhtddRXNx2++nqjZ8kUzPja7nKNqAsviEUi7GcHvWf6js6afdym8sWm69rlMjz VmBdkyY5JzJhGr/JkM+48M5h1huR4uNe1uSpJ3aO3izmke2E6gYA8vtaDZpn7hcBIMjY Odz9FIpkCjNfEjLAd/9wbljySdGN+e/YUjGxdWZSdj6Kx9QNENO7MxiGNBpAKDIMCxVN umAA== X-Gm-Message-State: APjAAAVTAFkYsv6iSgoF4+h7ShU2q+xIabW0pdd2WOQq+yhzF+oWhKvk oxgI0bOoEXWRhMX5IRdr4vuQcA== X-Received: by 2002:a5d:46d0:: with SMTP id g16mr2930329wrs.287.1575349066068; Mon, 02 Dec 2019 20:57:46 -0800 (PST) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id k4sm1667807wmk.26.2019.12.02.20.57.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Dec 2019 20:57:45 -0800 (PST) From: Srinath Mannam To: Lorenzo Pieralisi , Bjorn Helgaas , Florian Fainelli , Ray Jui , Rob Herring , Mark Rutland , Andy Shevchenko , Arnd Bergmann Cc: bcm-kernel-feedback-list@broadcom.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ray Jui , Srinath Mannam Subject: [PATCH v3 3/6] arm: dts: Change PCIe INTx mapping for Cygnus Date: Tue, 3 Dec 2019 10:27:03 +0530 Message-Id: <1575349026-8743-4-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1575349026-8743-1-git-send-email-srinath.mannam@broadcom.com> References: <1575349026-8743-1-git-send-email-srinath.mannam@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ray Jui Change the PCIe INTx mapping to model the 4 INTx interrupts in the IRQ domain of the iProc PCIe controller itself Signed-off-by: Ray Jui Signed-off-by: Srinath Mannam --- arch/arm/boot/dts/bcm-cygnus.dtsi | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index 2dac3ef..ca23e82 100644 --- a/arch/arm/boot/dts/bcm-cygnus.dtsi +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi @@ -264,8 +264,11 @@ reg = <0x18012000 0x1000>; #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &gic GIC_SPI 100 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>; linux,pci-domain = <0>; @@ -292,6 +295,14 @@ , ; }; + + pcie0_intc: interrupt-controller { + compatible = "brcm,iproc-intc"; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&gic>; + interrupts = ; + }; }; pcie1: pcie@18013000 { @@ -299,8 +310,11 @@ reg = <0x18013000 0x1000>; #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &gic GIC_SPI 106 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>; linux,pci-domain = <1>; @@ -327,6 +341,14 @@ , ; }; + + pcie1_intc: interrupt-controller { + compatible = "brcm,iproc-intc"; + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&gic>; + interrupts = ; + }; }; dma0: dma@18018000 { -- 2.7.4