Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp232483pxb; Mon, 13 Sep 2021 17:52:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwxiUsDEUKrJ+Wh6LINZbcvEGsAK+HQ90svIDvunuFYXM4chuBfgGluXXiojQ7WQx1UbuI X-Received: by 2002:a17:907:2717:: with SMTP id w23mr15921033ejk.283.1631580740774; Mon, 13 Sep 2021 17:52:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631580740; cv=none; d=google.com; s=arc-20160816; b=DqGPJA/YMcO+a1PoBWyO46bOCfnDrHW4vJMadzBNTMq33n9Nmzo7+NyoDt5x3cCVIg txxA1lks1+52+R3pg+VOY0vF9pN65q/nTxAW9ahQxxkDomk23ef5Tp50a6PDHDwQveJ3 5r+rZtr2rUr2WbgT+opWhmBIwUZQ24fUhI4wJw+eEThxh41LrWdxhaH8WwFj6KcNUsAD tsqnEIRjBiyCsfLi9VOHxv4SfKpp/MGpkLtLu23cA2QH2alwp4Vs/wp9CkBhrfr2z0rs znrqdbzzXm4m7GU+lSD78YwOn/e8Ce271/ix+fbnloMfrBSf7f66L8Cv66X2149d2su7 Ot6A== 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; bh=1NFcGRM+amJUyABDY1BYVpm0jO0Rhb0mCbuZv9no7z0=; b=HC3vK90JebFgyFgi3blUUTHE3jXCkArA58nlYzdq/R85UBUkjivBW1U+Q+X7+UvQIa 36bvr2DWroSbHg0WuY6OIze0briyBKuIcc55e3SgO9DcEMYOzio5ZRbuiV+rcH/7TXDi 7Vqzyf50OxHhncy8+EB/dgsBcd/NYipy4N6iGZm71I9eyIpDQsztkKDjOkUZgbx4J2mY XVA7rpLPGHU6XRsrLg4OOxdtbt2sON+p1TzUETbpOCn3MhkJZC4ptT0Eck7htuujCYeJ i48d64a2UMgtZQQi8BRJN7XwapI0Bs+IWLqvXtaqUnar3Nb6N/O4K9dE/VH0NJxsPnHG 6e+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 18si9014594ejj.568.2021.09.13.17.51.57; Mon, 13 Sep 2021 17:52:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1347117AbhIMS1i (ORCPT + 99 others); Mon, 13 Sep 2021 14:27:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:59902 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239404AbhIMS1Z (ORCPT ); Mon, 13 Sep 2021 14:27:25 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 68EFF60F46; Mon, 13 Sep 2021 18:26:09 +0000 (UTC) Received: from [198.52.44.129] (helo=wait-a-minute.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mPqed-00AYPD-Nl; Mon, 13 Sep 2021 19:26:07 +0100 From: Marc Zyngier To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Cc: Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Alyssa Rosenzweig , Stan Skowronek , Mark Kettenis , Sven Peter , Hector Martin , Robin Murphy , kernel-team@android.com Subject: [PATCH v3 07/10] arm64: apple: t8103: Add root port interrupt routing Date: Mon, 13 Sep 2021 19:25:47 +0100 Message-Id: <20210913182550.264165-8-maz@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913182550.264165-1-maz@kernel.org> References: <20210913182550.264165-1-maz@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 198.52.44.129 X-SA-Exim-Rcpt-To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, bhelgaas@google.com, robh+dt@kernel.org, lorenzo.pieralisi@arm.com, kw@linux.com, alyssa@rosenzweig.io, stan@corellium.com, kettenis@openbsd.org, sven@svenpeter.dev, marcan@marcan.st, Robin.Murphy@arm.com, kernel-team@android.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the interrupt-map properties that are required for INTx signalling. Signed-off-by: Marc Zyngier --- arch/arm64/boot/dts/apple/t8103.dtsi | 33 +++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/apple/t8103.dtsi b/arch/arm64/boot/dts/apple/t8103.dtsi index 0d2872d9b2d0..8e1f24c3f41f 100644 --- a/arch/arm64/boot/dts/apple/t8103.dtsi +++ b/arch/arm64/boot/dts/apple/t8103.dtsi @@ -382,7 +382,7 @@ pcie0: pcie@690000000 { pinctrl-0 = <&pcie_pins>; pinctrl-names = "default"; - pci@0,0 { + port00: pci@0,0 { device_type = "pci"; reg = <0x0 0x0 0x0 0x0 0x0>; reset-gpios = <&pinctrl_ap 152 0>; @@ -391,9 +391,18 @@ pci@0,0 { #address-cells = <3>; #size-cells = <2>; ranges; + + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &port00 0 0 0 0>, + <0 0 0 2 &port00 0 0 0 1>, + <0 0 0 3 &port00 0 0 0 2>, + <0 0 0 4 &port00 0 0 0 3>; }; - pci@1,0 { + port01: pci@1,0 { device_type = "pci"; reg = <0x800 0x0 0x0 0x0 0x0>; reset-gpios = <&pinctrl_ap 153 0>; @@ -402,9 +411,18 @@ pci@1,0 { #address-cells = <3>; #size-cells = <2>; ranges; + + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &port01 0 0 0 0>, + <0 0 0 2 &port01 0 0 0 1>, + <0 0 0 3 &port01 0 0 0 2>, + <0 0 0 4 &port01 0 0 0 3>; }; - pci@2,0 { + port02: pci@2,0 { device_type = "pci"; reg = <0x1000 0x0 0x0 0x0 0x0>; reset-gpios = <&pinctrl_ap 33 0>; @@ -413,6 +431,15 @@ pci@2,0 { #address-cells = <3>; #size-cells = <2>; ranges; + + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &port02 0 0 0 0>, + <0 0 0 2 &port02 0 0 0 1>, + <0 0 0 3 &port02 0 0 0 2>, + <0 0 0 4 &port02 0 0 0 3>; }; }; }; -- 2.30.2