From patchwork Fri Sep 6 06:26:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Delphine CC Chiu X-Patchwork-Id: 13793356 X-Patchwork-Delegate: geert@linux-m68k.org Received: from HK3PR03CU002.outbound.protection.outlook.com (mail-eastasiaazon11011057.outbound.protection.outlook.com [52.101.129.57]) (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 03640143C63; Fri, 6 Sep 2024 06:27:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.129.57 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725604057; cv=fail; b=KSmR5Egh+XwZawq4T514s0YnCQY05Yb+/oRWqRSfH5hrmMCNCmUf5mQHXsqYaThj9HGIpMvYYcIC1Ut+rNjqbzvxhVP4SsocTORkLCX8d2FnP0QvGc2gO0Z7UVelLCvWCf506HNtjHWsjf/DsNJg2v/0Hm863M5wibFDg5qM+rg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725604057; c=relaxed/simple; bh=k9TQrTgj/bmsUx8/XHB2Q72cYyInledEqhlOsk5dxvE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=l9MXsBOgHXdlJCuhItATYIVrJhECsFJtmxF+kMmuF96TyVWJraSDc0UAmIfs9BJzHD8navBpuiT3QtImYt8umIFDz/e9esFmXHWbaz8ozwBnoM4i38rN2fWujXZBGjfcgez+Sza1WCYz29rox06DbH04VLR0dpx7rbY9wXRLFQA= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com; spf=pass smtp.mailfrom=wiwynn.com; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b=F3HPVieG; arc=fail smtp.client-ip=52.101.129.57 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wiwynn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wiwynn.com header.i=@wiwynn.com header.b="F3HPVieG" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JiXTMqJp8PDO4c2R71Dxy+X4ckgZ8jKU4HVd0hm35kzHwjpLJsnCGnGa/+hbZPOdsTF4Rhtc7mNawz/QW3PL/RveDPBQwFaVfv+yu6EjabauFnXcwm+w1XyHPCAfNqUQDeeh7cWyi1W0W0XdPkDD3/KJXMUcsiVrkxymqqjkrgb+qR/W3rpBf6Y3U58Nkaxu0/OcYGi8SsSpuwr9cZwttaX8Ptvao4Nq8N8h2Ph28VxrkBHu+jJDSKPflPmCKDGIJAT2rDxcF/icih/l31pyvLvR8XPMy9DAM2/ZB2QaEDzcx0HP1fFsim5nmZOGG/2Yv7MgtwitAdcLlPiGo835xA== 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=wTnjvURfXlo53+eVxwkhIqzweQBqIwx6vFyYMB4uolA=; b=gPidLckVpHUq7J8hnqL+0toQLT0/ZBSLq7hNA6b8jQS9Lu5vnfAmMRlZAt2vR6y1OMwTiakaDzpVdr40F80y8g3go783PFDVfjYIlwN1zLlTCpT3/DnKwT08qT8ZRR/QkfQdaO58EwoP+dd+ilZLEF4Nn3oeAbNnfIIPHpP3sL75UYWpAeRWX12JRTvKRuHZZbLydFoPXieYzjUeVOBF+TZyHY5YQHAPjDjHTpkzkwfsdTrNZNz9+4yYFJwK5yW94U1aiq/7gXm39ns+Lk7jsCpCkbanCYK6zkvB38QqQ79xPbKGdtVcBpvUDAVfVDNMch8wcMy4O0ZRWwrO2eE8AQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 211.20.1.79) smtp.rcpttodomain=stwcx.xyz smtp.mailfrom=wiwynn.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=wiwynn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiwynn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wTnjvURfXlo53+eVxwkhIqzweQBqIwx6vFyYMB4uolA=; b=F3HPVieGaquSL0LECJBniWd9im8SVOfYijN7jRb7e0j2n3E1c47wGSJ3p42yrx330YYm8XRZTBqMVZmk2YHGjZ5OSOsgKaWdjCytzISX7CVuQCIKAm/JG7OoGvzFvLPG42qc/yYSP0YR3KurQWUlnLLBdiYcXnTvVm7q2kxalhvurBJR57d0uZcL1l6WBK6QhqmUecUU1HGOj11t3pdVI8s7FCGOx56o9pKvOlDirDcI1mB/q9Tp2csqYliHXhJwTo1OEry5nkogw+0+MQdbS+GJ9SHu5soktc/p+A+IE69dtkc2n5JhWyiJpZWUWXzaf4PVq5Y92uy44r76zkAiYw== Received: from PU1PR01CA0016.apcprd01.prod.exchangelabs.com (2603:1096:803:15::28) by SEYPR04MB7330.apcprd04.prod.outlook.com (2603:1096:101:1b2::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27; Fri, 6 Sep 2024 06:27:26 +0000 Received: from HK2PEPF00006FB4.apcprd02.prod.outlook.com (2603:1096:803:15:cafe::64) by PU1PR01CA0016.outlook.office365.com (2603:1096:803:15::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.17 via Frontend Transport; Fri, 6 Sep 2024 06:27:26 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 211.20.1.79) smtp.mailfrom=wiwynn.com; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=wiwynn.com; Received-SPF: Fail (protection.outlook.com: domain of wiwynn.com does not designate 211.20.1.79 as permitted sender) receiver=protection.outlook.com; client-ip=211.20.1.79; helo=localhost.localdomain; Received: from localhost.localdomain (211.20.1.79) by HK2PEPF00006FB4.mail.protection.outlook.com (10.167.8.10) with Microsoft SMTP Server id 15.20.7918.13 via Frontend Transport; Fri, 6 Sep 2024 06:27:26 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Delphine CC Chiu , Geert Uytterhoeven , Magnus Damm , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org Subject: [PATCH v15 05/32] ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode Date: Fri, 6 Sep 2024 14:26:31 +0800 Message-Id: <20240906062701.37088-6-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240906062701.37088-1-Delphine_CC_Chiu@wiwynn.com> References: <20240906062701.37088-1-Delphine_CC_Chiu@wiwynn.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK2PEPF00006FB4:EE_|SEYPR04MB7330:EE_ X-MS-Office365-Filtering-Correlation-Id: eb4b04b0-4141-47d9-1b31-08dcce3cf9b8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|1800799024|36860700013|82310400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Xw89CW1eGkE2HjW/+JHclaa4EAXbN1fzF87XwXx38BHOZFzKWYjsZ9HJExpvUOmpJmwyGOtFZgkvtS8Jg5YS8wQpaccO/NDjWKgA2nyl1rJ6JwwVpuvBpHb4d2TSLJbHR9+Ivt4bzYoXDX/WJEt4WkjLkFXOvs7EQ08ctFqNeyUrJmpFOQzYfBRTxCZbArQRZOZtsEheMolgsEEU6g7tmTTfJ4HCaGHqIxCcgo0v0kocTtH+BWAjqr6QF2HH8+Q2FNgJnFxtwPmUD8HViWpWebAw1DBbt6J7QSv+6oEPsSm9kxuipEn/NPmlgjU/rEuPbO5hdaYkQQhqxrcrHEiwiPO7EycxZTmTGdSkbIj9RXzP8jmDUNnc0hxBESHnkxZipdpE/ZPb7b0PfukFxldkRZLXnG84TlnOGhLXKG3B X-Forefront-Antispam-Report: CIP:211.20.1.79;CTRY:TW;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:localhost.localdomain;PTR:211-20-1-79.hinet-ip.hinet.net;CAT:NONE;SFS:(13230040)(7416014)(1800799024)(36860700013)(82310400026)(376014);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2024 06:27:26.0063 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eb4b04b0-4141-47d9-1b31-08dcce3cf9b8 X-MS-Exchange-CrossTenant-Id: da6e0628-fc83-4caf-9dd2-73061cbab167 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=da6e0628-fc83-4caf-9dd2-73061cbab167;Ip=[211.20.1.79];Helo=[localhost.localdomain] X-MS-Exchange-CrossTenant-AuthSource: HK2PEPF00006FB4.apcprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEYPR04MB7330 Revise quad mode to dual mode to avoid WP pin influnece the SPI Signed-off-by: Delphine CC Chiu --- .../arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 51b4e9ae13cc..e5354efbb903 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -149,15 +149,17 @@ flash@0 { status = "okay"; m25p,fast-read; label = "bmc"; - spi-rx-bus-width = <4>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; spi-max-frequency = <50000000>; -#include "openbmc-flash-layout-64.dtsi" +#include "openbmc-flash-layout-128.dtsi" }; flash@1 { status = "okay"; m25p,fast-read; label = "bmc2"; - spi-rx-bus-width = <4>; + spi-tx-bus-width = <2>; + spi-rx-bus-width = <2>; spi-max-frequency = <50000000>; }; };