From patchwork Tue Sep 24 09:44:29 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: 13810623 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 5BECECF9C6B for ; Tue, 24 Sep 2024 09:52:48 +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:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-Id:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7kk6GgUvLcnjii1vbRoyfZhv5UaItrJfLB5vufjvVXQ=; b=iuzebDnSWo06flGw3LfiWlsQ1h V0uNfWtSSvjihKtURJeG8JsGg9Z+cgZKiLubhBIZ4B4qChTK1e7DmXnIZ7r8qggixjwlU89BIpp5I Rjw2vYKT8fsTgQ5iMpL3tPeBlQ4XQPSIRFVtfe+kHfzgeFWJJCi2CX0eswMgp8sxOwwifUHe92l9a 6N0VmRc+rLrLU14cX/6l8nEV4APAalZQIDZ7dAoogIbrA+0aZ02iPEVTVSq6R/CcPZ6awvKqhLB15 2D4NCAFyN3mOJoCQCRPC/cwhY+TEw7uZT9Fq3DyLUOgdN15CLalHM+64RJJfb89N716GywRGKba5l jke5J4CA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1st2Dm-00000001tG9-3ewY; Tue, 24 Sep 2024 09:52:38 +0000 Received: from mail-sgaapc01on20612.outbound.protection.outlook.com ([2a01:111:f400:feab::612] helo=outbound.mail.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1st26A-00000001rkM-3uaA for linux-arm-kernel@lists.infradead.org; Tue, 24 Sep 2024 09:44:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=baQLV+Pv8brRzeL+2QZ0El//NSRyMCAQMAI1aMfx4p0W0SgClOdFkHVHgFKzoI3hjdqAhvCjovHoPYcNHesxeJMhIMJAPfYo9l2f2giw5z3VG1YH08jOStBZyquoVPKGeYhj5klm3GkgCRHdONFrbPl8cLTp8e6PwtTxCZT137Lid7EEDTP7ebRfuOcgVONFNHKagH31zdelfphD5yjfa7sQPiAH4gRZ6u46GTeQYajo4KvvG0GuT1TvcCCzltgiWWxCIRaq5auWXka3aEvujEfCOMYIdVGF1ubdXcUkAKbL9+5ixlKpA+SO3NYJrBNVwfSGAC8iiENdkgMidOcHGQ== 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=7kk6GgUvLcnjii1vbRoyfZhv5UaItrJfLB5vufjvVXQ=; b=cIAuw1sm+XzS7+YF09QMyeR7cO6kIDQBXFyDa6ZrKoqLghWMl+UDKNXD2TeYd0omsi6C7DgDcrCQnPd8xbVOoxR3qC5F8EW4AzHC9qpP7OYkPjenRDhPsxeTUSjQuafYHeOeu/++8qfTR0h9lXDCjXYmKKP/zAwQJEjvdn5Onb8OJhKJXjeH4q2odPDAKj8z2ffxmQERdMqLiWYshxHHawZ0qDDeKr2biyrWId9tUWQbzKnyDPCB5JWWrk2KLz2KjJsOkeEVwEJr2Ahowsi1aRxMNsB04usDpjXMzxTf8+qkvnJTnegZR5xfi7b4i0affJoQru2Yir+9copAha3V9Q== 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=7kk6GgUvLcnjii1vbRoyfZhv5UaItrJfLB5vufjvVXQ=; b=EMtWo+Oy/N+G+hZoY3Np0AEnJivey41W790l+91JvQeSzy0mS3QS97XB9oX9S9T1YFo69Iv7a1bvaPfnBPcvqTzHDXfTgyUf1AAOkERMbHOgFX/zxPOJWzI+zfpY2s9YWj5FkVELgofXgzFiyuGrZ+tz7uD0xInFiKqBq8dptCgHAkelV1z4FqeIs9dN8Pd1fhJCxKtVWHMAVL+QTSYZdavSoV04Bo0m6iW74E+xZRLeCOZeBTSObm/Eheqj2x9lZwxaSurmONdYAMVgk/vHxwsnaJWkOULQdtx15+SHXKgKr9pPiuQrBcKcBSsu0ui+Q2fPO4Xto7hOwwfJRndGTw== Received: from PS2PR03CA0001.apcprd03.prod.outlook.com (2603:1096:300:5b::13) by JH0PR04MB7477.apcprd04.prod.outlook.com (2603:1096:990:6a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27; Tue, 24 Sep 2024 09:44:35 +0000 Received: from HK3PEPF00000221.apcprd03.prod.outlook.com (2603:1096:300:5b:cafe::16) by PS2PR03CA0001.outlook.office365.com (2603:1096:300:5b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.16 via Frontend Transport; Tue, 24 Sep 2024 09:44:34 +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 HK3PEPF00000221.mail.protection.outlook.com (10.167.8.43) with Microsoft SMTP Server id 15.20.8005.15 via Frontend Transport; Tue, 24 Sep 2024 09:44:34 +0000 From: Delphine CC Chiu To: patrick@stwcx.xyz, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Joel Stanley , Andrew Jeffery Cc: Ricky CX Wu , Delphine CC Chiu , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] ARM: dts: aspeed: yosemite4: Revise quad mode to dual mode Date: Tue, 24 Sep 2024 17:44:29 +0800 Message-Id: <20240924094430.272074-2-Delphine_CC_Chiu@wiwynn.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240924094430.272074-1-Delphine_CC_Chiu@wiwynn.com> References: <20240924094430.272074-1-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HK3PEPF00000221:EE_|JH0PR04MB7477:EE_ X-MS-Office365-Filtering-Correlation-Id: 9d967cd4-445d-4691-577a-08dcdc7d7f58 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|376014|7416014|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: erdgqQ3BSBgIR7FDutlTC0LEZBxzQMjatBHd+R+HyFX+5I1nOjT0vYJezKBMCavpvDfbTYPR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uDn7gvukY8iyDNjqW8SqyLsHpatkSXl0W0jFl4WCv72keRqWJH+Lq3rB8gJBegE4MLlTrwfvLGyMCr4gqdqKWGluN0W1eQWEsj8LtNMKOPpMe1+Advcaevn+4dsFKsKKA8N3dXCr/T509c54vhpDr5q7fOjHdAoffwU5IG9EbzFaqg45cFOMsAEGl34XvgpWye3EpvXHdL/m3VuT4aihQU34zJNLUF1uwBYgBxrF2GYuLCK7uEEUd2BDk1bAuVXG5CdxvW98GsNv5EgCRwTa0GGm4AMlMmPmqovdWuUDakxYJ1f12BqrDI1bn8UGMVs2zsrnqjVYwp/iHp 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)(82310400026)(376014)(7416014)(1800799024)(36860700013);DIR:OUT;SFP:1101; X-OriginatorOrg: wiwynn.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2024 09:44:34.2942 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9d967cd4-445d-4691-577a-08dcdc7d7f58 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: HK3PEPF00000221.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: JH0PR04MB7477 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240924_024447_009992_B0DA272E X-CRM114-Status: GOOD ( 10.02 ) 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 From: Ricky CX Wu Revise quad mode to dual mode to keep the write protect feature for the SPI flash because the WP pin is the same pin with IO2 pin in quad mode. Signed-off-by: Ricky CX Wu Signed-off-by: Delphine CC Chiu --- arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 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 98477792aa00..c4af50ba6999 100644 --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts @@ -105,7 +105,8 @@ 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" }; @@ -113,7 +114,8 @@ 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>; }; };