From patchwork Mon Aug 26 21:38:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13778530 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F1737C54732 for ; Mon, 26 Aug 2024 21:44:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RaSfsdOYObiB5SlYdLhswyhojE4sTGaTKQJIqSVnjpo=; b=lu6/U0Rdv/Y0vq47O/HwXS/erJ Qa4f31Yf5MVGB69bHzD61eR7x5wXnO6yiU1avSbWdXuZ3b4iE3dQO3TgIn6Upnce8bi5RJZ9ThrU8 INZUJrAAney8Ac2PAlv2BI7Th9C4YFz7D5Ot/N9CnfKqaIw08j8fLXtJ7la/Enhz5M6X6tK8El51X qdpIAQf0DCC4kY/5XB8yKhO6AkDHlCJbvUd+MAgVFq0QV8OnTVEpBnqPQrQU9dUXA2DHF7Aj/ax2/ LvMBqm90QXm0C6oKqw4Atqcib1CmhbikPFcafbfQQeg5pc9+lFhgYsUAxAj5D25O1gP/G3ZtW2cWa VnBY2X7Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sihVa-00000008rHi-0B5k; Mon, 26 Aug 2024 21:44:18 +0000 Received: from mail-northeuropeazlp170120003.outbound.protection.outlook.com ([2a01:111:f403:c200::3] helo=DU2PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sihQy-00000008qO2-0BpL for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 21:39:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=umPCCDc3A4KdxpJNQoxE8qOQQVCSSWJZeHAEfOgihDHHlHzKH+UORU5XJ++TNn13mKHp86I6iy7xeTwxKru7IhPvAXC54hDQCpueJbr2HXQZwCkbZZrG0TEz8LlnpQN02FkYK5xgukQE7NQuFFdNFABrqMoQof0tl4f9hj6TUOja4x4dwHr4GLLY9TyyEiuby8Z92naQTZv4c6GNvRLbNFCixQKvSGWFdO28mXi8GA053y8v2RoCP63J2YKIJb8vCmh69ngqHLEYmHDtBx4rnZL6w8FFZcJdb74NB+O+YhEcs0WeL6+ilrZCqnNc0p1hsdrDcV5/JKpBv9LpuqK90g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=RaSfsdOYObiB5SlYdLhswyhojE4sTGaTKQJIqSVnjpo=; b=M6VmPfjKom+cU2hjUQHEEAWKhFSthQhhDygCCHzBkbofpPniVcR0qx4s4EPDwNWLk4N9FgI4SEqsMZdngrzNymug3X2+Lk7CKRVbaH2WM59zO2N++uSrpVCIp65WdbOjJwIuUjuSS/1e6s0qlTsIl1tWPbdix0+3jPzIk0dRr/HdyeMLHFr10Syj0D06yHI0mkSx6/+DRDadIjydTj51g1jkkco9Y+JdBqBULd3fMQQzWYUe4lZNlHDbdkXRwazIGT/N014sLC9FGQ2477XCWQME8uzvY6gw0Ysot4hHEWtAAWYo0p95O/eTurqm5Jni0Z4xDGyIkUvRjPbxgVO4pA== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RaSfsdOYObiB5SlYdLhswyhojE4sTGaTKQJIqSVnjpo=; b=ZBuUliYVoOYWzD7+Wl1Hm0Gu1Gwnhxbaeeqw5n0zjHOnt4st0ee3m9ojvsYYxttfF6AJP33Ra2ABtGxGso2XN3B4YrxjjM1ZJidYiHJL8AwYK4081CFS8iE1vAonExS9vry1fPpy09wMfHUsuCkYh0DE9of8pCi/bb1608zrhWx+SWhxk++gTV9y/NyEuUgQpyYDLZlS5g1/E18DTW2RY2NmzG3W6ubAo3tPT7t1LZ4k4C9gmv808q3yxsBSx40Ox7PxtwMzNGhUPpgln7l5yusBxlISgKXRggIwAFFttH2SNFWWFVQ9LH8gHE2ImhgQcwYZAw6sHPzB48kaTZY4Wg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS1PR04MB9360.eurprd04.prod.outlook.com (2603:10a6:20b:4da::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.25; Mon, 26 Aug 2024 21:39:28 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.7875.019; Mon, 26 Aug 2024 21:39:28 +0000 From: Frank Li Date: Mon, 26 Aug 2024 17:38:33 -0400 Subject: [PATCH 2/3] arm64: dts: fsl-lx2160a: add rev2 support Message-Id: <20240826-2160r2-v1-2-106340d538d6@nxp.com> References: <20240826-2160r2-v1-0-106340d538d6@nxp.com> In-Reply-To: <20240826-2160r2-v1-0-106340d538d6@nxp.com> To: Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Olof Johansson Cc: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1724708357; l=6343; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=2kZ3aVNV96S5jPJPen/3/5i2TDjwI9Zl/lyNLEiI/aw=; b=zCQMu6wQRucjssqOV/Ld6rZsto9tjcORSNFLSTNwJp3Shy1fRCRouMHctNSIXpwIWjIBHiyQq RK8wHrNusB0DW4dU4tdHca38Z/uPTw9MrzEuYh96QvVGKOaNcCd3Kki X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0014.namprd04.prod.outlook.com (2603:10b6:a03:217::19) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS1PR04MB9360:EE_ X-MS-Office365-Filtering-Correlation-Id: f09e0f54-dbec-4a77-dd11-08dcc617901c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|52116014|376014|7416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JLYAAcInXOByon4Ns0Mc/NjSJAKx/GUMuEhCziI4afoUk5BKhTTiT28A9uJ4FNRH?= =?utf-8?q?pAzDiWbY2nVh/HbqVACzOH0uOcBg8sFHztJ/gqVMczHmYZ5ArlbQliUO2a/7iGxie?= =?utf-8?q?XkEES8dyr57v43ItjXpdZFgRHA+29zAVkiubBEuAvOcsanVxt52bL8qJpTLroF5ds?= =?utf-8?q?gcp2Ci1ErIkVTumflMB1RgUvXLE5PqYFPKhXXU4WukEDmMtG7Lc4CbnJKO22EHqGT?= =?utf-8?q?agkUAII+hjFC01GHNSzyS2EQP/MGUnhqrTRxXlUfNvgC2/bZX/u8JpjwgbVfmdHSv?= =?utf-8?q?zWZ549pAZ9ee2p2tQUXZrT5+c/R7kGmst0tsPteh8xB31Ixdexu9Bjfiw0ZCHHT2v?= =?utf-8?q?sExkK+JVetDeoLxxRi6O8s1uR3hEPQiSCRFqNutEHrCSm+QSrFZ1ugOquNb9FsErB?= =?utf-8?q?SU4w7n67+y2k755oKKL5gicb5mfbBgbTZGqkhaZygopU0+ggeFS3UwVcY/LVS8pRG?= =?utf-8?q?3w4h5zTID/n8mxmSpvrSTJBEOu+M0v/WAA=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(52116014)(376014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?a8R9B4fWk9scf/E22NyURj8FAJCZ?= =?utf-8?q?ltwXQ5k9N7rr6lgOuowJNNsku4u1/A+mk9dnlSwLLWrq6msxtgPZzKQw5T5dZbw/a?= =?utf-8?q?oz9azq2rmsBQR1AmG/AelkFfl/w+JmbSkaD6dXkSFua81w3ONOchINMQJbscVswkT?= =?utf-8?q?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/ipx4HRS7ZdSuQ3Bjm7LXJU4LArAKYMe7gaAY5tthdBRLzoU+D?= =?utf-8?q?8J1zf1Zres0R/k05RoRqGcXOqmd8/ePFHogpW5iVCX9zBoli0QkwX4SjwjnojjXM8?= =?utf-8?q?laAtQ2O6cVhGyNOeGw1T/TDUcYte55vea1HY2hPcHpxCYOVlfDP1DAqT0aLk408fC?= =?utf-8?q?pNmGNcwsZ6JWYJqMKVnINYEacg29hRqJZKUXTYSFTBmBDjU9NHR9okJvJs76L2u03?= =?utf-8?q?P35xRb+f9YrrAEqtKkYXqZDRiUQXOM2El0rHafH+53nvTxgEA/46B7UyInoV5kPf1?= =?utf-8?q?gcqVWBWT2fPjZtMWqESuMNpwexPDkK7Mzx2CZr5TqfQ9ARHKekzkurH7Kt9pCMbq0?= =?utf-8?q?C0eSZNSTpISF+Uj9EfSB181Y82PfkfDNnAUNT/aFZQN81TcjWExppni8XTSUyc9Dq?= =?utf-8?q?drsFrxs1nwvSpQg9XKpJpL8Nu7UiMHyxycv0vD2wxPjqhZ5wbIsEWMshDVQC6krcv?= =?utf-8?q?CIP9tMHHiQ68?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f09e0f54-dbec-4a77-dd11-08dcc617901c X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Aug 2024 21:39:28.4966 (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: GkQhc7UtRxqvWsn5A5wWU/V7/0u5+2QFQVYYiJacdOdvPQAoMyBGK9X+jhpwaAfX52t4ocj6UXcNpP7sdTgttg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9360 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_143932_276904_8CE4EFF4 X-CRM114-Status: GOOD ( 14.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add rev2 dtsi. Although uboot fixup can change compatible string fsl,lx2160a-pcie to fsl,ls2088a-pcie since 2019, it is quite confused and should correctly reflect hardware status. So add fsl-lx2160a-rev2.dtsi to overwrite pcie's compatible string. Add PCIe EP nodes. Signed-off-by: Frank Li --- .../arm64/boot/dts/freescale/fsl-lx2160a-rev2.dtsi | 170 +++++++++++++++++++++ arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 2 +- 2 files changed, 171 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rev2.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rev2.dtsi new file mode 100644 index 0000000000000..432e54f6f7ae5 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rev2.dtsi @@ -0,0 +1,170 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Device Tree file for LX2160 REV2 +// +// Copyright 2025 NXP + +/dts-v1/; + +#include "fsl-lx2160a.dtsi" + +&pcie1 { + compatible = "fsl,lx2160ar2-pcie", "fsl,ls2088a-pcie"; + reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ + 0x80 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + + ranges = <0x81000000 0x0 0x00000000 0x80 0x00010000 0x0 0x00010000 + 0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; + + interrupts = ; + interrupt-names = "intr"; + + /delete-property/ apio-wins; + /delete-property/ ppio-wins; +}; + +&pcie2 { + compatible = "fsl,lx2160ar2-pcie", "fsl,ls2088a-pcie"; + reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */ + 0x88 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + + ranges = <0x81000000 0x0 0x00000000 0x88 0x00010000 0x0 0x00010000 + 0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>; + + interrupts = ; + interrupt-names = "intr"; + + /delete-property/ apio-wins; + /delete-property/ ppio-wins; +}; + +&pcie3 { + compatible = "fsl,lx2160ar2-pcie", "fsl,ls2088a-pcie"; + reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */ + 0x90 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + + ranges = <0x81000000 0x0 0x00000000 0x90 0x00010000 0x0 0x00010000 + 0x82000000 0x0 0x40000000 0x90 0x40000000 0x0 0x40000000>; + + interrupts = ; + interrupt-names = "intr"; + + /delete-property/ apio-wins; + /delete-property/ ppio-wins; +}; + + +&pcie4 { + compatible = "fsl,lx2160ar2-pcie", "fsl,ls2088a-pcie"; + reg = <0x00 0x03700000 0x0 0x00100000 /* controller registers */ + 0x98 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + + ranges = <0x81000000 0x0 0x00000000 0x98 0x00010000 0x0 0x00010000 + 0x82000000 0x0 0x40000000 0x98 0x40000000 0x0 0x40000000>; + + interrupts = ; + interrupt-names = "intr"; + + /delete-property/ apio-wins; + /delete-property/ ppio-wins; +}; + +&pcie5 { + compatible = "fsl,lx2160ar2-pcie", "fsl,ls2088a-pcie"; + reg = <0x00 0x03800000 0x0 0x00100000 /* controller registers */ + 0xa0 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + + ranges = <0x81000000 0x0 0x00000000 0xa0 0x00010000 0x0 0x00010000 + 0x82000000 0x0 0x40000000 0xa0 0x40000000 0x0 0x40000000>; + + interrupts = ; + interrupt-names = "intr"; + + /delete-property/ apio-wins; + /delete-property/ ppio-wins; +}; + +&pcie6 { + compatible = "fsl,lx2160ar2-pcie", "fsl,ls2088a-pcie"; + reg = <0x00 0x03900000 0x0 0x00100000 /* controller registers */ + 0xa8 0x00000000 0x0 0x00002000>; /* configuration space */ + reg-names = "regs", "config"; + + ranges = <0x81000000 0x0 0x00000000 0xa8 0x00010000 0x0 0x00010000 + 0x82000000 0x0 0x40000000 0xa8 0x40000000 0x0 0x40000000>; + + interrupts = ; + interrupt-names = "intr"; + + /delete-property/ apio-wins; + /delete-property/ ppio-wins; +}; + +&soc { + pcie_ep1: pcie-ep@3400000 { + compatible = "fsl,lx2160ar2-pcie-ep"; + reg = <0x00 0x03400000 0x0 0x00100000 + 0x80 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ob-windows = <8>; + num-ib-windows = <8>; + status = "disabled"; + }; + + pcie_ep2: pcie-ep@3500000 { + compatible = "fsl,lx2160ar2-pcie-ep"; + reg = <0x00 0x03500000 0x0 0x00100000 + 0x88 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ob-windows = <8>; + num-ib-windows = <8>; + status = "disabled"; + }; + + pcie_ep3: pcie-ep@3600000 { + compatible = "fsl,lx2160ar2-pcie-ep"; + reg = <0x00 0x03600000 0x0 0x00100000 + 0x90 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ob-windows = <256>; + num-ib-windows = <24>; + status = "disabled"; + }; + + pcie_ep4: pcie-ep@3700000 { + compatible = "fsl,lx2160ar2-pcie-ep"; + reg = <0x00 0x03700000 0x0 0x00100000 + 0x98 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ob-windows = <8>; + num-ib-windows = <8>; + status = "disabled"; + }; + + + pcie_ep5: pcie-ep@3800000 { + compatible = "fsl,lx2160ar2-pcie-ep"; + reg = <0x00 0x03800000 0x0 0x00100000 + 0xa0 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ob-windows = <256>; + num-ib-windows = <24>; + status = "disabled"; + }; + + pcie_ep6: pcie-ep@3900000 { + compatible = "fsl,lx2160ar2-pcie-ep"; + reg = <0x00 0x03900000 0x0 0x00100000 + 0xa8 0x00000000 0x8 0x00000000>; + reg-names = "regs", "addr_space"; + num-ob-windows = <8>; + num-ib-windows = <8>; + status = "disabled"; + }; +}; + diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index 26c7ca31e22e7..b2dea03e1b8ec 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -613,7 +613,7 @@ cluster2-3-crit { }; }; - soc { + soc: soc { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <2>;