Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6030992imu; Mon, 21 Jan 2019 01:52:14 -0800 (PST) X-Google-Smtp-Source: ALg8bN4Td8bORKYPYLwli5Bjc7UalvkX9jEa2E5Kdb4+s/szTjbqChMJLkDl8UdyUKlRh94RnXRO X-Received: by 2002:a63:6906:: with SMTP id e6mr27032260pgc.144.1548064334282; Mon, 21 Jan 2019 01:52:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548064334; cv=none; d=google.com; s=arc-20160816; b=FLdzOvbwtYavbfGGtRuxTsuNg0NDROrPWZUoHfPhmNKmrEgIWDk1CK/H0IOYu2EHOI fAWRmKwBRzN7GUGQTA2vMJyCls4PzQNkBqF0/mTaeIdwzlesLEhqu+S+Pm7rw1EYUoqm CUa2I8PEaXlOI4NEcFo8AWU99pHyaOl3rzam8YGlZyqDta0h15KAeFi2RwOyDNAUZNPZ RAQasV5RnC88rZBfICQVexRCK6ZHl2bn3AXdOUit7pO6yNHiAQpjrLAJBF+wew3QI27v 6hTLIxpHZDrcRSgynz20KZYXv2SU6qzZjSY3R0vcpph+8mxMZyFheNZjzH95axNZpYTG 0aEA== 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; bh=SS4LxLUGcCxprcztGRdzB9qGd5hRsXT8BouqweB9juc=; b=WlV/2/SQUCtGiWjf0GzUkNHQzKnVV85PIDFagW/TIy47NRgIZMKqMTGvQWB9AhiKbH gsEBLWdQrbT0KgDXqm2OhSYnxV/ZDkoHbUJyCrjBlP6OyO1lNCtNiTJPQIIx0PTaoLOt I6HBSb0mGuZ2qWcO6QAua7iPQKtPm92vSkKR0gxnkF2l7ZMxZnkSPgUTGbR+nwCqzTAa YQ+siJCjkC7pZL3+UA6oz4xDmnBhCW+UiO9OJKrf815wc77csHHWUO++0gTi1hXCOO32 yfS1uIJL1eggRbg5YtgnlzEvjKUvIUcdKQxL6piz8rNPCJ4upGJAii9tKacaoq4+HHFS BGEg== 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r81si13115880pfr.164.2019.01.21.01.51.59; Mon, 21 Jan 2019 01:52: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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727951AbfAUJuw (ORCPT + 99 others); Mon, 21 Jan 2019 04:50:52 -0500 Received: from inva021.nxp.com ([92.121.34.21]:48898 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727783AbfAUJuu (ORCPT ); Mon, 21 Jan 2019 04:50:50 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5720E2003BE; Mon, 21 Jan 2019 10:50:48 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2B6AC200030; Mon, 21 Jan 2019 10:50:38 +0100 (CET) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 55426402C7; Mon, 21 Jan 2019 17:50:26 +0800 (SGT) From: Xiaowei Bao To: bhelgaas@google.com, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, leoyang.li@nxp.com, kishon@ti.com, lorenzo.pieralisi@arm.com, arnd@arndb.de, gregkh@linuxfoundation.org, minghuan.Lian@nxp.com, mingkai.hu@nxp.com, roy.zang@nxp.com, kstewart@linuxfoundation.org, cyrille.pitchen@free-electrons.com, pombredanne@nexb.com, shawn.lin@rock-chips.com, niklas.cassel@axis.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Cc: Xiaowei Bao Subject: [PATCHv5 2/4] arm64: dts: Add the PCIE EP node in dts Date: Mon, 21 Jan 2019 17:44:58 +0800 Message-Id: <20190121094500.10657-2-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20190121094500.10657-1-xiaowei.bao@nxp.com> References: <20190121094500.10657-1-xiaowei.bao@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the PCIE EP node in dts for ls1046a. Signed-off-by: Xiaowei Bao Reviewed-by: Minghuan Lian Reviewed-by: Zhiqiang Hou --- v2: - Add the SoC specific compatibles. v3: - no change v4: - no change v5: - change the OB win number due to the RM update. arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 34 +++++++++++++++++++++++- 1 files changed, 33 insertions(+), 1 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 0e762ca..cb71850 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -666,6 +666,17 @@ status = "disabled"; }; + pcie_ep@3400000 { + compatible = "fsl,ls1046a-pcie-ep","fsl,ls-pcie-ep"; + reg = <0x00 0x03400000 0x0 0x00100000 + 0x40 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <6>; + num-ob-windows = <8>; + num-lanes = <2>; + status = "disabled"; + }; + pcie@3500000 { compatible = "fsl,ls1046a-pcie"; reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ @@ -693,6 +704,17 @@ status = "disabled"; }; + pcie_ep@3500000 { + compatible = "fsl,ls1046a-pcie-ep","fsl,ls-pcie-ep"; + reg = <0x00 0x03500000 0x0 0x00100000 + 0x48 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <6>; + num-ob-windows = <8>; + num-lanes = <2>; + status = "disabled"; + }; + pcie@3600000 { compatible = "fsl,ls1046a-pcie"; reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ @@ -720,6 +742,17 @@ status = "disabled"; }; + pcie_ep@3600000 { + compatible = "fsl,ls1046a-pcie-ep", "fsl,ls-pcie-ep"; + reg = <0x00 0x03600000 0x0 0x00100000 + 0x50 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <6>; + num-ob-windows = <8>; + num-lanes = <2>; + status = "disabled"; + }; + qdma: dma-controller@8380000 { compatible = "fsl,ls1046a-qdma", "fsl,ls1021a-qdma"; reg = <0x0 0x8380000 0x0 0x1000>, /* Controller regs */ @@ -740,7 +773,6 @@ queue-sizes = <64 64>; big-endian; }; - }; reserved-memory { -- 1.7.1