From patchwork Mon Nov 2 05:44:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 11873003 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 447F1C00A89 for ; Mon, 2 Nov 2020 05:55:33 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D271420870 for ; Mon, 2 Nov 2020 05:55:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qZekPMYC"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="Wuk3lLPF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D271420870 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=W5LCiodcOTbqwzgWhnORY+UA4MqLJa7AnwYCMOJPQdc=; b=qZekPMYC4KRzxfQIeCv1jd0DCD dQGoUqOAwujH9iAVi9I6cz8M9KuXwFsTgeU9KbW+kr399BksDfXTjwshd6fCCC00PySRN8/2Oesjc ganW4vx4Z4bYKrU1VwrycmHKFPKiIBd8SIu1orB50548MuZDKg8f9PCM5BYjzY5yKdyu96awluhho CsH5FRkg3vgGAr2GkSVywkcfgCqLCGC27Vd4eRCpTHFuFEy00QF0m6QehFBwxdwLgUUFBj7wNSzCd Wy9lVfa2Gyb623YzOQGUZsolObtRILjUGzrcGLKn0W9dFBvXeLwBjsS0Gc/x/t1WpGNsjCxk+DlCq e6IqVVRw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZSn3-0007vP-6f; Mon, 02 Nov 2020 05:54:01 +0000 Received: from mail-eopbgr40042.outbound.protection.outlook.com ([40.107.4.42] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZSmy-0007uA-A1 for linux-arm-kernel@lists.infradead.org; Mon, 02 Nov 2020 05:53:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SCNfBf5OW1dA+8sCKtQZ+Ph1D++GTFyEzDE3tne/llT6NtBk5lRq8aKt5r3/q6gpb+mBQA8vL/05tnmzWEaATTUwCrLgcY9OzYRy7VLTfEveSbWmCrVyVpenQwtuKM9NJRbHneI/BVeRItGcmSbdnwKTkL6Civl0Jpcd/+hTEtfGPxfBk80m2k6EyqYQ+Eg2OkPcHvfJGFq6AN+6i0J8jvhislDNdBnM78ereTbHogvs+fWHVwEB6qrjQXx69tSlORLJGJJtcwUTl2QNE7Xu0bw3kESMmokc6UZu6Gx4vjDR9PenC4IkZdxKjtBXm2RJCZZGtF8vAGSUdzHM+J9VyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7Iv8pIwCa0bGIk3lGt7KRSYNyWc290gJlM6jWkW1OeU=; b=RxRhdhHxukP5P4DNPqV9HRR7yIb+Bs2eLT5gkm33ztR1InPMU4mlfZi3Q0GOIe8Sl852ROYN8y/9NqdfQknFc9/GFyaxQysAX9+W/THnpP6XLsAT1ei15yGzzty4A7PhFn0TSCnhq5gphZIjsMdraizDI20ZFMGPk/GN+WzZ9K7/a1QRYKnti+ltB2CWDM2AOJI9aOPVYL/Jzri5kBkqIxf96y0nXkwJRPY6zI/gaUMw01sUWad1/7oaNnn0JZaHmNwOTp78C+ZV/orKp8WPiHjcDbWM6FN6siK/rrVkrE6HwO4nLHy1bbzsq3NVcxMz3ogz9enneTMQuHdoMJmiFg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7Iv8pIwCa0bGIk3lGt7KRSYNyWc290gJlM6jWkW1OeU=; b=Wuk3lLPFCVD2UvTLH2fLvufqJ3PHRooytdgPcb0IpWMQ4EC5bqemGK3BeVZsG4HLGE7Zj1dQaNw4PxUE1TxeE+HOUaFDUW/GAFJH9p39U6pb9qhVlea9OLozkhH+am7Jj88/FOnjErjs6Q1/e65TBRvtdHZiot8BYDA3ZpwSsh0= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from HE1PR0402MB3371.eurprd04.prod.outlook.com (2603:10a6:7:85::27) by HE1PR0402MB3372.eurprd04.prod.outlook.com (2603:10a6:7:8d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.29; Mon, 2 Nov 2020 05:53:52 +0000 Received: from HE1PR0402MB3371.eurprd04.prod.outlook.com ([fe80::f882:7106:de07:1e1e]) by HE1PR0402MB3371.eurprd04.prod.outlook.com ([fe80::f882:7106:de07:1e1e%4]) with mapi id 15.20.3499.030; Mon, 2 Nov 2020 05:53:52 +0000 From: Zhiqiang Hou To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, shawnguo@kernel.org, robh+dt@kernel.org, leoyang.li@nxp.com Subject: [PATCHv10] arm64: dts: layerscape: Add PCIe EP node for ls1088a Date: Mon, 2 Nov 2020 13:44:17 +0800 Message-Id: <20201102054417.5792-1-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.17.1 X-Originating-IP: [119.31.174.73] X-ClientProxiedBy: SG2P153CA0008.APCP153.PROD.OUTLOOK.COM (2603:1096::18) To HE1PR0402MB3371.eurprd04.prod.outlook.com (2603:10a6:7:85::27) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.73) by SG2P153CA0008.APCP153.PROD.OUTLOOK.COM (2603:1096::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3564.6 via Frontend Transport; Mon, 2 Nov 2020 05:53:49 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ab336ea9-1e95-40be-535c-08d87ef3ad4f X-MS-TrafficTypeDiagnostic: HE1PR0402MB3372: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1388; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DeyJC8fWhuP+AQWCC0uDQqSwTI/01SNJxc6D6lvHAHNPdBnoQe6udK+7JmDZaWc4CjUM2VEj1gPnUVX62a7iqsewW1kNm/QTkfIja4vwc3I9dj9lbd78GRiTzC7Ty/M4eyDpQs055Ss+zLjEswdub/gvmmU39+vaEJ1yTY8ee/yCzYyC6Ylse8OZoAiWBlllNCRmsWa70p6CUJLmj4MQIZFiQRbpKJUPinKARxlGjy1KYl0EIGzByVVpU/CifJgsLAG8R5X82WWL9+LC+/IT/JiLzXSMSKFLqJf+V1POeTmQvQS0eWM+jSs1O3j7Rjy079h+IFUyB+EqkjSng06PU/wodwhTzMlCucH80NrYeF86ets0nY5YJ24hojXNZR0j X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0402MB3371.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(396003)(376002)(39860400002)(346002)(69590400008)(316002)(8936002)(8676002)(54906003)(52116002)(6636002)(6506007)(86362001)(2616005)(186003)(6486002)(16526019)(26005)(956004)(4326008)(36756003)(1076003)(478600001)(66476007)(66946007)(66556008)(6512007)(5660300002)(6666004)(2906002)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: v0IuvmKqgo1ygg2DnVdxtEhjCIrjauJxh00bkaFm3O5ITMfT32GEFgUOnuCm9uBVli5bRbstUyNDS8O7UOKA6BBOJw6aBj/ldMhq+JfyNJ4p6n2LDrBbWbrhA+NAL4442aGJaV9EDFU3By9A/lpVwMyXTIYhGrrsWHlhx73Vz2zCbhGFtXHHndeOzCL1mvm1qhMzb2X0mM9nAGXposi+JxxJMLM3G+ZGhN0uHxnxRayt4FtcuLxLvfXY/JpVapB1QKNY2eRvocNn2yxMAU/mdWduBPFKMTquhNz9ScnrV8KghFUMx1Xnn9ZkXaoZoJB9G56KmUeeHmliIp61z0DLPduGpCHK8ySkdUzJVhx55g1Te7fYqIGr07WrVbDm30fPBEMufHF3PQVzZWbNYW3Yb6xZiy08JQQF4cdEoc6xt0xFrQe0k0QkvtVDCL6xJI7ZDvpPHkv3zo8tI/YlbCz1ESAauDXP//DR8ciY7JVH3kGc9PEdDPBbcUJqCbSKWNhBIA83cUSCOnkys4xqNpQu140RdXNmp4ZCs/3bRIKSdHnFmO+e93IwYrlJzIAYxniw4S37Iy7MX7lSTjywhxZb6wFY5dMPgD3fGHMgAkmnM0FBajleUKWvBl9VPLrLIBiX34mg4s/60MVsr2NpiybdtQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ab336ea9-1e95-40be-535c-08d87ef3ad4f X-MS-Exchange-CrossTenant-AuthSource: HE1PR0402MB3371.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2020 05:53:52.6712 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mBt/8UQNklIUunBpBsn8wgR236vWFoG3Far7ir9XOZgCyj8OPwlxOw7FwfBpbhwVLp3WtK5wePB+QwETb78SRg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB3372 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201102_005356_610613_22887038 X-CRM114-Status: GOOD ( 11.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hou Zhiqiang , Xiaowei Bao Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Xiaowei Bao Add PCIe EP node for ls1088a to support EP mode. Signed-off-by: Xiaowei Bao Signed-off-by: Hou Zhiqiang Reviewed-by: Andrew Murray --- V10: - Add a space between compatibles. .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index ff5805206a28..8d8e610acba6 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -517,6 +517,17 @@ status = "disabled"; }; + pcie_ep1: pcie-ep@3400000 { + compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep"; + reg = <0x00 0x03400000 0x0 0x00100000 + 0x20 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <24>; + num-ob-windows = <256>; + max-functions = /bits/ 8 <2>; + status = "disabled"; + }; + pcie2: pcie@3500000 { compatible = "fsl,ls1088a-pcie"; reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ @@ -543,6 +554,16 @@ status = "disabled"; }; + pcie_ep2: pcie-ep@3500000 { + compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep"; + reg = <0x00 0x03500000 0x0 0x00100000 + 0x28 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <6>; + num-ob-windows = <6>; + status = "disabled"; + }; + pcie3: pcie@3600000 { compatible = "fsl,ls1088a-pcie"; reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ @@ -569,6 +590,16 @@ status = "disabled"; }; + pcie_ep3: pcie-ep@3600000 { + compatible = "fsl,ls1088a-pcie-ep", "fsl,ls-pcie-ep"; + reg = <0x00 0x03600000 0x0 0x00100000 + 0x30 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ib-windows = <6>; + num-ob-windows = <6>; + status = "disabled"; + }; + smmu: iommu@5000000 { compatible = "arm,mmu-500"; reg = <0 0x5000000 0 0x800000>;