From nobody Fri Oct 3 13:32:15 2025 Received: from SEYPR02CU001.outbound.protection.outlook.com (mail-koreacentralazon11023073.outbound.protection.outlook.com [40.107.44.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF59630F558; Mon, 1 Sep 2025 09:21:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.44.73 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756718479; cv=fail; b=gI8HsNgabb2zcgQ7cKfqnI5CCepTVrGdFOELBUotkVOlhFYQGxtOdepRo8vA6I37SU3cjFDCEm4bPSRJPP4czp4yCt/Xwx4eKNt0cREOdoKdultBYX9vBS0AZ2HHSNucysSB4B6m737ikSiJARQ4341pzWVQdKLvBugehYWi0zA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756718479; c=relaxed/simple; bh=iBxSvoUnPoBU2EyNQCKIX8gULd/ZDM2MqMSMXOlNsb0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=bVIJJW/JkTMO7ecGqC7wOEycOtjAUXRUS2e5e3dyc8zmLaET+rM2tQABDMKYOJiFWoKrYMWe7EL+AgdV15rWTZKS+z9mKuiNJlVFFbfJzXnZdMQSzy2wrbAdws9GrUM7BCkTZNERPRlu+9sQJgXC1lO3l1UPxDbgnFF2TFakdGI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cixtech.com; spf=pass smtp.mailfrom=cixtech.com; arc=fail smtp.client-ip=40.107.44.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=cixtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cixtech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=mCX3EUJAvRSYFPKzygsID8qJ1OVxOX/Tsi6ADVWAUBqJxW8nDIejUfxrLtecCRGSxjqXAe1uBaGoClINx2DtPRRDbPgzFgT8otLpfQjpXAlVbdy3kPJe3WKlutuLX/0VdoyoDpSGOCMoVZavyz90GNbJYVFEW/yAwfBN8s0IdfJSgeCk8wWRIuJeSbpCzThLabyO1Z7askeQ6HnqV0WQFUaJj6scbBQZkgrBameVCpboxAw0kalSn1GQ2BVXrLZUqL1ZdQ1ZhoOJ4BEbDTyZUDPFykzyG+ZmPnbTk+AS4lPsJ80S5DmGqmOfbS2H1EkUcBWPqMv0e5JGW/OyiTZPiw== 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=6Gq6gbY7jZXNWd/1l+ZBzTZUHx4fNNkL0ZGeuTeLAeI=; b=rHv2cxS8ae4gzuj8i2N+Ck25ixaGFspLPNTWV8pdvw+2LONtqWWR5A+TZY2tZ9iMM8FBkV3xC1Gj5OpLZuEPyKR41bA5/VUxoc/nNQ9O1nMLHrMP5iN9gxPmw51/45JbEwGEDGAUEF4D9LaO7c9Ifa4PbtGuOo3i3bxcGweIqb4cUlrGpbjjzrXMZD9DWkw77+tuC/ru19AjV4V3Q7U9+lHGlWkBFm8y3XJgGvpRYg+FbDpX7c3oFylrZba3ymnPVqlvTnQfZfMTFapnwOQ62afyxybMWFAjU1GHpZjEY58tKpPlEmFzvbCjD3Ex1cG3UHPZtVMQHfT8yHwl1/Y6Gw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 222.71.101.198) smtp.rcpttodomain=cadence.com smtp.mailfrom=cixtech.com; dmarc=bestguesspass action=none header.from=cixtech.com; dkim=none (message not signed); arc=none (0) Received: from SEWP216CA0020.KORP216.PROD.OUTLOOK.COM (2603:1096:101:2b6::12) by JH0PR06MB6293.apcprd06.prod.outlook.com (2603:1096:990:10::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9073.27; Mon, 1 Sep 2025 09:21:12 +0000 Received: from TY2PEPF0000AB88.apcprd03.prod.outlook.com (2603:1096:101:2b6:cafe::83) by SEWP216CA0020.outlook.office365.com (2603:1096:101:2b6::12) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9073.26 via Frontend Transport; Mon, 1 Sep 2025 09:21:11 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 222.71.101.198) smtp.mailfrom=cixtech.com; dkim=none (message not signed) header.d=none;dmarc=bestguesspass action=none header.from=cixtech.com; Received-SPF: Pass (protection.outlook.com: domain of cixtech.com designates 222.71.101.198 as permitted sender) receiver=protection.outlook.com; client-ip=222.71.101.198; helo=smtprelay.cixcomputing.com; pr=C Received: from smtprelay.cixcomputing.com (222.71.101.198) by TY2PEPF0000AB88.mail.protection.outlook.com (10.167.253.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9094.14 via Frontend Transport; Mon, 1 Sep 2025 09:21:10 +0000 Received: from hans.. (unknown [172.16.64.208]) by smtprelay.cixcomputing.com (Postfix) with ESMTPSA id 976E941604F1; Mon, 1 Sep 2025 17:21:05 +0800 (CST) From: hans.zhang@cixtech.com To: bhelgaas@google.com, lpieralisi@kernel.org, kw@linux.com, mani@kernel.org, robh@kernel.org, kwilczynski@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: mpillai@cadence.com, fugang.duan@cixtech.com, guoyin.chen@cixtech.com, peter.chen@cixtech.com, cix-kernel-upstream@cixtech.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Hans Zhang Subject: [PATCH v9 14/14] arm64: dts: cix: Enable PCIe on the Orion O6 board Date: Mon, 1 Sep 2025 17:20:52 +0800 Message-ID: <20250901092052.4051018-15-hans.zhang@cixtech.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250901092052.4051018-1-hans.zhang@cixtech.com> References: <20250901092052.4051018-1-hans.zhang@cixtech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY2PEPF0000AB88:EE_|JH0PR06MB6293:EE_ X-MS-Office365-Filtering-Correlation-Id: 3a169766-0c59-45d9-8709-08dde938e3c6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|7416014|1800799024|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?Nrmbq8sjwtoXIumZN1PZzkrJsz/K4433PXE7GOcY39ISYAMZRkj5kOXA+Cjb?= =?us-ascii?Q?Bdb7S+Nun827vH3JkQX81U4gmv8juCASZcB0+tfrPuHHxSr1MOd1jhxBFpPT?= =?us-ascii?Q?mCbLKkj7hgsyqepvLf8U9lzlEnw6tgREzNuUyJc+BXP1Ld0lfKHK4zqK5cvq?= =?us-ascii?Q?bXCiEVspIZQ85eBnfRGKVSokVDa7WDXV5eLJgAZrdCW5PH/rKSvXPldX5CGz?= =?us-ascii?Q?1XnRjW6hvCOADV2yaXAU360laLAT7jRI/keh+G+WttuXPf2PpJb/+QLeCDGH?= =?us-ascii?Q?cH8Ql0O8ed3fqGRTTJMHCP/twU8sIpEfTdGr8bVWf9+wY0dlQK91o5ZVDFgO?= =?us-ascii?Q?DRDfrVng+zP34QNxMzBZcU/i90rUVTlf1e2TWqqUFV1HzLS+9HnUYRL7KvWq?= =?us-ascii?Q?gpLig5COrtJhuCjaI/DC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B38YE4p?= =?us-ascii?Q?bblMxMDiRJfsg+3lzhvMwT+3Hhaa7d5sRI8iM5iP4qpjJr4Uy+M5MhWAJ96c?= =?us-ascii?Q?yVBFvdQfxB7/IcMF9cjYUQyc5LTvUhEXwB6hM0KxE/gdiM7BQx+9T5bvJGlg?= =?us-ascii?Q?D9AyVBj4ufOTtTMEbH/EmwOSskhcK1WRiI44ak1lLO5RGZI2LR+adAmmK2Gh?= =?us-ascii?Q?eKcupT9Y8t6p4vcnh3RJKTpPmuJ3BR3Z/Ddt?= X-Forefront-Antispam-Report: CIP:222.71.101.198;CTRY:CN;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:smtprelay.cixcomputing.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(7416014)(1800799024)(36860700013)(82310400026);DIR:OUT;SFP:1102; X-OriginatorOrg: cixtech.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2025 09:21:10.2923 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3a169766-0c59-45d9-8709-08dde938e3c6 X-MS-Exchange-CrossTenant-Id: 0409f77a-e53d-4d23-943e-ccade7cb4811 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0409f77a-e53d-4d23-943e-ccade7cb4811;Ip=[222.71.101.198];Helo=[smtprelay.cixcomputing.com] X-MS-Exchange-CrossTenant-AuthSource: TY2PEPF0000AB88.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR06MB6293 Content-Type: text/plain; charset="utf-8" From: Hans Zhang Add PCIe RC support on Orion O6 board. The Orion O6 board includes multiple PCIe root complexes. The current device tree configuration enables detection and basic operation of PCIe endpoints on this platform. GPIO and pinctrl subsystems for this platform are not yet ready for upstream inclusion. Consequently, attributes such as reset-gpios and pinctrl configurations are temporarily omitted from the PCIe node definitions. Endpoint detection and functionality are confirmed to be operational with this basic configuration. The missing GPIO and pinctrl support will be added incrementally in future patches as the dependent subsystems become available upstream. Signed-off-by: Hans Zhang --- Dear Krzysztof and Mani, Due to the fact that the GPIO, PINCTRL and other modules of our platform are not yet ready for upstream. Attributes that PCIe depends on, such as reset-= gpios and pinctrl*, have not been added for the time being. It will be added grad= ually in the future. The following are Arnd's previous comments. We can go to upsteam separately. https://lore.kernel.org/all/422deb4d-db29-48c1-b0c9-7915951df500@app.fastma= il.com/ The following are the situations of five PCIe controller enumeration device= s. root@cix-localhost:~# lspci 0000:c0:00.0 PCI bridge: Device 1f6c:0001 0000:c1:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 81= 26 (rev 01) 0001:90:00.0 PCI bridge: Device 1f6c:0001 0001:91:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVM= e SSD Controller S4LV008[Pascal] 0002:60:00.0 PCI bridge: Device 1f6c:0001 0002:61:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE = PCIe 802.11ax Wireless Network Controller 0003:00:00.0 PCI bridge: Device 1f6c:0001 0003:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 81= 26 (rev 01) 0004:30:00.0 PCI bridge: Device 1f6c:0001 0004:31:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 81= 26 (rev 01) root@cix-localhost:~# root@cix-localhost:~# uname -a Linux cix-localhost 6.17.0-rc4-00014-g9549fcfa35ad #204 SMP PREEMPT Mon Sep= 1 16:18:41 CST 2025 aarch64 GNU/Linux --- arch/arm64/boot/dts/cix/sky1-orion-o6.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/cix/sky1-orion-o6.dts b/arch/arm64/boot/dt= s/cix/sky1-orion-o6.dts index d74964d53c3b..be3ec4f5d11e 100644 --- a/arch/arm64/boot/dts/cix/sky1-orion-o6.dts +++ b/arch/arm64/boot/dts/cix/sky1-orion-o6.dts @@ -34,6 +34,26 @@ linux,cma { =20 }; =20 +&pcie_x8_rc { + status =3D "okay"; +}; + +&pcie_x4_rc { + status =3D "okay"; +}; + +&pcie_x2_rc { + status =3D "okay"; +}; + +&pcie_x1_0_rc { + status =3D "okay"; +}; + +&pcie_x1_1_rc { + status =3D "okay"; +}; + &uart2 { status =3D "okay"; }; --=20 2.49.0