Received: by 10.223.164.202 with SMTP id h10csp231230wrb; Tue, 14 Nov 2017 14:16:14 -0800 (PST) X-Google-Smtp-Source: AGs4zMYbeolGrwrx5lHMgODoi83a71YJB8IIl6aIH+EoJJjfptdjET7ApLq+b1ASiK/WXez9VZHU X-Received: by 10.98.217.17 with SMTP id s17mr15531528pfg.2.1510697774546; Tue, 14 Nov 2017 14:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510697774; cv=none; d=google.com; s=arc-20160816; b=REK9p6tBJVfaDxjw9bGVAKly69HvPkcl8Y126IpL67Bz9QMBmmrPWcgY6AXy16cauo Jneqp0ErTDA3odqOug1U4LfRDwy1t7UfJmeS/Bw5La1TCohgPeZj/h34aYalk3ngsNTB ekIacv+bzURaf81fXmbrWBBIDn4AQ8UzvOOZIOwY7RWqT02fClCj/e+5DiCcFUO844Gi R+3A8yH5HgTgM1HruvrszeI3SPkbg8a52A54DLiANTaKrSWYCpDAEkUah18lZPy202zh 5PPtSV856MAsmuH/OT/jvgybNJ24Bwv6QQaWt5tMOH6MG3Uv6AhVDdrNsefDCOMSACFb +MnA== 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:arc-authentication-results; bh=b62kud/cFuguevYkTShAjAY9HBqlWl9YVzgiwvLVPKI=; b=a0eMo9uMddAA8w/KOzxzTIXiFhAFR/EWWlk08ZLgWD5QGiuDuJgMklbubsPZmpCBh8 2ee/RHuPIgWmXTcYIV1leYnN/3LgNAFxhxWRmmO8sQsV6bRiv2cCZ/lBBSUpC+Pi3//N IFcuXGl++0J9PJaCK423/W7vCPK+6CLcZskPyojQ/1DKQeazcfTkQ2Dqpvc4Crm7coBy bEgiYVfWB+Z0F2YbuBV9UswTpV/wqH4WDyDYp9/1+5LZQOtVpQEiQkCI2epQ6bfqyiaY DIGxg0Im+a6yHVV0/dWR8dF0Cd5pAIELOxRe3tuz1KPJPh3nRtDCTiBYR9quxyusBLzC Pnlg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n61si4364966plb.221.2017.11.14.14.16.02; Tue, 14 Nov 2017 14:16:14 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757024AbdKNWNt (ORCPT + 87 others); Tue, 14 Nov 2017 17:13:49 -0500 Received: from rnd-relay.smtp.broadcom.com ([192.19.229.170]:58398 "EHLO rnd-relay.smtp.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756836AbdKNWNF (ORCPT ); Tue, 14 Nov 2017 17:13:05 -0500 Received: from mail-irv-17.broadcom.com (mail-irv-17.lvn.broadcom.net [10.75.224.233]) by rnd-relay.smtp.broadcom.com (Postfix) with ESMTP id F087630C049; Tue, 14 Nov 2017 14:13:03 -0800 (PST) Received: from stbsrv-and-3.and.broadcom.com (stbsrv-and-3.and.broadcom.com [10.28.16.21]) by mail-irv-17.broadcom.com (Postfix) with ESMTP id 5CEBE81EBA; Tue, 14 Nov 2017 14:13:01 -0800 (PST) From: Jim Quinlan To: linux-kernel@vger.kernel.org, Bjorn Helgaas , Catalin Marinas , Will Deacon , Rob Herring , Brian Norris , Russell King , Robin Murphy , Christoph Hellwig , Florian Fainelli , Jonas Gorski Cc: linux-pci@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Gregory Fong , Kevin Cernekee , Mark Rutland , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@linux-mips.org, Ralf Baechle , Jim Quinlan Subject: [PATCH v3 7/8] MIPS: BMIPS: Add PCI bindings for 7425, 7435 Date: Tue, 14 Nov 2017 17:12:11 -0500 Message-Id: <1510697532-32828-8-git-send-email-jim2101024@gmail.com> X-Mailer: git-send-email 1.9.0.138.g2de3478 In-Reply-To: <1510697532-32828-1-git-send-email-jim2101024@gmail.com> References: <1510697532-32828-1-git-send-email-jim2101024@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adds the PCIe nodes for the Broadcom STB PCIe root complex. Signed-off-by: Jim Quinlan --- arch/mips/boot/dts/brcm/bcm7425.dtsi | 26 ++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm7435.dtsi | 27 +++++++++++++++++++++++++++ arch/mips/boot/dts/brcm/bcm97425svmb.dts | 4 ++++ arch/mips/boot/dts/brcm/bcm97435svmb.dts | 4 ++++ 4 files changed, 61 insertions(+) diff --git a/arch/mips/boot/dts/brcm/bcm7425.dtsi b/arch/mips/boot/dts/brcm/bcm7425.dtsi index f56fb25..c7bd88b 100644 --- a/arch/mips/boot/dts/brcm/bcm7425.dtsi +++ b/arch/mips/boot/dts/brcm/bcm7425.dtsi @@ -494,4 +494,30 @@ status = "disabled"; }; }; + + pcie: pcie@10410000 { + reg = <0x10410000 0x830c>; + compatible = "brcm,bcm7425-pcie"; + interrupts = <37>, <37>; + interrupt-names = "pcie", "msi"; + interrupt-parent = <&periph_intc>; + #address-cells = <3>; + #size-cells = <2>; + linux,pci-domain = <0>; + brcm,enable-ssc; + bus-range = <0x00 0xff>; + msi-controller; + #interrupt-cells = <1>; + /* 4x128mb windows */ + ranges = <0x2000000 0x0 0xd0000000 0xd0000000 0 0x08000000>, + <0x2000000 0x0 0xd8000000 0xd8000000 0 0x08000000>, + <0x2000000 0x0 0xe0000000 0xe0000000 0 0x08000000>, + <0x2000000 0x0 0xe8000000 0xe8000000 0 0x08000000>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &periph_intc 33 + 0 0 0 2 &periph_intc 34 + 0 0 0 3 &periph_intc 35 + 0 0 0 4 &periph_intc 36>; + }; + }; diff --git a/arch/mips/boot/dts/brcm/bcm7435.dtsi b/arch/mips/boot/dts/brcm/bcm7435.dtsi index f2cead2..d321042 100644 --- a/arch/mips/boot/dts/brcm/bcm7435.dtsi +++ b/arch/mips/boot/dts/brcm/bcm7435.dtsi @@ -509,4 +509,31 @@ status = "disabled"; }; }; + + pcie: pcie@10410000 { + reg = <0x10410000 0x930c>; + interrupts = <0x27>, <0x27>; + interrupt-names = "pcie", "msi"; + interrupt-parent = <&periph_intc>; + compatible = "brcm,bcm7435-pcie"; + #address-cells = <3>; + #size-cells = <2>; + linux,pci-domain = <0>; + brcm,enable-ssc; + bus-range = <0x00 0xff>; + msi-controller; + #interrupt-cells = <1>; + /* 4x128mb windows */ + ranges = <0x2000000 0x0 0xd0000000 0xd0000000 0 0x08000000>, + <0x2000000 0x0 0xd8000000 0xd8000000 0 0x08000000>, + <0x2000000 0x0 0xe0000000 0xe0000000 0 0x08000000>, + <0x2000000 0x0 0xe8000000 0xe8000000 0 0x08000000>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &periph_intc 35 + 0 0 0 2 &periph_intc 36 + 0 0 0 3 &periph_intc 37 + 0 0 0 4 &periph_intc 38>; + status = "disabled"; + }; + }; diff --git a/arch/mips/boot/dts/brcm/bcm97425svmb.dts b/arch/mips/boot/dts/brcm/bcm97425svmb.dts index 73aa006..3a87ac5 100644 --- a/arch/mips/boot/dts/brcm/bcm97425svmb.dts +++ b/arch/mips/boot/dts/brcm/bcm97425svmb.dts @@ -143,3 +143,7 @@ &mspi { status = "okay"; }; + +&pcie { + status = "okay"; +}; diff --git a/arch/mips/boot/dts/brcm/bcm97435svmb.dts b/arch/mips/boot/dts/brcm/bcm97435svmb.dts index 0a915f3..456d024 100644 --- a/arch/mips/boot/dts/brcm/bcm97435svmb.dts +++ b/arch/mips/boot/dts/brcm/bcm97435svmb.dts @@ -119,3 +119,7 @@ &mspi { status = "okay"; }; + +&pcie { + status = "okay"; +}; -- 1.9.0.138.g2de3478 From 1584046819401646784@xxx Tue Nov 14 13:06:07 +0000 2017 X-GM-THRID: 1584028494691358052 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread