Received: by 10.223.185.111 with SMTP id b44csp391234wrg; Fri, 9 Mar 2018 06:45:41 -0800 (PST) X-Google-Smtp-Source: AG47ELvORIhxlfKUHsol1Guufb8weP1ezQzjr/eJWwdg/TlB/M1QgRF5kZdRiK9Tar/THAfwcOl1 X-Received: by 2002:a17:902:2b84:: with SMTP id l4-v6mr28175729plb.338.1520606740979; Fri, 09 Mar 2018 06:45:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520606740; cv=none; d=google.com; s=arc-20160816; b=wbxwBhwCvnlh9QkmXikh2Pv6K06sHXdT2uZ/4KqtxEYFJ60JGjsDuu95JLr1B8OrIl Wv0JYA3tRCYPxVfCfKck3AO3Mr/Tn33kY+K61SqupVP+4BKX7+BlYTVP9Ad/q5fNVi1r +58itsufoHrWhHB2lX8n9mHES5u+OJQ2mMjW6+TZ7JfXaEOiFpYrtf82N63fFmduABPo M+ce5/J6ZsVIv1i/E5i8sMMrsLuyfBFKFZd7kQty8leNcJrpE2yeczyRroM2b0pgGjKO oN6yrYkDmcNt20GT54NuFsRHskD/7sNMF/Xp+RYbHZVsR7nXIZ9l1TTeBcdRKjxaqjis bYDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=sPAbzSCBZiR3Xt3+lIuKZMEwGwcK2qOJR9lq71GqZsU=; b=jX+hWfSMrWzlpqPwHNxQ4TwKGVKWJhp+Xlf5fngt1xdgT/55ccCUMrEWYgu8CXkwBh qWBx9xN/F57r742eBg93p90li1mFUwX1gMYL5mv4kmBPk/kH3HGy+oZEPEIXz3pJTbfN qpUkdtSBKwXJfDVPO9uz4hB3liyYpeVOcMDCvrh7rRkr5Vopi7iLyF5JdMsVNj6/JSOL q+6StR63aUp8lHQpgCSOjX7XtLp0aBcyDZWib7oHBraecvzEQHICslBi+9CLtk7kZyQm C9L6GPdhxVlQ16jMXX2znwQmYeQqzQL7dJo+YIlU4YsPR7wB+QSrHt+WMxEbQWRBpeCm 9qTw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a2si818905pgd.452.2018.03.09.06.45.25; Fri, 09 Mar 2018 06:45:40 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932080AbeCIOoc (ORCPT + 99 others); Fri, 9 Mar 2018 09:44:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:42028 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751106AbeCIOo3 (ORCPT ); Fri, 9 Mar 2018 09:44:29 -0500 Received: from saruman (jahogan.plus.com [212.159.75.221]) (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 A858B206B2; Fri, 9 Mar 2018 14:44:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A858B206B2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jhogan@kernel.org Date: Fri, 9 Mar 2018 14:44:21 +0000 From: James Hogan To: Jim Quinlan Cc: 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 , Lorenzo Pieralisi , 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 Subject: Re: [PATCH v4 7/8] MIPS: BMIPS: Add PCI bindings for 7425, 7435 Message-ID: <20180309144420.GG24558@saruman> References: <1516058925-46522-1-git-send-email-jim2101024@gmail.com> <1516058925-46522-8-git-send-email-jim2101024@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="t4apE7yKrX2dGgJC" Content-Disposition: inline In-Reply-To: <1516058925-46522-8-git-send-email-jim2101024@gmail.com> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --t4apE7yKrX2dGgJC Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On Mon, Jan 15, 2018 at 06:28:44PM -0500, Jim Quinlan wrote: > diff --git a/arch/mips/boot/dts/brcm/bcm7425.dtsi b/arch/mips/boot/dts/brcm/bcm7425.dtsi > index e4fb9b6..02168d0 100644 > --- a/arch/mips/boot/dts/brcm/bcm7425.dtsi > +++ b/arch/mips/boot/dts/brcm/bcm7425.dtsi > @@ -495,4 +495,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>; no status = "disabled" like the other dtsi? > + }; > + > }; > diff --git a/arch/mips/boot/dts/brcm/bcm7435.dtsi b/arch/mips/boot/dts/brcm/bcm7435.dtsi > index 1484e89..84881224 100644 > --- a/arch/mips/boot/dts/brcm/bcm7435.dtsi > +++ b/arch/mips/boot/dts/brcm/bcm7435.dtsi > @@ -510,4 +510,31 @@ > status = "disabled"; > }; > }; > + > + pcie: pcie@10410000 { > + reg = <0x10410000 0x930c>; > + interrupts = <0x27>, <0x27>; > + interrupt-names = "pcie", "msi"; > + interrupt-parent = <&periph_intc>; > + compatible = "brcm,bcm7435-pcie"; Might be nice to be consistent in your property ordering between these two dtsi files. I for one would prefer compatible to be near the top too, if only for consistency with most other nodes in these files. > + #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"; > + }; > + > }; Cheers James --t4apE7yKrX2dGgJC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEd80NauSabkiESfLYbAtpk944dnoFAlqincQACgkQbAtpk944 dnr2hA/+P6w7+sOSZ5SEM19861JqBmRkXLy5Hd/18PMHGTennR09vEOJv9skH3oS CojTysqBeNHvupX9gQ48lCeccH2GNv4fExM8QZyKreEwli/gmCxJRTXeZmmO3aqO RUFpkIauu/whA/e8fxoEhUuX79wyNw+wqT0DHxpafPc66Aq+SBXXz8LINE+DaM+/ i4JGd0fY/1N48CieB1mFgOCkaTJ1F1ei7Jh+f6qeHKv6tNTx+LRnU0oKbGpybEJN kpY6BvodOgC/YL+tOiyyAASN90a7wS4vj0vxSkxbeKZp1fMF/3F5uA3J1FdJDd5X Ydqy3jFG3gggm7GhFUOeZPv1KogWt7PddWpoZnpu5GlIaE9Eb7ba0FMhb6+LPrx8 bj/rms88LosucmT5u/QvuGrIArBNyhAQPTFVner+gTfjHDvpB5iAG/RcZCCrRX9d sOMSmDorbfGs8t0m/k3HScl9d2ZQJPzRjL/YOJSuBpJQPGG+Cz4p0+5lr+zar0qQ BeZcwGCvv3VjFUg60flzbOBuiQ3KTvKFo52ssk7l/Tuq2cIW/vgVBvcbgFPu+GfT zeE1no/C1jT8EtJDipihJa1GmsfMs7Czi17nb03dljylkh7eXmKcsuwn4h95wskZ WzW46Mgkb98ZDrN9b1iH4TUe7IuNhhMFxjnVtfeudkt05TKyplo= =Z5Mn -----END PGP SIGNATURE----- --t4apE7yKrX2dGgJC--