From patchwork Tue Oct 19 11:17:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Z.Q. Hou" X-Patchwork-Id: 12569567 X-Patchwork-Delegate: lorenzo.pieralisi@arm.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 230F5C433EF for ; Tue, 19 Oct 2021 11:18:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 04B7661360 for ; Tue, 19 Oct 2021 11:18:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235211AbhJSLUi (ORCPT ); Tue, 19 Oct 2021 07:20:38 -0400 Received: from mail-eopbgr10046.outbound.protection.outlook.com ([40.107.1.46]:39747 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230281AbhJSLUi (ORCPT ); Tue, 19 Oct 2021 07:20:38 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MH8Jm4FvGegxhyKN2QRSFpCAMh63MPkv4Ou9WafzxVcdfrPf0PyvP0sxljLTfi8ogJnnhtiQqXvwc8+y88bFdSlvBq6j7VzD6Ep9IsVaE+V4MOss2Pe2KSKGuYnAVWybMXdaiKawjjBfTKsX+SqSizWzQQADEL87Eiyq4Syqnufh+fI7ZiP/q87+mwEqws/JRz+mzBFGBxGf47sV0E3Zfc+rtalCtZ4wGgITD7tzVqEvc1XtxFVJQGXuZsmLvBqI2KsV13fA7sYWkWn1RVwik2gxydIGUnjr+eJvneuPuEynoJv6oECnO5GWXeHWuWX9ltdahcW28ic/+P1gy8VQvw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fwn8YdnOhsLvMLvbasNvPi5rZFgKRrQqsa8M8cvpvqE=; b=SSZqHLEK7HfG32y+EtSYUL0GL0rBM0pl3U1CDHCm4h5tDQ8CC4A/gBuPlhRG8gb5YnlucBAGLaWPSbjBfgttRgGNkSRaSb2BNa/7i0jQr2nA+iBTYxriPopVI5ktMJbJxgfVLzU7TojtNRWPDRALgVUIPF5LKS7kvITyqMq4flqGMZMTVzySuZY4LuALc8ymdC2SsUbDNKQGav69MrRmEENOMECVpXlmJaD74JbVv0JW3fd65P92+7rQ0UmsBJAqjtj0En1sPgxg+6UukJqKyr6yEYkyDLQ/QW3UgG2pK3VwJUf39U8Rv6W8ugCv+GNHMCui73a5V6Ms1BViA++s+A== 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=fwn8YdnOhsLvMLvbasNvPi5rZFgKRrQqsa8M8cvpvqE=; b=YFBMhRKlZ0czMcBdz3KblDv0rk4Wil//rDNYcqdG/RI8nffJMvpPqAVUyZlIKphA/1cVTCOikQQY87Io6apIFJR26WYvAnjUlM/xsk9pFovWicikey5/6+1hnO5M6JAyZZYw+1EJPLsQa0zIKgHZhaWu83wfmKcaSgsAXymmpXI= 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 VI1PR04MB2974.eurprd04.prod.outlook.com (2603:10a6:802:a::24) by VI1PR0402MB2879.eurprd04.prod.outlook.com (2603:10a6:800:b7::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Tue, 19 Oct 2021 11:18:23 +0000 Received: from VI1PR04MB2974.eurprd04.prod.outlook.com ([fe80::793c:ef8d:72fc:df15]) by VI1PR04MB2974.eurprd04.prod.outlook.com ([fe80::793c:ef8d:72fc:df15%7]) with mapi id 15.20.4608.018; Tue, 19 Oct 2021 11:18:23 +0000 From: Zhiqiang Hou To: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, shawnguo@kernel.org, robh+dt@kernel.org, leoyang.li@nxp.com, lorenzo.pieralisi@arm.com, kishon@ti.com Cc: Hou Zhiqiang Subject: [PATCH 1/2] arm64: dts: Add PCIe endpoint mode DT node for ls1012a Date: Tue, 19 Oct 2021 19:17:49 +0800 Message-Id: <20211019111750.28631-1-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SI2PR02CA0016.apcprd02.prod.outlook.com (2603:1096:4:194::9) To VI1PR04MB2974.eurprd04.prod.outlook.com (2603:10a6:802:a::24) MIME-Version: 1.0 Received: from localhost.localdomain (119.31.174.73) by SI2PR02CA0016.apcprd02.prod.outlook.com (2603:1096:4:194::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16 via Frontend Transport; Tue, 19 Oct 2021 11:18:19 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: aca84796-4dc2-447c-4d57-08d992f22988 X-MS-TrafficTypeDiagnostic: VI1PR0402MB2879: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2657; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kgHxJcVHjhXPgpWFCRqtIqx50m5ggDSuUZRepYyztm3J4HhzqhgMxGUBX/1ZpooLdFGdi2t74M/SuHWbbJ4yX4mDS/24GwJ8o0rpOtmNH4v1EI3P6qyRinztV0IDfIqgTzXya8DlVX3aq4bEAWnSebYV/K92WRkHuAUmN8PH7b4Z12r5vxuEecvkwIKKkrs8++bEUvMynl3RivDD14OunFbr5Z4KDPpU0CTgAfoTjRFT7EsnvwfQK+mwK9gIFcSlBuZLJBDGMZApHEfIahQfNMT5E+EvRbuD1b+dwaOzKooSAeyBnu+QVO4pIOPp7TI/8KWnLusKE1DnqC5A6FzFYDk6KgG3XbFJnvqWpjZ7cFYdnRSq1G5/Uci+S0my0nQUVEB8V5fEzgg4Y15W2AKTKMbAgViM5XhinyI/Nqq5f2Oni4KDNCrZRsL+PL1AsqClYIRR4p95Fwve89y64712gVVDIrRAHB61VODw4AAEJ5Zq1r59AXYRjy0eH8JlQJIhiRo2f7yn+a1cloo1L7zVuQEpsfhiRSMqvq8WzPrDiuJ2SztjKK24e9JyrQjvcbuz5IVHt4WI962v6GEOK7FGUgoySpoVei5WOSLFLHcG0fMQ1beiPLxy7AFzlA0G2CFHPmExADeD0DkL/hWfSNk5m71jGMrSqcY0PPeXLfvLFu93sjqpgjW/xnRc7hKtnPdSuOQjASndx/ZpvhHiTk9rmA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB2974.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(5660300002)(8676002)(52116002)(1076003)(86362001)(2906002)(66476007)(66556008)(316002)(6666004)(6512007)(38100700002)(38350700002)(6486002)(8936002)(66946007)(4326008)(26005)(186003)(36756003)(4744005)(2616005)(6506007)(956004)(508600001)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AXGr4O6XEb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Io8auPhDHBGmAr2/I4Rlmezxp3OzewQvno4Y83Bh36rhiFhQGp3jZFiRQY0MwhWbausOQW23zQjlx5qUO3yFAQzr9FJyQJ80wYj5Yp6KdvgI62YpKR8JK2kwJ3UVNXnf/e63Wpy6a7JTZ+5k8In8lfxtNW/GK0QNvMMGB6LIvfaPFAI8kg+9ari7sUNuGvp28bEhhuItrvS+QVXwnkBvWW2SJT06B6dm6y2/936Y0d9vU/VWOU26tPdR8FNW X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: aca84796-4dc2-447c-4d57-08d992f22988 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB2974.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2021 11:18:23.0492 (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: FqEfiXwkdns0smaQWgqzUVw5LFGBgHVPM7KXFAZx/9SWv+ZqQ+YKI013KKJrkYBmFT0I17ZFbcbVkzqJLpsvJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2879 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org From: Hou Zhiqiang Add PCIe endpoint mode DT node for ls1012a and reuse the compatible string of ls1046a. Signed-off-by: Hou Zhiqiang --- arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index 50a72cda4727..82bf2fe6f8bd 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -545,6 +545,16 @@ status = "disabled"; }; + pcie_ep1: 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 = <2>; + num-ob-windows = <2>; + status = "disabled"; + }; + rcpm: power-controller@1ee2140 { compatible = "fsl,ls1012a-rcpm", "fsl,qoriq-rcpm-2.1+"; reg = <0x0 0x1ee2140 0x0 0x4>;