From patchwork Mon Nov 28 19:31:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 9450125 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5D8006074E for ; Mon, 28 Nov 2016 19:34:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4BF942684F for ; Mon, 28 Nov 2016 19:34:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 40A3527FA8; Mon, 28 Nov 2016 19:34:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C79132684F for ; Mon, 28 Nov 2016 19:34:01 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBRfN-0003dN-L8; Mon, 28 Nov 2016 19:32:41 +0000 Received: from mail-pg0-x22b.google.com ([2607:f8b0:400e:c05::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBRem-0003WU-7x for linux-arm-kernel@lists.infradead.org; Mon, 28 Nov 2016 19:32:05 +0000 Received: by mail-pg0-x22b.google.com with SMTP id p66so60049410pga.2 for ; Mon, 28 Nov 2016 11:31:43 -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=YE022lz/xgV55xtb0USKyhM0OcK5ooAmTUa6cgorniw=; b=KaSmguUWQs0DSZfpCQLWktDxM+b4TvGOzzn1zUNC4BaWEGbM5zMlfFhHJzjUdhUo4c T5poSfRLM84zBt2RW6wyPJ4gHxBLIzQeOPmQk+tF0oEqJBpcSgJwdwKMgW2BmBG2EkOj JLna6/kc/GjMv5Sxlg73blyuDZssJBqKDmYiE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YE022lz/xgV55xtb0USKyhM0OcK5ooAmTUa6cgorniw=; b=LjhPoLYHTiY+JpJgoQJ7RZMU7e+tCZVMLUbacwNQkVjaoNSO7BaqUjbDI07IQNCe4c vkE0aLisB1i7pdPXRr1b3dSBHbByqKMXySpTVb3qvlVCbZ9lXTaV+JVUSV39hxzkx9rf xSc1tdZCWzhEm3SvozW+MH/2Edryf8MWdi7nR1ns/yBchwP0ecqF7izY7gbvEkJzy0m4 T+T74AKzeF5IlBLudH6gFijHzvyMwqjz2TG1geSm8Sjxa34q4ukRwLBBT/RErhFDjvns CWYtQSzno90k2Lrv08INgwc8W3/WlrbmYlwa5XHkIFwY7T3Fn6yAuSCFgO7dlLEgp/QW 9oCg== X-Gm-Message-State: AKaTC03lYUynCqiIjX09Ts4XopV9IQuAMFi4ZLsAEv92hiRHZWcbQFkjTjrw1pmjI7pOzxob X-Received: by 10.99.111.78 with SMTP id k75mr43191372pgc.114.1480361503174; Mon, 28 Nov 2016 11:31:43 -0800 (PST) Received: from venom.rtp.broadcom.com ([216.31.219.19]) by smtp.gmail.com with ESMTPSA id q2sm71303102pga.8.2016.11.28.11.31.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Nov 2016 11:31:42 -0800 (PST) From: Jon Mason To: Rob Herring , Mark Rutland , Florian Fainelli Subject: [PATCH 2/2] arm64: dts: NS2: enable PAXC on NS2 SVK Date: Mon, 28 Nov 2016 14:31:31 -0500 Message-Id: <1480361491-22221-3-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1480361491-22221-1-git-send-email-jon.mason@broadcom.com> References: <1480361491-22221-1-git-send-email-jon.mason@broadcom.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161128_113204_428554_5136C825 X-CRM114-Status: GOOD ( 10.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ray Jui MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This enables the PAXC based PCIe root complex on NS2 SVK. The PAXC based root complex is connected to internally emulated PCIe endpoints Signed-off-by: Ray Jui Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2-svk.dts | 4 ++++ arch/arm64/boot/dts/broadcom/ns2.dtsi | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/ns2-svk.dts b/arch/arm64/boot/dts/broadcom/ns2-svk.dts index de8d379..5ae0816 100644 --- a/arch/arm64/boot/dts/broadcom/ns2-svk.dts +++ b/arch/arm64/boot/dts/broadcom/ns2-svk.dts @@ -76,6 +76,10 @@ status = "ok"; }; +&pcie8 { + status = "ok"; +}; + &i2c0 { status = "ok"; }; diff --git a/arch/arm64/boot/dts/broadcom/ns2.dtsi b/arch/arm64/boot/dts/broadcom/ns2.dtsi index 69775a8..96ed47b 100644 --- a/arch/arm64/boot/dts/broadcom/ns2.dtsi +++ b/arch/arm64/boot/dts/broadcom/ns2.dtsi @@ -169,6 +169,23 @@ msi-parent = <&v2m0>; }; + pcie8: pcie@60c00000 { + compatible = "brcm,iproc-pcie-paxc"; + reg = <0 0x60c00000 0 0x1000>; + linux,pci-domain = <8>; + + bus-range = <0x0 0x1>; + + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + ranges = <0x83000000 0 0x00000000 0 0x60000000 0 0x00c00000>; + + status = "disabled"; + + msi-parent = <&v2m0>; + }; + soc: soc { compatible = "simple-bus"; #address-cells = <1>;